Changes for page JApplication
Last modified by Andrus Adamchik on 2006/12/10 12:40
From version 39.1
edited by Andrus Adamchik
on 2006/09/16 13:22
on 2006/09/16 13:22
Change comment:
There is no comment for this version
To version 47.1
edited by Andrus Adamchik
on 2006/09/16 13:40
on 2006/09/16 13:40
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,7 +7,7 @@ 7 7 == Build Prerequisites and OS Specifics == 8 8 9 9 * Java launcher can be assembled on any platform and has no prerequisites. 10 -* Mac launcher can be assembledon anyplatform and hasnoprerequisites.10 +* Mac launcher can be built on Mac, as it requires a JavaApplicationStab file. 11 11 * Windows launcher can currently be build on Windows only. 12 12 * Windows launcher requires [[NSIS>>http://nsis.sourceforge.net/Main_Page]] to be installed on the build machine. 13 13 ... ... @@ -22,3 +22,30 @@ 22 22 |icon|Platform-specific icon file (usually ".ico" on Windows and ".icns" on Mac)|no|mac,windows 23 23 |jvm|Minimal version of the Java Virtual machine required.|no|mac 24 24 |jvmOptions|Optional parameters to pass to the JVM, such as memory settings, etc.|no|mac 25 + 26 +== Nested Elements == 27 + 28 +=== fileset === 29 + 30 +The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying Java classes and resources to be included in the application. 31 + 32 +=== lib === 33 + 34 +The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying jar files to be included in the application. 35 + 36 +== Examples == 37 + 38 +Loading task: 39 + 40 +{{noformat}} 41 +<taskdef name="japplication" classname="org.objectstyle.woproject.ant.JApplication"/> 42 +{{/noformat}} 43 + 44 +Building a Windows application, resulting in "MyApp.exe" launcher that starts "MyApp.jar" file. 45 + 46 +{{noformat}} 47 +<japplication name="MyApp" destDir="dist" mainClass="org.example.Main" os="windows"> 48 + <fileset dir="${build}/classes"/> 49 + <lib dir-"lib" includes="**/*.jar"/> 50 +</japplication> 51 +{{/noformat}}