We need you!

Icon

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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

It is a good idea to collect your files and assets into the Maven project where your POM file resides.

Bearing in mind that a maven clean command will delete the target folder, we will not put anything there that we want preserved.

You are free to put things in any structure that you want but we make the fillowing suggestion.

We will put our files that we want included in a src folder tree.

Under src, we will create a main sub-folder and under that will create a izPack folder which will be the root of the files for the installation.

File Layout

Install.xml

You need to create an install.xml file that describes how you want your installation package to be built. We will discuss the content of this file in great detail later on.

For now we can create the initial <installation> entry to get started

File Layout

This gives us the following folder structure.

File Layout

Other resources

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

These might include:

  • legal for licenses
  • doc for documentation
  • images for splash pages and other bitmap images
  • about for product descriptions
File Layout

Base directory Variable

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/izPack folder

File Layout

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

  • No labels