[izpack-changes] r1822 - in izpack-src/branches/3.10: . src/doc-ng/XHTML
noreply at berlios.de
noreply at berlios.de
Sat Apr 28 11:11:17 CEST 2007
Author: jponge
Date: 2007-04-28 11:11:13 +0200 (Sat, 28 Apr 2007)
New Revision: 1822
Modified:
izpack-src/branches/3.10/Versions.txt
izpack-src/branches/3.10/src/doc-ng/XHTML/node9.html
Log:
Documentation update (Scott Plante via Julien Ponge)
Modified: izpack-src/branches/3.10/Versions.txt
===================================================================
--- izpack-src/branches/3.10/Versions.txt 2007-04-28 09:07:22 UTC (rev 1821)
+++ izpack-src/branches/3.10/Versions.txt 2007-04-28 09:11:13 UTC (rev 1822)
@@ -9,6 +9,7 @@
- UserInputPanel and InstallerFrame: enable the next button for search dialogs (Michael Hagedorn via Julien Ponge)
- VariableSubstitutor: new Java source files support (Max Fedorov via Julien Ponge)
- French langpack updates (Loic, via Julien Ponge)
+- Documentation update (Scott Plante via Julien Ponge)
> 3.10.1 (build 2007.03.29)
Modified: izpack-src/branches/3.10/src/doc-ng/XHTML/node9.html
===================================================================
--- izpack-src/branches/3.10/src/doc-ng/XHTML/node9.html 2007-04-28 09:07:22 UTC (rev 1821)
+++ izpack-src/branches/3.10/src/doc-ng/XHTML/node9.html 2007-04-28 09:11:13 UTC (rev 1822)
@@ -450,20 +450,26 @@
[IzPackRoot]/src/lib/[MyPackagePath]/MyCompilerListener.java</tt>.
</li>
<li>
- Add a "compile.simple" antcall in to <tt>[IzPackRoot]/src/build.xml</tt>.
+ Add a "<tt>build-compiler-listener</tt>" macro call in to the
+ <tt>build.listeners</tt> target in <tt>[IzPackRoot]/src/build.xml</tt>.
+ Note that the name attribute value in the build-instealler-listener
+ must match <tt>CompilerListener</tt> implementation class name (not
+ including the package). You should include the actual Listener
+ implementation, as well as any other classes required by the listener.
<pre>
-<antcall target="compile.listener.simple">
- <param name="listener" value="MyCompilerListener"/>
- <param name="listener-dir" value="MyCompilerListener"/>
- <param name="listener-include" value="[MyPackagePath]"/>
-</antcall>
+ <build-compiler-listener name="MyCompilerListener">
+ <include name="[MyPackagePath]/MyCompilerListener.java"/>
+ <include name="[MyPackagePath]/SomeOtherHelperClass.java"/>
+ </build-compiler-listener>
</pre>
</li>
<li>
Run <tt>[IzPackRoot]/src/build.xml</tt>.
+ An <tt>ant</tt> alone will execute the required targets.
</li>
<li>
- Add a "listeners" ELEMENT with a "listener" ELEMENT with a "compiler" attribute in to [MyProjectPath]/install.xml
+ Add a "listeners" ELEMENT with a "listener" ELEMENT with a "compiler"
+ attribute in to [MyProjectPath]/install.xml
<pre>
<listeners>
<listener compiler="MyCompilerListener" />
@@ -471,7 +477,7 @@
</pre>
</li>
<li>
- Compile with
+ Compile with the following command, or an ant task you have set up.
<pre>
java -jar [IzPackRoot]/lib/compiler.jar -HOME [IzPackRoot]
[MyProjectPath]/install.xml -b [MyProductPath] -o
More information about the izpack-changes
mailing list