We need you!
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: like to as

...

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

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

We will discuss varables variables in more detail in the Variables Section.

Another, more Maven-centric approach is pulling in the base directory (and other useful values) directly from a Maven property defined in the POM and accessing them by expressions of kind @{property.key} in install.xml, as described in Properties.