[jbosstools-commits] JBoss Tools SVN: r17521 - in trunk/seam: features/org.jboss.tools.seam.test.feature and 47 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Sep 10 18:58:06 EDT 2009


Author: dgolovin
Date: 2009-09-10 18:58:05 -0400 (Thu, 10 Sep 2009)
New Revision: 17521

Added:
   trunk/seam/features/org.jboss.tools.seam.test.feature/.classpath
   trunk/seam/features/org.jboss.tools.seam.test.feature/.project
   trunk/seam/features/org.jboss.tools.seam.test.feature/.settings/
   trunk/seam/features/org.jboss.tools.seam.test.feature/.settings/org.eclipse.jdt.core.prefs
   trunk/seam/features/org.jboss.tools.seam.test.feature/META-INF/
   trunk/seam/features/org.jboss.tools.seam.test.feature/META-INF/MANIFEST.MF
   trunk/seam/features/org.jboss.tools.seam.test.feature/build.properties
   trunk/seam/features/org.jboss.tools.seam.test.feature/src/
   trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamPluginsLoadTest.java
   trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/ZupUtilsTest.java
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.classpath
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.project
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.settings/
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.settings/org.eclipse.jdt.core.prefs
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/META-INF/
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/META-INF/MANIFEST.MF
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/build.properties
   trunk/seam/tests/org.jboss.tools.seam.text.ext.test/src/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.classpath
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.project
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.settings/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.settings/org.eclipse.jdt.core.prefs
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/META-INF/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/META-INF/MANIFEST.MF
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/build.properties
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/jboss/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/jboss/tools/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/jboss/tools/seam/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/jboss/tools/seam/ui/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/jboss/tools/seam/ui/pages/
   trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/src/org/jboss/tools/seam/ui/pages/test/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/.classpath
   trunk/seam/tests/org.jboss.tools.seam.xml.test/.project
   trunk/seam/tests/org.jboss.tools.seam.xml.test/.settings/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/.settings/org.eclipse.jdt.core.prefs
   trunk/seam/tests/org.jboss.tools.seam.xml.test/META-INF/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/META-INF/MANIFEST.MF
   trunk/seam/tests/org.jboss.tools.seam.xml.test/build.properties
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/org/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/org/jboss/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/org/jboss/tools/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/org/jboss/tools/seam/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/org/jboss/tools/seam/xml/
   trunk/seam/tests/org.jboss.tools.seam.xml.test/src/org/jboss/tools/seam/xml/test/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.classpath
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.project
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.settings/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.settings/org.eclipse.jdt.core.prefs
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/META-INF/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/META-INF/MANIFEST.MF
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/build.properties
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/jboss/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/jboss/tools/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/jboss/tools/seam/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/jboss/tools/seam/xml/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/jboss/tools/seam/xml/ui/
   trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/src/org/jboss/tools/seam/xml/ui/test/
Modified:
   trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
   trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF
   trunk/seam/plugins/org.jboss.tools.seam.core/build.properties
   trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDataModelProvider.java
   trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF
   trunk/seam/plugins/org.jboss.tools.seam.pages.xml/build.properties
   trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml
   trunk/seam/plugins/org.jboss.tools.seam.ui.pages/META-INF/MANIFEST.MF
   trunk/seam/plugins/org.jboss.tools.seam.ui.pages/build.properties
   trunk/seam/plugins/org.jboss.tools.seam.ui/build.properties
   trunk/seam/plugins/org.jboss.tools.seam.xml/META-INF/MANIFEST.MF
   trunk/seam/plugins/org.jboss.tools.seam.xml/build.properties
   trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
   trunk/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF
   trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3628 - Plugins should be .jar's not directories for efficiency sake
seam plugins converted to jars:
1. Resources used from resources unpacked to .plugin./o.j.t.s./${vevrsion}/templates folder
2. XML catalog references uses URI platform:/ to register xmls from jar in xml catalog

Modified: trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.feature/feature.xml	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/features/org.jboss.tools.seam.feature/feature.xml	2009-09-10 22:58:05 UTC (rev 17521)
@@ -229,7 +229,8 @@
          id="org.jboss.tools.seam.core"
          download-size="0"
          install-size="0"
-         version="0.0.0"/>
+         version="0.0.0"
+         unpack="false"/>
 
    <plugin
          id="org.jboss.tools.seam.ui"
@@ -242,7 +243,8 @@
          id="org.jboss.tools.seam.xml"
          download-size="0"
          install-size="0"
-         version="0.0.0"/>
+         version="0.0.0"
+         unpack="false"/>
 
    <plugin
          id="org.jboss.tools.seam.xml.ui"
@@ -262,7 +264,8 @@
          id="org.jboss.tools.seam.pages.xml"
          download-size="0"
          install-size="0"
-         version="0.0.0"/>
+         version="0.0.0"
+         unpack="false"/>
 
    <plugin
          id="org.jboss.tools.seam.ui.pages"

Added: trunk/seam/features/org.jboss.tools.seam.test.feature/.classpath
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.test.feature/.classpath	                        (rev 0)
+++ trunk/seam/features/org.jboss.tools.seam.test.feature/.classpath	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>


Property changes on: trunk/seam/features/org.jboss.tools.seam.test.feature/.classpath
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/features/org.jboss.tools.seam.test.feature/.project
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.test.feature/.project	                        (rev 0)
+++ trunk/seam/features/org.jboss.tools.seam.test.feature/.project	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.seam.test.feature</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>


Property changes on: trunk/seam/features/org.jboss.tools.seam.test.feature/.project
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/features/org.jboss.tools.seam.test.feature/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.test.feature/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ trunk/seam/features/org.jboss.tools.seam.test.feature/.settings/org.eclipse.jdt.core.prefs	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+#Thu Sep 10 14:31:02 GMT-08:00 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5


Property changes on: trunk/seam/features/org.jboss.tools.seam.test.feature/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/features/org.jboss.tools.seam.test.feature/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.test.feature/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/seam/features/org.jboss.tools.seam.test.feature/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Seam Tests Feature
+Bundle-SymbolicName: org.jboss.tools.seam.test.feature
+Bundle-Version: 1.0.0
+Bundle-RequiredExecutionEnvironment: J2SE-1.5


Property changes on: trunk/seam/features/org.jboss.tools.seam.test.feature/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/features/org.jboss.tools.seam.test.feature/build.properties
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.test.feature/build.properties	                        (rev 0)
+++ trunk/seam/features/org.jboss.tools.seam.test.feature/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .


Property changes on: trunk/seam/features/org.jboss.tools.seam.test.feature/build.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,7 +1,6 @@
 Manifest-Version: 1.0
 Bundle-ActivationPolicy: lazy
 Bundle-Name: %Bundle-Name.0
-Bundle-ClassPath: seam-core.jar
 Bundle-Activator: org.jboss.tools.seam.core.SeamCorePlugin
 Bundle-ManifestVersion: 2
 Bundle-Vendor: %Bundle-Vendor.0

Modified: trunk/seam/plugins/org.jboss.tools.seam.core/build.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/build.properties	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,7 +1,5 @@
-source.seam-core.jar = src/
 bin.includes = plugin.xml,\
                META-INF/,\
-               seam-core.jar,\
                plugin.properties,\
                templates/,\
                about.html,\
@@ -9,8 +7,9 @@
                about.mappings,\
                about.properties,\
                seam_icon.png,\
-               images/
-jars.compile.order = seam-core.jar
+               images/,\
+               .
+jars.compile.order = .
 src.includes = templates/,\
                src/,\
                plugin.xml,\
@@ -23,3 +22,5 @@
                about.mappings,\
                about.properties
 additional.bundles = org.eclipse.jem.util
+source.. = src/
+output.. = bin/

Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDataModelProvider.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDataModelProvider.java	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDataModelProvider.java	2009-09-10 22:58:05 UTC (rev 17521)
@@ -15,16 +15,19 @@
 import java.util.Set;
 
 import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.Platform;
 import org.eclipse.wst.common.componentcore.datamodel.FacetInstallDataModelProvider;
 import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetDataModelProperties;
 import org.eclipse.wst.common.frameworks.datamodel.DataModelPropertyDescriptor;
 import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.jboss.tools.common.zip.UnzipOperation;
 import org.jboss.tools.seam.core.SeamCorePlugin;
 import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences;
 import org.jboss.tools.seam.core.project.facet.SeamRuntime;
 import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
 import org.jboss.tools.seam.core.project.facet.SeamVersion;
+import org.osgi.framework.Bundle;
 
 /**
  * Data model provider for Seam facet wizard page
@@ -151,9 +154,21 @@
 	 * @throws IOException if templates folder not found
 	 */
 	public static File getTemplatesFolder() throws IOException {
-		return new File(FileLocator.resolve(
-				Platform.getBundle(SeamCorePlugin.PLUGIN_ID).getEntry(
-						"/templates")).getPath()); //$NON-NLS-1$
+		Bundle bundle = SeamCorePlugin.getDefault().getBundle();
+		String version = bundle.getVersion().toString();
+		IPath stateLocation = Platform.getStateLocation(bundle);
+		File templatesDir = FileLocator.getBundleFile(bundle);
+		if(templatesDir.isFile()) {
+			File toCopy = new File(stateLocation.toFile(),version);
+			if(!toCopy.exists()) {
+				toCopy.mkdirs();
+				UnzipOperation unZip = new UnzipOperation(templatesDir.getAbsolutePath());
+				unZip.execute(toCopy,"templates.*");
+			}
+			templatesDir = toCopy;
+		}
+		return new File(templatesDir,"templates");
+
 	}
 
 	/**

Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,7 +1,6 @@
 Manifest-Version: 1.0
 Eclipse-LazyStart: true
 Bundle-Name: %pluginName
-Bundle-ClassPath: seam-pages-xml.jar
 Bundle-Activator: org.jboss.tools.seam.pages.xml.SeamPagesXMLPlugin
 Bundle-ManifestVersion: 2
 Bundle-Vendor: %providerName

Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/build.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/build.properties	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,14 +1,14 @@
-source.seam-pages-xml.jar = src/,\
-                 resources/
+source.. = src/,\
+           resources/
 bin.includes = plugin.xml,\
                META-INF/,\
                plugin.properties,\
                about.html,\
                dtds/,\
-               seam-pages-xml.jar,\
+               .,\
                schemas/,\
                images/
-jars.compile.order = seam-pages-xml.jar
+jars.compile.order = .
 src.includes = dtds/,\
                src/,\
                schemas/,\

Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml	2009-09-10 22:58:05 UTC (rev 17521)
@@ -103,20 +103,16 @@
       <catalogContribution id="default">
          <public 
          	publicId="-//JBoss/Seam Pages Configuration DTD 1.2//EN" 
-         	uri="dtds/pages-1.2.dtd"/>
+         	uri="platform:/plugin/org.jboss.tools.seam.pages.xml/dtds/pages-1.2.dtd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pages-2.0.xsd" 
-            uri="schemas/pages-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.pages.xml/schemas/pages-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pages-2.1.xsd" 
-            uri="schemas/pages-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.pages.xml/schemas/pages-2.1.xsd"/>
 
-         <uri 
-            name="http://jboss.com/products/seam/pages-2.2.xsd" 
-            uri="schemas/pages-2.2.xsd"/>
-
       </catalogContribution>
    </extension>
 
@@ -144,4 +140,4 @@
 
    </extension>
 
-</plugin>
\ No newline at end of file
+</plugin>

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/build.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/build.properties	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -5,7 +5,6 @@
                META-INF/,\
                .,\
                icons/,\
-               resources/,\
                about.html,\
                plugin.properties
 src.includes = resources/,\
@@ -15,3 +14,4 @@
                build.properties,\
                META-INF/,\
                about.html
+jars.compile.order = .

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/META-INF/MANIFEST.MF	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,7 +1,6 @@
 Manifest-Version: 1.0
 Eclipse-LazyStart: true
 Bundle-Name: %pluginName
-Bundle-ClassPath: seam-ui-pages.jar
 Bundle-Activator: org.jboss.tools.seam.ui.pages.SeamUiPagesPlugin
 Bundle-Vendor: %providerName
 Provide-Package: org.jboss.tools.seam.ui.pages,

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/build.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/build.properties	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -3,10 +3,9 @@
                plugin.properties,\
                images/,\
                META-INF/,\
-               about.html
-source.seam-ui-pages.jar = src/,\
-                     resources/
-jars.compile.order = seam-ui-pages.jar
+               about.html,\
+               .
+jars.compile.order = .
 src.includes = resources/,\
                src/,\
                plugin.xml,\
@@ -15,3 +14,6 @@
                build.properties,\
                about.html,\
                META-INF/
+output.. = bin/
+source.. = resources/,\
+           src/

Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/META-INF/MANIFEST.MF	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,7 +1,6 @@
 Manifest-Version: 1.0
 Eclipse-LazyStart: true
 Bundle-Name: %pluginName
-Bundle-ClassPath: seam-xml.jar
 Bundle-Activator: org.jboss.tools.seam.xml.SeamXMLPlugin
 Bundle-ManifestVersion: 2
 Bundle-Vendor: %providerName

Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/build.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/build.properties	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -1,13 +1,11 @@
-source.seam-xml.jar = src/,\
-                 resources/
 bin.includes = plugin.xml,\
                META-INF/,\
                plugin.properties,\
                about.html,\
                dtds/,\
-               seam-xml.jar,\
-               schemas/
-jars.compile.order = seam-xml.jar
+               schemas/,\
+               .
+jars.compile.order = .
 src.includes = dtds/,\
                src/,\
                schemas/,\
@@ -17,3 +15,6 @@
                build.properties,\
                about.html,\
                META-INF/
+output.. = bin/
+source.. = resources/,\
+           src/

Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml	2009-09-10 22:58:05 UTC (rev 17521)
@@ -30,11 +30,6 @@
       <keys path="help/keys-seam-lists.properties"/>
    </extension>
 
-   	<extension
-		point="org.eclipse.wst.xml.core.catalogContributions">
-		<catalogContribution id="default">
-		</catalogContribution>
-	</extension>	
 
 	<extension point="org.jboss.tools.common.model.classes">
 		<xclass id="org.jboss.tools.seam.xml.components.model.FileSeamComponentsImpl"
@@ -68,63 +63,63 @@
       <catalogContribution id="default">
          <uri 
             name="http://jboss.com/products/seam/components-1.2.xsd" 
-            uri="schemas/components-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/components-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/core-1.2.xsd" 
-            uri="schemas/core-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/core-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/drools-1.2.xsd" 
-            uri="schemas/drools-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/drools-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/framework-1.2.xsd" 
-            uri="schemas/framework-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/framework-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/jms-1.2.xsd" 
-            uri="schemas/jms-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/jms-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/mail-1.2.xsd" 
-            uri="schemas/mail-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/mail-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pdf-1.2.xsd" 
-            uri="schemas/pdf-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pdf-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/remoting-1.2.xsd" 
-            uri="schemas/remoting-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/remoting-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/security-1.2.xsd" 
-            uri="schemas/security-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/security-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/spring-1.2.xsd" 
-            uri="schemas/spring-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/theme-1.2.xsd" 
-            uri="schemas/theme-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/theme-1.2.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/web-1.2.xsd" 
-            uri="schemas/web-1.2.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/web-1.2.xsd"/>
 
          <public 
          	publicId="-//JBoss/Seam Component Configuration DTD 1.1//EN" 
-         	uri="dtds/components-1.1.dtd"/>
+         	uri="platform:/plugin/org.jboss.tools.seam.xml/dtds/components-1.1.dtd"/>
 
          <uri 
             name="http://jboss.com/products/seam/async-2.0.xsd" 
-            uri="schemas/async-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/async-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/async-2.1.xsd" 
-            uri="schemas/async-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/async-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/async-2.2.xsd" 
@@ -132,11 +127,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/bpm-2.0.xsd" 
-            uri="schemas/bpm-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/bpm-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/bpm-2.1.xsd" 
-            uri="schemas/bpm-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/bpm-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/bpm-2.2.xsd" 
@@ -144,11 +139,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/components-2.0.xsd" 
-            uri="schemas/components-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/components-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/components-2.1.xsd" 
-            uri="schemas/components-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/components-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/components-2.2.xsd" 
@@ -156,7 +151,7 @@
 
          <uri 
             name="http://jboss.com/products/seam/cache-2.1.xsd" 
-            uri="schemas/cache-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/cache-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/cache-2.2.xsd" 
@@ -164,11 +159,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/core-2.0.xsd" 
-            uri="schemas/core-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/core-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/core-2.1.xsd" 
-            uri="schemas/core-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/core-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/core-2.2.xsd" 
@@ -176,11 +171,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/drools-2.0.xsd" 
-            uri="schemas/drools-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/drools-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/drools-2.1.xsd" 
-            uri="schemas/drools-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/drools-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/drools-2.2.xsd" 
@@ -188,7 +183,7 @@
 
          <uri 
             name="http://jboss.com/products/seam/document-2.1.xsd" 
-            uri="schemas/document-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/document-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/document-2.2.xsd" 
@@ -196,11 +191,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/framework-2.0.xsd" 
-            uri="schemas/framework-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/framework-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/framework-2.1.xsd" 
-            uri="schemas/framework-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/framework-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/framework-2.2.xsd" 
@@ -208,11 +203,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/international-2.0.xsd" 
-            uri="schemas/international-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/international-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/international-2.1.xsd" 
-            uri="schemas/international-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/international-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/international-2.2.xsd" 
@@ -220,11 +215,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/jms-2.0.xsd" 
-            uri="schemas/jms-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/jms-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/jms-2.1.xsd" 
-            uri="schemas/jms-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/jms-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/jms-2.2.xsd" 
@@ -232,11 +227,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/mail-2.0.xsd" 
-            uri="schemas/mail-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/mail-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/mail-2.1.xsd" 
-            uri="schemas/mail-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/mail-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/mail-2.2.xsd" 
@@ -244,11 +239,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/navigation-2.0.xsd" 
-            uri="schemas/navigation-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/navigation-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/navigation-2.1.xsd" 
-            uri="schemas/navigation-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/navigation-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/navigation-2.2.xsd" 
@@ -256,11 +251,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/pageflow-2.0.xsd" 
-            uri="schemas/pageflow-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pageflow-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pageflow-2.1.xsd" 
-            uri="schemas/pageflow-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pageflow-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pageflow-2.2.xsd" 
@@ -268,15 +263,15 @@
 
          <uri 
             name="http://jboss.com/products/seam/pages-2.0.xsd" 
-            uri="schemas/pages-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pages-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pdf-2.0.xsd" 
-            uri="schemas/pdf-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pdf-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pdf-2.1.xsd" 
-            uri="schemas/pdf-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/pdf-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/pdf-2.2.xsd" 
@@ -284,11 +279,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/persistence-2.0.xsd" 
-            uri="schemas/persistence-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/persistence-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/persistence-2.1.xsd" 
-            uri="schemas/persistence-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/persistence-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/persistence-2.2.xsd" 
@@ -296,11 +291,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/remoting-2.0.xsd" 
-            uri="schemas/remoting-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/remoting-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/remoting-2.1.xsd" 
-            uri="schemas/remoting-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/remoting-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/remoting-2.2.xsd" 
@@ -308,11 +303,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/security-2.0.xsd" 
-            uri="schemas/security-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/security-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/security-2.1.xsd" 
-            uri="schemas/security-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/security-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/security-2.2.xsd" 
@@ -320,15 +315,15 @@
 
          <uri 
             name="http://jboss.com/products/seam/spring-2.0.xsd" 
-            uri="schemas/spring-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/spring-seam-2.0.xsd" 
-            uri="schemas/spring-seam-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/spring-seam-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/theme-2.0.xsd" 
-            uri="schemas/theme-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/theme-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/theme-2.1.xsd" 
@@ -340,11 +335,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/transaction-2.0.xsd" 
-            uri="schemas/transaction-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/transaction-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/transaction-2.1.xsd" 
-            uri="schemas/transaction-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/transaction-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/transaction-2.2.xsd" 
@@ -352,11 +347,11 @@
 
          <uri 
             name="http://jboss.com/products/seam/web-2.0.xsd" 
-            uri="schemas/web-2.0.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/web-2.0.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/web-2.1.xsd" 
-            uri="schemas/web-2.1.xsd"/>
+            uri="platform:/plugin/org.jboss.tools.seam.xml/schemas/web-2.1.xsd"/>
 
          <uri 
             name="http://jboss.com/products/seam/web-2.2.xsd" 

Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -10,10 +10,6 @@
  org.jboss.tools.seam.core.test.refactoring
 Require-Bundle: 
  org.junit,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.jboss.tools.common.model,
- org.jboss.tools.common.el.core,
  org.jboss.tools.seam.core,
  org.jboss.tools.seam.xml,
  org.jboss.tools.common.test,
@@ -21,23 +17,16 @@
  org.eclipse.wst.common.project.facet.core,
  org.jboss.tools.tests,
  org.eclipse.ui.workbench,
- org.eclipse.wst.common.modulecore,
  org.eclipse.wst.common.frameworks,
  org.eclipse.jface,
- org.jboss.tools.jst.firstrun,
  org.eclipse.wst.server.core,
- org.eclipse.datatools.connectivity,
  org.eclipse.ltk.core.refactoring,
- org.eclipse.ltk.ui.refactoring,
- org.eclipse.jdt.core,
- org.eclipse.ui.ide,
  org.eclipse.jface,
- org.eclipse.jdt.core.manipulation,
- org.eclipse.jst.jsf.core,
- org.eclipse.wst.validation,
  org.eclipse.jdt.launching,
  org.eclipse.jdt.ui,
  org.eclipse.jst.j2ee,
- org.eclipse.text
+ org.eclipse.text,
+ org.eclipse.jdt.core.manipulation;bundle-version="1.3.0",
+ org.jboss.tools.common.el.core;bundle-version="2.0.0"
 Bundle-Localization: plugin
 Bundle-RequiredExecutionEnvironment: J2SE-1.5

Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java	2009-09-10 22:44:21 UTC (rev 17520)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamCoreAllTests.java	2009-09-10 22:58:05 UTC (rev 17521)
@@ -13,6 +13,7 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
+import org.jboss.tools.seam.core.SeamCorePlugin;
 import org.jboss.tools.seam.core.test.project.facet.SeamRuntimeListConverterTest;
 import org.jboss.tools.seam.core.test.project.facet.SeamRuntimeManagerTest;
 
@@ -21,7 +22,7 @@
  *
  */
 public class SeamCoreAllTests {
-	public static final String PLUGIN_ID = "org.jboss.tools.common.model";
+	public static final String PLUGIN_ID = SeamCorePlugin.PLUGIN_ID;
 	//
 	public static Test suite() {
 		TestSuite suite = new TestSuite();
@@ -32,6 +33,7 @@
 		suite.addTestSuite(SeamEARTest.class);
 		suite.addTestSuite(SeamRuntimeListConverterTest.class);
 		suite.addTestSuite(SeamRuntimeManagerTest.class);
+		suite.addTestSuite(SeamPluginsLoadTest.class);
 		return suite;
 	}
 }
\ No newline at end of file

Added: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamPluginsLoadTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamPluginsLoadTest.java	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamPluginsLoadTest.java	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,12 @@
+package org.jboss.tools.seam.core.test;
+
+import org.jboss.tools.tests.AbstractPluginsLoadTest;
+
+import junit.framework.TestCase;
+
+public class SeamPluginsLoadTest extends AbstractPluginsLoadTest {
+	
+	public void testBundlesAreLoadedForSeamFeature(){
+		testBundlesAreLoadedFor("org.jboss.tools.seam.feature");
+	}
+}


Property changes on: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamPluginsLoadTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/ZupUtilsTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/ZupUtilsTest.java	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/ZupUtilsTest.java	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,20 @@
+package org.jboss.tools.seam.core.test.project.facet;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Platform;
+import org.jboss.tools.seam.internal.core.project.facet.ZipUtils;
+
+import junit.framework.TestCase;
+
+public class ZupUtilsTest extends TestCase {
+
+	public void testGetZipFiles() throws IOException {
+		File jar = FileLocator.getBundleFile(Platform.getBundle("org.eclipse.core.runtime"));
+		String destinationName = System.getProperty("java.io.tmpdir");
+		ZipUtils.getZipFiles(jar.getAbsolutePath(), destinationName, "");
+	}
+
+}


Property changes on: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/ZupUtilsTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.classpath
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.classpath	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.classpath	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.classpath
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.project	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.project	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.seam.text.ext.test</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.project
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.settings/org.eclipse.jdt.core.prefs	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+#Thu Sep 10 14:36:00 GMT-08:00 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.text.ext.test/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.text.ext.test/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Seam Text Extension Test
+Bundle-SymbolicName: org.jboss.tools.seam.text.ext.test
+Bundle-Version: 1.0.0
+Bundle-Vendor: JBoss by RedHat
+Bundle-RequiredExecutionEnvironment: J2SE-1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/build.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.text.ext.test/build.properties	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.text.ext.test/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .


Property changes on: trunk/seam/tests/org.jboss.tools.seam.text.ext.test/build.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.classpath
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.classpath	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.classpath	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.classpath
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.project	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.project	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.seam.ui.pages.test</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.project
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.settings/org.eclipse.jdt.core.prefs	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+#Thu Sep 10 14:16:04 GMT-08:00 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Seam Pages Editor Test
+Bundle-SymbolicName: org.jboss.tools.seam.ui.pages.test;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Vendor: JBoss by RedHat
+Require-Bundle: org.eclipse.core.runtime
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy


Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/build.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/build.properties	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .


Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.pages.test/build.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.test/.classpath
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.test/.classpath	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.test/.classpath	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.test/.classpath
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.test/.project	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.test/.project	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.seam.xml.test</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.test/.project
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.test/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.test/.settings/org.eclipse.jdt.core.prefs	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+#Thu Sep 10 14:17:28 GMT-08:00 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.test/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.test/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Seam XML Tests
+Bundle-SymbolicName: org.jboss.tools.seam.xml.test;singleton:=true
+Bundle-Version: 1.0.0
+Require-Bundle: org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.test/build.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.test/build.properties	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.test/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.test/build.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.classpath
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.classpath	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.classpath	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.classpath
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.project	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.project	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.seam.xml.ui.test</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.project
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.settings/org.eclipse.jdt.core.prefs	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+#Thu Sep 10 14:21:59 GMT-08:00 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/META-INF/MANIFEST.MF	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: XML UI Tests
+Bundle-SymbolicName: org.jboss.tools.seam.xml.ui.test
+Bundle-Version: 1.0.0
+Require-Bundle: org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/build.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/build.properties	                        (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/build.properties	2009-09-10 22:58:05 UTC (rev 17521)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .


Property changes on: trunk/seam/tests/org.jboss.tools.seam.xml.ui.test/build.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain



More information about the jbosstools-commits mailing list