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

noreply at berlios.de noreply at berlios.de
Thu Jan 24 20:21:27 CET 2008


Author: jgordon
Date: 2008-01-24 20:21:23 +0100 (Thu, 24 Jan 2008)
New Revision: 2003

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
Log:
Changed uninstaller name to allow file name without jar extension.

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2008-01-24 19:16:48 UTC (rev 2002)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2008-01-24 19:21:23 UTC (rev 2003)
@@ -1511,8 +1511,7 @@
             if (uninstallInfo != null)
             {
                 String uninstallerName = uninstallInfo.getAttribute("name");
-                if (uninstallerName != null && uninstallerName.endsWith(".jar")
-                        && uninstallerName.length() > ".jar".length())
+                if (uninstallerName != null && uninstallerName.length() > ".jar".length())
                     info.setUninstallerName(uninstallerName);
             }
         }



More information about the izpack-changes mailing list