Skip to content

Instantly share code, notes, and snippets.

@takus
Created October 25, 2011 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takus/1311347 to your computer and use it in GitHub Desktop.
Save takus/1311347 to your computer and use it in GitHub Desktop.
ant example of building executable jar
<?xml version="1.0" encoding="UTF-8"?>
<project name="make_exec_jar" default="jar" basedir="." >
<target name="jar">
<jar basedir="../classes" jarfile="hello.jar">
<manifest>
<attribute name="Main-Class" value="me.takus.sample.Hello"/>
</manifest>
</jar>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment