Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added the XSD schema instance

...

Code Block
languagehtml/xml
titleCompilePanel.Spec.xml resource example
<compilation><izpack:compilation version="5.0" xmlns:izpack="http://izpack.org/schema/compilation"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="http://izpack.org/schema/compilation http://izpack.org/schema/5.0/izpack-compilation-5.0.xsd">

    <global>
        <compiler>
            <choice value="$JAVA_HOME/bin/javac" />
            <choice value="jikes" />
        </compiler>
        <arguments>
            <choice value="-O -g:none" />
            <choice value="-O" />
            <choice value="-g" />
            <choice value="" />
        </arguments>
    </global>
    <jobs>
        <classpath add="$INSTALL_PATH/src/classes/" />
        <job name="optional name">
            <directory name="$INSTALL_PATH/src/classes/xyz" />
        </job>
        <job name="another job">
           <packdepency <packdependency name="some package name" />
            <classpath sub="$INSTALL_PATH/" />
            <directory name="$INSTALL_PATH/src/classes/abc" />
            <file name="$INSTALL_PATH/some/file.java" />
        </job>
    </jobs>
</izpack:compilation>

Actually, jobs can be nested. Why do you want to do that? How do you nest them?

...