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

noreply at berlios.de noreply at berlios.de
Mon Aug 7 15:27:19 CEST 2006


Author: bartzkau
Date: 2006-08-07 15:27:14 +0200 (Mon, 07 Aug 2006)
New Revision: 1518

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
Log:
No exception if IZPACK_HOME was not detected by the
extern test file if using standalone-compiler.


Modified: izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2006-08-07 13:04:16 UTC (rev 1517)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2006-08-07 13:27:14 UTC (rev 1518)
@@ -1891,7 +1891,12 @@
         int start = np.indexOf(self);
         np = np.substring(0, start);
         if( np.endsWith("!"))
+        {   // Where shut IZPACK_HOME at the standalone-compiler be??
+            // No idea.
+            if(np.endsWith("standalone-compiler.jar!"))
+                return(".");
             np = np.substring(0, np.length() - 1);
+        }
         File root = null;
         if( URI.create(np).isAbsolute())
             root = new File(URI.create(np));




More information about the izpack-changes mailing list