Permalink
Browse files

updated text

  • Loading branch information...
joshmarinacci committed Mar 25, 2012
1 parent 86f065e commit 5c903c37f935157b4443d6c594b98884e391d6ea
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.markdown
View
@@ -2,7 +2,7 @@
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,
+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:
@@ -20,6 +20,7 @@ class must have a 'main-class' attribute.
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'
@@ -32,10 +33,11 @@ Now create an ant target in your build.xml that looks like this:
libdir="build/jars;lib"
/>
</target>
+```
That's it. Just run 'ant package-app' and a Mac bundle will appear in dist/mac.
-Valid targets are mac, win, jnlp, onejar, and all.
+Valid targets are `mac`, win, jnlp, onejar, and all.
'bundle', 'target', 'destdir', and 'libdir' must be set. 'libdir' is a semicolon
separated list of directories which contain your jars.

0 comments on commit 5c903c3

Please sign in to comment.