...
By default, the compiler will create a standard installer even if webdir
is specified. The web installer can be generated with the web
option like this:
Maven:
In Maven, set the <kind> configuration option to "web" to activate this feature:
Code Block | ||||
---|---|---|---|---|
| ||||
<plugin>
<groupId>org.codehaus.izpack</groupId>
<artifactId>izpack-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
...
<kind>web</kind>
...
</configuration>
</plugin> |
Ant:
For the Ant build, the installerType attribute must be set to "web" for this purpose:
Code Block | ||||
---|---|---|---|---|
| ||||
<izpack input="install.xml"
output="IzPack-install.jar"
installerType="web"
inheritAll="true"
basedir="${basedir}"
izPackDir="${user.home}/IzPack/" /> |
Command line:
compile installer.xml -k web
It
All these variants of compiling will generate a jar for each pack and an installer jar. For instance, the sample installation will generate those 4 jars.
...