We need you!

Icon

The IzPack documentation needs work, and you are invited to edit it!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Based on the izpack-maven-plugin default configuration changed the suggestions accordingly.

...

Code Block
titleFile Layout
languagenone
MyInstallProject
-src
  -main
    -izPackizpack
-target
 pom.xml 

Install.xml

...

Code Block
titleFile Layout
languagenone
MyInstallProject
-src
  -main
    -izPackizpack
      install.xml
 -target
 pom.xml 

Other resources

Under the scr/main/izPackizpack, you can create folders to hold the various files that you want to include in your installation.

...

Code Block
titleFile Layout
languagenone
MyInstallProject
-src
  -main
    -izPackizpack
      -about
         productDescription.txt
      -doc 
        cheatsheet.pdf
        manual.pdf
      -images
        splash.png
      -legal
        license.txt
      install.xml
 -target
 pom.xml 

...

In order to make life easier when these file locations need to be specified in the install.xml, we can befine a variable RESOURCEROOT that will point to the src/main/izPackizpack folder

Code Block
titleFile Layout
languagehtml/xml
<installation version="5.0">
  <variables>
    <variable name="RESOURCEROOT" value="src/main/izPackizpack"/>
  </variables>
 </installation>

...