Changes for page JApplication
Last modified by Yana Oksner on 2026/01/08 12:27
From version 62.1
edited by Andrus Adamchik
on 2006/09/16 15:06
on 2006/09/16 15:06
Change comment:
There is no comment for this version
To version 61.1
edited by Andrus Adamchik
on 2006/09/16 13:51
on 2006/09/16 13:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,16 +16,20 @@ 16 16 |=Attribute|=Description|=Required|=Platforms 17 17 |name|The name of the application without OS-specific extension|yes| 18 18 |mainClass|Main Java class|yes| 19 -|os|A family of operating systems. Currently supported values are "mac", "windows" and "java"|no (will use build machineosif ommitted; if the os is not supported, will use "java")|20 -|destDir|A destination directory where the application launcher should be installed|no (will use ##"$b asedir"## if omitted)|19 +|os|A family of operating systems. Currently supported values are "mac", "windows" and "java"|no (will use "java" if ommitted)| 20 +|destDir|A destination directory where the application launcher should be installed|no (will use ##"$builddir"## if omitted)| 21 21 |longName|An optional string identifying the application human-readable name. If not specified, "name" is used.|no| 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 -|nsisHome|Location of NSIS installation .Ignored except on Windows.|no(default is "C:rogram FilesSIS")|windows25 +|nsisHome|Location of NSIS installation|no (ignored except on Windows, on Windows default is "C:rogram FilesSIS")|windows 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 + 29 29 === lib === 30 30 31 31 The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying jar files to be included in the application. ... ... @@ -42,6 +42,7 @@ 42 42 43 43 {{noformat}} 44 44 <japplication name="MyApp" destDir="dist" mainClass="org.example.Main" os="windows"> 45 - <lib dir="lib" includes="**/*.jar"/> 49 + <fileset dir="${build}/classes"/> 50 + <lib dir-"lib" includes="**/*.jar"/> 46 46 </japplication> 47 47 {{/noformat}}