Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7ee88c
commit 584464a
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
== This is the read me == | ||
|
||
AppBundler is an Ant task for packaging up Desktop Java apps as native | ||
executables. It can package Mac OS X .app bundles, Windows EXEs, JNLPs, | ||
and double clickable jars that work anywhere. | ||
|
||
To use AppBundler, create a bundle.xml in your project directory like this: | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<app name="SimpleTest"> | ||
<jar name="simpletest.jar" | ||
main-class="com.joshondesign.appbundler.simpletest.Main"/> | ||
<jar name="XMLLib.jar"/> | ||
</app> | ||
|
||
Now create an ant target in your build.xml that looks like this: | ||
|
||
<target name='package-app' depends='build'> | ||
<taskdef name='appbundler' | ||
classname='com.joshondesign.appbundler.BundlerTask' | ||
classpath='build/classes;lib/XMLLib.jar'/> | ||
|
||
<appbundler | ||
bundle="test/bundle.xml" | ||
target="mac" | ||
destdir="dist" | ||
libdir="build/jars;lib" | ||
/> | ||
</target> |