Changes for page JApplication

Last modified by Andrus Adamchik on 2006/12/10 12:40

From version 69.1
edited by Andrus Adamchik
on 2006/09/16 14:41
Change comment: There is no comment for this version
To version 71.1
edited by Andrus Adamchik
on 2006/09/16 16:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,6 +4,12 @@
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 +
7 7  == Build Prerequisites and OS Specifics ==
8 8  
9 9  * Java launcher can be assembled on any platform and has no prerequisites.
... ... @@ -23,13 +23,10 @@
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 25  |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
26 26  
27 27  == Nested Elements ==
28 28  
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 -
33 33  === lib ===
34 34  
35 35  The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying jar files to be included in the application.
... ... @@ -46,7 +46,6 @@
46 46  
47 47  {{noformat}}
48 48  <japplication name="MyApp" destDir="dist" mainClass="org.example.Main" os="windows">
49 - <fileset dir="${build}/classes"/>
50 50   <lib dir="lib" includes="**/*.jar"/>
51 51  </japplication>
52 52  {{/noformat}}