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

noreply at berlios.de noreply at berlios.de
Tue May 29 22:49:15 CEST 2007


Author: vralev
Date: 2007-05-29 22:49:11 +0200 (Tue, 29 May 2007)
New Revision: 1855

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
   izpack-src/trunk/src/lib/com/izforge/izpack/compiler/PackInfo.java
Log:
TreePacksPanel (compiler and pack structure changes)

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2007-05-29 20:35:55 UTC (rev 1854)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/compiler/CompilerConfig.java	2007-05-29 20:49:11 UTC (rev 1855)
@@ -600,6 +600,7 @@
             String group = el.getAttribute("group");
             String installGroups = el.getAttribute("installGroups");
             String excludeGroup = el.getAttribute("excludeGroup");
+            String parent = el.getAttribute("parent");
             
             if(required && excludeGroup != null)
             {
@@ -609,6 +610,7 @@
             
             PackInfo pack = new PackInfo(name, id, description, required, loose, excludeGroup);
             pack.setOsConstraints(OsConstraint.getOsList(el)); // TODO:
+            pack.setParent(parent);
             
             // unverified
             // if the pack belongs to an excludeGroup it's not preselected by default

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/compiler/PackInfo.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/compiler/PackInfo.java	2007-05-29 20:35:55 UTC (rev 1854)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/compiler/PackInfo.java	2007-05-29 20:49:11 UTC (rev 1855)
@@ -289,6 +289,16 @@
         return pack.dependencies;
     }
     
+	public String getParent()
+    {
+       return pack.parent;
+    }
+    
+    public void setParent(String p)
+    {
+       pack.parent = p;
+    }
+    
     public String toString()
     {
         return pack.name;




More information about the izpack-changes mailing list