The Deployment Wizard
The Deployment wizard enables you to automate deployment of your application wether it is simply making a copy or to automatically create
a executable jar file (requires JDK1.2).
Choose Deployment Add Files(s) from a PopupMenu (e.g. in the File Tree)
to add jar's or directories.
If the field "RessourceBase" is left empty, the directory of the current workspace is inserted as default.
The Name of the MainClass (to enable double click execution of jar on Win32, JDK1.2) is taken from
Options=>Debug/Run.
Filter
The deployment wizard works on a directory level rather than file level.
To prevent specific files from deploying, set a filter
for the appropriate directory (e.g. ".proj;.txt;makefile"). The fiter is a ';' separated list of file endings, all files
ending with one of the strings listed in the filter are excluded from deployment.
Output Dir
This is the directory, where the files are deployed to.
How files are handled
- .java files
.java files are deployed to [outputdir]/package/subpackage/file.java, where 'package' and 'subpackage' are given from the package of the .java file.
- .class files
.class files are deployed to [outputdir]/package/subpackage/file.class, where 'package' and 'subpackage' are given from the package of the .class file.
- .jar files
If you add a .jar file to the list of deployment directories, the jar file will be automatically unpacked to
[output dir]/. This is useful to create executable jars, which contain their libraries.
- All other files
are deployed relative to the Ressource Base directory. This means if the RessouceBase is set to "c:\myprog" and the
output dir is "d:\tmp\deploy\", the File "c\myprog\images\splash.gif" would be deployed to "d:\tmp\deploy\images\splash.gif".
Note: To deploy Applications using AnyJ's GUIBuilder, add [anyjInstallDir]\lib\runtime.jar and [anyjInstallDir]\lib\aelfred.jar
to the list of files to deploy.