ADF Mobile Application Archive Profile Properties - Application Archive Options Page

Application menuthen chooseDeploythen chooseNew Deployment Profilethen chooseADF Mobile Application Archive then chooseApplication Archive Options

Application menuthen chooseApplication Propertiesthen chooseDeploymentthen chooseADF Mobile Application Archive deployment profilethen chooseEditthen chooseApplication Archive Options

Use to specify the contents of a Mobile Application Archive (.maa) file and its manifest file. More

JAR File
Enter the name and location to be used for this archive file. Click Browse to select an existing location.

Compress Archive
Select this checkbox to compress the archive using standard deflate compression.

Clear this checkbox to store the archive without compression.

Compression Level
Choose the compression level to use for the archive. The options are Default, Minimum (Fastest), 2, 3, 4, 5, 6, 7, 8, Maximum (Slowest).

Include Manifest File (META-INF/MANIFEST.MF)
Select to include the manifest file in the archive. The fields below this page pertain to the manifest file. If no settings are specified, a default manifest file will be generated that contains a header and an entry for each file in the archive.

Main Class
In the text field, enter, or browse to and retrieve, the Main-Class main attribute that appears in the manifest file, and which enables the JAR file to become an executable file. The JAR file which contains a Java application can be
java -jar myapp.jar
where myapp is replaced with your JAR file name.

Specifying the Main-Class main attribute is the only way to make an executable JAR file. The contents of the text field must be a fully qualified name of a class that contains a main method, a method with this signature:
public static void main(String[] args))

Additional Manifest Files to Merge into MANIFEST.MF
You can specify additional manifest files that should be merged into the manifest file that is generated by JDeveloper. This is the equivalent of the m option to the JAR tool on the command line. This option can be useful when you want to specify custom attributes for the JAR file and/or for specific JAR file entries.

Add
Click to add another manifest file to the archive. The contents of these manifest files will be merged in the order specified into the single META-INF/MANIFEST.MF file that is included in the JAR file.

Delete
Removes an existing manifest file from the JAR file.

 


Mobile Developer's Guide for ADF, "Deploying ADF Mobile Applications"

Mobile Developer's Guide for ADF, "Creating Unsigned Deployment Packages"