Changes for page JApplication
Last modified by Andrus Adamchik on 2006/12/10 12:40
From version 79.1
edited by Andrus Adamchik
on 2006/09/16 19:34
on 2006/09/16 19:34
Change comment:
There is no comment for this version
To version 81.1
edited by Andrus Adamchik
on 2006/12/10 12:40
on 2006/12/10 12:40
Change comment:
Migrated to Confluence 4.0
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,41 +3,117 @@ 1 -//(unreleased as of 09/16/2006)// 2 - 3 3 == Description == 4 4 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"--##--.--3 +//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 {{code language="none"}}"java -jar file.jar"{{/code}}. 6 6 7 7 == OS Strategies == 8 8 9 9 * Java: builds a single runnable jar file out of a collection of jar files. 10 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.9 +* Windows: Performs a Java build and creates an [[NSIS>>url:http://nsis.sourceforge.net/Main_Page||shape="rect"]] launcher for the runnable jar. Both {{code language="none"}}".exe"{{/code}} and {{code language="none"}}".jar"{{/code}} files are required to be in the same directory for the launcher to work. 12 12 13 -== BuildPrerequisites and OS Specifics ==11 +== OS Requirements == 14 14 13 +* Mac launcher can be built on Mac only, as it requires a JavaApplicationStab file. 14 +* Windows launcher can be built on Windows only. 15 15 * Java launcher can be assembled on any platform and has no prerequisites. 16 -* Mac launcher can be built on Mac, as it requires a JavaApplicationStab file. 17 -* Windows launcher can currently be build on Windows only. 18 -* Windows launcher requires [[NSIS>>http://nsis.sourceforge.net/Main_Page]] to be installed on the build machine. 19 19 20 20 == Parameters == 21 21 22 -|=Attribute|=Description|=Required|=Platforms 23 -|name|The name of the application without OS-specific extension|yes| 24 -|mainClass|Main Java class|yes| 25 -|os|A family of operating systems. Currently supported values are "mac", "windows" and "java"|no (will use build machine os if ommitted; if the os is not supported, will use "java")| 26 -|destDir|A destination directory where the application launcher should be installed|no (will use ##"$basedir"## if omitted)| 27 -|longName|An optional string identifying the application human-readable name. If not specified, "name" is used.|no| 28 -|icon|Platform-specific icon file (usually ".ico" on Windows and ".icns" on Mac)|no|mac,windows 29 -|jvm|Minimal version of the Java Virtual machine required.|no (default is "1.4+")|mac 30 -|jvmOptions|Optional parameters to pass to the JVM, such as memory settings, etc.|no| 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 19 +|=((( 20 +Attribute 21 +)))|=((( 22 +Description 23 +)))|=((( 24 +Required 25 +)))|=((( 26 +Platforms 27 +))) 28 +|((( 29 +name 30 +)))|((( 31 +The name of the application without OS-specific extension 32 +)))|((( 33 +yes 34 +)))|((( 35 + 36 +))) 37 +|((( 38 +mainClass 39 +)))|((( 40 +Main Java class 41 +)))|((( 42 +yes 43 +)))|((( 44 + 45 +))) 46 +|((( 47 +os 48 +)))|((( 49 +A family of operating systems. Currently supported values are "mac", "windows" and "java" 50 +)))|((( 51 +no (will use build machine os if ommitted; if the os is not supported, will use "java") 52 +)))|((( 53 + 54 +))) 55 +|((( 56 +destDir 57 +)))|((( 58 +A destination directory where the application launcher should be installed 59 +)))|((( 60 +no (will use {{code language="none"}}"${basedir}"{{/code}} if omitted) 61 +)))|((( 62 + 63 +))) 64 +|((( 65 +longName 66 +)))|((( 67 +An optional string identifying the application human-readable name. If not specified, "name" is used. 68 +)))|((( 69 +no 70 +)))|((( 71 + 72 +))) 73 +|((( 74 +icon 75 +)))|((( 76 +Platform-specific icon file (usually "*.ico" on Windows and "*.icns" on Mac) 77 +)))|((( 78 +no 79 +)))|((( 80 +mac,windows 81 +))) 82 +|((( 83 +jvm 84 +)))|((( 85 +Minimal version of the Java Virtual machine required. 86 +)))|((( 87 +no (default is "1.4+") 88 +)))|((( 89 +mac 90 +))) 91 +|((( 92 +jvmOptions 93 +)))|((( 94 +Optional parameters to pass to the JVM, such as memory settings, etc. 95 +)))|((( 96 +no 97 +)))|((( 98 +mac,windows 99 +))) 100 +|((( 101 +version 102 +)))|((( 103 +Product version string 104 +)))|((( 105 +no (default 0.0) 106 +)))|((( 107 +mac 108 +))) 33 33 34 34 == Nested Elements == 35 35 36 36 === lib === 37 37 38 -The [[FileSet>>http://ant.apache.org/manual/CoreTypes/fileset.html]] specifying jar files to be included in the application. 114 +The [[FileSet>>url:http://ant.apache.org/manual/CoreTypes/fileset.html||shape="rect"]] specifying jar files to be included in the application. 39 39 40 40 == Examples == 41 41