[izpack-changes] r1696 - izpack-src/trunk/src/lib/com/izforge/izpack/compiler

noreply at berlios.de noreply at berlios.de
Tue Jan 9 12:50:44 CET 2007


Author: dreil
Date: 2007-01-09 12:50:41 +0100 (Tue, 09 Jan 2007)
New Revision: 1696

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
Log:
corrected handling of packager options


Modified: izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2007-01-09 11:35:48 UTC (rev 1695)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2007-01-09 11:50:41 UTC (rev 1696)
@@ -351,7 +351,10 @@
         }
         compiler.initPackager(packagerclassname);  
         if (root != null){
-            compiler.getPackager().addConfigurationInformation(root);
+            XMLElement options = root.getFirstChildNamed("options");
+            if (options != null){
+                compiler.getPackager().addConfigurationInformation(options);
+            }
         }
         compiler.addProperty("UNPACKER_CLASS", unpackerclassname);
         notifyCompilerListener("loadPackager", CompilerListener.END, data);        




More information about the izpack-changes mailing list