Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Installer SFX creation ant"
Line 7: | Line 7: | ||
=== archivetask === | === archivetask === | ||
+ | ==== Description ==== | ||
+ | Archives a set of files. | ||
==== Parameters ==== | ==== Parameters ==== | ||
<table border=1> | <table border=1> | ||
Line 41: | Line 43: | ||
</table> | </table> | ||
==== Parameters specified as nested elements ==== | ==== Parameters specified as nested elements ==== | ||
− | fileset | + | ===== fileset ===== |
All files included in this fileset will be processed as archive content. | All files included in this fileset will be processed as archive content. | ||
To use a FileSet, use the nested [http://ant.apache.org/manual/CoreTypes/fileset.html <fileset>] element. | To use a FileSet, use the nested [http://ant.apache.org/manual/CoreTypes/fileset.html <fileset>] element. | ||
+ | |||
+ | ===== unpack ===== | ||
+ | |||
+ | All files included in this nested element will be extracted by launcher prior to execution of autorun. In other words when native launcher executed it will extract only this files. | ||
+ | |||
+ | === unpack === | ||
== Examples == | == Examples == |
Revision as of 04:53, 13 July 2007
This document describes creation of XSE archives using Ant.
Contents
Overview
XSE archive description could be found at Installer SFX creation using XSEBuilder. The org.eclipse.epp.sfx.archive.ant plugin contains ant task for archive file creation.
Ant Tasks
archivetask
Description
Archives a set of files.
Parameters
Attribute | Description | Required |
---|---|---|
rootdir | Archive content root directory. Will not be included into archive | No; defaults to project basedir. |
packagetype | "exe" or "sfx" "sfx" produce archive only, "exe" produce archive and link with Windows launcher |
Yes |
command | archive root relative autorun command line, will be executed by native launcher | Yes |
archivefile | path to resulting archive file, correspondednt file extension (".exe" or ".sfx") will be added automaticaly | Yes |
pack200 | "true" or "false" | No; defaults is "false". |
Parameters specified as nested elements
fileset
All files included in this fileset will be processed as archive content.
To use a FileSet, use the nested <fileset> element.
unpack
All files included in this nested element will be extracted by launcher prior to execution of autorun. In other words when native launcher executed it will extract only this files.