Changes for page JApplication
Last modified by Andrus Adamchik on 2006/12/10 12:40
From version 70.1
edited by Andrus Adamchik
on 2006/09/16 16:37
on 2006/09/16 16:37
Change comment:
There is no comment for this version
To version 69.1
edited by Andrus Adamchik
on 2006/09/16 14:41
on 2006/09/16 14:41
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,12 +4,6 @@ 4 4 5 5 //JApplication// is a task for assembling native launchers of Java applications for a number of target platforms. Currently supports native launchers for Mac and Windows operating systems and also a "java launcher" - a single jar file that can be run via ##"java --jar file.jar"--##--.-- 6 6 7 -== OS Strategies == 8 - 9 -* Java: builds a single runnable jar file out of a collection of jar files. 10 -* Mac: builds a XYZ.app bundle that includes all jar dependencies. 11 -* Windows: Does a Java build and creates an [[NSIS>>http://nsis.sourceforge.net/Main_Page]] launcher for the runnable jar. Both ##".exe"## and ##".jar"## files are required to be in the same directory for the launcher to work. 12 - 13 13 == Build Prerequisites and OS Specifics == 14 14 15 15 * Java launcher can be assembled on any platform and has no prerequisites. ... ... @@ -29,10 +29,13 @@ 29 29 |jvm|Minimal version of the Java Virtual machine required.|no|mac 30 30 |jvmOptions|Optional parameters to pass to the JVM, such as memory settings, etc.|no|mac 31 31 |nsisHome|Location of NSIS installation. Ignored except on Windows.|no (default is "C:rogram FilesSIS")|windows 32 -|version|Product version string|no (default 0.0)|mac 33 33 34 34 == Nested Elements == 35 35 29 +=== fileset === 30 + 31 +The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying Java classes and resources to be included in the application. 32 + 36 36 === lib === 37 37 38 38 The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying jar files to be included in the application. ... ... @@ -49,6 +49,7 @@ 49 49 50 50 {{noformat}} 51 51 <japplication name="MyApp" destDir="dist" mainClass="org.example.Main" os="windows"> 49 + <fileset dir="${build}/classes"/> 52 52 <lib dir="lib" includes="**/*.jar"/> 53 53 </japplication> 54 54 {{/noformat}}