JBoss Tools SVN: r21365 - in branches/modular_build/as: features/org.jboss.ide.eclipse.as.test.feature and 13 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-08 14:59:47 -0400 (Thu, 08 Apr 2010)
New Revision: 21365
Modified:
branches/modular_build/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
branches/modular_build/as/features/org.jboss.ide.eclipse.as.test.feature/feature.xml
branches/modular_build/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.doc.user/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ssh/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF
branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/META-INF/MANIFEST.MF
branches/modular_build/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-INF/MANIFEST.MF
branches/modular_build/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF
branches/modular_build/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF
Log:
JBDS-486 bump up manifest versions to match tags file from 3.1.0.GA
Modified: branches/modular_build/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
===================================================================
--- branches/modular_build/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.ide.eclipse.as.feature"
label="%featureName"
- version="1.0.0"
+ version="2.1.0.qualifier"
provider-name="%providerName"
plugin="org.jboss.ide.eclipse.as.ui">
Modified: branches/modular_build/as/features/org.jboss.ide.eclipse.as.test.feature/feature.xml
===================================================================
--- branches/modular_build/as/features/org.jboss.ide.eclipse.as.test.feature/feature.xml 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/features/org.jboss.ide.eclipse.as.test.feature/feature.xml 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.ide.eclipse.as.test.feature"
label="JBossTools Test"
- version="1.0.0"
+ version="2.1.0.qualifier"
provider-name="JBoss by Red Hat">
<description url="http://www.jboss.org/tools">
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.archives.webtools;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.archives.webtools.IntegrationPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.core/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.classpath.core;singleton:=true
-Bundle-Version: 2.1.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.classpath.core.ClasspathCorePlugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.jdt.core,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.classpath.ui;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.classpath.ui.ClasspathUIPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.core;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.core.JBossServerCorePlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.doc.user/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.doc.user/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.doc.user/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.doc.user;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.help
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ssh/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ssh/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ssh/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -3,7 +3,7 @@
Bundle-Name: %Bundle-Name.0
Bundle-Vendor: %Bundle-Vendor.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.ssh;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.ssh.SSHDeploymentPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.ui;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.resources,
org.eclipse.core.runtime,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.ui.mbeans;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.ui.mbeans.Activator
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: WTP Overrides Core
Bundle-SymbolicName: org.jboss.ide.eclipse.as.wtp.core;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.wtp.core.ASWTPToolsPlugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.wst.server.core;bundle-version="1.1.101",
Modified: branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: WTP UI Overrides
Bundle-SymbolicName: org.jboss.ide.eclipse.as.wtp.ui;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.wtp.ui.WTPOveridePlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.archives.integration.test
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.archives.integration.test.ASArchivesIntegrationTest
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: jbossasarchivesintegrationtest.jar
Modified: branches/modular_build/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.as.test
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.as.test.ASTest
Require-Bundle: org.eclipse.core.runtime,
org.junit,
Modified: branches/modular_build/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
+++ branches/modular_build/as/tests/org.jboss.ide.eclipse.as.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:59:47 UTC (rev 21365)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Test Plug-in
Bundle-SymbolicName: org.jboss.ide.eclipse.as.ui.test;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 2.1.0.qualifier
Require-Bundle: org.junit,
org.eclipse.ui,
org.jboss.tools.tests,
14 years, 9 months
JBoss Tools SVN: r21364 - in branches/modular_build/archives: features/org.jboss.ide.eclipse.archives.test.feature and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-08 14:51:38 -0400 (Thu, 08 Apr 2010)
New Revision: 21364
Modified:
branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.test.feature/feature.xml
branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF
branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.jdt.integration/META-INF/MANIFEST.MF
branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.ui/META-INF/MANIFEST.MF
branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.test/META-INF/MANIFEST.MF
branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF
Log:
JBDS-486 bump up manifest versions to match tags file from 3.1.0.GA
Modified: branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
===================================================================
--- branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.ide.eclipse.archives.feature"
label="%featureName"
- version="1.0.0"
+ version="3.1.0.qualifier"
provider-name="%providerName"
plugin="org.jboss.ide.eclipse.archives.ui">
Modified: branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.test.feature/feature.xml
===================================================================
--- branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.test.feature/feature.xml 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/features/org.jboss.ide.eclipse.archives.test.feature/feature.xml 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.ide.eclipse.archives.test.feature"
label="org.jboss.ide.eclipse.archives.test.feature"
- version="1.0.0"
+ version="3.1.0.qualifier"
provider-name="JBoss by Red Hat">
<description url="http://www.jboss.com/products/jbosside">
Modified: branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.archives.core;singleton:=true
-Bundle-Version: 2.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.archives.core.ArchivesCorePlugin
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Modified: branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.jdt.integration/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.jdt.integration/META-INF/MANIFEST.MF 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.jdt.integration/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Archives JDT Integration Plug-in
Bundle-SymbolicName: org.jboss.ide.eclipse.archives.jdt.integration;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.archives.jdt.integration.ArchiveJDTIntegrationPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.ui/META-INF/MANIFEST.MF 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/plugins/org.jboss.ide.eclipse.archives.ui/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.archives.ui;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.archives.ui.PackagesUIPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
Modified: branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.test/META-INF/MANIFEST.MF 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.test/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.ide.eclipse.archives.test
-Bundle-Version: 1.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-Activator: org.jboss.ide.eclipse.archives.test.ArchivesTest
Require-Bundle: org.eclipse.core.runtime,
org.junit,
Modified: branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:49:02 UTC (rev 21363)
+++ branches/modular_build/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:51:38 UTC (rev 21364)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Archives UI Test
Bundle-SymbolicName: org.jboss.ide.eclipse.archives.ui.test
-Bundle-Version: 1.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-Vendor: JBoss by RedHat
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.junit,
14 years, 9 months
JBoss Tools SVN: r21363 - in branches/modular_build/tests: plugins/org.jboss.tools.tests/META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-08 14:49:02 -0400 (Thu, 08 Apr 2010)
New Revision: 21363
Modified:
branches/modular_build/tests/features/org.jboss.tools.test.feature/feature.xml
branches/modular_build/tests/plugins/org.jboss.tools.tests/META-INF/MANIFEST.MF
Log:
JBDS-486 bump up manifest versions to match tags file from 3.1.0.GA
Modified: branches/modular_build/tests/features/org.jboss.tools.test.feature/feature.xml
===================================================================
--- branches/modular_build/tests/features/org.jboss.tools.test.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
+++ branches/modular_build/tests/features/org.jboss.tools.test.feature/feature.xml 2010-04-08 18:49:02 UTC (rev 21363)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.test.feature"
label="Tools Tests"
- version="2.0.0">
+ version="3.1.0.qualifier">
<description url="http://www.jboss.org/tools">
JBossTools unit tests feature
Modified: branches/modular_build/tests/plugins/org.jboss.tools.tests/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/tests/plugins/org.jboss.tools.tests/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
+++ branches/modular_build/tests/plugins/org.jboss.tools.tests/META-INF/MANIFEST.MF 2010-04-08 18:49:02 UTC (rev 21363)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.tests
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-Vendor: %Bundle-Vendor.0
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
14 years, 9 months
JBoss Tools SVN: r21362 - in branches/modular_build/common: features/org.jboss.tools.common.all.tests.feature and 24 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-08 14:44:02 -0400 (Thu, 08 Apr 2010)
New Revision: 21362
Modified:
branches/modular_build/common/features/org.jboss.tools.common.all.feature/feature.xml
branches/modular_build/common/features/org.jboss.tools.common.all.tests.feature/feature.xml
branches/modular_build/common/features/org.jboss.tools.common.core.feature/feature.xml
branches/modular_build/common/features/org.jboss.tools.common.feature/feature.xml
branches/modular_build/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
branches/modular_build/common/features/org.jboss.tools.common.ui.feature/feature.xml
branches/modular_build/common/features/org.jboss.tools.common.verification.feature/feature.xml
branches/modular_build/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.meta.ui/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.resref.core/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.resref.ui/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.text.xml/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.verification.ui/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common.verification/META-INF/MANIFEST.MF
branches/modular_build/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
branches/modular_build/common/tests/org.jboss.tools.common.el.core.test/META-INF/MANIFEST.MF
branches/modular_build/common/tests/org.jboss.tools.common.model.test/META-INF/MANIFEST.MF
branches/modular_build/common/tests/org.jboss.tools.common.model.ui.test/META-INF/MANIFEST.MF
branches/modular_build/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF
branches/modular_build/common/tests/org.jboss.tools.common.verification.test/META-INF/MANIFEST.MF
branches/modular_build/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
Log:
JBDS-486 bump up manifest versions to match tags file from 3.1.0.GA
Modified: branches/modular_build/common/features/org.jboss.tools.common.all.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.all.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.all.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.all.feature"
label="%featureName"
- version="1.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%featureProvider">
<description>
Modified: branches/modular_build/common/features/org.jboss.tools.common.all.tests.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.all.tests.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.all.tests.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.all.tests.feature"
label="%featureName"
- version="1.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%featureProvider"
image="eclipse_update_120.jpg">
Modified: branches/modular_build/common/features/org.jboss.tools.common.core.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.core.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.core.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.core.feature"
label="%featureName"
- version="2.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%providerName">
<description url="http://www.jboss.org/tools">
Modified: branches/modular_build/common/features/org.jboss.tools.common.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.feature"
label="%featureName"
- version="2.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%providerName">
<description url="http://www.jboss.org/tools">
Modified: branches/modular_build/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.text.ext.feature"
label="%featureName"
- version="2.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%providerName">
<description url="http://www.jboss.org/tools">
Modified: branches/modular_build/common/features/org.jboss.tools.common.ui.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.ui.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.ui.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.ui.feature"
label="%featureName"
- version="2.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%providerName">
<description url="http://www.jboss.org/tools">
Modified: branches/modular_build/common/features/org.jboss.tools.common.verification.feature/feature.xml
===================================================================
--- branches/modular_build/common/features/org.jboss.tools.common.verification.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/features/org.jboss.tools.common.verification.feature/feature.xml 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.common.verification.feature"
label="%featureName"
- version="2.0.0.qualifier"
+ version="3.1.0.qualifier"
provider-name="%providerName">
<description url="http://www.jboss.org/tools">
Modified: branches/modular_build/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -143,7 +143,7 @@
org.eclipse.jdt.ui,
org.eclipse.ui.workbench.texteditor,
org.eclipse.jface.text
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-ManifestVersion: 2
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -5,7 +5,7 @@
Bundle-Localization: plugin
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.el.core;singleton:=true
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Export-Package: org.jboss.tools.common.el.core,
org.jboss.tools.common.el.core.ca,
org.jboss.tools.common.el.core.model,
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -4,7 +4,7 @@
Bundle-Localization: plugin
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.el.ui;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Export-Package: org.jboss.tools.common.el.ui,
org.jboss.tools.common.el.ui.ca
Bundle-Activator: org.jboss.tools.common.el.ui.ElUiPlugin
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -27,5 +27,5 @@
org.eclipse.gef,
org.eclipse.core.runtime,
org.eclipse.core.resources
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.meta.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.meta.ui/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.meta.ui/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.meta.ui;singleton:=true
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.jboss.tools.common.model,
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -82,5 +82,5 @@
org.eclipse.wst.common.modulecore,
org.eclipse.core.resources;visibility:=reexport,
org.eclipse.core.runtime;visibility:=reexport
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -9,6 +9,6 @@
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui,
org.jboss.tools.common
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.resref.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.resref.core/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.resref.core/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.resref.core
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-Activator: org.jboss.tools.common.resref.core.ResourceReferencePlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.resref.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.resref.ui/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.resref.ui/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.resref.ui
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-Activator: org.jboss.tools.common.resref.ui.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -7,7 +7,7 @@
org.jboss.tools.common.text.ext.hyperlink.xpl,
org.jboss.tools.common.text.ext.util,
org.jboss.tools.common.text.ext.util.xpl
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-Name: %Bundle-Name.0
Bundle-ManifestVersion: 2
Bundle-Vendor: %providerName
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.text.xml/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.text.xml/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.text.xml/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -25,5 +25,5 @@
org.eclipse.wst.sse.ui,
org.eclipse.wst.sse.core,
org.eclipse.core.resources
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.verification/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.verification/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.verification/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -21,5 +21,5 @@
org.jboss.tools.common.model,
org.eclipse.core.resources,
org.eclipse.core.runtime
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/plugins/org.jboss.tools.common.verification.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/plugins/org.jboss.tools.common.verification.ui/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/plugins/org.jboss.tools.common.verification.ui/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -30,5 +30,5 @@
org.eclipse.jface,
org.eclipse.wst.common.project.facet.core,
org.eclipse.wst.validation
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/common/tests/org.jboss.tools.common.el.core.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/tests/org.jboss.tools.common.el.core.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/tests/org.jboss.tools.common.el.core.test/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.el.core.test;singleton:=true
-Bundle-Version: 2.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %Bundle-Vendor.0
Export-Package: org.jboss.tools.common.el.core.test
Modified: branches/modular_build/common/tests/org.jboss.tools.common.model.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/tests/org.jboss.tools.common.model.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/tests/org.jboss.tools.common.model.test/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.model.test;singleton:=true
-Bundle-Version: 2.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-Vendor: %Bundle-Vendor.0
Export-Package: org.jboss.tools.common.model.test
Require-Bundle:
Modified: branches/modular_build/common/tests/org.jboss.tools.common.model.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/tests/org.jboss.tools.common.model.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/tests/org.jboss.tools.common.model.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.model.ui.test;singleton:=true
-Bundle-Version: 1.0.0
+Bundle-Version: 3.1.0.qualifier
Require-Bundle: org.junit;visibility:=reexport,
org.eclipse.jface,
org.jboss.tools.tests,
Modified: branches/modular_build/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.test
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 3.1.0.qualifier
Bundle-Vendor: %Bundle-Vendor.0
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Modified: branches/modular_build/common/tests/org.jboss.tools.common.verification.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/tests/org.jboss.tools.common.verification.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/tests/org.jboss.tools.common.verification.test/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.jboss.tools.common.verification.test;singleton:=true
-Bundle-Version: 2.0.0
+Bundle-Version: 3.1.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %Bundle-Vendor.0
Export-Package: org.jboss.tools.common.verification.test
Modified: branches/modular_build/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
+++ branches/modular_build/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:44:02 UTC (rev 21362)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Verification UI Test Plug-in
Bundle-SymbolicName: org.jboss.tools.common.verification.ui.test
-Bundle-Version: 1.0.0
+Bundle-Version: 3.1.0.qualifier
Require-Bundle: org.junit,
org.jboss.tools.tests,
org.eclipse.jface,
14 years, 9 months
JBoss Tools SVN: r21361 - in branches/modular_build/jmx: features/org.jboss.tools.jmx.tests.feature and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-08 14:39:09 -0400 (Thu, 08 Apr 2010)
New Revision: 21361
Modified:
branches/modular_build/jmx/features/org.jboss.tools.jmx.feature/feature.xml
branches/modular_build/jmx/features/org.jboss.tools.jmx.tests.feature/feature.xml
branches/modular_build/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF
branches/modular_build/jmx/plugins/org.jboss.tools.jmx.ui/META-INF/MANIFEST.MF
branches/modular_build/jmx/tests/org.jboss.tools.jmx.core.test/META-INF/MANIFEST.MF
branches/modular_build/jmx/tests/org.jboss.tools.jmx.ui.test/META-INF/MANIFEST.MF
Log:
JBDS-486 bump up manifest versions to match tags file from 3.1.0.GA
Modified: branches/modular_build/jmx/features/org.jboss.tools.jmx.feature/feature.xml
===================================================================
--- branches/modular_build/jmx/features/org.jboss.tools.jmx.feature/feature.xml 2010-04-08 18:12:18 UTC (rev 21360)
+++ branches/modular_build/jmx/features/org.jboss.tools.jmx.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.jmx.feature"
label="%featureName"
- version="1.0.1.qualifier"
+ version="1.1.0.qualifier"
provider-name="%featureProvider"
plugin="org.jboss.tools.jmx.ui">
Modified: branches/modular_build/jmx/features/org.jboss.tools.jmx.tests.feature/feature.xml
===================================================================
--- branches/modular_build/jmx/features/org.jboss.tools.jmx.tests.feature/feature.xml 2010-04-08 18:12:18 UTC (rev 21360)
+++ branches/modular_build/jmx/features/org.jboss.tools.jmx.tests.feature/feature.xml 2010-04-08 18:39:09 UTC (rev 21361)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.jmx.tests.feature"
label="%featureName"
- version="1.0.1.qualifier"
+ version="1.1.0.qualifier"
provider-name="%featureProvider"
image="eclipse_update_120.jpg">
Modified: branches/modular_build/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF 2010-04-08 18:12:18 UTC (rev 21360)
+++ branches/modular_build/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %BundleName
Bundle-SymbolicName: org.jboss.tools.jmx.core;singleton:=true
-Bundle-Version: 1.0.1.qualifier
+Bundle-Version: 1.1.0.qualifier
Bundle-Activator: org.jboss.tools.jmx.core.JMXActivator
Bundle-Vendor: %BundleProvider
Require-Bundle: org.eclipse.core.runtime
Modified: branches/modular_build/jmx/plugins/org.jboss.tools.jmx.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/jmx/plugins/org.jboss.tools.jmx.ui/META-INF/MANIFEST.MF 2010-04-08 18:12:18 UTC (rev 21360)
+++ branches/modular_build/jmx/plugins/org.jboss.tools.jmx.ui/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %BundleName
Bundle-SymbolicName: org.jboss.tools.jmx.ui;singleton:=true
-Bundle-Version: 1.0.1.qualifier
+Bundle-Version: 1.1.0.qualifier
Bundle-Activator: org.jboss.tools.jmx.ui.JMXUIActivator
Bundle-Vendor: %BundleProvider
Require-Bundle: org.eclipse.ui,
Modified: branches/modular_build/jmx/tests/org.jboss.tools.jmx.core.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/jmx/tests/org.jboss.tools.jmx.core.test/META-INF/MANIFEST.MF 2010-04-08 18:12:18 UTC (rev 21360)
+++ branches/modular_build/jmx/tests/org.jboss.tools.jmx.core.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %BundleName
Bundle-SymbolicName: org.jboss.tools.jmx.core.test
-Bundle-Version: 1.0.1.qualifier
+Bundle-Version: 1.1.0.qualifier
Bundle-Activator: org.jboss.tools.jmx.core.test.JMXTestPlugin
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/modular_build/jmx/tests/org.jboss.tools.jmx.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/jmx/tests/org.jboss.tools.jmx.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:12:18 UTC (rev 21360)
+++ branches/modular_build/jmx/tests/org.jboss.tools.jmx.ui.test/META-INF/MANIFEST.MF 2010-04-08 18:39:09 UTC (rev 21361)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.f0
Bundle-SymbolicName: org.jboss.tools.jmx.ui.test
-Bundle-Version: 1.0.1.qualifier
+Bundle-Version: 1.1.0.qualifier
Fragment-Host: org.jboss.tools.jmx.ui
Require-Bundle: org.junit
Bundle-RequiredExecutionEnvironment: J2SE-1.5
14 years, 9 months
JBoss Tools SVN: r21360 - in branches/hibernatetools-multiversion/hibernatetools: plugins/org.hibernate.mediator/src/org/hibernate/mediator/base and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-04-08 14:12:18 -0400 (Thu, 08 Apr 2010)
New Revision: 21360
Added:
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/CriteriaStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HQLQueryPlanStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HibernateProxyHelperStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryTranslatorStub.java
Modified:
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/.classpath
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/base/HObject.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ClassMetadataStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ConfigurationStubFactory.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionFactoryStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/TypeStubFactory.java
branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/hbmexporter/HbmExporterTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6070 - create/invoke by string name - for all classes 2
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/.classpath
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/.classpath 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/.classpath 2010-04-08 18:12:18 UTC (rev 21360)
@@ -39,6 +39,6 @@
<classpathentry kind="lib" path="lib/tools/hibernate-tools.jar" sourcepath="C:/RHDS/hibernate/branches/Branch_3_2/HibernateExt_without_changes"/>
<classpathentry kind="lib" path="lib/tools/jtidy-r8-20060801.jar"/>
<classpathentry kind="lib" path="lib/hibernate/hibernate3.jar" sourcepath="D:/Temp/_hibernate/hibernate-core-3.3.2.GA-sources.jar "/>
- <classpathentry kind="lib" path="lib/bsh-core-2.0b4.jar"/>
+ <classpathentry kind="lib" path="lib/bsh-core-2.0b4.jar" sourcepath="D:/Temp/_hibernate/bsh/src/BeanShell/src/bsh.zip"/>
<classpathentry kind="output" path="build/eclipse"/>
</classpath>
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/base/HObject.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/base/HObject.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/base/HObject.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -179,6 +179,10 @@
public static Object newInstance(final String cn, Object param0, Object param1, Object param2) {
return newInstance(cn, new HObject[] { ho(param0), ho(param1), ho(param2) });
}
+
+ public static Object newInstance(final String cn, Object param0, Object param1, Object param2, Object param3) {
+ return newInstance(cn, new HObject[] { ho(param0), ho(param1), ho(param2), ho(param3) });
+ }
protected static HObject ho(Object obj) {
if (obj instanceof HObject) {
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ClassMetadataStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ClassMetadataStub.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ClassMetadataStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -1,5 +1,7 @@
package org.hibernate.mediator.stubs;
+import java.io.Serializable;
+
import org.hibernate.mediator.base.HObject;
public class ClassMetadataStub extends HObject {
@@ -42,4 +44,12 @@
return (Class<?>)invoke(mn(), pojo);
}
+ public boolean hasIdentifierProperty() {
+ return (Boolean)invoke(mn());
+ }
+
+ public Serializable getIdentifier(Object entity, EntityModeStub pojo) {
+ return (Serializable)invoke(mn(), entity, pojo);
+ }
+
}
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ConfigurationStubFactory.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ConfigurationStubFactory.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/ConfigurationStubFactory.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -37,9 +37,6 @@
private ConsoleConfigurationPreferences prefs = null;
public ConfigurationStubFactory(ConsoleConfigurationPreferences prefs) {
- if (prefs == null) {
- throw new HibernateConsoleRuntimeException(Messages.Stub_create_null_stub_prohibit);
- }
this.prefs = prefs;
}
@@ -52,7 +49,7 @@
}
public ConfigurationStub createConfiguration(ConfigurationStub localCfg, boolean includeMappings) {
- Properties properties = prefs.getProperties();
+ Properties properties = prefs != null ? prefs.getProperties() : null;
if (properties != null) {
// to fix: JBIDE-5839 - setup this property: false is default value
// to make hibernate tools diff hibernate versions compatible
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/CriteriaStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/CriteriaStub.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/CriteriaStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -0,0 +1,22 @@
+package org.hibernate.mediator.stubs;
+
+import java.util.List;
+
+import org.hibernate.mediator.base.HObject;
+
+public class CriteriaStub extends HObject {
+ public static final String CL = "org.hibernate.Criteria"; //$NON-NLS-1$
+
+ protected CriteriaStub(Object criteria) {
+ super(criteria, CL);
+ }
+
+ public void setMaxResults(int intValue) {
+ invoke(mn(), intValue);
+ }
+
+ @SuppressWarnings("unchecked")
+ public List<Object> list() {
+ return (List<Object>)invoke(mn());
+ }
+}
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HQLQueryPlanStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HQLQueryPlanStub.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HQLQueryPlanStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -0,0 +1,27 @@
+package org.hibernate.mediator.stubs;
+
+import java.util.Map;
+
+import org.hibernate.mediator.base.HObject;
+
+public class HQLQueryPlanStub extends HObject {
+ public static final String CL = "org.hibernate.engine.query.HQLQueryPlan"; //$NON-NLS-1$
+
+ protected HQLQueryPlanStub(Object hqlQueryPlan) {
+ super(hqlQueryPlan, CL);
+ }
+
+ @SuppressWarnings("unchecked")
+ public static HQLQueryPlanStub newInstance(String hql, boolean shallow, Map enabledFilters, SessionFactoryStub factory) {
+ return new HQLQueryPlanStub(HObject.newInstance(CL, hql, shallow, enabledFilters, factory));
+ }
+
+ public QueryTranslatorStub[] getTranslators() {
+ Object[] queryTranslators = (Object[])invoke(mn());
+ QueryTranslatorStub[] res = new QueryTranslatorStub[queryTranslators.length];
+ for (int i = 0; i < queryTranslators.length; i++) {
+ res[i] = new QueryTranslatorStub(queryTranslators[i]);
+ }
+ return res;
+ }
+}
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HibernateProxyHelperStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HibernateProxyHelperStub.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/HibernateProxyHelperStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -0,0 +1,11 @@
+package org.hibernate.mediator.stubs;
+
+import org.hibernate.mediator.base.HObject;
+
+public class HibernateProxyHelperStub {
+ public static final String CL = "org.hibernate.proxy.HibernateProxyHelper"; //$NON-NLS-1$
+
+ public static Class<?> getClassWithoutInitializingProxy(Object object) {
+ return (Class<?>)HObject.invokeStaticMethod(CL, "getClassWithoutInitializingProxy"); //$NON-NLS-1$
+ }
+}
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryStub.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -0,0 +1,44 @@
+package org.hibernate.mediator.stubs;
+
+import java.util.List;
+
+import org.hibernate.mediator.base.HObject;
+
+public class QueryStub extends HObject {
+ public static final String CL = "org.hibernate.Query"; //$NON-NLS-1$
+
+ protected QueryStub(Object query) {
+ super(query, CL);
+ }
+
+ public String[] getReturnAliases() {
+ return (String[])invoke(mn());
+ }
+
+ public TypeStub[] getReturnTypes() {
+ Object[] returnTypes = (Object[])invoke(mn());
+ TypeStub[] res = new TypeStub[returnTypes.length];
+ for (int i = 0; i < returnTypes.length; i++) {
+ res[i] = TypeStubFactory.createTypeStub(returnTypes[i]);
+ }
+ return null;
+ }
+
+ public void setMaxResults(int intValue) {
+ invoke(mn(), intValue);
+ }
+
+ public void setParameter(int position, Object val, TypeStub type) {
+ invoke(mn(), position, val, type);
+ }
+
+ public void setParameter(String name, Object val, TypeStub type) {
+ invoke(mn(), name, val, type);
+ }
+
+ @SuppressWarnings("unchecked")
+ public List<Object> list() {
+ return (List<Object>)invoke(mn());
+ }
+
+}
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryTranslatorStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryTranslatorStub.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/QueryTranslatorStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -0,0 +1,37 @@
+package org.hibernate.mediator.stubs;
+
+import java.util.List;
+import java.util.Set;
+
+import org.hibernate.mediator.base.HObject;
+
+public class QueryTranslatorStub extends HObject {
+ public static final String CL = "org.hibernate.hql.QueryTranslator"; //$NON-NLS-1$
+
+ protected QueryTranslatorStub(Object queryTranslator) {
+ super(queryTranslator, CL);
+ }
+
+ public boolean isManipulationStatement() {
+ return (Boolean)invoke(mn());
+ }
+
+ @SuppressWarnings("unchecked")
+ public Set<Object> getQuerySpaces() {
+ return (Set<Object>)invoke(mn());
+ }
+
+ public TypeStub[] getReturnTypes() {
+ Object[] returnTypes = (Object[])invoke(mn());
+ TypeStub[] res = new TypeStub[returnTypes.length];
+ for (int i = 0; i < returnTypes.length; i++) {
+ res[i] = TypeStubFactory.createTypeStub(returnTypes[i]);
+ }
+ return res;
+ }
+
+ @SuppressWarnings("unchecked")
+ public List<String> collectSqlStrings() {
+ return (List<String>)invoke(mn());
+ }
+}
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionFactoryStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionFactoryStub.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionFactoryStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -7,16 +7,11 @@
import java.util.List;
import java.util.Map;
-import org.hibernate.engine.query.HQLQueryPlan;
-import org.hibernate.hql.QueryTranslator;
-import org.hibernate.impl.SessionFactoryImpl;
import org.hibernate.mediator.Messages;
import org.hibernate.mediator.base.HObject;
import org.hibernate.mediator.util.ELTransformer;
import org.hibernate.mediator.util.QLFormatHelper;
-import org.hibernate.type.Type;
-//TODO: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
public class SessionFactoryStub extends HObject {
public static final String CL = "org.hibernate.SessionFactory"; //$NON-NLS-1$
@@ -94,21 +89,18 @@
if (allowEL) {
query = ELTransformer.removeEL(query);
}
- new HQLQueryPlan(query, false, Collections.EMPTY_MAP,
- (SessionFactoryImpl) Obj());
+ HQLQueryPlanStub.newInstance(query, false, Collections.EMPTY_MAP, this);
}
}
public String generateSQL(String query) {
try {
- SessionFactoryImpl sfimpl = (SessionFactoryImpl) Obj(); // hack - to get to the
- // actual queries..
StringBuffer str = new StringBuffer(256);
- HQLQueryPlan plan = new HQLQueryPlan(query, false, Collections.EMPTY_MAP, sfimpl);
+ HQLQueryPlanStub plan = HQLQueryPlanStub.newInstance(query, false, Collections.EMPTY_MAP, this);
- QueryTranslator[] translators = plan.getTranslators();
+ QueryTranslatorStub[] translators = plan.getTranslators();
for (int i = 0; i < translators.length; i++) {
- QueryTranslator translator = translators[i];
+ QueryTranslatorStub translator = translators[i];
if (translator.isManipulationStatement()) {
str.append(Messages.DynamicSQLPreviewView_manipulation_of + i
+ ":"); //$NON-NLS-1$
@@ -121,10 +113,10 @@
}
} else {
- Type[] returnTypes = translator.getReturnTypes();
+ TypeStub[] returnTypes = translator.getReturnTypes();
str.append(i + ": "); //$NON-NLS-1$
for (int j = 0; j < returnTypes.length; j++) {
- Type returnType = returnTypes[j];
+ TypeStub returnType = returnTypes[j];
str.append(returnType.getName());
if (j < returnTypes.length - 1) {
str.append(", ");} //$NON-NLS-1$
@@ -159,4 +151,16 @@
return msgs.toString();
}
}
+
+ public ClassMetadataStub getClassMetadata(String entityName) {
+ return new ClassMetadataStub(invoke(mn(), entityName));
+ }
+
+ public CollectionMetadataStub getCollectionMetadata(String roleName) {
+ return new CollectionMetadataStub(invoke(mn(), roleName));
+ }
+
+ public ClassMetadataStub getClassMetadata(Class<?> classWithoutInitializingProxy) {
+ return new ClassMetadataStub(invoke(mn(), classWithoutInitializingProxy));
+ }
}
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionStub.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/SessionStub.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -6,30 +6,18 @@
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
-import java.util.Map;
import org.eclipse.ui.views.properties.IPropertyDescriptor;
import org.eclipse.ui.views.properties.PropertyDescriptor;
-import org.hibernate.Criteria;
-import org.hibernate.EntityMode;
-import org.hibernate.Query;
-import org.hibernate.HibernateException;
-import org.hibernate.SessionFactory;
-import org.hibernate.engine.SessionImplementor;
import org.hibernate.mediator.Messages;
import org.hibernate.mediator.ConsoleQueryParameter;
import org.hibernate.mediator.QueryInputModel;
import org.hibernate.mediator.base.HObject;
import org.hibernate.mediator.util.CollectionPropertySource;
-import org.hibernate.metadata.ClassMetadata;
-import org.hibernate.metadata.CollectionMetadata;
-import org.hibernate.proxy.HibernateProxyHelper;
-import org.hibernate.type.Type;
import bsh.EvalError;
import bsh.Interpreter;
-// TODO: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
public class SessionStub extends HObject {
public static final String CL = "org.hibernate.Session"; //$NON-NLS-1$
@@ -46,7 +34,7 @@
if (isOpen()) {
try {
invoke(mn());
- } catch (HibernateException e) {
+ } catch (Exception e) {
exceptions.add(e);
}
}
@@ -57,57 +45,39 @@
return res;
}
+ public SessionFactoryStub getSessionFactory() {
+ return new SessionFactoryStub(invoke(mn()));
+ }
+
public boolean hasMetaData(Object obj) {
- SessionFactory sf = (SessionFactory)invoke("getSessionFactory"); //$NON-NLS-1$
+ SessionFactoryStub sf = getSessionFactory();
boolean res = sf.getClassMetadata(
- HibernateProxyHelper.getClassWithoutInitializingProxy(obj)) != null;
+ HibernateProxyHelperStub.getClassWithoutInitializingProxy(obj)) != null;
return res;
}
- public boolean hasMetaData(Object obj, List<Throwable> exceptions) {
- boolean res = false;
- try {
- SessionFactory sf = (SessionFactory)invoke("getSessionFactory"); //$NON-NLS-1$
- res = sf.getClassMetadata(
- HibernateProxyHelper.getClassWithoutInitializingProxy(obj)) != null;
- } catch (HibernateException e) {
- exceptions.add(e);
- }
- return res;
- }
-
public String getEntityName(Object obj) {
String res = (String)invoke(mn(), obj);
return res;
}
-
- public String getEntityName(Object obj, List<Throwable> exceptions) {
- String res = null;
- try {
- res = (String)invoke(mn(), obj);
- } catch (HibernateException e) {
- exceptions.add(e);
- }
- return res;
- }
public Object getPropertyValue(Object obj, Object id) {
Object pv = null;
- SessionFactory sf = (SessionFactory)invoke("getSessionFactory"); //$NON-NLS-1$
- ClassMetadata classMetadata;
+ SessionFactoryStub sf = getSessionFactory();
+ ClassMetadataStub classMetadata;
if (isOpen()) {
classMetadata = sf.getClassMetadata(getEntityName(obj));
} else {
- classMetadata = sf.getClassMetadata(HibernateProxyHelper
+ classMetadata = sf.getClassMetadata(HibernateProxyHelperStub
.getClassWithoutInitializingProxy(obj));
}
if (id.equals(classMetadata.getIdentifierPropertyName())) {
- pv = classMetadata.getIdentifier(obj, EntityMode.POJO);
+ pv = classMetadata.getIdentifier(obj, EntityModeStub.POJO);
} else {
- pv = classMetadata.getPropertyValue(obj, (String) id, EntityMode.POJO);
+ pv = classMetadata.getPropertyValue(obj, (String) id, EntityModeStub.POJO);
}
if (pv instanceof Collection<?>) {
- CollectionMetadata collectionMetadata = sf.getCollectionMetadata(classMetadata
+ CollectionMetadataStub collectionMetadata = sf.getCollectionMetadata(classMetadata
.getEntityName()
+ "." + id); //$NON-NLS-1$
if (collectionMetadata != null) {
@@ -118,18 +88,18 @@
}
public IPropertyDescriptor[] getPropertyDescriptors(final Object obj) {
- SessionFactory sf = (SessionFactory)invoke("getSessionFactory"); //$NON-NLS-1$
- ClassMetadata classMetadata;
+ SessionFactoryStub sf = getSessionFactory();
+ ClassMetadataStub classMetadata;
if (isOpen()) {
classMetadata = sf.getClassMetadata(getEntityName(obj));
} else {
- classMetadata = sf.getClassMetadata(HibernateProxyHelper
+ classMetadata = sf.getClassMetadata(HibernateProxyHelperStub
.getClassWithoutInitializingProxy(obj));
}
return initializePropertyDescriptors(classMetadata);
}
- protected IPropertyDescriptor[] initializePropertyDescriptors(ClassMetadata classMetadata) {
+ protected IPropertyDescriptor[] initializePropertyDescriptors(ClassMetadataStub classMetadata) {
String[] propertyNames = classMetadata.getPropertyNames();
int length = propertyNames.length;
@@ -173,8 +143,8 @@
long startTime = System.currentTimeMillis();
Object o = ip.eval(criteriaCode);
// ugly! TODO: make un-ugly!
- if (o instanceof Criteria) {
- Criteria criteria = (Criteria) o;
+ if (CriteriaStub.CL.equals(o.getClass().getName())) {
+ CriteriaStub criteria = new CriteriaStub(o);
if (maxResults != null) {
criteria.setMaxResults(maxResults.intValue());
}
@@ -191,23 +161,21 @@
queryTime.setTime(System.currentTimeMillis() - startTime);
} catch (EvalError e) {
exceptions.add(e);
- } catch (HibernateException e) {
+ } catch (Exception e) {
exceptions.add(e);
}
return res;
}
- @SuppressWarnings("unchecked")
- private Interpreter setupInterpreter() throws EvalError, HibernateException {
+ private Interpreter setupInterpreter() throws EvalError {
Interpreter interpreter = new Interpreter();
interpreter.set("session", Obj()); //$NON-NLS-1$
interpreter.setClassLoader(Thread.currentThread().getContextClassLoader());
- SessionImplementor si = (SessionImplementor)Obj();
- Map<String, ?> map = si.getFactory().getAllClassMetadata();
+ List<String> classes = getSessionFactory().getClasses();
- Iterator<String> iterator = map.keySet().iterator();
+ Iterator<String> iterator = classes.iterator();
// TODO: filter non classes.
String imports = ""; //$NON-NLS-1$
while (iterator.hasNext()) {
@@ -226,11 +194,9 @@
public List<Object> evalQuery(String queryString, QueryInputModel model, Time queryTime,
List<Throwable> exceptions) {
List<Object> res = Collections.emptyList();
- Query query = null;
+ QueryStub query = null;
try {
- query = (Query)invoke("createQuery", queryString); //$NON-NLS-1$
- } catch (HibernateException e) {
- exceptions.add(e);
+ query = createQuery(queryString);
} catch (Exception e) {
exceptions.add(e);
}
@@ -248,15 +214,15 @@
Object element = iter.next();
res.add(element);
}
- } catch (HibernateException e) {
- exceptions.add(e);
} catch (IllegalArgumentException e) {
exceptions.add(e);
+ } catch (Exception e) {
+ exceptions.add(e);
}
return res;
}
- private void setupParameters(Query query, QueryInputModel model) {
+ private void setupParameters(QueryStub query, QueryInputModel model) {
if (model.getMaxResults() != null) {
query.setMaxResults(model.getMaxResults().intValue());
}
@@ -265,9 +231,9 @@
ConsoleQueryParameter parameter = qp[i];
try {
int pos = Integer.parseInt(parameter.getName());
- query.setParameter(pos, calcValue(parameter), (Type)parameter.getType().Obj());
+ query.setParameter(pos, calcValue(parameter), parameter.getType());
} catch (NumberFormatException nfe) {
- query.setParameter(parameter.getName(), calcValue(parameter), (Type)parameter.getType().Obj());
+ query.setParameter(parameter.getName(), calcValue(parameter), parameter.getType());
}
}
}
@@ -275,15 +241,17 @@
private Object calcValue(ConsoleQueryParameter parameter) {
return parameter.getValueForQuery();
}
+
+ public QueryStub createQuery(String queryString) {
+ return new QueryStub(invoke(mn(), queryString));
+ }
public List<String> evalQueryPathNames(String queryString, QueryInputModel model,
List<Throwable> exceptions) {
List<String> res = Collections.emptyList();
- Query query = null;
+ QueryStub query = null;
try {
- query = (Query)invoke("createQuery", queryString); //$NON-NLS-1$
- } catch (HibernateException e) {
- exceptions.add(e);
+ query = createQuery(queryString);
} catch (Exception e) {
exceptions.add(e);
}
@@ -298,16 +266,16 @@
// ignore - http://opensource.atlassian.com/projects/hibernate/browse/HHH-2188
}
if (returnAliases == null) {
- Type[] t;
+ TypeStub[] t;
try {
t = query.getReturnTypes();
} catch (NullPointerException npe) {
- t = new Type[] { null };
+ t = new TypeStub[] { null };
// ignore - http://opensource.atlassian.com/projects/hibernate/browse/HHH-2188
}
res = new ArrayList<String>(t.length);
for (int i = 0; i < t.length; i++) {
- Type type = t[i];
+ TypeStub type = t[i];
if (type == null) {
res.add("<multiple types>"); //$NON-NLS-1$
} else {
@@ -321,7 +289,7 @@
res.add(t[i]);
}
}
- } catch (HibernateException e) {
+ } catch (Exception e) {
exceptions.add(e);
}
return res;
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/TypeStubFactory.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/TypeStubFactory.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.mediator/src/org/hibernate/mediator/stubs/TypeStubFactory.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -15,6 +15,12 @@
// return new TypeStub(value);
} else if (ClassHelper.isClassOrOffspring(cl, EntityTypeStub.CL)) {
return new EntityTypeStub(value);
+ } else if (ClassHelper.isClassOrOffspring(cl, IntegerTypeStub.CL)) {
+ return new IntegerTypeStub(value);
+ } else if (ClassHelper.isClassOrOffspring(cl, PrimitiveTypeStub.CL)) {
+ return new PrimitiveTypeStub(value);
+ } else if (ClassHelper.isClassOrOffspring(cl, ImmutableTypeStub.CL)) {
+ return new ImmutableTypeStub(value);
} else if (ClassHelper.isClassOrOffspring(cl, NullableTypeStub.CL)) {
return new NullableTypeStub(value);
}
Modified: branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/hbmexporter/HbmExporterTest.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/hbmexporter/HbmExporterTest.java 2010-04-08 17:37:44 UTC (rev 21359)
+++ branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/hbmexporter/HbmExporterTest.java 2010-04-08 18:12:18 UTC (rev 21360)
@@ -166,7 +166,7 @@
value.getClass()==ListStub.class);
ListStub list = (ListStub)value;
assertTrue(list.getElement() instanceof OneToManyStub);
- assertTrue(list.getCollectionTable().equals(b.getTable()));
+ assertTrue(list.getCollectionTable().Obj().equals(b.getTable().Obj()));
assertNotNull(list.getIndex());
assertNotNull(list.getKey());
}
@@ -184,7 +184,7 @@
value.getClass()==SetStub.class);
SetStub set = (SetStub)value;
assertTrue(set.getElement() instanceof OneToManyStub);
- assertTrue(set.getCollectionTable().equals(b.getTable()));
+ assertTrue(set.getCollectionTable().Obj().equals(b.getTable().Obj()));
assertNotNull(set.getKey());
}
@@ -201,7 +201,7 @@
value.getClass()==MapStub.class);
MapStub map = (MapStub)value;
assertTrue(map.getElement() instanceof OneToManyStub);
- assertTrue(map.getCollectionTable().equals(b.getTable()));
+ assertTrue(map.getCollectionTable().Obj().equals(b.getTable().Obj()));
assertNotNull(map.getKey());
assertEquals("string", map.getKey().getType().getName()); //$NON-NLS-1$
}
14 years, 9 months
JBoss Tools SVN: r21359 - in trunk/cdi: tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-04-08 13:37:44 -0400 (Thu, 08 Apr 2010)
New Revision: 21359
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IParameter.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IScoped.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreTestSetup.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5808
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -37,11 +37,7 @@
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.ITypeParameter;
-import org.jboss.tools.cdi.internal.core.impl.CDIAnnotationElement;
-import org.jboss.tools.cdi.internal.core.impl.ParametedType;
import org.jboss.tools.cdi.internal.core.impl.definition.AnnotationHelper;
-import org.jboss.tools.cdi.internal.core.impl.definition.ParametedTypeFactory;
import org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate;
import org.jboss.tools.cdi.internal.core.scanner.FileSet;
import org.jboss.tools.common.EclipseUtil;
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -12,9 +12,7 @@
import java.io.File;
import java.io.IOException;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
import org.eclipse.core.resources.ICommand;
import org.eclipse.core.resources.IProject;
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IParameter.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IParameter.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IParameter.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -12,8 +12,6 @@
import java.util.Set;
-import org.eclipse.jdt.core.IType;
-
/**
* Represents a parameter of a method which is a member of bean class.
*
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IScoped.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IScoped.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IScoped.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -12,8 +12,6 @@
import java.util.Set;
-import org.eclipse.jdt.core.IType;
-
/**
* This interface if common protocol to have access to scoped of bean class or
* producer method or field or stereotype.
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -10,9 +10,11 @@
******************************************************************************/
package org.jboss.tools.cdi.core.test;
+import junit.extensions.TestSetup;
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.eclipse.jdt.internal.core.JavaModelManager;
import org.jboss.tools.cdi.core.test.tck.NamedBeanRefactoringTest;
import org.jboss.tools.tests.AbstractPluginsLoadTest;
@@ -24,8 +26,9 @@
public static Test suite() {
TestSuite suite = new TestSuite("CDI Core Tests");
suite.addTest(new CDICoreTestSetup(CDICoreTestSuite.suite()));
- suite.addTest(new NamedBeanRefactoringTest().suite());
- return suite;
+ suite.addTest(NamedBeanRefactoringTest.suite());
+
+ return new DisableJavaIndexingSetup(suite);
}
public class CDIPluginsLoadTest extends AbstractPluginsLoadTest {
@@ -33,4 +36,21 @@
testBundlesAreLoadedFor("org.jboss.tools.cdi.feature");
}
}
+
+ public static class DisableJavaIndexingSetup extends TestSetup {
+
+ public DisableJavaIndexingSetup(Test test) {
+ super(test);
+ }
+
+ @Override
+ protected void setUp() throws Exception {
+ JavaModelManager.getIndexManager().disable();
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ JavaModelManager.getIndexManager().enable();
+ }
+ }
}
\ No newline at end of file
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreTestSetup.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreTestSetup.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreTestSetup.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -14,7 +14,6 @@
import junit.framework.Test;
import org.eclipse.core.resources.IProject;
-import org.eclipse.jdt.internal.core.JavaModelManager;
import org.jboss.tools.cdi.core.test.tck.TCKTest;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.ResourcesUtils;
@@ -32,7 +31,6 @@
@Override
protected void setUp() throws Exception {
- JavaModelManager.getIndexManager().disable();
tckProject = TCKTest.importPreparedProject("/");
}
@@ -43,6 +41,5 @@
tckProject.delete(true, true, null);
JobUtils.waitForIdle();
ResourcesUtils.setBuildAutomatically(saveAutoBuild);
- JavaModelManager.getIndexManager().enable();
}
}
\ No newline at end of file
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java 2010-04-08 16:30:42 UTC (rev 21358)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java 2010-04-08 17:37:44 UTC (rev 21359)
@@ -23,26 +23,27 @@
private static final String FILE_NAME3 = "WebContent/HomePage.xhtml";
private static final String FILE_NAME4 = "WebContent/index.jsp";
static IProject project;
-
- public NamedBeanRefactoringTest(){
+
+ public NamedBeanRefactoringTest() {
super("Named Bean Refactoring Test");
}
-
+
public static Test suite() {
return new TestSuite(NamedBeanRefactoringTest.class);
}
- public void testNamedBeanRename() throws Exception {
+ public void testNamedBeanRename() throws Exception {
IProject project = TCKTest.importPreparedProject(PROJECT_NAME);
doTest(project);
TCKTest.cleanProject(PROJECT_NAME);
}
-
+
public void doTest(IProject project) throws CoreException {
final String newName = "abcd";
ArrayList<TestChangeStructure> list = new ArrayList<TestChangeStructure>();
- TestChangeStructure structure = new TestChangeStructure(project.getProject(), FILE_NAME1);
+ TestChangeStructure structure = new TestChangeStructure(project
+ .getProject(), FILE_NAME1);
TestTextChange change = new TestTextChange(324, 4, newName);
structure.addTextChange(change);
list.add(structure);
@@ -63,36 +64,33 @@
change = new TestTextChange(293, 4, newName);
structure.addTextChange(change);
list.add(structure);
-
+
IFile sourceFile = project.getProject().getFile(FILE_NAME1);
-
+
IBean bean = getBean(sourceFile, "game");
-
+ assertNotNull("Can't get the bean.", bean);
+
RenameNamedBeanProcessor processor = new RenameNamedBeanProcessor(bean);
processor.setNewName(newName);
checkRename(processor, list);
}
-
- private IBean getBean(IFile file, String name){
+
+ private IBean getBean(IFile file, String name) {
CDICoreNature cdiNature = CDICorePlugin.getCDI(file.getProject(), true);
- if(cdiNature == null)
- return null;
-
+ assertNotNull("Can't get CDI nature.", cdiNature);
+
ICDIProject cdiProject = cdiNature.getDelegate();
-
- if(cdiProject == null)
- return null;
-
+
+ assertNotNull("Can't get CDI project.", cdiProject);
+
Set<IBean> beans = cdiProject.getBeans(file.getFullPath());
-
- for(IBean bean : beans){
- if(bean.getName() != null && name.equals(bean.getName()))
+
+ for (IBean bean : beans) {
+ if (bean.getName() != null && name.equals(bean.getName())) {
return bean;
-
+ }
}
return null;
}
-
-
-}
+}
\ No newline at end of file
14 years, 9 months
JBoss Tools SVN: r21358 - in trunk/cdi/tests/org.jboss.tools.cdi.core.test: resources/tck/tests and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-04-08 12:30:42 -0400 (Thu, 08 Apr 2010)
New Revision: 21358
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Game.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Generator.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/HomePage.xhtml
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/MaxNumber.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Random.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/index.jsp
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5927
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2010-04-08 16:28:17 UTC (rev 21357)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2010-04-08 16:30:42 UTC (rev 21358)
@@ -14,7 +14,8 @@
org.eclipse.ui,
org.eclipse.jdt.core,
org.jboss.tools.common.el.core,
- org.jboss.tools.common.model.ui
+ org.jboss.tools.common.model.ui,
+ org.eclipse.ltk.core.refactoring;bundle-version="3.5.0"
Export-Package: org.jboss.tools.cdi.core.test,
org.jboss.tools.cdi.core.test.tck
Bundle-ClassPath: cdi-core-test.jar
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Game.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Game.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Game.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,97 @@
+package org.jboss.jsr299.tck.tests.refactoring;
+
+import java.io.Serializable;
+
+//import javax.annotation.PostConstruct;
+import javax.enterprise.context.SessionScoped;
+import javax.enterprise.inject.Instance;
+import javax.inject.Inject;
+import javax.inject.Named;
+import javax.naming.NamingException;
+
+@SessionScoped
+@Named
+public class Game implements Serializable
+{
+ private static final long serialVersionUID = 12L;
+
+ @Named("myInner")
+ public static class MyInner {
+
+ }
+ private int number;
+ private int guess;
+ private int smallest;
+ private int biggest;
+ private int remainingGuesses;
+
+ @Inject @MaxNumber private int maxNumber;
+
+ @Inject private int[] maxNumber2;
+
+ @Inject Generator[] generator;
+
+ @Inject @Random Instance<Integer> randomNumber;
+
+ public Game() throws NamingException {}
+
+ public int getNumber()
+ {
+ return number + 9;
+ }
+
+ public int getGuess()
+ {
+ return guess;
+ }
+
+ public void setGuess(int guess)
+ {
+ String s = "#{another.kkk}";
+ this.guess = guess;
+ }
+
+ public int getSmallest()
+ {
+ return smallest;
+ }
+
+ public int getBiggest()
+ {
+ return biggest;
+ }
+
+ public int getRemainingGuesses()
+ {
+ return remainingGuesses;
+ }
+
+ public boolean check()
+ {
+ if (guess>number)
+ {
+ biggest = guess - 1;
+ }
+ if (guess<number)
+ {
+ smallest = guess + 1;
+ }
+ remainingGuesses--;
+ return (guess == number);
+ }
+
+// @PostConstruct
+ public void reset()
+ {
+ this.smallest = 0;
+ this.guess = 0;
+ this.remainingGuesses = 10;
+ this.biggest = maxNumber;
+ this.number = randomNumber.get();
+ }
+}
+
+@Named("myLocal")
+class MyLocal {
+
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Game.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Generator.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Generator.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Generator.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,38 @@
+package org.jboss.jsr299.tck.tests.refactoring;
+
+import java.io.Serializable;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.inject.Produces;
+import javax.inject.Named;
+
+@ApplicationScoped
+public class Generator implements Serializable
+{
+ private static final long serialVersionUID = -7213673465118041882L;
+
+ private java.util.Random random = new java.util.Random(System.currentTimeMillis());
+
+ private int maxNumber = 100;
+
+ java.util.Random getRandom()
+ {
+ String s = "#{game}";
+ return random;
+ }
+
+ @Produces @Random int next()
+ {
+ return getRandom().nextInt(maxNumber);
+ }
+
+ @Produces @MaxNumber int getMaxNumber()
+ {
+ return maxNumber;
+ }
+}
+
+@Named("another")
+class AnotherOne {
+
+}
\ No newline at end of file
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Generator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/HomePage.xhtml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/HomePage.xhtml (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/HomePage.xhtml 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,28 @@
+<html xmlns:h="http://java.sun.com/jsf/html">
+ <head>
+ <title>Wicket Weld example</title>
+ </head>
+ <body>
+ <h1>Guess a number...</h1>
+ <form wicket:id="NumberGuessMain">
+ <div style="color: red">
+ <span wicket:id="messages#{myInner}"/>
+ </div>
+
+ <div wicket:id="prompt">
+ I'm thinking of a number between 0 and 100. You have 10 guesses.
+ </div>
+
+ <div>
+ <span wicket:id="guessLabel">Your guess:</span>
+ <input wicket:id="inputGuess" type="text" size="3"/>
+ <input wicket:id="GuessButton" type="submit" value="Guess"/>
+ <input wicket:id="RestartButton" type="submit" value="Reset"/>
+ <h:commandButton id="GuessButton" value="Guess" action="#{game.check}" disabled="false"/>
+ </div>
+ <div>
+ <h:commandButton id="RestartButton" value="Reset" action="#{game.reset}" immediate="true"/>
+ </div>
+ </form>
+ </body>
+</html>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/HomePage.xhtml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/MaxNumber.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/MaxNumber.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/MaxNumber.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,21 @@
+package org.jboss.jsr299.tck.tests.refactoring;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+@Target( { TYPE, METHOD, PARAMETER, FIELD })
+@Retention(RUNTIME)
+@Documented
+@Qualifier
+public @interface MaxNumber
+{
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/MaxNumber.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Random.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Random.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Random.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,21 @@
+package org.jboss.jsr299.tck.tests.refactoring;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+@Target( { TYPE, METHOD, PARAMETER, FIELD })
+@Retention(RUNTIME)
+@Documented
+@Qualifier
+public @interface Random
+{
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/Random.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/index.jsp
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/index.jsp (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/index.jsp 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,19 @@
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+
+<f:loadBundle var="Message" basename="demo.Messages" />
+
+<html>
+ <head>
+ <title>Hello!</title>
+ </head>
+
+ <body>
+ <f:view>
+ <h3>
+ <h:outputText value="#{game.biggest}" />!
+ </h3>
+ </f:view>
+ </body>
+
+</html>
\ No newline at end of file
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/refactoring/index.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2010-04-08 16:28:17 UTC (rev 21357)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -13,6 +13,7 @@
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.jboss.tools.cdi.core.test.tck.NamedBeanRefactoringTest;
import org.jboss.tools.tests.AbstractPluginsLoadTest;
/**
@@ -23,6 +24,7 @@
public static Test suite() {
TestSuite suite = new TestSuite("CDI Core Tests");
suite.addTest(new CDICoreTestSetup(CDICoreTestSuite.suite()));
+ suite.addTest(new NamedBeanRefactoringTest().suite());
return suite;
}
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -0,0 +1,98 @@
+package org.jboss.tools.cdi.core.test.tck;
+
+import java.util.ArrayList;
+import java.util.Set;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.jboss.tools.cdi.core.CDICoreNature;
+import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.cdi.core.IBean;
+import org.jboss.tools.cdi.core.ICDIProject;
+import org.jboss.tools.cdi.internal.core.refactoring.RenameNamedBeanProcessor;
+import org.jboss.tools.tests.AbstractRefactorTest;
+
+public class NamedBeanRefactoringTest extends AbstractRefactorTest {
+ private static final String PROJECT_NAME = "/tests/refactoring";
+ private static final String FILE_NAME1 = "JavaSource/org/jboss/jsr299/tck/tests/refactoring/Game.java";
+ private static final String FILE_NAME2 = "JavaSource/org/jboss/jsr299/tck/tests/refactoring/Generator.java";
+ private static final String FILE_NAME3 = "WebContent/HomePage.xhtml";
+ private static final String FILE_NAME4 = "WebContent/index.jsp";
+ static IProject project;
+
+ public NamedBeanRefactoringTest(){
+ super("Named Bean Refactoring Test");
+ }
+
+ public static Test suite() {
+ return new TestSuite(NamedBeanRefactoringTest.class);
+ }
+
+ public void testNamedBeanRename() throws Exception {
+ IProject project = TCKTest.importPreparedProject(PROJECT_NAME);
+ doTest(project);
+ TCKTest.cleanProject(PROJECT_NAME);
+ }
+
+ public void doTest(IProject project) throws CoreException {
+ final String newName = "abcd";
+ ArrayList<TestChangeStructure> list = new ArrayList<TestChangeStructure>();
+
+ TestChangeStructure structure = new TestChangeStructure(project.getProject(), FILE_NAME1);
+ TestTextChange change = new TestTextChange(324, 4, newName);
+ structure.addTextChange(change);
+ list.add(structure);
+
+ structure = new TestChangeStructure(project, FILE_NAME2);
+ change = new TestTextChange(522, 4, newName);
+ structure.addTextChange(change);
+ list.add(structure);
+
+ structure = new TestChangeStructure(project, FILE_NAME3);
+ change = new TestTextChange(789, 4, newName);
+ structure.addTextChange(change);
+ change = new TestTextChange(923, 4, newName);
+ structure.addTextChange(change);
+ list.add(structure);
+
+ structure = new TestChangeStructure(project, FILE_NAME4);
+ change = new TestTextChange(293, 4, newName);
+ structure.addTextChange(change);
+ list.add(structure);
+
+ IFile sourceFile = project.getProject().getFile(FILE_NAME1);
+
+ IBean bean = getBean(sourceFile, "game");
+
+ RenameNamedBeanProcessor processor = new RenameNamedBeanProcessor(bean);
+ processor.setNewName(newName);
+
+ checkRename(processor, list);
+ }
+
+ private IBean getBean(IFile file, String name){
+ CDICoreNature cdiNature = CDICorePlugin.getCDI(file.getProject(), true);
+ if(cdiNature == null)
+ return null;
+
+ ICDIProject cdiProject = cdiNature.getDelegate();
+
+ if(cdiProject == null)
+ return null;
+
+ Set<IBean> beans = cdiProject.getBeans(file.getFullPath());
+
+ for(IBean bean : beans){
+ if(bean.getName() != null && name.equals(bean.getName()))
+ return bean;
+
+ }
+ return null;
+ }
+
+
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/NamedBeanRefactoringTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java 2010-04-08 16:28:17 UTC (rev 21357)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/TCKTest.java 2010-04-08 16:30:42 UTC (rev 21358)
@@ -184,7 +184,7 @@
static class PageFileFilter implements FileFilter {
public boolean accept(File pathname) {
String name = pathname.getName();
- return (pathname.isDirectory() && !name.endsWith(".svn")) && !name.endsWith(".xml");
+ return (pathname.isDirectory() && !name.endsWith(".svn")) || name.endsWith(".jsp") || name.endsWith(".xhtml");
}
}
14 years, 9 months
JBoss Tools SVN: r21357 - trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-04-08 12:28:17 -0400 (Thu, 08 Apr 2010)
New Revision: 21357
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/refactoring/CDIRefactorContributionFactory.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5927
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/refactoring/CDIRefactorContributionFactory.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/refactoring/CDIRefactorContributionFactory.java 2010-04-08 16:16:09 UTC (rev 21356)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/refactoring/CDIRefactorContributionFactory.java 2010-04-08 16:28:17 UTC (rev 21357)
@@ -13,18 +13,8 @@
import java.util.Set;
import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jdt.core.IAnnotation;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
@@ -46,15 +36,12 @@
import org.jboss.tools.cdi.internal.core.refactoring.RenameNamedBeanProcessor;
import org.jboss.tools.cdi.ui.CDIUIMessages;
import org.jboss.tools.cdi.ui.CDIUIPlugin;
-import org.jboss.tools.common.model.util.EclipseJavaUtil;
-import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.common.text.ITextSourceReference;
/**
* @author Daniel Azarov
*/
public class CDIRefactorContributionFactory extends AbstractContributionFactory {
- private static final String ANNOTATION_NAMED = "javax.inject.Named"; //$NON-NLS-1$
private static final String JAVA_EXT = "java"; //$NON-NLS-1$
private Shell shell;
@@ -107,7 +94,6 @@
}
private IBean getBean(IFile file, TextSelection selection){
- IProject project = file.getProject();
CDICoreNature cdiNature = CDICorePlugin.getCDI(file.getProject(), true);
if(cdiNature == null)
return null;
@@ -130,36 +116,6 @@
return null;
}
- private IAnnotation getNamedAnnotation(IFile file){
- try{
- ICompilationUnit unit = getCompilationUnit(file);
- for(IType type : unit.getAllTypes()){
- for(IAnnotation annotation : type.getAnnotations()){
- if(EclipseJavaUtil.resolveType(type, annotation.getElementName()).equals(ANNOTATION_NAMED))
- return annotation;
- }
- }
- }catch(CoreException ex){
- CDIUIPlugin.getDefault().logError(ex);
- }
- return null;
- }
-
- private ICompilationUnit getCompilationUnit(IFile file) throws CoreException {
- IProject project = file.getProject();
- IJavaProject javaProject = (IJavaProject)project.getNature(JavaCore.NATURE_ID);
- for (IResource resource : EclipseResourceUtil.getJavaSourceRoots(project)) {
- if(resource.getFullPath().isPrefixOf(file.getFullPath())) {
- IPath path = file.getFullPath().removeFirstSegments(resource.getFullPath().segmentCount());
- IJavaElement element = javaProject.findElement(path);
- if(element instanceof ICompilationUnit) {
- return (ICompilationUnit)element;
- }
- }
- }
- return null;
- }
-
private static void saveAndBuild(){
if(!CDIUIPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().saveAllEditors(true))
return;
14 years, 9 months
JBoss Tools SVN: r21356 - branches/modular_build/bpel/releng.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-08 12:16:09 -0400 (Thu, 08 Apr 2010)
New Revision: 21356
Modified:
branches/modular_build/bpel/releng/build.properties
Log:
use testLocal instead of test
Modified: branches/modular_build/bpel/releng/build.properties
===================================================================
--- branches/modular_build/bpel/releng/build.properties 2010-04-08 16:15:16 UTC (rev 21355)
+++ branches/modular_build/bpel/releng/build.properties 2010-04-08 16:16:09 UTC (rev 21356)
@@ -20,7 +20,7 @@
#dir2map.map = /home/nboldt/eclipse/workspace-jboss/jbosstools-trunk/bpel/releng/maps/project.map
# on windows or mac, use testLocal; on linux use test (requires Xvnc or Xvfb)
-build.steps=buildUpdate,buildTests,generateDigests,test,publish,cleanup
+build.steps=buildUpdate,buildTests,generateDigests,testLocal,publish,cleanup
# note: to run tests locally, these plugins must be pre-checked out into the local source folder:
#org.jboss.tools.common.test -> /path/to/common/tests/org.jboss.tools.common.test/
14 years, 9 months