Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagexml
titleExample: Web installer build in Maven
<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
languagexml
titleExample: Web installer build in Ant
<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.

...