[izpack-changes] r1467 - izpack-src/trunk/src/lib/com/izforge/izpack/panels

noreply at berlios.de noreply at berlios.de
Fri Jun 30 16:15:31 CEST 2006


Author: eppelman
Date: 2006-06-30 16:15:30 +0200 (Fri, 30 Jun 2006)
New Revision: 1467

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
Log:
restored the old createForPack feature - behaviour

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/ShortcutPanel.java	2006-06-30 12:06:42 UTC (rev 1466)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/ShortcutPanel.java	2006-06-30 14:15:30 UTC (rev 1467)
@@ -163,7 +163,7 @@
     private static final String SPEC_KEY_SHORTCUT = "shortcut";
 
     /** SPEC_KEY_PACKS = "createForPack" */
-
+    private static final String SPEC_KEY_PACKS = "createForPack";
     // ------------------------------------------------------
     // spec file key attributes
     // ------------------------------------------------------
@@ -952,6 +952,14 @@
                 data.target = "";
             }
             // the shortcut is not actually required for any of the selected packs
+             
+            // the shortcut is not actually required for any of the selected packs               // the shortcut is not actually required for any of the selected packs
+            Vector forPacks = shortcutSpec.getChildrenNamed(SPEC_KEY_PACKS);     
+     
+            if (!shortcutRequiredFor(forPacks))      
+            {    
+                continue;    
+            }
             // --------------------------------------------------
             // This section is executed if we don't skip.
             // --------------------------------------------------




More information about the izpack-changes mailing list