Skip to content

Commit

Permalink
Merge pull request #1 from jachstet-sea/jarViaAnt
Browse files Browse the repository at this point in the history
Add jar tasks to build.xml to generate jars via ant
  • Loading branch information
davidkey authored Nov 27, 2016
2 parents 4d5aac0 + 6a5bb39 commit 8779bb0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,18 @@
</classpath> -->
</javac>
</target>
</project>

<target name="jar">
<mkdir dir="${basedir}/jar"/>
<jar destfile="${basedir}/jar/Client.jar" basedir="${basedir}/classes">
<manifest>
<attribute name="Main-Class" value="jw.supertunnel.client.Client"/>
</manifest>
</jar>
<jar destfile="${basedir}/jar/Server.jar" basedir="${basedir}/classes">
<manifest>
<attribute name="Main-Class" value="jw.supertunnel.server.Server"/>
</manifest>
</jar>
</target>
</project>

0 comments on commit 8779bb0

Please sign in to comment.