Changes for page JApplication

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

From version 53.1
edited by Andrus Adamchik
on 2006/09/16 13:26
Change comment: There is no comment for this version
To version 51.1
edited by Andrus Adamchik
on 2006/09/16 13:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -32,3 +32,20 @@
32 32  === lib ===
33 33  
34 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}}