JBoss Tools SVN: r12922 - in trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp: META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-07 16:27:18 -0500 (Wed, 07 Jan 2009)
New Revision: 12922
Removed:
trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/src/org/
Modified:
trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF
trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/plugin.xml
Log:
JBIDE-3455 Missing BIRT and TPTP dependency causing Seam Tools not to start when dropins folder is used
Modified: trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF 2009-01-07 21:26:36 UTC (rev 12921)
+++ trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF 2009-01-07 21:27:18 UTC (rev 12922)
@@ -5,14 +5,6 @@
Bundle-SymbolicName: org.jboss.tools.eclipse.as.tptp; singleton:=true
Bundle-Version: 1.0.0
Bundle-Localization: plugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.debug.ui,
- org.eclipse.hyades.trace.ui,
- org.eclipse.tptp.platform.jvmti.client,
- org.eclipse.tptp.platform.execution,
- org.eclipse.tptp.platform.profile.server.core,
- org.eclipse.tptp.platform.instrumentation.ui;bundle-version="4.3.100"
+Require-Bundle: org.eclipse.core.runtime
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/plugin.xml
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/plugin.xml 2009-01-07 21:26:36 UTC (rev 12921)
+++ trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/plugin.xml 2009-01-07 21:27:18 UTC (rev 12922)
@@ -1,40 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
- <!-- Make the associations between the launch configurations and the data collectors -->
- <extension
- point="org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator">
-
- <!-- JBoss Server -->
- <association
- launchConfigID = "org.jboss.ide.eclipse.as.core.server.startupConfiguration">
-
- <mechanism mechanismID = "org.eclipse.tptp.trace.ui.jvmpiMechanism">
- <configuration
- launchDelegate = "org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIAttachLauncherDelegate"
- configurationId = "org.eclipse.tptp.trace.ui.jvmpiConfiguration"
- associatedAgent = "org.eclipse.tptp.trace.ui.jvmpiAgent"
- filter = "org.eclipse.tptp.platform.profile.server.core.internal.PICollectorFiltration">
- </configuration>
- </mechanism>
-
- <mechanism mechanismID = "org.eclipse.tptp.trace.jvmti.jvmtiMechanism">
- <configuration
- launchDelegate = "org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIAttachLauncherDelegate"
- configurationId = "org.eclipse.tptp.trace.jvmti.tiConfiguration"
- associatedAgent = "org.eclipse.tptp.platform.jvmti.TIAgent"
- filter = "org.eclipse.tptp.platform.profile.server.core.internal.TICollectorFiltration">
- </configuration>
- </mechanism>
- </association>
- <association launchConfigID="org.jboss.ide.eclipse.as.core.server.startupConfiguration">
- <mechanism mechanismID="org.eclipse.tptp.platform.instrumentation.ui.instrumentCollector">
- <configuration
- associatedAgent="org.eclipse.tptp.platform.instrumentation.ui.instrumentAgent"
- configurationId="org.eclipse.tptp.platform.instrumentation.ui.instrumentCollectorConfiguration"
- filter="org.jboss.tools.eclipse.as.tptp.PICollectorFiltration"
- launchDelegate="org.eclipse.tptp.platform.instrumentation.ui.internal.launcher.deleg.application.InstrumentLauncherDelegate"/>
- </mechanism>
- </association>
- </extension>
</plugin>
15 years, 4 months
JBoss Tools SVN: r12921 - trunk/tptp/features/org.jboss.tools.tptp.feature.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-07 16:26:36 -0500 (Wed, 07 Jan 2009)
New Revision: 12921
Added:
trunk/tptp/features/org.jboss.tools.tptp.feature/.project
trunk/tptp/features/org.jboss.tools.tptp.feature/build.properties
trunk/tptp/features/org.jboss.tools.tptp.feature/feature.properties
trunk/tptp/features/org.jboss.tools.tptp.feature/feature.xml
trunk/tptp/features/org.jboss.tools.tptp.feature/license.html
Log:
JBIDE-3455 Missing BIRT and TPTP dependency causing Seam Tools not to start when dropins folder is used
Added: trunk/tptp/features/org.jboss.tools.tptp.feature/.project
===================================================================
--- trunk/tptp/features/org.jboss.tools.tptp.feature/.project (rev 0)
+++ trunk/tptp/features/org.jboss.tools.tptp.feature/.project 2009-01-07 21:26:36 UTC (rev 12921)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.tptp.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/tptp/features/org.jboss.tools.tptp.feature/build.properties
===================================================================
--- trunk/tptp/features/org.jboss.tools.tptp.feature/build.properties (rev 0)
+++ trunk/tptp/features/org.jboss.tools.tptp.feature/build.properties 2009-01-07 21:26:36 UTC (rev 12921)
@@ -0,0 +1,3 @@
+bin.includes = feature.xml,\
+ license.html,\
+ feature.properties
Added: trunk/tptp/features/org.jboss.tools.tptp.feature/feature.properties
===================================================================
--- trunk/tptp/features/org.jboss.tools.tptp.feature/feature.properties (rev 0)
+++ trunk/tptp/features/org.jboss.tools.tptp.feature/feature.properties 2009-01-07 21:26:36 UTC (rev 12921)
@@ -0,0 +1,41 @@
+###############################################################################
+# Copyright (c) 2008 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=TPTP Profile On JBoss Server
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+# "description" property - description of the feature
+description=TPTP Profile On JBoss Server
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=Copyright (c) 2008 JBoss, a division of Red Hat and others.\nAll rights reserved. This program and the accompanying materials\n
+are made available under the terms of the Eclipse Public License v1.0\nwhich accompanies this distribution, and is available at\nhttp\://www.eclipse.org/legal/epl-v10.html\n\nContributors\:\nJBoss, a division of Red Hat - Initial implementation.\n
+ ############### end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\nMarch 17, 2005\n\nUsage Of Content\n\nTHE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\nOTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\nUSE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\nAGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\nNOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\nAGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\nAND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\nOR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\nTERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\nOF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\nBELOW, THEN YOU MAY NOT USE THE CONTENT.\n\nApplicable Licenses\n\nUnless otherwise indicated, all Content made available by the Eclipse Foundation\nis provided to you under the terms and conditio!
ns of the Eclipse Public\nLicense Version 1.0 ("EPL"). A copy of the EPL is provided with this\nContent and is also available at http\://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.\n\nContent includes, but is not limited to, source code, object code,\ndocumentation and other files maintained in the Eclipse.org CVS\nrepository ("Repository") in CVS modules ("Modules") and made available\nas downloadable archives ("Downloads").\n\n- Content may be structured and packaged into modules to facilitate delivering,\nextending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\nplug-in fragments ("Fragments"), and features ("Features").\n- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\nin a directory named "plugins".\n- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\nEach Feature may be packaged as a sub-directory in a directory!
named "features".\nWithin a Feature, files named "feature.xml" may co
ntain a list of the names and version\nnumbers of the Plug-ins and/or Fragments associated with that Feature.\n- Features may also include other Features ("Included Features"). Within a Feature, files\nnamed "feature.xml" may contain a list of the names and version numbers of Included Features.\n\nFeatures may also include other Features ("Included Features"). Files named\n"feature.xml" may contain a list of the names and version numbers of\nIncluded Features.\n\nThe terms and conditions governing Plug-ins and Fragments should be\ncontained in files named "about.html" ("Abouts"). The terms and\nconditions governing Features and Included Features should be contained\nin files named "license.html" ("Feature Licenses"). Abouts and Feature\nLicenses may be located in any directory of a Download or Module\nincluding, but not limited to the following locations\:\n\n- The top-level (root) directory\n- Plug-in and Fragment directories\n- Inside Plug-ins and Fragments packaged as JAR!
s\n- Sub-directories of the directory named "src" of certain Plug-ins\n- Feature directories\n\nNote\: if a Feature made available by the Eclipse Foundation is installed using the\nEclipse Update Manager, you must agree to a license ("Feature Update\nLicense") during the installation process. If the Feature contains\nIncluded Features, the Feature Update License should either provide you\nwith the terms and conditions governing the Included Features or inform\nyou where you can locate them. Feature Update Licenses may be found in\nthe "license" property of files named "feature.properties". Such Abouts,\nFeature Licenses and Feature Update Licenses contain the terms and\nconditions (or references to such terms and conditions) that govern your\nuse of the associated Content in that directory.\n\nTHE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\nTO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\nSOME OF THESE OTHER LICENSE AGREEMENTS MA!
Y INCLUDE (BUT ARE NOT LIMITED TO)\:\n\n- Common Public License Versio
n 1.0 (available at http\://www.eclipse.org/legal/cpl-v10.html)\n- Apache Software License 1.1 (available at http\://www.apache.org/licenses/LICENSE)\n- Apache Software License 2.0 (available at http\://www.apache.org/licenses/LICENSE-2.0)\n- IBM Public License 1.0 (available at http\://oss.software.ibm.com/developerworks/opensource/license10.html)\n- Metro Link Public License 1.00 (available at http\://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n- Mozilla Public License Version 1.1 (available at http\://www.mozilla.org/MPL/MPL-1.1.html)\n\nIT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\nTO USE OF THE CONTENT. If no About, Feature License or Feature Update License\nis provided, please contact the Eclipse Foundation to determine what terms and conditions\ngovern that particular Content.\n\nCryptography\n\nContent may contain encryption software. The country in which you are\ncurrently may have restrictions on the import, posse!
ssion, and use,\nand/or re-export to another country, of encryption software. BEFORE\nusing any encryption software, please check the country's laws,\nregulations and policies concerning the import, possession, or use,\nand re-export of encryption software, to see if this is permitted.\n\nJava and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
+########### end of license property ##########################################
Added: trunk/tptp/features/org.jboss.tools.tptp.feature/feature.xml
===================================================================
--- trunk/tptp/features/org.jboss.tools.tptp.feature/feature.xml (rev 0)
+++ trunk/tptp/features/org.jboss.tools.tptp.feature/feature.xml 2009-01-07 21:26:36 UTC (rev 12921)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.tptp"
+ label="TPTP Profile On JBoss Server"
+ version="1.0.0">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <requires>
+ <import feature="org.eclipse.tptp.monitoring.runtime" version="4.4.100" match="greaterOrEqual"/>
+ <import feature="org.eclipse.tptp.platform.runtime" version="4.5.1" match="greaterOrEqual"/>
+ <import feature="org.eclipse.tptp.monitoring.profile.server" version="4.2.200" match="greaterOrEqual"/>
+ <import feature="org.eclipse.tptp.platform.profile.server" version="4.3.200" match="greaterOrEqual"/>
+ <import feature="org.eclipse.tptp.trace.runtime" version="4.3.200" match="greaterOrEqual"/>
+ <import feature="org.eclipse.tptp.test.runtime" version="4.3.300" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.tptp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Added: trunk/tptp/features/org.jboss.tools.tptp.feature/license.html
===================================================================
--- trunk/tptp/features/org.jboss.tools.tptp.feature/license.html (rev 0)
+++ trunk/tptp/features/org.jboss.tools.tptp.feature/license.html 2009-01-07 21:26:36 UTC (rev 12921)
@@ -0,0 +1,79 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
+<title>Eclipse.org Software User Agreement</title>
+</head>
+
+<body lang="EN-US" link=blue vlink=purple>
+<h2>Eclipse Foundation Software User Agreement</h2>
+<p>March 17, 2005</p>
+
+<h3>Usage Of Content</h3>
+
+<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS
+ (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND
+ CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE
+ OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR
+ NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND
+ CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p>
+
+<h3>Applicable Licenses</h3>
+
+<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0
+ ("EPL"). A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+ For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
+ modules ("Modules") and made available as downloadable archives ("Downloads").</p>
+
+<ul>
+ <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").</li>
+ <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li>
+ <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins
+ and/or Fragments associated with that Feature.</li>
+ <li>Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.</li>
+</ul>
+
+<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and
+Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module
+including, but not limited to the following locations:</p>
+
+<ul>
+ <li>The top-level (root) directory</li>
+ <li>Plug-in and Fragment directories</li>
+ <li>Inside Plug-ins and Fragments packaged as JARs</li>
+ <li>Sub-directories of the directory named "src" of certain Plug-ins</li>
+ <li>Feature directories</li>
+</ul>
+
+<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license ("Feature Update License") during the
+installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or
+inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature.
+Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in
+that directory.</p>
+
+<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
+OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
+
+<ul>
+ <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li>
+ <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
+ <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li>
+ <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
+ <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
+ <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
+</ul>
+
+<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please
+contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p>
+
+<h3>Cryptography</h3>
+
+<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to
+ another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import,
+ possession, or use, and re-export of encryption software, to see if this is permitted.</p>
+
+<small>Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.</small>
+</body>
+</html>
15 years, 4 months
JBoss Tools SVN: r12920 - trunk/tptp/features.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-07 16:26:10 -0500 (Wed, 07 Jan 2009)
New Revision: 12920
Added:
trunk/tptp/features/org.jboss.tools.tptp.feature/
Log:
JBIDE-3455 Missing BIRT and TPTP dependency causing Seam Tools not to start when dropins folder is used
15 years, 4 months
JBoss Tools SVN: r12919 - trunk/tptp.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-07 16:24:14 -0500 (Wed, 07 Jan 2009)
New Revision: 12919
Added:
trunk/tptp/features/
Log:
JBIDE-3455 Missing BIRT and TPTP dependency causing Seam Tools not to start when dropins folder is used
15 years, 4 months
JBoss Tools SVN: r12918 - in trunk/tptp/plugins/org.jboss.tools.tptp: META-INF and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-07 16:23:40 -0500 (Wed, 07 Jan 2009)
New Revision: 12918
Added:
trunk/tptp/plugins/org.jboss.tools.tptp/.classpath
trunk/tptp/plugins/org.jboss.tools.tptp/.project
trunk/tptp/plugins/org.jboss.tools.tptp/META-INF/
trunk/tptp/plugins/org.jboss.tools.tptp/META-INF/MANIFEST.MF
trunk/tptp/plugins/org.jboss.tools.tptp/about.html
trunk/tptp/plugins/org.jboss.tools.tptp/about.ini
trunk/tptp/plugins/org.jboss.tools.tptp/about.mappings
trunk/tptp/plugins/org.jboss.tools.tptp/about.properties
trunk/tptp/plugins/org.jboss.tools.tptp/build.properties
trunk/tptp/plugins/org.jboss.tools.tptp/jboss_about.png
trunk/tptp/plugins/org.jboss.tools.tptp/plugin.properties
trunk/tptp/plugins/org.jboss.tools.tptp/plugin.xml
trunk/tptp/plugins/org.jboss.tools.tptp/src/
trunk/tptp/plugins/org.jboss.tools.tptp/src/org/
trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/
trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/tools/
trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/tools/tptp/
trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/tools/tptp/PICollectorFiltration.java
Log:
JBIDE-3455 Missing BIRT and TPTP dependency causing Seam Tools not to start when dropins folder is used
Added: trunk/tptp/plugins/org.jboss.tools.tptp/.classpath
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/.classpath (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/.classpath 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/tptp/plugins/org.jboss.tools.tptp/.project
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/.project (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/.project 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.tptp</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>
Added: trunk/tptp/plugins/org.jboss.tools.tptp/META-INF/MANIFEST.MF
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/META-INF/MANIFEST.MF (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/META-INF/MANIFEST.MF 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %BundleName
+Bundle-Vendor: %BundleVendor
+Bundle-SymbolicName: org.jboss.tools.tptp; singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.debug.ui,
+ org.eclipse.hyades.trace.ui,
+ org.eclipse.tptp.platform.jvmti.client,
+ org.eclipse.tptp.platform.execution,
+ org.eclipse.tptp.platform.profile.server.core,
+ org.eclipse.tptp.platform.instrumentation.ui
+Bundle-ActivationPolicy: lazy
+Eclipse-LazyStart: true
Added: trunk/tptp/plugins/org.jboss.tools.tptp/about.html
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/about.html (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/about.html 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>TPTP Profile On JBoss Server</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>TPTP Profile On JBoss Server</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Added: trunk/tptp/plugins/org.jboss.tools.tptp/about.ini
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/about.ini (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/about.ini 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,27 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+# test
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=%blurb
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=jboss_about.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (not translated)
+# needed for primary features only
+
+# Property "welcomePerspective" contains the id of the perspective in which the
+# welcome page is to be opened.
+# optional
+
+
+
Added: trunk/tptp/plugins/org.jboss.tools.tptp/about.mappings
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/about.mappings (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/about.mappings 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,5 @@
+# about.mappings
+# contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
Added: trunk/tptp/plugins/org.jboss.tools.tptp/about.properties
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/about.properties (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/about.properties 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,7 @@
+blurb=TPTP Profile On JBoss Server\n\
+\n\
+Version: {featureVersion}\n\
+\n\
+(c) Copyright JBoss Inc. contributors and others 2004 - 2008. All rights reserved.\n\
+Visit http://jboss.org/tools
+
Added: trunk/tptp/plugins/org.jboss.tools.tptp/build.properties
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/build.properties (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/build.properties 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,11 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.properties,\
+ plugin.xml,\
+ about.html,\
+ about.ini,\
+ about.mappings,\
+ about.properties,\
+ jboss_about.png
Added: trunk/tptp/plugins/org.jboss.tools.tptp/jboss_about.png
===================================================================
(Binary files differ)
Property changes on: trunk/tptp/plugins/org.jboss.tools.tptp/jboss_about.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/tptp/plugins/org.jboss.tools.tptp/plugin.properties
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/plugin.properties (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/plugin.properties 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,2 @@
+BundleName=TPTP Profile On JBoss Server
+BundleVendor=JBoss, a division of Red Hat
\ No newline at end of file
Added: trunk/tptp/plugins/org.jboss.tools.tptp/plugin.xml
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/plugin.xml (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/plugin.xml 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <!-- Make the associations between the launch configurations and the data collectors -->
+ <extension
+ point="org.eclipse.hyades.trace.ui.launchConfigMechanismAssociator">
+
+ <!-- JBoss Server -->
+ <association
+ launchConfigID = "org.jboss.ide.eclipse.as.core.server.startupConfiguration">
+
+ <mechanism mechanismID = "org.eclipse.tptp.trace.ui.jvmpiMechanism">
+ <configuration
+ launchDelegate = "org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIAttachLauncherDelegate"
+ configurationId = "org.eclipse.tptp.trace.ui.jvmpiConfiguration"
+ associatedAgent = "org.eclipse.tptp.trace.ui.jvmpiAgent"
+ filter = "org.eclipse.tptp.platform.profile.server.core.internal.PICollectorFiltration">
+ </configuration>
+ </mechanism>
+
+ <mechanism mechanismID = "org.eclipse.tptp.trace.jvmti.jvmtiMechanism">
+ <configuration
+ launchDelegate = "org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIAttachLauncherDelegate"
+ configurationId = "org.eclipse.tptp.trace.jvmti.tiConfiguration"
+ associatedAgent = "org.eclipse.tptp.platform.jvmti.TIAgent"
+ filter = "org.eclipse.tptp.platform.profile.server.core.internal.TICollectorFiltration">
+ </configuration>
+ </mechanism>
+ </association>
+ <association launchConfigID="org.jboss.ide.eclipse.as.core.server.startupConfiguration">
+ <mechanism mechanismID="org.eclipse.tptp.platform.instrumentation.ui.instrumentCollector">
+ <configuration
+ associatedAgent="org.eclipse.tptp.platform.instrumentation.ui.instrumentAgent"
+ configurationId="org.eclipse.tptp.platform.instrumentation.ui.instrumentCollectorConfiguration"
+ filter="org.jboss.tools.tptp.PICollectorFiltration"
+ launchDelegate="org.eclipse.tptp.platform.instrumentation.ui.internal.launcher.deleg.application.InstrumentLauncherDelegate"/>
+ </mechanism>
+ </association>
+
+ </extension>
+</plugin>
Added: trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/tools/tptp/PICollectorFiltration.java
===================================================================
--- trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/tools/tptp/PICollectorFiltration.java (rev 0)
+++ trunk/tptp/plugins/org.jboss.tools.tptp/src/org/jboss/tools/tptp/PICollectorFiltration.java 2009-01-07 21:23:40 UTC (rev 12918)
@@ -0,0 +1,36 @@
+/**********************************************************************
+ * Copyright (c) 2008 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Qingwu Lin (linqingw(a)cn.ibm.com)
+ *
+ * IBM - Initial API and implementation
+ **********************************************************************/
+package org.jboss.tools.tptp;
+
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIDelegateHelper.JVMVersionDetector;
+import org.eclipse.tptp.trace.ui.provisional.launcher.ICollectorFiltration;
+
+/**
+ * This filtration class is used to filter the JVMPI data collector if the
+ * targeted host uses JRE 1.6 or greater.
+ *
+ */
+public class PICollectorFiltration implements ICollectorFiltration
+{
+
+ public boolean include(String id, ILaunchConfiguration configuration, Object context)
+ {
+ boolean isInclude;
+ JVMVersionDetector jvmVersionDetector = new JVMVersionDetector(configuration);
+ String version = jvmVersionDetector.retrieveVersionOutput();
+ isInclude = version.indexOf("1.3") >0 || version.indexOf("1.4") >0 || version.indexOf("1.5") >0;
+ return isInclude;
+ }
+}
+
15 years, 4 months
JBoss Tools SVN: r12917 - trunk/tptp/plugins.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-07 16:23:13 -0500 (Wed, 07 Jan 2009)
New Revision: 12917
Added:
trunk/tptp/plugins/org.jboss.tools.tptp/
Log:
JBIDE-3455 Missing BIRT and TPTP dependency causing Seam Tools not to start when dropins folder is used
15 years, 4 months
JBoss Tools SVN: r12916 - in trunk: as/features/org.jboss.ide.eclipse.as.feature and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-01-07 14:27:08 -0500 (Wed, 07 Jan 2009)
New Revision: 12916
Modified:
trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml
trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml
trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
trunk/struts/features/org.jboss.tools.struts.feature/feature.xml
trunk/ws/features/org.jboss.tools.ws.feature/feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3467
http://download.jboss.org/updates/development was removed from discovery site list
Modified: trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
===================================================================
--- trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -1,24 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.ide.eclipse.archives.feature"
- label="JBoss Archives Tools"
- version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
- plugin="org.jboss.ide.eclipse.archives.ui">
-
- <description url="http://www.jboss.org/tools">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.ide.eclipse.archives.feature"
+ label="JBoss Archives Tools"
+ version="1.0.0"
+ provider-name="JBoss, a division of Red Hat"
+ plugin="org.jboss.ide.eclipse.archives.ui">
+
+ <description url="http://www.jboss.org/tools">
Project Archives provides a way to define archives based on include/exclude filesets which then
- gets incrementally updated allowing for fluent deployment for any type of Eclipse project.
- </description>
-
- <copyright>
+ gets incrementally updated allowing for fluent deployment for any type of Eclipse project.
+ </description>
+
+ <copyright>
JBoss, Home of Professional Open Source
Copyright 2006, JBoss Inc., and individual contributors as indicated
by the @authors tag. See the copyright.txt in the distribution
-for a full listing of individual contributors.
- </copyright>
-
- <license url="http://osdn.dl.sourceforge.net/sourceforge/jboss/LGPL.html">
+for a full listing of individual contributors.
+ </copyright>
+
+ <license url="http://osdn.dl.sourceforge.net/sourceforge/jboss/LGPL.html">
JBossTools is under the LGPL Licence
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
@@ -419,41 +419,40 @@
BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE
WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-END OF TERMS AND CONDITIONS
- </license>
-
- <url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
- </url>
-
- <requires>
- <import plugin="org.apache.ant"/>
- <import plugin="org.eclipse.core.commands"/>
- <import plugin="org.eclipse.core.filesystem"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.variables"/>
- <import plugin="org.eclipse.jdt.core"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.jdt.ui" version="3.4.0" match="greaterOrEqual"/>
- <import plugin="org.eclipse.debug.ui" version="3.4.0" match="greaterOrEqual"/>
- <import plugin="org.eclipse.core.variables" version="3.2.100" match="greaterOrEqual"/>
- <import plugin="org.eclipse.ui.navigator" version="3.3.100" match="greaterOrEqual"/>
- </requires>
-
- <plugin
- id="org.jboss.ide.eclipse.archives.core"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.ide.eclipse.archives.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+END OF TERMS AND CONDITIONS
+ </license>
+
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <requires>
+ <import plugin="org.apache.ant"/>
+ <import plugin="org.eclipse.core.commands"/>
+ <import plugin="org.eclipse.core.filesystem"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.core.variables"/>
+ <import plugin="org.eclipse.jdt.core"/>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.eclipse.ui.ide"/>
+ <import plugin="org.eclipse.jdt.ui" version="3.4.0" match="greaterOrEqual"/>
+ <import plugin="org.eclipse.debug.ui" version="3.4.0" match="greaterOrEqual"/>
+ <import plugin="org.eclipse.core.variables" version="3.2.100" match="greaterOrEqual"/>
+ <import plugin="org.eclipse.ui.navigator" version="3.3.100" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.ide.eclipse.archives.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.ide.eclipse.archives.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Modified: trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
===================================================================
--- trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -7,7 +7,7 @@
plugin="org.jboss.ide.eclipse.as.ui">
<description url="http://www.jboss.org/tools">
- Provides a WTP adapter for JBoss AS 4.x and 5.x. Supports incremental and exploded deployment.
+ Provides a WTP adapter for JBoss AS 4.x and 5.x. Supports incremental and exploded deployment.
</description>
<copyright>
@@ -423,7 +423,6 @@
<url>
<update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
</url>
<requires>
Modified: trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml
===================================================================
--- trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -17,12 +17,11 @@
<license url="%licenseURL">
%license
</license>
-
+
<url>
<update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
</url>
-
+
<plugin
id="org.jboss.ide.eclipse.freemarker"
download-size="0"
Modified: trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml
===================================================================
--- trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -418,7 +418,6 @@
<url>
<update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
</url>
<requires>
Modified: trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
===================================================================
--- trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -221,7 +221,6 @@
<url>
<update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
</url>
<requires>
Modified: trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/seam/features/org.jboss.tools.seam.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -1,278 +1,277 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.seam.feature"
- label="Seam Tools"
- version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
- plugin="org.jboss.tools.seam.core">
-
- <description url="http://www.jboss.org/tools">
- Provides tooling for JBoss Seam.
- </description>
-
- <copyright>
- Copyright (c) 2007 Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
- Eclipse Public License - v 1.0
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
-ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
-DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.
-1. DEFINITIONS
-"Contribution" means:
-a) in the case of the initial Contributor, the initial code and
-documentation distributed under this Agreement, and
-b) in the case of each subsequent Contributor:
-i) changes to the Program, and
-ii) additions to the Program;
-where such changes and/or additions to the Program originate
-from and are distributed by that particular Contributor. A Contribution
-'originates' from a Contributor if it was added to the Program
-by such Contributor itself or anyone acting on such Contributor's
-behalf. Contributions do not include additions to the Program
-which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii)
-are not derivative works of the Program.
-"Contributor" means any person or entity that distributes the
-Program.
-"Licensed Patents " mean patent claims licensable by a Contributor
-which are necessarily infringed by the use or sale of its Contribution
-alone or when combined with the Program.
-"Program" means the Contributions distributed in accordance with
-this Agreement.
-"Recipient" means anyone who receives the Program under this
-Agreement, including all Contributors.
-2. GRANT OF RIGHTS
-a) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free copyright
-license to reproduce, prepare derivative works of, publicly display,
-publicly perform, distribute and sublicense the Contribution
-of such Contributor, if any, and such derivative works, in source
-code and object code form.
-b) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free patent
-license under Licensed Patents to make, use, sell, offer to sell,
-import and otherwise transfer the Contribution of such Contributor,
-if any, in source code and object code form. This patent license
-shall apply to the combination of the Contribution and the Program
-if, at the time the Contribution is added by the Contributor,
-such addition of the Contribution causes such combination to
-be covered by the Licensed Patents. The patent license shall
-not apply to any other combinations which include the Contribution.
-No hardware per se is licensed hereunder.
-c) Recipient understands that although each Contributor grants
-the licenses to its Contributions set forth herein, no assurances
-are provided by any Contributor that the Program does not infringe
-the patent or other intellectual property rights of any other
-entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement
-of intellectual property rights or otherwise. As a condition
-to exercising the rights and licenses granted hereunder, each
-Recipient hereby assumes sole responsibility to secure any other
-intellectual property rights needed, if any. For example, if
-a third party patent license is required to allow Recipient to
-distribute the Program, it is Recipient's responsibility to acquire
-that license before distributing the Program.
-d) Each Contributor represents that to its knowledge it has sufficient
-copyright rights in its Contribution, if any, to grant the copyright
-license set forth in this Agreement.
-3. REQUIREMENTS
-A Contributor may choose to distribute the Program in object
-code form under its own license agreement, provided that:
-a) it complies with the terms and conditions of this Agreement;
-and
-b) its license agreement:
-i) effectively disclaims on behalf of all Contributors all warranties
-and conditions, express and implied, including warranties or
-conditions of title and non-infringement, and implied warranties
-or conditions of merchantability and fitness for a particular
-purpose;
-ii) effectively excludes on behalf of all Contributors all liability
-for damages, including direct, indirect, special, incidental
-and consequential damages, such as lost profits;
-iii) states that any provisions which differ from this Agreement
-are offered by that Contributor alone and not by any other party;
-and
-iv) states that source code for the Program is available from
-such Contributor, and informs licensees how to obtain it in a
-reasonable manner on or through a medium customarily used for
-software exchange.
-When the Program is made available in source code form:
-a) it must be made available under this Agreement; and
-b) a copy of this Agreement must be included with each copy of
-the Program.
-Contributors may not remove or alter any copyright notices contained
-within the Program.
-Each Contributor must identify itself as the originator of its
-Contribution, if any, in a manner that reasonably allows subsequent
-Recipients to identify the originator of the Contribution.
-4. COMMERCIAL DISTRIBUTION
-Commercial distributors of software may accept certain responsibilities
-with respect to end users, business partners and the like. While
-this license is intended to facilitate the commercial use of
-the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create
-potential liability for other Contributors. Therefore, if a Contributor
-includes the Program in a commercial product offering, such Contributor
-("Commercial Contributor") hereby agrees to defend and indemnify
-every other Contributor ("Indemnified Contributor") against any
-losses, damages and costs (collectively "Losses") arising from
-claims, lawsuits and other legal actions brought by a third party
-against the Indemnified Contributor to the extent caused by the
-acts or omissions of such Commercial Contributor in connection
-with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any
-claims or Losses relating to any actual or alleged intellectual
-property infringement. In order to qualify, an Indemnified Contributor
-must: a) promptly notify the Commercial Contributor in writing
-of such claim, and b) allow the Commercial Contributor to control,
-and cooperate with the Commercial Contributor in, the defense
-and any related settlement negotiations. The Indemnified Contributor
-may participate in any such claim at its own expense.
-For example, a Contributor might include the Program in a commercial
-product offering, Product X. That Contributor is then a Commercial
-Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance
-claims and warranties are such Commercial Contributor's responsibility
-alone. Under this section, the Commercial Contributor would have
-to defend claims against the other Contributors related to those
-performance claims and warranties, and if a court requires any
-other Contributor to pay any damages as a result, the Commercial
-Contributor must pay those damages.
-5. NO WARRANTY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
-IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
-OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
-ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
-OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and
-distributing the Program and assumes all risks associated with
-its exercise of rights under this Agreement , including but not
-limited to the risks and costs of program errors, compliance
-with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations.
-6. DISCLAIMER OF LIABILITY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
-NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
-OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.
-7. GENERAL
-If any provision of this Agreement is invalid or unenforceable
-under applicable law, it shall not affect the validity or enforceability
-of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be
-reformed to the minimum extent necessary to make such provision
-valid and enforceable.
-If Recipient institutes patent litigation against any entity
-(including a cross-claim or counterclaim in a lawsuit) alleging
-that the Program itself (excluding combinations of the Program
-with other software or hardware) infringes such Recipient's patent(s),
-then such Recipient's rights granted under Section 2(b) shall
-terminate as of the date such litigation is filed.
-All Recipient's rights under this Agreement shall terminate if
-it fails to comply with any of the material terms or conditions
-of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If
-all Recipient's rights under this Agreement terminate, Recipient
-agrees to cease use and distribution of the Program as soon as
-reasonably practicable. However, Recipient's obligations under
-this Agreement and any licenses granted by Recipient relating
-to the Program shall continue and survive.
-Everyone is permitted to copy and distribute copies of this Agreement,
-but in order to avoid inconsistency the Agreement is copyrighted
-and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including
-revisions) of this Agreement from time to time. No one other
-than the Agreement Steward has the right to modify this Agreement.
-The Eclipse Foundation is the initial Agreement Steward. The
-Eclipse Foundation may assign the responsibility to serve as
-the Agreement Steward to a suitable separate entity. Each new
-version of the Agreement will be given a distinguishing version
-number. The Program (including Contributions) may always be distributed
-subject to the version of the Agreement under which it was received.
-In addition, after a new version of the Agreement is published,
-Contributor may elect to distribute the Program (including its
-Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights
-or licenses to the intellectual property of any Contributor under
-this Agreement, whether expressly, by implication, estoppel or
-otherwise. All rights in the Program not expressly granted under
-this Agreement are reserved.
-This Agreement is governed by the laws of the State of New York
-and the intellectual property laws of the United States of America.
-No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose.
-Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
- </url>
-
- <requires>
- <import feature="org.jboss.tools.richfaces.feature" version="2.0.0" match="greaterOrEqual"/>
- <import feature="org.jboss.ide.eclipse.as.feature" version="1.0.0" match="greaterOrEqual"/>
- <import feature="org.hibernate.eclipse.feature" version="3.2.0" match="greaterOrEqual"/>
- <import feature="org.eclipse.datatools.connectivity.feature" version="1.6.1" match="greaterOrEqual"/>
- <import feature="org.eclipse.datatools.enablement.jdbc.feature" version="1.6.1" match="greaterOrEqual"/>
- </requires>
-
- <plugin
- id="org.jboss.tools.seam.core"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.seam.xml"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.xml.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.pages.xml"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.ui.pages"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.seam.feature"
+ label="Seam Tools"
+ version="1.0.0"
+ provider-name="JBoss, a division of Red Hat"
+ plugin="org.jboss.tools.seam.core">
+
+ <description url="http://www.jboss.org/tools">
+ Provides tooling for JBoss Seam.
+ </description>
+
+ <copyright>
+ Copyright (c) 2007 Red Hat, Inc.
+Distributed under license by Red Hat, Inc. All rights reserved.
+This program is made available under the terms of the
+Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+Contributors:
+Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
+ </license>
+
+ <url>
+ <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <requires>
+ <import feature="org.jboss.tools.richfaces.feature" version="2.0.0" match="greaterOrEqual"/>
+ <import feature="org.jboss.ide.eclipse.as.feature" version="1.0.0" match="greaterOrEqual"/>
+ <import feature="org.hibernate.eclipse.feature" version="3.2.0" match="greaterOrEqual"/>
+ <import feature="org.eclipse.datatools.connectivity.feature" version="1.6.1" match="greaterOrEqual"/>
+ <import feature="org.eclipse.datatools.enablement.jdbc.feature" version="1.6.1" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.seam.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.seam.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.xml.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.pages.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.ui.pages"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/struts/features/org.jboss.tools.struts.feature/feature.xml
===================================================================
--- trunk/struts/features/org.jboss.tools.struts.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/struts/features/org.jboss.tools.struts.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -1,75 +1,74 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.struts_feature"
- label="%featureName"
- version="2.0.0"
- provider-name="%providerName"
- plugin="org.jboss.tools.struts.ui">
-
- <description>
- %description
- </description>
-
- <copyright>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.struts_feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName"
+ plugin="org.jboss.tools.struts.ui">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
Distributed under license by Red Hat, Inc. All rights reserved.
This program is made available under the terms of the
Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="%discoverySiteName" url="http://download.jboss.org/updates/development"/>
- </url>
-
- <plugin
- id="org.jboss.tools.struts"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.struts.debug"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.struts.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.struts.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.struts.validator.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.struts.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.struts.vpe.struts"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <plugin
+ id="org.jboss.tools.struts"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.struts.debug"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.struts.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.struts.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.struts.validator.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.struts.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.struts.vpe.struts"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Modified: trunk/ws/features/org.jboss.tools.ws.feature/feature.xml
===================================================================
--- trunk/ws/features/org.jboss.tools.ws.feature/feature.xml 2009-01-07 09:19:28 UTC (rev 12915)
+++ trunk/ws/features/org.jboss.tools.ws.feature/feature.xml 2009-01-07 19:27:08 UTC (rev 12916)
@@ -1,53 +1,53 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.ws.feature"
- label="%featureName"
- version="1.0.0"
- provider-name="%providerName"
- plugin="org.jboss.tools.ws.ui">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
- <url>
- <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
- <discovery label="%discoverySiteName" url="http://download.jboss.org/updates/development"/>
- </url>
-
- <plugin
- id="org.jboss.tools.ws.core"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.ws.creation.core"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.ws.creation.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.ws.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.ws.feature"
+ label="%featureName"
+ version="1.0.0"
+ provider-name="%providerName"
+ plugin="org.jboss.tools.ws.ui">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <plugin
+ id="org.jboss.tools.ws.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.ws.creation.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.ws.creation.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.ws.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
15 years, 4 months
JBoss Tools SVN: r12915 - in trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks: ui/editors and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2009-01-07 04:19:28 -0500 (Wed, 07 Jan 2009)
New Revision: 12915
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/analyzer/SmooksFileBuilder.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java
Log:
JBIDE-3429
change the graphical model and source page text when the page was changed
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/analyzer/SmooksFileBuilder.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/analyzer/SmooksFileBuilder.java 2009-01-07 07:38:16 UTC (rev 12914)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/analyzer/SmooksFileBuilder.java 2009-01-07 09:19:28 UTC (rev 12915)
@@ -12,6 +12,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.command.BasicCommandStack;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CommandStack;
@@ -54,6 +55,9 @@
SmooksConfigurationFileGenerateContext context,
IProgressMonitor monitor) throws SmooksAnalyzerException,
IOException, CoreException {
+ if(monitor == null){
+ monitor = new NullProgressMonitor();
+ }
AnalyzerFactory factory = AnalyzerFactory.getInstance();
IMappingAnalyzer analyzer = factory.getMappingAnalyzer(context
.getSourceDataTypeID(), context.getTargetDataTypeID());
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java 2009-01-07 07:38:16 UTC (rev 12914)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java 2009-01-07 09:19:28 UTC (rev 12915)
@@ -10,11 +10,19 @@
******************************************************************************/
package org.jboss.tools.smooks.ui.editors;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
import java.io.IOException;
+import java.io.InputStream;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
+import org.dom4j.Document;
+import org.dom4j.Element;
+import org.dom4j.io.OutputFormat;
+import org.dom4j.io.SAXReader;
+import org.dom4j.io.XMLWriter;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.common.command.BasicCommandStack;
@@ -38,7 +46,6 @@
import org.jboss.tools.smooks.analyzer.NormalSmooksModelBuilder;
import org.jboss.tools.smooks.analyzer.NormalSmooksModelPackage;
import org.jboss.tools.smooks.model.DocumentRoot;
-import org.jboss.tools.smooks.model.ResourceType;
import org.jboss.tools.smooks.model.SmooksFactory;
import org.jboss.tools.smooks.model.SmooksResourceListType;
import org.jboss.tools.smooks.model.provider.SmooksItemProviderAdapterFactory;
@@ -53,7 +60,7 @@
* @Date Jul 28, 2008
*/
public class SmooksFormEditor extends FormEditor implements
- ITabbedPropertySheetPageContributor , IAnalyzeListener{
+ ITabbedPropertySheetPageContributor, IAnalyzeListener {
private SmooksTextEdtor xmlTextEditor;
@@ -324,9 +331,61 @@
}
public void endAnalyze(AnalyzeResult result) {
- if(result.getError() != null){
+ if (result.getError() != null) {
this.setActivePage(2);
}
}
+ private boolean prettyXMLOutput = true;
+
+ @Override
+ protected void pageChange(int newPageIndex) {
+ int oldPageIndex = this.getCurrentPage();
+ if (oldPageIndex == -1 || oldPageIndex == newPageIndex) {
+ super.pageChange(newPageIndex);
+ return;
+ }
+
+ if(!isDirty()){
+ super.pageChange(newPageIndex);
+ return;
+ }
+
+ ByteArrayOutputStream tempStream = null;
+ XMLWriter writer = null;
+ try {
+ if (oldPageIndex == 0 && newPageIndex == 2) {
+ InputStream stream = graphicalPage.generateSmooksContents(null);
+ SAXReader reader = new SAXReader();
+ Document rootElement = reader.read(stream);
+ if (prettyXMLOutput) {
+ tempStream = new ByteArrayOutputStream();
+ OutputFormat format = OutputFormat.createPrettyPrint();
+ writer = new XMLWriter(tempStream, format);
+ writer.write(rootElement);
+ }
+ String text = null;
+ if (prettyXMLOutput) {
+ text = new String(tempStream.toByteArray());
+ } else {
+ text = rootElement.asXML();
+ }
+ xmlTextEditor.getTextViewer().getDocument().set(text);
+ }
+ if (newPageIndex == 0 && oldPageIndex == 2) {
+ String contents = xmlTextEditor.getTextViewer().getDocument().get();
+ graphicalPage.refreshAllGUI(new ByteArrayInputStream(contents.getBytes()));
+ }
+ } catch (Exception e) {
+
+ }finally{
+ try{
+ if(writer != null) writer.close();
+ if(tempStream != null) tempStream.close();
+ }catch(Exception e){
+
+ }
+ }
+ super.pageChange(newPageIndex);
+ }
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java 2009-01-07 07:38:16 UTC (rev 12914)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java 2009-01-07 09:19:28 UTC (rev 12915)
@@ -128,6 +128,7 @@
import org.jboss.tools.smooks.model.SmooksFactory;
import org.jboss.tools.smooks.model.SmooksResourceListType;
import org.jboss.tools.smooks.model.util.SmooksModelConstants;
+import org.jboss.tools.smooks.model.util.SmooksResourceFactoryImpl;
import org.jboss.tools.smooks.ui.AnalyzeResult;
import org.jboss.tools.smooks.ui.IAnalyzeListener;
import org.jboss.tools.smooks.ui.IStructuredDataCreationWizard;
@@ -557,6 +558,38 @@
problemSection.setLayoutData(gd);
problemSection.setVisible(false);
}
+
+ public void refreshAllGUI(InputStream stream){
+ sourceTreeViewerInputModel = null;
+ targetTreeViewerInputModel = null;
+ Throwable throwable = null;
+ try {
+ analyzeGraphicalModel(stream);
+ } catch (Throwable e) {
+ throwable = e;
+ }
+ if (throwable == null) {
+ this.disableMappingGUI = false;
+ if (mappingGUISection != null)
+ mappingGUISection.setEnabled(true);
+ if (initSourceTreeViewerProviders()) {
+ initSourceTreeViewer();
+ expandSourceConnectionModel();
+ }
+ if (initTargetTreeViewerProviders()) {
+ initTargetTreeViewer();
+ expandTargetConnectionModel();
+ }
+ this.redrawMappingPanel();
+ notifyAnalyzeListeners(null);
+ } else {
+ cleanMappingPanel();
+ this.disableMappingGUI = true;
+ if (mappingGUISection != null)
+ mappingGUISection.setEnabled(false);
+ this.notifyAnalyzeListeners(throwable);
+ }
+ }
public void refreshAllGUI() {
sourceTreeViewerInputModel = null;
@@ -697,7 +730,7 @@
if (needAdd)
this.rootModel.addChild(model);
}
- }else{
+ } else {
((TreeItemRelationModel) model).setTreeItem(item);
}
}
@@ -808,13 +841,13 @@
}
}
}
-
- private void deAssosiateGraphAndTransformModel(Object graphModel){
- if(graph_trasform_data_map.containsValue(graphModel)){
+
+ private void deAssosiateGraphAndTransformModel(Object graphModel) {
+ if (graph_trasform_data_map.containsValue(graphModel)) {
Iterator it = graph_trasform_data_map.keySet().iterator();
- while(it.hasNext()){
+ while (it.hasNext()) {
Object key = it.next();
- if(graphModel == graph_trasform_data_map.get(key)){
+ if (graphModel == graph_trasform_data_map.get(key)) {
graph_trasform_data_map.put(key, null);
graph_trasform_data_map.remove(key);
break;
@@ -867,9 +900,20 @@
*/
@Override
public boolean isDirty() {
- return commandStackChanged || super.isDirty();
+ return commandStackChanged;
}
+ public InputStream generateSmooksContents(IProgressMonitor monitor)
+ throws SmooksAnalyzerException, IOException, CoreException {
+ SmooksFileBuilder builder = this.getSmooksFileBuilder();
+ builder.setSmooksResource(this.smooksResource);
+ SmooksConfigurationFileGenerateContext context = this
+ .getSmooksConfigurationFileGenerateContext();
+ Exception exp = null;
+ this.cleanMappingResourceConfig();
+ return builder.generateSmooksFile(context, monitor);
+ }
+
/*
* (non-Javadoc)
*
@@ -892,16 +936,10 @@
if (cleanError)
return;
}
- SmooksFileBuilder builder = this.getSmooksFileBuilder();
- builder.setSmooksResource(this.smooksResource);
- SmooksConfigurationFileGenerateContext context = this
- .getSmooksConfigurationFileGenerateContext();
- this.initSmooksConfigurationFileGenerateContext(context);
Exception exp = null;
try {
// generate smooks configuration file
- this.cleanMappingResourceConfig();
- InputStream stream = builder.generateSmooksFile(context, monitor);
+ InputStream stream = generateSmooksContents(monitor);
IFile file = ((IFileEditorInput) this.getEditorInput()).getFile();
if (file.exists()) {
file.setContents(stream, IResource.FORCE, monitor);
@@ -909,7 +947,8 @@
// save graphical informations
if (this.graphicalInformationSaver != null) {
- graphicalInformationSaver.doSave(monitor, context);
+ graphicalInformationSaver.doSave(monitor,
+ getSmooksConfigurationFileGenerateContext());
}
} catch (CoreException e) {
exp = e;
@@ -1174,6 +1213,7 @@
// ignore
}
IFile file = ((IFileEditorInput) input).getFile();
+ // if the type id is null, open a dialog to select
if (sourceDataTypeID == null || targetDataTypeID == null) {
TypeIDSelectionWizard wizard = new TypeIDSelectionWizard();
wizard.setSourceDataTypeID(sourceDataTypeID);
@@ -1205,6 +1245,19 @@
}
}
+ public void analyzeGraphicalModel(InputStream stream) throws IOException, CoreException, InvocationTargetException {
+ Resource resource = new SmooksResourceFactoryImpl()
+ .createResource(null);
+ resource.load(stream, Collections.EMPTY_MAP);
+ SmooksResourceListType listType = ((DocumentRoot) resource
+ .getContents().get(0)).getSmooksResourceList();
+ GraphInformations graph = null;
+ if (graphicalInformationSaver != null)
+ graph = graphicalInformationSaver.doLoad();
+ this.analyzeGraphicalModel(listType, graph,
+ ((IFileEditorInput) getEditorInput()).getFile());
+ }
+
private boolean requiredSelectDataSource(String typeID) {
for (int i = 0; i < this.REQUIRED_SOURCE_SELECT_TYPE.length; i++) {
String s = REQUIRED_SOURCE_SELECT_TYPE[i];
@@ -1552,10 +1605,11 @@
modelClass = SourceModel.class;
}
createGraphModels(tree.getItems(), modelClass);
-// if (tree.getData(TreeItemRelationModel.PRO_TREE_REPAINT) != null) {
-// // System.out.println("Block a event fire !!");
-// return;
-// }
+ // if (tree.getData(TreeItemRelationModel.PRO_TREE_REPAINT) != null)
+ // {
+ // // System.out.println("Block a event fire !!");
+ // return;
+ // }
rootModel.firePropertyChange(
AbstractStructuredDataModel.P_REFRESH_PANEL, null,
new Object());
@@ -1614,8 +1668,8 @@
public SmooksConfigurationFileGenerateContext getSmooksConfigurationFileGenerateContext() {
if (smooksConfigurationFileGenerateContext == null) {
smooksConfigurationFileGenerateContext = createContext();
- initSmooksConfigurationFileGenerateContext(smooksConfigurationFileGenerateContext);
}
+ initSmooksConfigurationFileGenerateContext(smooksConfigurationFileGenerateContext);
return smooksConfigurationFileGenerateContext;
}
15 years, 4 months
JBoss Tools SVN: r12914 - in trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java: dvdstore and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2009-01-07 02:38:16 -0500 (Wed, 07 Jan 2009)
New Revision: 12914
Added:
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/Customer.java
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/DVDStoreTestCase.java
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderHeader.java
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderItem.java
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/SampleOrder.xml
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks.graph
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/One2ManyClassicTestCase.java
Removed:
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-arrays.smooks.graph
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-sax.smooks.graph
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-update.smooks.graph
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks.graph
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/AbstractXML2JavaTestCase.java
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/ClassicX2JTestCase.java
trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks
Log:
JBIDE-3479
add new x2j test cases and some x2j examples
Modified: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/AbstractXML2JavaTestCase.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/AbstractXML2JavaTestCase.java 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/AbstractXML2JavaTestCase.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -6,10 +6,16 @@
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import junit.framework.Assert;
+
import org.jboss.tools.smooks.analyzer.IMappingAnalyzer;
import org.jboss.tools.smooks.analyzer.ISourceModelAnalyzer;
import org.jboss.tools.smooks.analyzer.ITargetModelAnalyzer;
+import org.jboss.tools.smooks.analyzer.MappingModel;
import org.jboss.tools.smooks.analyzer.MappingResourceConfigList;
import org.jboss.tools.smooks.graphical.GraphInformations;
import org.jboss.tools.smooks.javabean.analyzer.JavaBeanAnalyzer;
@@ -17,6 +23,10 @@
import org.jboss.tools.smooks.model.SmooksResourceListType;
import org.jboss.tools.smooks.test.AbstractModelTestCase;
import org.jboss.tools.smooks.test.java2java.NormalJ2JConfigFileAnalyzerTester;
+import org.jboss.tools.smooks.xml.model.AbstractXMLObject;
+import org.jboss.tools.smooks.xml.model.TagList;
+import org.jboss.tools.smooks.xml.model.TagObject;
+import org.jboss.tools.smooks.xml.model.TagPropertyObject;
import org.jboss.tools.smooks.xml2java.analyzer.XML2JavaAnalyzer;
import org.jboss.tools.smooks.xml2java.analyzer.XMLSourceModelAnalyzer;
@@ -163,5 +173,69 @@
protected ITargetModelAnalyzer newTargetModelAnalyzer() {
return new JavaBeanAnalyzer();
}
+
+ protected void checkTargetConnectionCount(
+ List<MappingModel> mappingModelList) throws Exception {
+ HashMap map = new HashMap();
+ for (Iterator iterator = mappingModelList.iterator(); iterator
+ .hasNext();) {
+ MappingModel mappingModel = (MappingModel) iterator.next();
+ String exsit = (String) map.get(mappingModel.getTarget());
+ if (exsit != null)
+ throw new Exception(
+ "Don't allow multiple connection have same target object");
+ map.put(mappingModel.getTarget(), "Exist");
+ }
+ }
+
+ public void checkXMLNodeModelValue(AbstractXMLObject tag) {
+ Assert.assertNotNull(tag.getName());
+ if (!(tag instanceof TagList))
+ Assert.assertNotNull(tag.getParent());
+ else
+ Assert.assertNull(tag.getParent());
+ if (tag instanceof TagObject) {
+ List<AbstractXMLObject> children = ((TagObject) tag).getChildren();
+ for (Iterator iterator = children.iterator(); iterator.hasNext();) {
+ AbstractXMLObject abstractXMLObject = (AbstractXMLObject) iterator
+ .next();
+ checkXMLNodeModelValue(abstractXMLObject);
+ }
+ List<TagPropertyObject> properties = ((TagObject) tag)
+ .getProperties();
+ for (Iterator iterator = properties.iterator(); iterator.hasNext();) {
+ TagPropertyObject tagPropertyObject = (TagPropertyObject) iterator
+ .next();
+ checkXMLNodeModelValue(tagPropertyObject);
+ }
+ }
+
+ if (tag instanceof TagList) {
+ List<TagObject> list = ((TagList) tag).getRootTagList();
+ for (Iterator iterator = list.iterator(); iterator.hasNext();) {
+ TagObject tagObject = (TagObject) iterator.next();
+ checkXMLNodeModelValue(tagObject);
+ }
+ }
+
+ }
+
+ protected TagObject findTag(TagObject tag, String name) {
+ if (name.equalsIgnoreCase(tag.getName())) {
+ return tag;
+ }
+ List list = tag.getChildren();
+ for (Iterator iterator = list.iterator(); iterator.hasNext();) {
+ Object object = (Object) iterator.next();
+ if (object instanceof TagObject) {
+ TagObject child = findTag((TagObject) object, name);
+ if (child != null)
+ return child;
+ }
+ }
+ return null;
+ }
+
+
}
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/Customer.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/Customer.java (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/Customer.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+
+package org.jboss.tools.smooks.test.xml2java.dvdstore;
+
+import java.io.Serializable;
+
+/**
+ * @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly(a)jboss.com</a>
+ */
+public class Customer implements Serializable {
+
+ // <Customer userName="user1" firstName="Harry" lastName="Potter" state="SD"/>
+ private String userName;
+ private String firstName;
+ private String lastName;
+ private String state;
+
+ /**
+ * @return Returns the firstName.
+ */
+ public String getFirstName() {
+ return firstName;
+ }
+ /**
+ * @param firstName The firstName to set.
+ */
+ public void setFirstName(String firstName) {
+ //System.out.println("**** firstName: " + firstName);
+ this.firstName = firstName;
+ }
+ /**
+ * @return Returns the lastName.
+ */
+ public String getLastName() {
+ return lastName;
+ }
+ /**
+ * @param lastName The lastName to set.
+ */
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+ /**
+ * @return Returns the state.
+ */
+ public String getState() {
+ return state;
+ }
+ /**
+ * @param state The state to set.
+ */
+ public void setState(String state) {
+ this.state = state;
+ }
+ /**
+ * @return Returns the userName.
+ */
+ public String getUserName() {
+ return userName;
+ }
+ /**
+ * @param userName The userName to set.
+ */
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return userName + "," + firstName + "," + lastName + "," + state;
+ }
+
+
+}
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/Customer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/DVDStoreTestCase.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/DVDStoreTestCase.java (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/DVDStoreTestCase.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,53 @@
+/**
+ *
+ */
+package org.jboss.tools.smooks.test.xml2java.dvdstore;
+
+import java.util.List;
+
+import junit.framework.Assert;
+
+import org.jboss.tools.smooks.analyzer.MappingModel;
+import org.jboss.tools.smooks.analyzer.MappingResourceConfigList;
+import org.jboss.tools.smooks.test.xml2java.AbstractXML2JavaTestCase;
+import org.jboss.tools.smooks.xml.model.TagList;
+
+/**
+ * @author Dart
+ *
+ */
+public class DVDStoreTestCase extends AbstractXML2JavaTestCase{
+
+ @Override
+ protected String getSmooksConfigFilePath() {
+ return "org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks";
+ }
+
+ @Override
+ protected String getSmooksConfigGraphFilePath() {
+ return "org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks.graph";
+ }
+
+ public void testGraph() throws Exception{
+ MappingResourceConfigList mappingResourceConfigList = getMappingResourceConfigList();
+ List<MappingModel> mappingModelList = mappingResourceConfigList.getMappingModelList();
+ checkTargetConnectionCount(mappingModelList);
+
+ // there are 18 connections :
+ Assert.assertEquals(18, mappingModelList.size());
+ }
+
+ public void testTransformModel(){
+ TagList source = (TagList)getSource();
+ List targetList = (List)getTarget();
+ // there is only one model
+ Assert.assertEquals(1, source.getRootTagList().size());
+
+ // check xml model value
+ checkXMLNodeModelValue(source);
+
+ // there are 3 target models:
+ Assert.assertEquals(3, targetList.size());
+ }
+
+}
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/DVDStoreTestCase.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderHeader.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderHeader.java (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderHeader.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+
+package org.jboss.tools.smooks.test.xml2java.dvdstore;
+
+import java.util.Calendar;
+import java.text.SimpleDateFormat;
+import java.io.Serializable;
+
+/**
+ * @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly(a)jboss.com</a>
+ */
+public class OrderHeader implements Serializable {
+
+ // <Order orderId="1" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0" netAmount="59.97" totalAmount="64.92" tax="4.95">
+ private String orderId;
+ private Calendar orderDate;
+ private int statusCode;
+ private double netAmount;
+ private double totalAmount;
+ private double tax;
+
+ /**
+ * @return Returns the netAmount.
+ */
+ public double getNetAmount() {
+ return netAmount;
+ }
+ /**
+ * @param netAmount The netAmount to set.
+ */
+ public void setNetAmount(double netAmount) {
+ this.netAmount = netAmount;
+ }
+ /**
+ * @return Returns the orderDate.
+ */
+ public Calendar getOrderDate() {
+ return orderDate;
+ }
+ /**
+ * @param orderDate The orderDate to set.
+ */
+ public void setOrderDate(Calendar orderDate) {
+ this.orderDate = orderDate;
+ }
+ /**
+ * @return Returns the orderId.
+ */
+ public String getOrderId() {
+ return orderId;
+ }
+ /**
+ * @param orderId The orderId to set.
+ */
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+ /**
+ * @return Returns the statusCode.
+ */
+ public int getStatusCode() {
+ return statusCode;
+ }
+ /**
+ * @param statusCode The statusCode to set.
+ */
+ public void setStatusCode(int statusCode) {
+ this.statusCode = statusCode;
+ }
+ /**
+ * @return Returns the tax.
+ */
+ public double getTax() {
+ return tax;
+ }
+ /**
+ * @param tax The tax to set.
+ */
+ public void setTax(double tax) {
+ this.tax = tax;
+ }
+ /**
+ * @return Returns the totalAmount.
+ */
+ public double getTotalAmount() {
+ return totalAmount;
+ }
+ /**
+ * @param totalAmount The totalAmount to set.
+ */
+ public void setTotalAmount(double totalAmount) {
+ this.totalAmount = totalAmount;
+ }
+
+ private SimpleDateFormat dateFormat = new SimpleDateFormat("d-MMM-yyyy");
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return orderId + ", " + (orderDate == null?null:dateFormat.format(orderDate.getTime())) + ", " + statusCode + ", " + netAmount + ", " + totalAmount + ", " + tax + ", ";
+ }
+}
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderHeader.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderItem.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderItem.java (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderItem.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+
+package org.jboss.tools.smooks.test.xml2java.dvdstore;
+import java.io.Serializable;
+
+/**
+ * @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly(a)jboss.com</a>
+ */
+public class OrderItem implements Serializable {
+
+ // <OrderLine position="1" quantity="1">
+ // <Product productId="364" title="The 40-Year-Old Virgin " price="29.98"/>
+ // </OrderLine>
+ private int position;
+ private int quantity;
+ private String productId;
+ private String title;
+ private double price;
+
+ /**
+ * @return Returns the position.
+ */
+ public int getPosition() {
+ return position;
+ }
+ /**
+ * @param position The position to set.
+ */
+ public void setPosition(int position) {
+ //System.out.println("**** position: " + position);
+ this.position = position;
+ }
+ /**
+ * @return Returns the price.
+ */
+ public double getPrice() {
+ return price;
+ }
+ /**
+ * @param price The price to set.
+ */
+ public void setPrice(double price) {
+ //System.out.println("**** price: " + price);
+ this.price = price;
+ }
+ /**
+ * @return Returns the productId.
+ */
+ public String getProductId() {
+ return productId;
+ }
+ /**
+ * @param productId The productId to set.
+ */
+ public void setProductId(String productId) {
+ this.productId = productId;
+ }
+ /**
+ * @return Returns the quantity.
+ */
+ public int getQuantity() {
+ return quantity;
+ }
+ /**
+ * @param quantity The quantity to set.
+ */
+ public void setQuantity(int quantity) {
+ this.quantity = quantity;
+ }
+ /**
+ * @return Returns the title.
+ */
+ public String getTitle() {
+ return title;
+ }
+ /**
+ * @param title The title to set.
+ */
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return position + "," + quantity + "," + productId + "," + title + "," + price;
+
+ }
+}
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/SampleOrder.xml
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/SampleOrder.xml (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/SampleOrder.xml 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,11 @@
+<Order orderId="1" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0" netAmount="59.97" totalAmount="64.92" tax="4.95">
+ <Customer userName="user1" firstName="Harry" lastName="Fletcher" state="SD"/>
+ <OrderLines>
+ <OrderLine position="1" quantity="1">
+ <Product productId="364" title="The 40-Year-Old Virgin " price="29.98"/>
+ </OrderLine>
+ <OrderLine position="2" quantity="1">
+ <Product productId="299" title="Pulp Fiction" price="29.99"/>
+ </OrderLine>
+ </OrderLines>
+</Order>
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/SampleOrder.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
+ <resource-config selector="decoder:LongDate">
+ <resource>org.milyn.javabean.decoders.DateDecoder
+ </resource>
+ <param name="format">EEE MMM dd HH:mm:ss z yyyy</param>
+ <param name="locale-country"></param>
+ <param name="locale-language"></param>
+ </resource-config>
+ <resource-config selector="Order">
+ <resource>org.milyn.javabean.BeanPopulator
+ </resource>
+ <param name="beanId">OrderHeader</param>
+ <param name="beanClass">org.jboss.tools.smooks.test.xml2java.dvdstore.OrderHeader
+ </param>
+ <param name="bindings">
+ <binding property="netAmount" selector="Order @netAmount"
+ type="Double" />
+ <binding property="orderDate" selector="Order @orderDate"
+ type="LongDate" />
+ <binding property="orderId" selector="Order @orderId" />
+ <binding property="statusCode" selector="Order @statusCode"
+ type="Integer" />
+ <binding property="tax" selector="Order @tax" type="Double" />
+ <binding property="totalAmount" selector="Order @totalAmount"
+ type="Double" />
+ </param>
+ </resource-config>
+ <resource-config selector="Order Customer">
+ <resource>org.milyn.javabean.BeanPopulator
+ </resource>
+ <param name="beanId">Customer</param>
+ <param name="beanClass">org.jboss.tools.smooks.test.xml2java.dvdstore.Customer
+ </param>
+ <param name="bindings">
+ <binding property="firstName" selector="Order Customer @firstName" />
+ <binding property="lastName" selector="Order Customer @lastName" />
+ <binding property="state" selector="Order Customer @state" />
+ <binding property="userName" selector="Order Customer @userName" />
+ </param>
+ </resource-config>
+ <resource-config selector="Order OrderLines OrderLine">
+ <resource>org.milyn.javabean.BeanPopulator
+ </resource>
+ <param name="beanId">OrderItem</param>
+ <param name="beanClass">org.jboss.tools.smooks.test.xml2java.dvdstore.OrderItem
+ </param>
+ <param name="bindings">
+ <binding property="position" selector="Order OrderLines OrderLine @position"
+ type="Integer" />
+ <binding property="price" selector="Order OrderLines OrderLine Product @price"
+ type="Double" />
+ <binding property="productId"
+ selector="Order OrderLines OrderLine Product @productId" />
+ <binding property="quantity" selector="Order OrderLines OrderLine @quantity"
+ type="Integer" />
+ <binding property="title" selector="Order OrderLines OrderLine Product @title" />
+ </param>
+ </resource-config>
+ <resource-config selector="global-parameters">
+ <param name="stream.filter.type">SAX</param>
+ </resource-config>
+ <resource-config selector="aaaa">
+ <resource type=""></resource>
+ </resource-config>
+</smooks-resource-list>
\ No newline at end of file
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks.graph
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks.graph (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/dvdstore/smooks-res.smooks.graph 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GraphInformations xmlns="http://www.jboss.org/tools/smooks/graphicalInformation">
+ <mappingType targetTypeID="org.jboss.tools.smooks.ui.viewerInitor.javabean" sourceTypeID="org.jboss.tools.smooks.xml.viewerInitor.xml"/>
+ <params>
+ <param name="sourceDataPath" value="File://org/jboss/tools/smooks/test/xml2java/dvdstore/SampleOrder.xml"/>
+ </params>
+</GraphInformations>
Modified: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/ClassicX2JTestCase.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/ClassicX2JTestCase.java 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/ClassicX2JTestCase.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -3,7 +3,6 @@
*/
package org.jboss.tools.smooks.test.xml2java.order;
-import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -15,7 +14,6 @@
import org.jboss.tools.smooks.xml.model.AbstractXMLObject;
import org.jboss.tools.smooks.xml.model.TagList;
import org.jboss.tools.smooks.xml.model.TagObject;
-import org.jboss.tools.smooks.xml.model.TagPropertyObject;
/**
* @author Dart
@@ -58,20 +56,6 @@
checkTargetConnectionCount(mappingModelList);
}
- protected void checkTargetConnectionCount(
- List<MappingModel> mappingModelList) throws Exception {
- HashMap map = new HashMap();
- for (Iterator iterator = mappingModelList.iterator(); iterator
- .hasNext();) {
- MappingModel mappingModel = (MappingModel) iterator.next();
- String exsit = (String) map.get(mappingModel.getTarget());
- if (exsit != null)
- throw new Exception(
- "Don't allow multiple connection have same target object");
- map.put(mappingModel.getTarget(), "Exist");
- }
- }
-
public void testSourceModel() {
TagList source = (TagList) getSource();
// check model value
@@ -91,55 +75,6 @@
Assert.assertEquals("http://y", dateTag.getNamespaceURL());
}
- public void checkXMLNodeModelValue(AbstractXMLObject tag) {
- Assert.assertNotNull(tag.getName());
- if (!(tag instanceof TagList))
- Assert.assertNotNull(tag.getParent());
- else
- Assert.assertNull(tag.getParent());
- if (tag instanceof TagObject) {
- List<AbstractXMLObject> children = ((TagObject) tag).getChildren();
- for (Iterator iterator = children.iterator(); iterator.hasNext();) {
- AbstractXMLObject abstractXMLObject = (AbstractXMLObject) iterator
- .next();
- checkXMLNodeModelValue(abstractXMLObject);
- }
-
- List<TagPropertyObject> properties = ((TagObject) tag)
- .getProperties();
- for (Iterator iterator = properties.iterator(); iterator.hasNext();) {
- TagPropertyObject tagPropertyObject = (TagPropertyObject) iterator
- .next();
- checkXMLNodeModelValue(tagPropertyObject);
- }
- }
-
- if (tag instanceof TagList) {
- List<TagObject> list = ((TagList) tag).getRootTagList();
- for (Iterator iterator = list.iterator(); iterator.hasNext();) {
- TagObject tagObject = (TagObject) iterator.next();
- checkXMLNodeModelValue(tagObject);
- }
- }
-
- }
-
- protected TagObject findTag(TagObject tag, String name) {
- if (name.equalsIgnoreCase(tag.getName())) {
- return tag;
- }
- List list = tag.getChildren();
- for (Iterator iterator = list.iterator(); iterator.hasNext();) {
- Object object = (Object) iterator.next();
- if (object instanceof TagObject) {
- TagObject child = findTag((TagObject) object, name);
- if (child != null)
- return child;
- }
- }
- return null;
- }
-
protected void checkTagURL(TagObject tag, String[] ignoreTagName,
String equalsUrl) {
for (int i = 0; i < ignoreTagName.length; i++) {
Added: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/One2ManyClassicTestCase.java
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/One2ManyClassicTestCase.java (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/One2ManyClassicTestCase.java 2009-01-07 07:38:16 UTC (rev 12914)
@@ -0,0 +1,56 @@
+/**
+ *
+ */
+package org.jboss.tools.smooks.test.xml2java.order;
+
+import java.util.List;
+
+import junit.framework.Assert;
+
+import org.jboss.tools.smooks.analyzer.MappingModel;
+import org.jboss.tools.smooks.analyzer.MappingResourceConfigList;
+import org.jboss.tools.smooks.model.ResourceConfigType;
+import org.jboss.tools.smooks.xml.model.TagList;
+import org.jboss.tools.smooks.xml.model.TagObject;
+
+
+/**
+ * @author Dart
+ *
+ */
+public class One2ManyClassicTestCase extends ClassicX2JTestCase {
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.smooks.test.xml2java.AbstractXML2JavaTestCase#getSmooksConfigFilePath()
+ */
+ @Override
+ protected String getSmooksConfigFilePath() {
+ return "org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks";
+ }
+
+ @Override
+ public void testGraph() throws Exception {
+ MappingResourceConfigList mappingConfigList = getMappingResourceConfigList();
+ List<ResourceConfigType> renderingConfigList = mappingConfigList.getGraphRenderResourceConfigList();
+ List<MappingModel> mappingModelList = mappingConfigList.getMappingModelList();
+ // there are 4 resource config for rendering
+ Assert.assertEquals(4, renderingConfigList.size());
+ // there are 13 connections here
+ Assert.assertEquals(13, mappingModelList.size());
+
+ checkTargetConnectionCount(mappingModelList);
+ }
+
+ @Override
+ public void testSourceModel() {
+ TagList source = (TagList) getSource();
+ // check model value
+ checkXMLNodeModelValue(source);
+
+ List<TagObject> tagList = source.getRootTagList();
+ // there is only one tag object
+ Assert.assertEquals(1, tagList.size());
+ }
+
+
+}
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/One2ManyClassicTestCase.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-arrays.smooks.graph
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-arrays.smooks.graph 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-arrays.smooks.graph 2009-01-07 07:38:16 UTC (rev 12914)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<GraphInformations xmlns="http://www.jboss.org/tools/smooks/graphicalInformation">
- <mappingType targetTypeID="org.jboss.tools.smooks.ui.viewerInitor.javabean" sourceTypeID="org.jboss.tools.smooks.xml.viewerInitor.xml"/>
- <params>
- <param name="sourceDataPath" value="Workspace://smooks_example_project/src_xml2java/example/order/order-01.xml"/>
- </params>
-</GraphInformations>
Deleted: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-sax.smooks.graph
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-sax.smooks.graph 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-sax.smooks.graph 2009-01-07 07:38:16 UTC (rev 12914)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<GraphInformations xmlns="http://www.jboss.org/tools/smooks/graphicalInformation">
- <mappingType targetTypeID="org.jboss.tools.smooks.ui.viewerInitor.javabean" sourceTypeID="org.jboss.tools.smooks.xml.viewerInitor.xml"/>
- <params>
- <param name="sourceDataPath" value="Workspace://smooks_example_project/src_xml2java/example/order/order-01.xml"/>
- </params>
-</GraphInformations>
Deleted: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-update.smooks.graph
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-update.smooks.graph 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config-update.smooks.graph 2009-01-07 07:38:16 UTC (rev 12914)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<GraphInformations xmlns="http://www.jboss.org/tools/smooks/graphicalInformation">
- <mappingType targetTypeID="org.jboss.tools.smooks.ui.viewerInitor.javabean" sourceTypeID="org.jboss.tools.smooks.xml.viewerInitor.xml"/>
- <params>
- <param name="sourceDataPath" value="Workspace://smooks_example_project/src_xml2java/example/order/order-01.xml"/>
- </params>
-</GraphInformations>
Modified: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks 2009-01-07 07:38:16 UTC (rev 12914)
@@ -10,13 +10,13 @@
<resource-config selector="order">
<resource>org.milyn.javabean.BeanPopulator</resource>
<param name="beanId">Order</param>
- <param name="beanClass">example.order.Order</param>
+ <param name="beanClass">org.jboss.tools.smooks.test.xml2java.order.Order</param>
<param name="bindings"><binding property="header" selector="${header}" selector-namespace="http://x"/><binding property="orderItems" selector="${orderItems}"/></param>
</resource-config>
<resource-config selector="header" selector-namespace="http://x">
<resource>org.milyn.javabean.BeanPopulator</resource>
<param name="beanId">header</param>
- <param name="beanClass">example.order.Header</param>
+ <param name="beanClass">org.jboss.tools.smooks.test.xml2java.order.Header</param>
<param name="bindings"><binding property="customerName" selector="header customer"/><binding property="customerNumber" selector="header customer @number" type="Long"/><binding property="date" selector="header date" type="OrderDateLong" selector-namespace="http://y"/><binding property="order" selector="${order}"/><binding property="privatePerson" selector="header privatePerson" type="Boolean" default="true"/></param>
</resource-config>
<resource-config selector="order">
@@ -28,7 +28,7 @@
<resource-config selector="order-item">
<resource>org.milyn.javabean.BeanPopulator</resource>
<param name="beanId">OrderItem</param>
- <param name="beanClass">example.order.OrderItem</param>
+ <param name="beanClass">org.jboss.tools.smooks.test.xml2java.order.OrderItem</param>
<param name="bindings"><binding property="order" selector="${order}"/><binding property="price" selector="order-item price" type="Double"/><binding property="productId" selector="order-item product" type="Long"/><binding property="quantity" selector="order-item quantity" type="Integer"/></param>
</resource-config>
<resource-config selector="global-parameters">
Deleted: trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks.graph
===================================================================
--- trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks.graph 2009-01-07 01:04:11 UTC (rev 12913)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/src/org/jboss/tools/smooks/test/xml2java/order/order-01-smooks-config.smooks.graph 2009-01-07 07:38:16 UTC (rev 12914)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<GraphInformations xmlns="http://www.jboss.org/tools/smooks/graphicalInformation">
- <mappingType targetTypeID="org.jboss.tools.smooks.ui.viewerInitor.javabean" sourceTypeID="org.jboss.tools.smooks.xml.viewerInitor.xml"/>
- <params>
- <param name="sourceDataPath" value="Workspace://smooks_example_project/src_xml2java/example/order/order-01.xml"/>
- </params>
-</GraphInformations>
15 years, 4 months
JBoss Tools SVN: r12913 - in trunk/jsf/tests/org.jboss.tools.jsf.ui.test: META-INF and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-01-06 20:04:11 -0500 (Tue, 06 Jan 2009)
New Revision: 12913
Added:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-3500 template tests for New Wizards
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF 2009-01-07 00:52:58 UTC (rev 12912)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/META-INF/MANIFEST.MF 2009-01-07 01:04:11 UTC (rev 12913)
@@ -4,3 +4,4 @@
Bundle-SymbolicName: org.jboss.tools.jsf.ui.test
Bundle-Version: 1.0.0
Bundle-Vendor: JBoss, a division of Red Hat
+Require-Bundle: org.junit
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class CssFileNewWizardTest extends TestCase {
+ // FIXME See FacesConfigNewWizardTest as example
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,39 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class FacesConfigNewWizardTest extends TestCase {
+
+ public void testNewFacesConfigNewWizardIsCreated() {
+ // Assert wizard is created
+ // Assert it is an instance of right class
+ fail("Not implemented yet");
+ }
+
+ public void testFacesConfigNewWizardValidation() {
+ // Assert Finish button is enabled by default if wizard is called on Project
+ // Assert Finish button is disabled and error is present if
+ // Folder field is empty
+ // All other fields are correct
+ // Assert Finish button is disabled and error is present if
+ // Folder field points to folder that doesn't exist
+ // All other fields are correct
+ // Assert Finish button is disabled and error is present if
+ // Folder field is correct
+ // Name field is empty
+ // Assert Finish button is disabled and error is present if
+ // Folder field is correct
+ // Name field contains forbidden characters
+ // Assert Finish button is disabled and error is present if
+ // Folder field is correct
+ // Name field contains file name that already exists
+ fail("Not implemented yet");
+ }
+
+ public void testFacesConfigNewWizardResults() {
+ // Assert file with name from Name field created in folder with name form Folder field
+ // Assert that new file was not registered in web.xml if 'Register in web.xml' is not set
+ // Assert that new file was registered in web.xml if 'Register in web.xml is set'
+ fail("Not implemented yet");
+ }
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,16 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class FasesConfigEditorTest extends TestCase {
+
+ /**
+ * Opens faces config editor on imported project and checks
+ * that it is opened and have three tabs in it
+ */
+ public void testFacesConfigEditorIsOpened() {
+ // assert editor is opened
+ // assert it is FacesConfigEditor instance
+ fail("Not implemented yet");
+ }
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FasesConfigEditorTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class JsFileNewWizardTest extends TestCase {
+ // FIXME See FacesConfigNewWizardTest as example
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class JspFileNewWizardTest extends TestCase {
+ // FIXME See FacesConfigNewWizardTest as example
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JspFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class PropertiesNewWizardTest extends TestCase {
+ // FIXME See FacesConfigNewWizardTest as example
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/PropertiesNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java 2009-01-07 01:04:11 UTC (rev 12913)
@@ -0,0 +1,7 @@
+package org.jboss.tools.jsf.ui.test;
+
+import junit.framework.TestCase;
+
+public class XhtmlFileNewWizardTest extends TestCase {
+ // FIXME See FacesConfigNewWizardTest as example
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/XhtmlFileNewWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 4 months