[jboss-svn-commits] JBL Code SVN: r5423 - in labs/jbosslabs/trunk/portal-extensions/forge-common/src: java/org/jboss/forge/common/projects/test web

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Aug 2 21:15:45 EDT 2006


Author: unibrew
Date: 2006-08-02 21:15:37 -0400 (Wed, 02 Aug 2006)
New Revision: 5423

Added:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java
Modified:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
Log:
[JBLAB-679] Working on project.xml parsing beans.

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for categories complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="categories">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="category" type="{http://jboss.org}category" maxOccurs="unbounded"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "categories", propOrder = {
+    "category"
+})
+public class Categories {
+
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<Category> category;
+
+    /**
+     * Gets the value of the category property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the category property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getCategory().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Category }
+     * 
+     * 
+     */
+    public List<Category> getCategory() {
+        if (category == null) {
+            category = new ArrayList<Category>();
+        }
+        return this.category;
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -2,12 +2,14 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
 //
 
 
 package org.jboss.forge.common.projects.test;
 
+import java.util.ArrayList;
+import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
@@ -34,7 +36,7 @@
  *             &lt;complexContent>
  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *                 &lt;sequence>
- *                   &lt;element name="category" type="{http://jboss.org}category"/>
+ *                   &lt;element name="category" type="{http://jboss.org}category" maxOccurs="unbounded"/>
  *                 &lt;/sequence>
  *               &lt;/restriction>
  *             &lt;/complexContent>
@@ -196,7 +198,7 @@
      *   &lt;complexContent>
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      *       &lt;sequence>
-     *         &lt;element name="category" type="{http://jboss.org}category"/>
+     *         &lt;element name="category" type="{http://jboss.org}category" maxOccurs="unbounded"/>
      *       &lt;/sequence>
      *     &lt;/restriction>
      *   &lt;/complexContent>
@@ -212,30 +214,35 @@
     public static class Categories {
 
         @XmlElement(namespace = "http://jboss.org", required = true)
-        protected Category category;
+        protected List<Category> category;
 
         /**
          * Gets the value of the category property.
          * 
-         * @return
-         *     possible object is
-         *     {@link Category }
-         *     
-         */
-        public Category getCategory() {
-            return category;
-        }
-
-        /**
-         * Sets the value of the category property.
+         * <p>
+         * This accessor method returns a reference to the live list,
+         * not a snapshot. Therefore any modification you make to the
+         * returned list will be present inside the JAXB object.
+         * This is why there is not a <CODE>set</CODE> method for the category property.
          * 
-         * @param value
-         *     allowed object is
-         *     {@link Category }
-         *     
+         * <p>
+         * For example, to add a new item, do as follows:
+         * <pre>
+         *    getCategory().add(newItem);
+         * </pre>
+         * 
+         * 
+         * <p>
+         * Objects of the following type(s) are allowed in the list
+         * {@link Category }
+         * 
+         * 
          */
-        public void setCategory(Category value) {
-            this.category = value;
+        public List<Category> getCategory() {
+            if (category == null) {
+                category = new ArrayList<Category>();
+            }
+            return this.category;
         }
 
     }

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,371 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.forge.common.projects.test.File.Button;
+
+
+/**
+ * <p>Java class for file complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="file">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;all>
+ *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="release" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="button">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;all>
+ *                   &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   &lt;element name="freezone">
+ *                     &lt;simpleType>
+ *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         &lt;enumeration value="true"/>
+ *                         &lt;enumeration value="TRUE"/>
+ *                         &lt;enumeration value="false"/>
+ *                         &lt;enumeration value="FALSE"/>
+ *                       &lt;/restriction>
+ *                     &lt;/simpleType>
+ *                   &lt;/element>
+ *                 &lt;/all>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *       &lt;/all>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "file", propOrder = {
+
+})
+public class File {
+
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String id;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String name;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String description;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String size;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String license;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String release;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected Button button;
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setName(String value) {
+        this.name = value;
+    }
+
+    /**
+     * Gets the value of the description property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /**
+     * Sets the value of the description property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDescription(String value) {
+        this.description = value;
+    }
+
+    /**
+     * Gets the value of the size property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getSize() {
+        return size;
+    }
+
+    /**
+     * Sets the value of the size property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setSize(String value) {
+        this.size = value;
+    }
+
+    /**
+     * Gets the value of the license property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getLicense() {
+        return license;
+    }
+
+    /**
+     * Sets the value of the license property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setLicense(String value) {
+        this.license = value;
+    }
+
+    /**
+     * Gets the value of the release property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getRelease() {
+        return release;
+    }
+
+    /**
+     * Sets the value of the release property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setRelease(String value) {
+        this.release = value;
+    }
+
+    /**
+     * Gets the value of the button property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Button }
+     *     
+     */
+    public Button getButton() {
+        return button;
+    }
+
+    /**
+     * Sets the value of the button property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Button }
+     *     
+     */
+    public void setButton(Button value) {
+        this.button = value;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;all>
+     *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="freezone">
+     *           &lt;simpleType>
+     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               &lt;enumeration value="true"/>
+     *               &lt;enumeration value="TRUE"/>
+     *               &lt;enumeration value="false"/>
+     *               &lt;enumeration value="FALSE"/>
+     *             &lt;/restriction>
+     *           &lt;/simpleType>
+     *         &lt;/element>
+     *       &lt;/all>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+
+    })
+    public static class Button {
+
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String id;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String name;
+        @XmlElement(namespace = "http://jboss.org", required = true)
+        protected String freezone;
+
+        /**
+         * Gets the value of the id property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getId() {
+            return id;
+        }
+
+        /**
+         * Sets the value of the id property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setId(String value) {
+            this.id = value;
+        }
+
+        /**
+         * Gets the value of the name property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getName() {
+            return name;
+        }
+
+        /**
+         * Sets the value of the name property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setName(String value) {
+            this.name = value;
+        }
+
+        /**
+         * Gets the value of the freezone property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link String }
+         *     
+         */
+        public String getFreezone() {
+            return freezone;
+        }
+
+        /**
+         * Sets the value of the freezone property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link String }
+         *     
+         */
+        public void setFreezone(String value) {
+            this.freezone = value;
+        }
+
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -2,18 +2,18 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
 //
 
 
 package org.jboss.forge.common.projects.test;
 
+import java.util.ArrayList;
+import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
-import org.jboss.forge.common.projects.test.Files.File;
-import org.jboss.forge.common.projects.test.Files.File.Button;
 
 
 /**
@@ -26,44 +26,7 @@
  *   &lt;complexContent>
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       &lt;sequence>
- *         &lt;element name="file" minOccurs="0">
- *           &lt;complexType>
- *             &lt;complexContent>
- *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 &lt;all>
- *                   &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   &lt;element name="release" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   &lt;element name="button">
- *                     &lt;complexType>
- *                       &lt;complexContent>
- *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                           &lt;all>
- *                             &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                             &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                             &lt;element name="freezone">
- *                               &lt;simpleType>
- *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                                   &lt;enumeration value="true"/>
- *                                   &lt;enumeration value="TRUE"/>
- *                                   &lt;enumeration value="false"/>
- *                                   &lt;enumeration value="FALSE"/>
- *                                 &lt;/restriction>
- *                               &lt;/simpleType>
- *                             &lt;/element>
- *                           &lt;/all>
- *                         &lt;/restriction>
- *                       &lt;/complexContent>
- *                     &lt;/complexType>
- *                   &lt;/element>
- *                 &lt;/all>
- *               &lt;/restriction>
- *             &lt;/complexContent>
- *           &lt;/complexType>
- *         &lt;/element>
+ *         &lt;element name="file" type="{http://jboss.org}file" maxOccurs="unbounded" minOccurs="0"/>
  *       &lt;/sequence>
  *     &lt;/restriction>
  *   &lt;/complexContent>
@@ -78,387 +41,36 @@
 })
 public class Files {
 
-    @XmlElement(namespace = "http://jboss.org")
-    protected File file;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<File> file;
 
     /**
      * Gets the value of the file property.
      * 
-     * @return
-     *     possible object is
-     *     {@link File }
-     *     
-     */
-    public File getFile() {
-        return file;
-    }
-
-    /**
-     * Sets the value of the file property.
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the file property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link File }
-     *     
-     */
-    public void setFile(File value) {
-        this.file = value;
-    }
-
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
+     * <p>
+     * For example, to add a new item, do as follows:
      * <pre>
-     * &lt;complexType>
-     *   &lt;complexContent>
-     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;all>
-     *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         &lt;element name="release" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         &lt;element name="button">
-     *           &lt;complexType>
-     *             &lt;complexContent>
-     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 &lt;all>
-     *                   &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                   &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                   &lt;element name="freezone">
-     *                     &lt;simpleType>
-     *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *                         &lt;enumeration value="true"/>
-     *                         &lt;enumeration value="TRUE"/>
-     *                         &lt;enumeration value="false"/>
-     *                         &lt;enumeration value="FALSE"/>
-     *                       &lt;/restriction>
-     *                     &lt;/simpleType>
-     *                   &lt;/element>
-     *                 &lt;/all>
-     *               &lt;/restriction>
-     *             &lt;/complexContent>
-     *           &lt;/complexType>
-     *         &lt;/element>
-     *       &lt;/all>
-     *     &lt;/restriction>
-     *   &lt;/complexContent>
-     * &lt;/complexType>
+     *    getFile().add(newItem);
      * </pre>
      * 
      * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link File }
+     * 
+     * 
      */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-
-    })
-    public static class File {
-
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected String id;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected String name;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected String description;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected String size;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected String license;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected String release;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected Button button;
-
-        /**
-         * Gets the value of the id property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getId() {
-            return id;
+    public List<File> getFile() {
+        if (file == null) {
+            file = new ArrayList<File>();
         }
-
-        /**
-         * Sets the value of the id property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setId(String value) {
-            this.id = value;
-        }
-
-        /**
-         * Gets the value of the name property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getName() {
-            return name;
-        }
-
-        /**
-         * Sets the value of the name property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setName(String value) {
-            this.name = value;
-        }
-
-        /**
-         * Gets the value of the description property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getDescription() {
-            return description;
-        }
-
-        /**
-         * Sets the value of the description property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setDescription(String value) {
-            this.description = value;
-        }
-
-        /**
-         * Gets the value of the size property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getSize() {
-            return size;
-        }
-
-        /**
-         * Sets the value of the size property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setSize(String value) {
-            this.size = value;
-        }
-
-        /**
-         * Gets the value of the license property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getLicense() {
-            return license;
-        }
-
-        /**
-         * Sets the value of the license property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setLicense(String value) {
-            this.license = value;
-        }
-
-        /**
-         * Gets the value of the release property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getRelease() {
-            return release;
-        }
-
-        /**
-         * Sets the value of the release property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setRelease(String value) {
-            this.release = value;
-        }
-
-        /**
-         * Gets the value of the button property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link Button }
-         *     
-         */
-        public Button getButton() {
-            return button;
-        }
-
-        /**
-         * Sets the value of the button property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link Button }
-         *     
-         */
-        public void setButton(Button value) {
-            this.button = value;
-        }
-
-
-        /**
-         * <p>Java class for anonymous complex type.
-         * 
-         * <p>The following schema fragment specifies the expected content contained within this class.
-         * 
-         * <pre>
-         * &lt;complexType>
-         *   &lt;complexContent>
-         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       &lt;all>
-         *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *         &lt;element name="freezone">
-         *           &lt;simpleType>
-         *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
-         *               &lt;enumeration value="true"/>
-         *               &lt;enumeration value="TRUE"/>
-         *               &lt;enumeration value="false"/>
-         *               &lt;enumeration value="FALSE"/>
-         *             &lt;/restriction>
-         *           &lt;/simpleType>
-         *         &lt;/element>
-         *       &lt;/all>
-         *     &lt;/restriction>
-         *   &lt;/complexContent>
-         * &lt;/complexType>
-         * </pre>
-         * 
-         * 
-         */
-        @XmlAccessorType(XmlAccessType.FIELD)
-        @XmlType(name = "", propOrder = {
-
-        })
-        public static class Button {
-
-            @XmlElement(namespace = "http://jboss.org", required = true)
-            protected String id;
-            @XmlElement(namespace = "http://jboss.org", required = true)
-            protected String name;
-            @XmlElement(namespace = "http://jboss.org", required = true)
-            protected String freezone;
-
-            /**
-             * Gets the value of the id property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getId() {
-                return id;
-            }
-
-            /**
-             * Sets the value of the id property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setId(String value) {
-                this.id = value;
-            }
-
-            /**
-             * Gets the value of the name property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getName() {
-                return name;
-            }
-
-            /**
-             * Sets the value of the name property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setName(String value) {
-                this.name = value;
-            }
-
-            /**
-             * Gets the value of the freezone property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getFreezone() {
-                return freezone;
-            }
-
-            /**
-             * Sets the value of the freezone property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setFreezone(String value) {
-                this.freezone = value;
-            }
-
-        }
-
+        return this.file;
     }
 
 }

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,94 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for issue-tracker complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="issue-tracker">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *       &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "issue-tracker", propOrder = {
+    "value"
+})
+public class IssueTracker {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected String type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,129 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for link complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="link">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *       &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="type">
+ *         &lt;simpleType>
+ *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             &lt;enumeration value="repository"/>
+ *             &lt;enumeration value="issue-tracker"/>
+ *             &lt;enumeration value="repo-monitor"/>
+ *           &lt;/restriction>
+ *         &lt;/simpleType>
+ *       &lt;/attribute>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "link", propOrder = {
+    "value"
+})
+public class Link {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute
+    protected String display;
+    @XmlAttribute
+    protected String type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the display property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDisplay() {
+        return display;
+    }
+
+    /**
+     * Sets the value of the display property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDisplay(String value) {
+        this.display = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,96 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for menu complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="menu">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;all>
+ *         &lt;element name="page" type="{http://jboss.org}page"/>
+ *         &lt;element name="link" type="{http://jboss.org}link"/>
+ *       &lt;/all>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "menu", propOrder = {
+
+})
+public class Menu {
+
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected Page page;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected Link link;
+
+    /**
+     * Gets the value of the page property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Page }
+     *     
+     */
+    public Page getPage() {
+        return page;
+    }
+
+    /**
+     * Sets the value of the page property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Page }
+     *     
+     */
+    public void setPage(Page value) {
+        this.page = value;
+    }
+
+    /**
+     * Gets the value of the link property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Link }
+     *     
+     */
+    public Link getLink() {
+        return link;
+    }
+
+    /**
+     * Sets the value of the link property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Link }
+     *     
+     */
+    public void setLink(Link value) {
+        this.link = value;
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -2,24 +2,15 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
 //
 
 
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlRegistry;
-import org.jboss.forge.common.projects.test.Files.File;
-import org.jboss.forge.common.projects.test.Files.File.Button;
+import org.jboss.forge.common.projects.test.File.Button;
 import org.jboss.forge.common.projects.test.Project.Downloads;
-import org.jboss.forge.common.projects.test.Project.IssueTracker;
-import org.jboss.forge.common.projects.test.Project.Menu;
-import org.jboss.forge.common.projects.test.Project.Menu.Link;
-import org.jboss.forge.common.projects.test.Project.Menu.Page;
-import org.jboss.forge.common.projects.test.Project.Polls;
-import org.jboss.forge.common.projects.test.Project.Polls.Poll;
-import org.jboss.forge.common.projects.test.Project.RepoMonitor;
-import org.jboss.forge.common.projects.test.Project.Repository;
 
 
 /**
@@ -48,131 +39,131 @@
     }
 
     /**
-     * Create an instance of {@link Repository }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Category.Categories }
      * 
      */
-    public Repository createProjectRepository() {
-        return new Repository();
+    public org.jboss.forge.common.projects.test.Category.Categories createCategoryCategories() {
+        return new org.jboss.forge.common.projects.test.Category.Categories();
     }
 
     /**
-     * Create an instance of {@link Category }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Categories }
      * 
      */
-    public Category createCategory() {
-        return new Category();
+    public org.jboss.forge.common.projects.test.Categories createCategories() {
+        return new org.jboss.forge.common.projects.test.Categories();
     }
 
     /**
-     * Create an instance of {@link Files }
+     * Create an instance of {@link Downloads }
      * 
      */
-    public Files createFiles() {
-        return new Files();
+    public Downloads createProjectDownloads() {
+        return new Downloads();
     }
 
     /**
-     * Create an instance of {@link File }
+     * Create an instance of {@link Category }
      * 
      */
-    public File createFilesFile() {
-        return new File();
+    public Category createCategory() {
+        return new Category();
     }
 
     /**
-     * Create an instance of {@link Downloads }
+     * Create an instance of {@link File }
      * 
      */
-    public Downloads createProjectDownloads() {
-        return new Downloads();
+    public File createFile() {
+        return new File();
     }
 
     /**
-     * Create an instance of {@link IssueTracker }
+     * Create an instance of {@link Page }
      * 
      */
-    public IssueTracker createProjectIssueTracker() {
-        return new IssueTracker();
+    public Page createPage() {
+        return new Page();
     }
 
     /**
-     * Create an instance of {@link Menu }
+     * Create an instance of {@link RepoMonitor }
      * 
      */
-    public Menu createProjectMenu() {
-        return new Menu();
+    public RepoMonitor createRepoMonitor() {
+        return new RepoMonitor();
     }
 
     /**
      * Create an instance of {@link Link }
      * 
      */
-    public Link createProjectMenuLink() {
+    public Link createLink() {
         return new Link();
     }
 
     /**
-     * Create an instance of {@link Button }
+     * Create an instance of {@link Poll }
      * 
      */
-    public Button createFilesFileButton() {
-        return new Button();
+    public Poll createPoll() {
+        return new Poll();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Category.Categories }
+     * Create an instance of {@link Button }
      * 
      */
-    public org.jboss.forge.common.projects.test.Category.Categories createCategoryCategories() {
-        return new org.jboss.forge.common.projects.test.Category.Categories();
+    public Button createFileButton() {
+        return new Button();
     }
 
     /**
-     * Create an instance of {@link RepoMonitor }
+     * Create an instance of {@link IssueTracker }
      * 
      */
-    public RepoMonitor createProjectRepoMonitor() {
-        return new RepoMonitor();
+    public IssueTracker createIssueTracker() {
+        return new IssueTracker();
     }
 
     /**
      * Create an instance of {@link Polls }
      * 
      */
-    public Polls createProjectPolls() {
+    public Polls createPolls() {
         return new Polls();
     }
 
     /**
-     * Create an instance of {@link Project }
+     * Create an instance of {@link Menu }
      * 
      */
-    public Project createProject() {
-        return new Project();
+    public Menu createMenu() {
+        return new Menu();
     }
 
     /**
-     * Create an instance of {@link Page }
+     * Create an instance of {@link Files }
      * 
      */
-    public Page createProjectMenuPage() {
-        return new Page();
+    public Files createFiles() {
+        return new Files();
     }
 
     /**
-     * Create an instance of {@link Poll }
+     * Create an instance of {@link Project }
      * 
      */
-    public Poll createProjectPollsPoll() {
-        return new Poll();
+    public Project createProject() {
+        return new Project();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Project.Downloads.Categories }
+     * Create an instance of {@link Repository }
      * 
      */
-    public org.jboss.forge.common.projects.test.Project.Downloads.Categories createProjectDownloadsCategories() {
-        return new org.jboss.forge.common.projects.test.Project.Downloads.Categories();
+    public Repository createRepository() {
+        return new Repository();
     }
 
 }

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,94 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for page complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="page">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *       &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "page", propOrder = {
+    "value"
+})
+public class Page {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute
+    protected String display;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the display property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDisplay() {
+        return display;
+    }
+
+    /**
+     * Sets the value of the display property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDisplay(String value) {
+        this.display = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,96 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for poll complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="poll">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;all>
+ *         &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/all>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "poll", propOrder = {
+
+})
+public class Poll {
+
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String question;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected String answer;
+
+    /**
+     * Gets the value of the question property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getQuestion() {
+        return question;
+    }
+
+    /**
+     * Sets the value of the question property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setQuestion(String value) {
+        this.question = value;
+    }
+
+    /**
+     * Gets the value of the answer property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getAnswer() {
+        return answer;
+    }
+
+    /**
+     * Sets the value of the answer property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setAnswer(String value) {
+        this.answer = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,69 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for polls complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="polls">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="poll" type="{http://jboss.org}poll" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "polls", propOrder = {
+    "poll"
+})
+public class Polls {
+
+    @XmlElement(namespace = "http://jboss.org")
+    protected Poll poll;
+
+    /**
+     * Gets the value of the poll property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Poll }
+     *     
+     */
+    public Poll getPoll() {
+        return poll;
+    }
+
+    /**
+     * Sets the value of the poll property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Poll }
+     *     
+     */
+    public void setPoll(Poll value) {
+        this.poll = value;
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
 //
 
 
@@ -10,21 +10,10 @@
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlValue;
 import org.jboss.forge.common.projects.test.Project.Downloads;
-import org.jboss.forge.common.projects.test.Project.Downloads.Categories;
-import org.jboss.forge.common.projects.test.Project.IssueTracker;
-import org.jboss.forge.common.projects.test.Project.Menu;
-import org.jboss.forge.common.projects.test.Project.Menu.Link;
-import org.jboss.forge.common.projects.test.Project.Menu.Page;
-import org.jboss.forge.common.projects.test.Project.Polls;
-import org.jboss.forge.common.projects.test.Project.Polls.Poll;
-import org.jboss.forge.common.projects.test.Project.RepoMonitor;
-import org.jboss.forge.common.projects.test.Project.Repository;
 
 
 /**
@@ -44,122 +33,17 @@
  *           &lt;element name="logo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *           &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *           &lt;element name="jems" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *           &lt;element name="repository" minOccurs="0">
- *             &lt;complexType>
- *               &lt;complexContent>
- *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   &lt;attribute name="type" use="required">
- *                     &lt;simpleType>
- *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         &lt;enumeration value="svn"/>
- *                         &lt;enumeration value="cvs"/>
- *                       &lt;/restriction>
- *                     &lt;/simpleType>
- *                   &lt;/attribute>
- *                 &lt;/restriction>
- *               &lt;/complexContent>
- *             &lt;/complexType>
- *           &lt;/element>
- *           &lt;element name="repo-monitor" minOccurs="0">
- *             &lt;complexType>
- *               &lt;simpleContent>
- *                 &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
- *                   &lt;attribute name="type" use="required">
- *                     &lt;simpleType>
- *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         &lt;enumeration value="fisheye"/>
- *                         &lt;enumeration value="viewvc"/>
- *                       &lt;/restriction>
- *                     &lt;/simpleType>
- *                   &lt;/attribute>
- *                 &lt;/extension>
- *               &lt;/simpleContent>
- *             &lt;/complexType>
- *           &lt;/element>
- *           &lt;element name="issue-tracker" minOccurs="0">
- *             &lt;complexType>
- *               &lt;simpleContent>
- *                 &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
- *                   &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- *                 &lt;/extension>
- *               &lt;/simpleContent>
- *             &lt;/complexType>
- *           &lt;/element>
- *           &lt;element name="menu">
- *             &lt;complexType>
- *               &lt;complexContent>
- *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   &lt;all>
- *                     &lt;element name="page">
- *                       &lt;complexType>
- *                         &lt;simpleContent>
- *                           &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
- *                             &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                           &lt;/extension>
- *                         &lt;/simpleContent>
- *                       &lt;/complexType>
- *                     &lt;/element>
- *                     &lt;element name="link">
- *                       &lt;complexType>
- *                         &lt;simpleContent>
- *                           &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
- *                             &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                             &lt;attribute name="type">
- *                               &lt;simpleType>
- *                                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                                   &lt;enumeration value="repository"/>
- *                                   &lt;enumeration value="issue-tracker"/>
- *                                   &lt;enumeration value="repo-monitor"/>
- *                                 &lt;/restriction>
- *                               &lt;/simpleType>
- *                             &lt;/attribute>
- *                           &lt;/extension>
- *                         &lt;/simpleContent>
- *                       &lt;/complexType>
- *                     &lt;/element>
- *                   &lt;/all>
- *                 &lt;/restriction>
- *               &lt;/complexContent>
- *             &lt;/complexType>
- *           &lt;/element>
- *           &lt;element name="polls" minOccurs="0">
- *             &lt;complexType>
- *               &lt;complexContent>
- *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   &lt;sequence>
- *                     &lt;element name="poll" minOccurs="0">
- *                       &lt;complexType>
- *                         &lt;complexContent>
- *                           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             &lt;all>
- *                               &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                               &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                             &lt;/all>
- *                           &lt;/restriction>
- *                         &lt;/complexContent>
- *                       &lt;/complexType>
- *                     &lt;/element>
- *                   &lt;/sequence>
- *                 &lt;/restriction>
- *               &lt;/complexContent>
- *             &lt;/complexType>
- *           &lt;/element>
+ *           &lt;element name="repository" type="{http://jboss.org}repository" minOccurs="0"/>
+ *           &lt;element name="repo-monitor" type="{http://jboss.org}repo-monitor" minOccurs="0"/>
+ *           &lt;element name="issue-tracker" type="{http://jboss.org}issue-tracker" minOccurs="0"/>
+ *           &lt;element name="menu" type="{http://jboss.org}menu"/>
+ *           &lt;element name="polls" type="{http://jboss.org}polls" minOccurs="0"/>
  *           &lt;element name="downloads" minOccurs="0">
  *             &lt;complexType>
  *               &lt;complexContent>
  *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *                   &lt;sequence>
- *                     &lt;element name="categories" minOccurs="0">
- *                       &lt;complexType>
- *                         &lt;complexContent>
- *                           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             &lt;sequence>
- *                               &lt;element name="category" type="{http://jboss.org}category"/>
- *                             &lt;/sequence>
- *                           &lt;/restriction>
- *                         &lt;/complexContent>
- *                       &lt;/complexType>
- *                     &lt;/element>
+ *                     &lt;element name="categories" type="{http://jboss.org}categories" minOccurs="0"/>
  *                   &lt;/sequence>
  *                 &lt;/restriction>
  *               &lt;/complexContent>
@@ -505,17 +389,7 @@
      *   &lt;complexContent>
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      *       &lt;sequence>
-     *         &lt;element name="categories" minOccurs="0">
-     *           &lt;complexType>
-     *             &lt;complexContent>
-     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 &lt;sequence>
-     *                   &lt;element name="category" type="{http://jboss.org}category"/>
-     *                 &lt;/sequence>
-     *               &lt;/restriction>
-     *             &lt;/complexContent>
-     *           &lt;/complexType>
-     *         &lt;/element>
+     *         &lt;element name="categories" type="{http://jboss.org}categories" minOccurs="0"/>
      *       &lt;/sequence>
      *     &lt;/restriction>
      *   &lt;/complexContent>
@@ -557,732 +431,6 @@
             this.categories = value;
         }
 
-
-        /**
-         * <p>Java class for anonymous complex type.
-         * 
-         * <p>The following schema fragment specifies the expected content contained within this class.
-         * 
-         * <pre>
-         * &lt;complexType>
-         *   &lt;complexContent>
-         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       &lt;sequence>
-         *         &lt;element name="category" type="{http://jboss.org}category"/>
-         *       &lt;/sequence>
-         *     &lt;/restriction>
-         *   &lt;/complexContent>
-         * &lt;/complexType>
-         * </pre>
-         * 
-         * 
-         */
-        @XmlAccessorType(XmlAccessType.FIELD)
-        @XmlType(name = "", propOrder = {
-            "category"
-        })
-        public static class Categories {
-
-            @XmlElement(namespace = "http://jboss.org", required = true)
-            protected Category category;
-
-            /**
-             * Gets the value of the category property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link Category }
-             *     
-             */
-            public Category getCategory() {
-                return category;
-            }
-
-            /**
-             * Sets the value of the category property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link Category }
-             *     
-             */
-            public void setCategory(Category value) {
-                this.category = value;
-            }
-
-        }
-
     }
 
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
-     * <pre>
-     * &lt;complexType>
-     *   &lt;simpleContent>
-     *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
-     *       &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-     *     &lt;/extension>
-     *   &lt;/simpleContent>
-     * &lt;/complexType>
-     * </pre>
-     * 
-     * 
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-        "value"
-    })
-    public static class IssueTracker {
-
-        @XmlValue
-        protected String value;
-        @XmlAttribute(required = true)
-        protected String type;
-
-        /**
-         * Gets the value of the value property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getValue() {
-            return value;
-        }
-
-        /**
-         * Sets the value of the value property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setValue(String value) {
-            this.value = value;
-        }
-
-        /**
-         * Gets the value of the type property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getType() {
-            return type;
-        }
-
-        /**
-         * Sets the value of the type property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setType(String value) {
-            this.type = value;
-        }
-
-    }
-
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
-     * <pre>
-     * &lt;complexType>
-     *   &lt;complexContent>
-     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;all>
-     *         &lt;element name="page">
-     *           &lt;complexType>
-     *             &lt;simpleContent>
-     *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
-     *                 &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *               &lt;/extension>
-     *             &lt;/simpleContent>
-     *           &lt;/complexType>
-     *         &lt;/element>
-     *         &lt;element name="link">
-     *           &lt;complexType>
-     *             &lt;simpleContent>
-     *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
-     *                 &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *                 &lt;attribute name="type">
-     *                   &lt;simpleType>
-     *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *                       &lt;enumeration value="repository"/>
-     *                       &lt;enumeration value="issue-tracker"/>
-     *                       &lt;enumeration value="repo-monitor"/>
-     *                     &lt;/restriction>
-     *                   &lt;/simpleType>
-     *                 &lt;/attribute>
-     *               &lt;/extension>
-     *             &lt;/simpleContent>
-     *           &lt;/complexType>
-     *         &lt;/element>
-     *       &lt;/all>
-     *     &lt;/restriction>
-     *   &lt;/complexContent>
-     * &lt;/complexType>
-     * </pre>
-     * 
-     * 
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-
-    })
-    public static class Menu {
-
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected Page page;
-        @XmlElement(namespace = "http://jboss.org", required = true)
-        protected Link link;
-
-        /**
-         * Gets the value of the page property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link Page }
-         *     
-         */
-        public Page getPage() {
-            return page;
-        }
-
-        /**
-         * Sets the value of the page property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link Page }
-         *     
-         */
-        public void setPage(Page value) {
-            this.page = value;
-        }
-
-        /**
-         * Gets the value of the link property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link Link }
-         *     
-         */
-        public Link getLink() {
-            return link;
-        }
-
-        /**
-         * Sets the value of the link property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link Link }
-         *     
-         */
-        public void setLink(Link value) {
-            this.link = value;
-        }
-
-
-        /**
-         * <p>Java class for anonymous complex type.
-         * 
-         * <p>The following schema fragment specifies the expected content contained within this class.
-         * 
-         * <pre>
-         * &lt;complexType>
-         *   &lt;simpleContent>
-         *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
-         *       &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
-         *       &lt;attribute name="type">
-         *         &lt;simpleType>
-         *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
-         *             &lt;enumeration value="repository"/>
-         *             &lt;enumeration value="issue-tracker"/>
-         *             &lt;enumeration value="repo-monitor"/>
-         *           &lt;/restriction>
-         *         &lt;/simpleType>
-         *       &lt;/attribute>
-         *     &lt;/extension>
-         *   &lt;/simpleContent>
-         * &lt;/complexType>
-         * </pre>
-         * 
-         * 
-         */
-        @XmlAccessorType(XmlAccessType.FIELD)
-        @XmlType(name = "", propOrder = {
-            "value"
-        })
-        public static class Link {
-
-            @XmlValue
-            protected String value;
-            @XmlAttribute
-            protected String display;
-            @XmlAttribute
-            protected String type;
-
-            /**
-             * Gets the value of the value property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getValue() {
-                return value;
-            }
-
-            /**
-             * Sets the value of the value property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setValue(String value) {
-                this.value = value;
-            }
-
-            /**
-             * Gets the value of the display property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getDisplay() {
-                return display;
-            }
-
-            /**
-             * Sets the value of the display property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setDisplay(String value) {
-                this.display = value;
-            }
-
-            /**
-             * Gets the value of the type property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getType() {
-                return type;
-            }
-
-            /**
-             * Sets the value of the type property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setType(String value) {
-                this.type = value;
-            }
-
-        }
-
-
-        /**
-         * <p>Java class for anonymous complex type.
-         * 
-         * <p>The following schema fragment specifies the expected content contained within this class.
-         * 
-         * <pre>
-         * &lt;complexType>
-         *   &lt;simpleContent>
-         *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
-         *       &lt;attribute name="display" type="{http://www.w3.org/2001/XMLSchema}string" />
-         *     &lt;/extension>
-         *   &lt;/simpleContent>
-         * &lt;/complexType>
-         * </pre>
-         * 
-         * 
-         */
-        @XmlAccessorType(XmlAccessType.FIELD)
-        @XmlType(name = "", propOrder = {
-            "value"
-        })
-        public static class Page {
-
-            @XmlValue
-            protected String value;
-            @XmlAttribute
-            protected String display;
-
-            /**
-             * Gets the value of the value property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getValue() {
-                return value;
-            }
-
-            /**
-             * Sets the value of the value property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setValue(String value) {
-                this.value = value;
-            }
-
-            /**
-             * Gets the value of the display property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getDisplay() {
-                return display;
-            }
-
-            /**
-             * Sets the value of the display property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setDisplay(String value) {
-                this.display = value;
-            }
-
-        }
-
-    }
-
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
-     * <pre>
-     * &lt;complexType>
-     *   &lt;complexContent>
-     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;sequence>
-     *         &lt;element name="poll" minOccurs="0">
-     *           &lt;complexType>
-     *             &lt;complexContent>
-     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 &lt;all>
-     *                   &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                   &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                 &lt;/all>
-     *               &lt;/restriction>
-     *             &lt;/complexContent>
-     *           &lt;/complexType>
-     *         &lt;/element>
-     *       &lt;/sequence>
-     *     &lt;/restriction>
-     *   &lt;/complexContent>
-     * &lt;/complexType>
-     * </pre>
-     * 
-     * 
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-        "poll"
-    })
-    public static class Polls {
-
-        @XmlElement(namespace = "http://jboss.org")
-        protected Poll poll;
-
-        /**
-         * Gets the value of the poll property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link Poll }
-         *     
-         */
-        public Poll getPoll() {
-            return poll;
-        }
-
-        /**
-         * Sets the value of the poll property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link Poll }
-         *     
-         */
-        public void setPoll(Poll value) {
-            this.poll = value;
-        }
-
-
-        /**
-         * <p>Java class for anonymous complex type.
-         * 
-         * <p>The following schema fragment specifies the expected content contained within this class.
-         * 
-         * <pre>
-         * &lt;complexType>
-         *   &lt;complexContent>
-         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       &lt;all>
-         *         &lt;element name="question" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *         &lt;element name="answer" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *       &lt;/all>
-         *     &lt;/restriction>
-         *   &lt;/complexContent>
-         * &lt;/complexType>
-         * </pre>
-         * 
-         * 
-         */
-        @XmlAccessorType(XmlAccessType.FIELD)
-        @XmlType(name = "", propOrder = {
-
-        })
-        public static class Poll {
-
-            @XmlElement(namespace = "http://jboss.org", required = true)
-            protected String question;
-            @XmlElement(namespace = "http://jboss.org", required = true)
-            protected String answer;
-
-            /**
-             * Gets the value of the question property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getQuestion() {
-                return question;
-            }
-
-            /**
-             * Sets the value of the question property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setQuestion(String value) {
-                this.question = value;
-            }
-
-            /**
-             * Gets the value of the answer property.
-             * 
-             * @return
-             *     possible object is
-             *     {@link String }
-             *     
-             */
-            public String getAnswer() {
-                return answer;
-            }
-
-            /**
-             * Sets the value of the answer property.
-             * 
-             * @param value
-             *     allowed object is
-             *     {@link String }
-             *     
-             */
-            public void setAnswer(String value) {
-                this.answer = value;
-            }
-
-        }
-
-    }
-
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
-     * <pre>
-     * &lt;complexType>
-     *   &lt;simpleContent>
-     *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
-     *       &lt;attribute name="type" use="required">
-     *         &lt;simpleType>
-     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *             &lt;enumeration value="fisheye"/>
-     *             &lt;enumeration value="viewvc"/>
-     *           &lt;/restriction>
-     *         &lt;/simpleType>
-     *       &lt;/attribute>
-     *     &lt;/extension>
-     *   &lt;/simpleContent>
-     * &lt;/complexType>
-     * </pre>
-     * 
-     * 
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-        "value"
-    })
-    public static class RepoMonitor {
-
-        @XmlValue
-        protected String value;
-        @XmlAttribute(required = true)
-        protected String type;
-
-        /**
-         * Gets the value of the value property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getValue() {
-            return value;
-        }
-
-        /**
-         * Sets the value of the value property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setValue(String value) {
-            this.value = value;
-        }
-
-        /**
-         * Gets the value of the type property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getType() {
-            return type;
-        }
-
-        /**
-         * Sets the value of the type property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setType(String value) {
-            this.type = value;
-        }
-
-    }
-
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
-     * <pre>
-     * &lt;complexType>
-     *   &lt;complexContent>
-     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;attribute name="type" use="required">
-     *         &lt;simpleType>
-     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *             &lt;enumeration value="svn"/>
-     *             &lt;enumeration value="cvs"/>
-     *           &lt;/restriction>
-     *         &lt;/simpleType>
-     *       &lt;/attribute>
-     *     &lt;/restriction>
-     *   &lt;/complexContent>
-     * &lt;/complexType>
-     * </pre>
-     * 
-     * 
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "")
-    public static class Repository {
-
-        @XmlAttribute(required = true)
-        protected String type;
-
-        /**
-         * Gets the value of the type property.
-         * 
-         * @return
-         *     possible object is
-         *     {@link String }
-         *     
-         */
-        public String getType() {
-            return type;
-        }
-
-        /**
-         * Sets the value of the type property.
-         * 
-         * @param value
-         *     allowed object is
-         *     {@link String }
-         *     
-         */
-        public void setType(String value) {
-            this.type = value;
-        }
-
-    }
-
 }

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,101 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * <p>Java class for repo-monitor complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="repo-monitor">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *       &lt;attribute name="type" use="required">
+ *         &lt;simpleType>
+ *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             &lt;enumeration value="fisheye"/>
+ *             &lt;enumeration value="viewvc"/>
+ *           &lt;/restriction>
+ *         &lt;/simpleType>
+ *       &lt;/attribute>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "repo-monitor", propOrder = {
+    "value"
+})
+public class RepoMonitor {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected String type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -0,0 +1,72 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
+//
+
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for repository complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="repository">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="type" use="required">
+ *         &lt;simpleType>
+ *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             &lt;enumeration value="svn"/>
+ *             &lt;enumeration value="cvs"/>
+ *           &lt;/restriction>
+ *         &lt;/simpleType>
+ *       &lt;/attribute>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "repository")
+public class Repository {
+
+    @XmlAttribute(required = true)
+    protected String type;
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-08-03 01:15:37 UTC (rev 5423)
@@ -2,7 +2,7 @@
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.02 at 02:11:11 AM CEST 
+// Generated on: 2006.08.03 at 03:14:22 AM CEST 
 //
 
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org")

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd	2006-08-03 00:14:40 UTC (rev 5422)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd	2006-08-03 01:15:37 UTC (rev 5423)
@@ -14,100 +14,15 @@
             <xs:element name="logo" type="xs:string" minOccurs="0" maxOccurs="1" />
             <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
             <xs:element name="jems" type="xs:string" minOccurs="0" />
-            <xs:element name="repository" minOccurs="0" >
-                <xs:complexType>
-                    <xs:attribute name="type" use="required" >
-                        <xs:simpleType>
-                            <xs:restriction base="xs:string">
-                                <xs:enumeration value="svn"/>
-                                <xs:enumeration value="cvs"/>
-                            </xs:restriction>
-                        </xs:simpleType>
-                    </xs:attribute>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="repo-monitor" minOccurs="0" >
-                <xs:complexType>
-                    <xs:simpleContent>
-                        <xs:extension base="xs:string" >
-                            <xs:attribute name="type" use="required" >
-                                <xs:simpleType>
-                                    <xs:restriction base="xs:string">
-                                        <xs:enumeration value="fisheye"/>
-                                        <xs:enumeration value="viewvc"/>
-                                    </xs:restriction>
-                                </xs:simpleType>
-                            </xs:attribute>
-                        </xs:extension>
-                    </xs:simpleContent>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="issue-tracker" minOccurs="0" >
-                <xs:complexType>
-                    <xs:simpleContent>
-                        <xs:extension base="xs:string">
-                            <xs:attribute name="type" use="required" />
-                        </xs:extension>
-                    </xs:simpleContent>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="menu">
-                <xs:complexType>
-                    <xs:all>
-                        <xs:element name="page" >
-                            <xs:complexType>
-                                <xs:simpleContent>
-                                    <xs:extension base="xs:string" >
-                                        <xs:attribute name="display" type="xs:string" use="optional" />
-                                    </xs:extension>
-                                </xs:simpleContent>
-                            </xs:complexType>
-                        </xs:element>
-                        <xs:element name="link">
-                            <xs:complexType>
-                                <xs:simpleContent>
-                                    <xs:extension base="xs:string" >
-                                        <xs:attribute name="display" type="xs:string" use="optional" />
-                                        <xs:attribute name="type" use="optional" >
-                                            <xs:simpleType>
-                                                <xs:restriction base="xs:string">
-                                                    <xs:enumeration value="repository"/>
-                                                    <xs:enumeration value="issue-tracker"/>
-                                                    <xs:enumeration value="repo-monitor"/>
-                                                </xs:restriction>
-                                            </xs:simpleType>
-                                        </xs:attribute>
-                                    </xs:extension>
-                                </xs:simpleContent>
-                            </xs:complexType>
-                        </xs:element>
-                    </xs:all>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="polls" minOccurs="0" maxOccurs="1" >
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element name="poll" minOccurs="0" >
-                            <xs:complexType>
-                                <xs:all>
-                                    <xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string" />
-                                    <xs:element name="answer" minOccurs="1" type="xs:string" />
-                                </xs:all>
-                            </xs:complexType>
-                        </xs:element>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
+            <xs:element name="repository" minOccurs="0" type="repository" />
+            <xs:element name="repo-monitor" minOccurs="0" type="repo-monitor" />
+            <xs:element name="issue-tracker" minOccurs="0" type="issue-tracker" />
+            <xs:element name="menu" type="menu" />
+            <xs:element name="polls" minOccurs="0" maxOccurs="1" type="polls" />
             <xs:element name="downloads" minOccurs="0" maxOccurs="1" >
                 <xs:complexType>
                     <xs:sequence>
-                        <xs:element name="categories" minOccurs="0" maxOccurs="1" >
-                            <xs:complexType>
-                                <xs:sequence>
-                                    <xs:element name="category" type="category" />
-                                </xs:sequence>
-                            </xs:complexType>
-                        </xs:element>
+                        <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
                     </xs:sequence>
                 </xs:complexType>
             </xs:element>
@@ -115,38 +30,123 @@
     </xs:complexType>
 </xs:element>
 
+<xs:complexType name="repository" >
+    <xs:attribute name="type" use="required" >
+        <xs:simpleType>
+            <xs:restriction base="xs:string">
+                <xs:enumeration value="svn"/>
+                <xs:enumeration value="cvs"/>
+            </xs:restriction>
+        </xs:simpleType>
+    </xs:attribute>
+</xs:complexType>
+
+<xs:complexType name="repo-monitor" >
+    <xs:simpleContent>
+        <xs:extension base="xs:string" >
+            <xs:attribute name="type" use="required" >
+                <xs:simpleType>
+                    <xs:restriction base="xs:string">
+                        <xs:enumeration value="fisheye"/>
+                        <xs:enumeration value="viewvc"/>
+                    </xs:restriction>
+                </xs:simpleType>
+            </xs:attribute>
+        </xs:extension>
+    </xs:simpleContent>
+</xs:complexType>
+
+<xs:complexType name="issue-tracker" >
+    <xs:simpleContent>
+        <xs:extension base="xs:string">
+            <xs:attribute name="type" use="required" />
+        </xs:extension>
+    </xs:simpleContent>
+</xs:complexType>
+
+<xs:complexType name="menu" >
+    <xs:all>
+        <xs:element name="page" type="page" />
+        <xs:element name="link" type="link" />
+    </xs:all>
+</xs:complexType>
+
+<xs:complexType name="page" >
+    <xs:simpleContent>
+        <xs:extension base="xs:string" >
+            <xs:attribute name="display" type="xs:string" use="optional" />
+        </xs:extension>
+    </xs:simpleContent>
+</xs:complexType>
+
+<xs:complexType name="link" >
+    <xs:simpleContent>
+        <xs:extension base="xs:string" >
+            <xs:attribute name="display" type="xs:string" use="optional" />
+            <xs:attribute name="type" use="optional" >
+                <xs:simpleType>
+                    <xs:restriction base="xs:string">
+                        <xs:enumeration value="repository"/>
+                        <xs:enumeration value="issue-tracker"/>
+                        <xs:enumeration value="repo-monitor"/>
+                    </xs:restriction>
+                </xs:simpleType>
+            </xs:attribute>
+        </xs:extension>
+    </xs:simpleContent>
+</xs:complexType>
+
+<xs:complexType name="polls" >
+    <xs:sequence>
+        <xs:element name="poll" minOccurs="0" type="poll" />
+    </xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="poll" >
+    <xs:all>
+        <xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string" />
+        <xs:element name="answer" minOccurs="1" type="xs:string" />
+    </xs:all>
+</xs:complexType>
+
 <xs:complexType name="files" >
     <xs:sequence>
-        <xs:element name="file" minOccurs="0" >
+        <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="file" />
+    </xs:sequence>
+</xs:complexType>
+
+<xs:complexType name="file" >
+    <xs:all>
+        <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
+        <xs:element name="name" type="xs:string" maxOccurs="1" />
+        <xs:element name="description" type="xs:string" maxOccurs="1" />
+        <xs:element name="size" type="xs:string" maxOccurs="1" />
+        <xs:element name="license" type="xs:string" maxOccurs="1" />
+        <xs:element name="release" type="xs:string" maxOccurs="1" />
+        <xs:element name="button" >
             <xs:complexType>
                 <xs:all>
-                    <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
-                    <xs:element name="name" type="xs:string" maxOccurs="1" />
-                    <xs:element name="description" type="xs:string" maxOccurs="1" />
-                    <xs:element name="size" type="xs:string" maxOccurs="1" />
-                    <xs:element name="license" type="xs:string" maxOccurs="1" />
-                    <xs:element name="release" type="xs:string" maxOccurs="1" />
-                    <xs:element name="button" >
-                        <xs:complexType>
-                            <xs:all>
-                                <xs:element name="id" type="xs:string" />
-                                <xs:element name="name" type="xs:string" />
-                                <xs:element name="freezone" >
-                                    <xs:simpleType>
-                                        <xs:restriction base="xs:string" >
-                                            <xs:enumeration value="true" />
-                                            <xs:enumeration value="TRUE" />
-                                            <xs:enumeration value="false"/>
-                                            <xs:enumeration value="FALSE" />
-                                        </xs:restriction>
-                                    </xs:simpleType>
-                                </xs:element>
-                            </xs:all>
-                        </xs:complexType>
+                    <xs:element name="id" type="xs:string" />
+                    <xs:element name="name" type="xs:string" />
+                    <xs:element name="freezone" >
+                        <xs:simpleType>
+                            <xs:restriction base="xs:string" >
+                                <xs:enumeration value="true" />
+                                <xs:enumeration value="TRUE" />
+                                <xs:enumeration value="false"/>
+                                <xs:enumeration value="FALSE" />
+                            </xs:restriction>
+                        </xs:simpleType>
                     </xs:element>
                 </xs:all>
             </xs:complexType>
         </xs:element>
+    </xs:all>
+</xs:complexType>
+
+<xs:complexType name="categories" >
+    <xs:sequence>
+        <xs:element name="category" type="category" maxOccurs="unbounded" />
     </xs:sequence>
 </xs:complexType>
 
@@ -159,7 +159,7 @@
         <xs:element name="categories" minOccurs="0" maxOccurs="1" >
             <xs:complexType>
                 <xs:sequence>
-                    <xs:element name="category" type="category" />
+                    <xs:element name="category" type="category" maxOccurs="unbounded" />
                 </xs:sequence>
             </xs:complexType>
         </xs:element>




More information about the jboss-svn-commits mailing list