JBoss Tools SVN: r29449 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-02 13:44:13 -0500 (Wed, 02 Mar 2011)
New Revision: 29449
Modified:
trunk/build/aggregate/site/site.xml
Log:
https://issues.jboss.org/browse/JBIDE-8482 add seam forge feature to agg site
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2011-03-02 18:14:56 UTC (rev 29448)
+++ trunk/build/aggregate/site/site.xml 2011-03-02 18:44:13 UTC (rev 29449)
@@ -20,7 +20,10 @@
<category name="AllTools" />
<category name="WebTools" />
</feature>
- <feature url="features/org.jboss.tools.seam.feature_0.0.0.jar" id="org.jboss.tools.seam.feature" version="0.0.0">
+ <feature url="features/org.jboss.tools.seam.forge.feature_0.0.0.jar" id="org.jboss.tools.seam.forge.feature" version="0.0.0">
+ <category name="WebTools" />
+ </feature>
+ <feature url="features/org.jboss.tools.seam.feature_0.0.0.jar" id="org.jboss.tools.seam.feature" version="0.0.0">
<category name="AllTools" />
<category name="WebTools" />
</feature>
13 years, 10 months
JBoss Tools SVN: r29448 - branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-03-02 13:14:56 -0500 (Wed, 02 Mar 2011)
New Revision: 29448
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java
Log:
JBIDE-8478 to maintenance 3.2.1
Modified: branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java
===================================================================
--- branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java 2011-03-02 17:07:23 UTC (rev 29447)
+++ branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java 2011-03-02 18:14:56 UTC (rev 29448)
@@ -70,7 +70,11 @@
public static String createConnectionName(DeltaCloudInstance instance) {
Assert.isLegal(instance != null, "Cannot create connection name: instance is not defined");
- return instance.getAlias();
+ String connectionName = instance.getAlias();
+ if (connectionName == null || connectionName.length() == 0) {
+ connectionName = instance.getName();
+ }
+ return connectionName;
}
@Deprecated
13 years, 10 months
JBoss Tools SVN: r29447 - trunk/build/target-platform.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-02 12:07:23 -0500 (Wed, 02 Mar 2011)
New Revision: 29447
Modified:
trunk/build/target-platform/multiple.target
trunk/build/target-platform/multiple.target.p2mirror.xml
Log:
switch to swtbot 2.0.3 and new mirrors on dl.jb.org
Modified: trunk/build/target-platform/multiple.target
===================================================================
--- trunk/build/target-platform/multiple.target 2011-03-02 17:07:11 UTC (rev 29446)
+++ trunk/build/target-platform/multiple.target 2011-03-02 17:07:23 UTC (rev 29447)
@@ -32,19 +32,11 @@
<repository location="http://download.eclipse.org/technology/subversive/0.7/weekly-site/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/orbit/R20100519..."/>
- </location>
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="javax.wsdl.feature.feature.group" version="1.6.2.v201005080631"/>
<unit id="org.apache.oro.feature.feature.group" version="2.0.8.v201005080400"/>
<unit id="org.jdom.feature.feature.group" version="1.0.0.v201005080400"/>
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/thirdparty/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/orbit/R20100519..."/>
</location>
- <!-- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
-<unit id="org.mozilla.xulrunner.feature.feature.group" version="1.9.2"/>
-<unit id="org.mozilla.xpcom.feature.feature.group" version="1.9.2"/>
-<repository location="http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2/"/>
-</location> -->
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="org.mozilla.xulrunner.feature.feature.group" version="1.9.12.v20110120-2050-H36-CR1"/>
<unit id="org.mozilla.xpcom.feature.feature.group" version="1.9.12.v20110120-2050-H36-CR1"/>
@@ -87,7 +79,7 @@
<unit id="org.eclipse.swtbot.ide.feature.group" version="2.0.2.20110117_1743-b492ddb-dev-e36"/>
<unit id="org.eclipse.swtbot.eclipse.test.junit4.feature.group" version="2.0.2.20110117_1743-b492ddb-dev-e36"/>
<unit id="org.eclipse.swtbot.feature.group" version="2.0.3.20110219_0655-4d933cf-dev-e36"/>
- <repository location="http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot/2.0.3/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="org.eclipse.birt.osgi.runtime.sdk.feature.group" version="2.6.2.r262_v20101008-57B381wLglLKxfjdt881PQeMU42p"/>
@@ -95,7 +87,7 @@
<unit id="org.eclipse.birt.integration.wtp.feature.group" version="2.6.1.v20100915-1750-35-7w31211A2602861"/>
<unit id="org.eclipse.birt.chart.feature.group" version="2.6.1.v20100709-7f9T7DFQCnv8nz0gRMa6NG1"/>
<unit id="org.eclipse.birt.chart.integration.wtp.feature.group" version="2.6.1.v20100915-1750-3507w31211A2602861"/>
- <repository location="http://download.eclipse.org/birt/update-site/2.6/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/birt/2.6/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="com.ibm.icu.base.feature.group" version="1.1.0.v20090119-79318s73533B57"/>
@@ -174,7 +166,7 @@
<unit version="1.4.0.v20100428-2315-479-9oB56N5BBR6LCA6" id="org.eclipse.emf.validation.feature.group"/>
<unit version="1.4.0.v20100428-2315-23-7w3121133502768" id="org.eclipse.emf.validation.ocl.feature.group"/>
<unit version="2.1.0.v20100606-1530-7A2-AkF7AG8PBU3BRLA" id="org.eclipse.m2m.qvt.oml.runtime.feature.group"/> -->
- <repository location="http://download.eclipse.org/releases/helios/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/helios/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="org.eclipse.jst.jee" version="1.0.301.v201007151900"/>
@@ -213,7 +205,7 @@
<unit id="org.eclipse.wst.web_core.feature.feature.group" version="3.2.3.v201102160541-7E7AFI3AJrn5TN32vSJ8nRIWLD7_"/>
<unit id="org.eclipse.wst.ws_ui.feature.feature.group" version="3.2.3.v201102160541-7I78FZIEtEoO2d7AsK6jSNqC-8jj"/>
<unit id="org.eclipse.wst.xml_core.feature.feature.group" version="3.2.2.v201008170029-7C7OFXYF7RZHQHI5PyJwPT"/>
- <repository location="http://download.eclipse.org/webtools/repository/helios/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools/3.2/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<repository location="http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/"/>
@@ -224,17 +216,6 @@
<!-- <repository location="http://dl.google.com/eclipse/plugin/3.6/"/> -->
<repository location="http://download.jboss.org/jbosstools/updates/requirements/gwt/201012211742/"/>
</location>
-
- <!-- additional JBoss.org mirrors -->
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot-helios/"/>
- </location>
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools-3.2/"/>
- </location>
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/helios/"/>
- </location>
</locations>
<includeBundles>
<feature id="org.drools.eclipse.feature"/>
Modified: trunk/build/target-platform/multiple.target.p2mirror.xml
===================================================================
--- trunk/build/target-platform/multiple.target.p2mirror.xml 2011-03-02 17:07:11 UTC (rev 29446)
+++ trunk/build/target-platform/multiple.target.p2mirror.xml 2011-03-02 17:07:23 UTC (rev 29447)
@@ -39,15 +39,14 @@
<repository location="http://download.eclipse.org/rt/ecf/3.2/3.6/site.p2"/>
<repository location="http://download.eclipse.org/tptp/updates/helios/"/>
<repository location="http://download.eclipse.org/modeling/emf/emf/updates/2.6/R201009141218/"/>
-<repository location="http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/"/>
<repository location="http://download.eclipse.org/birt/update-site/2.6/"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.6/"/>
<repository location="http://download.eclipse.org/releases/helios/"/>
<repository location="http://download.eclipse.org/webtools/repository/helios/"/>
<repository location="http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/"/>
<repository location="http://download.jboss.org/jbosstools/updates/requirements/gwt/201012211742/"/>
-<repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot-helios/"/>
-<repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools-3.2/"/>
+<repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot/2.0.3/"/>
+<repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools/3.2/"/>
<repository location="http://download.jboss.org/jbosstools/updates/requirements/helios/"/>
</source>
<iu id="org.maven.ide.eclipse.feature.feature.group" version=""/>
13 years, 10 months
JBoss Tools SVN: r29446 - trunk/build/target-platform.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-02 12:07:11 -0500 (Wed, 02 Mar 2011)
New Revision: 29446
Modified:
trunk/build/target-platform/unified.target
Log:
use newer source feature version
Modified: trunk/build/target-platform/unified.target
===================================================================
--- trunk/build/target-platform/unified.target 2011-03-02 16:58:57 UTC (rev 29445)
+++ trunk/build/target-platform/unified.target 2011-03-02 17:07:11 UTC (rev 29446)
@@ -201,7 +201,7 @@
<unit id="org.eclipse.jst.server_core.feature.feature.group" version="3.2.0.v201005241530-31FA28s73533C66"/>
<unit id="org.eclipse.jst.server_ui.feature.feature.group" version="3.2.2.v20100908-7A5FEi9xFc7RCJMToAIOJC43A"/>
<unit id="org.eclipse.jst.web_ui.feature.feature.group" version="3.2.3.v201101262333-7F77FJ_C25TkfyypjhqQuxNYsMrJ"/>
- <unit id="org.eclipse.jsf.feature.source.feature.group" version="3.2.1.v20100713-7E7I1F9JgLWLMD_w3114"/>
+ <unit id="org.eclipse.jsf.feature.source.feature.group" version="3.2.2.v201008231400-7E7I6F9JgLWLMUW3"/>
<unit id="org.eclipse.wst.xml.xpath2.processor.feature.feature.group" version="1.1.5.v201009091745-67K2BgJ9DIAXCbBWJO"/>
<unit id="org.eclipse.jst.webpageeditor.feature.feature.group" version="2.3.1.v20100906-4609oB5855L6N"/>
<unit id="org.eclipse.wst.ws_wsdl15.feature.feature.group" version="1.5.300.v201005241450-2407w312116191741"/>
13 years, 10 months
JBoss Tools SVN: r29445 - branches/jbosstools-3.2.x/build/target-platform.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-02 11:58:57 -0500 (Wed, 02 Mar 2011)
New Revision: 29445
Modified:
branches/jbosstools-3.2.x/build/target-platform/multiple.target
branches/jbosstools-3.2.x/build/target-platform/multiple.target.p2mirror.xml
Log:
switch to swtbot 2.0.3 and new mirrors on dl.jb.org
Modified: branches/jbosstools-3.2.x/build/target-platform/multiple.target
===================================================================
--- branches/jbosstools-3.2.x/build/target-platform/multiple.target 2011-03-02 16:35:09 UTC (rev 29444)
+++ branches/jbosstools-3.2.x/build/target-platform/multiple.target 2011-03-02 16:58:57 UTC (rev 29445)
@@ -32,19 +32,11 @@
<repository location="http://download.eclipse.org/technology/subversive/0.7/weekly-site/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/orbit/R20100519..."/>
- </location>
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="javax.wsdl.feature.feature.group" version="1.6.2.v201005080631"/>
<unit id="org.apache.oro.feature.feature.group" version="2.0.8.v201005080400"/>
<unit id="org.jdom.feature.feature.group" version="1.0.0.v201005080400"/>
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/thirdparty/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/orbit/R20100519..."/>
</location>
- <!-- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
-<unit id="org.mozilla.xulrunner.feature.feature.group" version="1.9.2"/>
-<unit id="org.mozilla.xpcom.feature.feature.group" version="1.9.2"/>
-<repository location="http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2/"/>
-</location> -->
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="org.mozilla.xulrunner.feature.feature.group" version="1.9.12.v20110120-2050-H36-CR1"/>
<unit id="org.mozilla.xpcom.feature.feature.group" version="1.9.12.v20110120-2050-H36-CR1"/>
@@ -87,7 +79,7 @@
<unit id="org.eclipse.swtbot.ide.feature.group" version="2.0.2.20110117_1743-b492ddb-dev-e36"/>
<unit id="org.eclipse.swtbot.eclipse.test.junit4.feature.group" version="2.0.2.20110117_1743-b492ddb-dev-e36"/>
<unit id="org.eclipse.swtbot.feature.group" version="2.0.3.20110219_0655-4d933cf-dev-e36"/>
- <repository location="http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot/2.0.3/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="org.eclipse.birt.osgi.runtime.sdk.feature.group" version="2.6.2.r262_v20101008-57B381wLglLKxfjdt881PQeMU42p"/>
@@ -95,7 +87,7 @@
<unit id="org.eclipse.birt.integration.wtp.feature.group" version="2.6.1.v20100915-1750-35-7w31211A2602861"/>
<unit id="org.eclipse.birt.chart.feature.group" version="2.6.1.v20100709-7f9T7DFQCnv8nz0gRMa6NG1"/>
<unit id="org.eclipse.birt.chart.integration.wtp.feature.group" version="2.6.1.v20100915-1750-3507w31211A2602861"/>
- <repository location="http://download.eclipse.org/birt/update-site/2.6/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/birt/2.6/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="com.ibm.icu.base.feature.group" version="1.1.0.v20090119-79318s73533B57"/>
@@ -174,7 +166,7 @@
<unit version="1.4.0.v20100428-2315-479-9oB56N5BBR6LCA6" id="org.eclipse.emf.validation.feature.group"/>
<unit version="1.4.0.v20100428-2315-23-7w3121133502768" id="org.eclipse.emf.validation.ocl.feature.group"/>
<unit version="2.1.0.v20100606-1530-7A2-AkF7AG8PBU3BRLA" id="org.eclipse.m2m.qvt.oml.runtime.feature.group"/> -->
- <repository location="http://download.eclipse.org/releases/helios/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/helios/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<unit id="org.eclipse.jst.jee" version="1.0.301.v201007151900"/>
@@ -213,7 +205,7 @@
<unit id="org.eclipse.wst.web_core.feature.feature.group" version="3.2.3.v201102160541-7E7AFI3AJrn5TN32vSJ8nRIWLD7_"/>
<unit id="org.eclipse.wst.ws_ui.feature.feature.group" version="3.2.3.v201102160541-7I78FZIEtEoO2d7AsK6jSNqC-8jj"/>
<unit id="org.eclipse.wst.xml_core.feature.feature.group" version="3.2.2.v201008170029-7C7OFXYF7RZHQHI5PyJwPT"/>
- <repository location="http://download.eclipse.org/webtools/repository/helios/"/>
+ <repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools/3.2/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
<repository location="http://download.jboss.org/jbosstools/builds/staging/_composite_/3.2_stabl..."/>
@@ -224,17 +216,6 @@
<!-- <repository location="http://dl.google.com/eclipse/plugin/3.6/"/> -->
<repository location="http://download.jboss.org/jbosstools/updates/requirements/gwt/201012211742/"/>
</location>
-
- <!-- additional JBoss.org mirrors -->
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot-helios/"/>
- </location>
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools-3.2/"/>
- </location>
- <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
- <repository location="http://download.jboss.org/jbosstools/updates/requirements/helios/"/>
- </location>
</locations>
<includeBundles>
<feature id="org.drools.eclipse.feature"/>
Modified: branches/jbosstools-3.2.x/build/target-platform/multiple.target.p2mirror.xml
===================================================================
--- branches/jbosstools-3.2.x/build/target-platform/multiple.target.p2mirror.xml 2011-03-02 16:35:09 UTC (rev 29444)
+++ branches/jbosstools-3.2.x/build/target-platform/multiple.target.p2mirror.xml 2011-03-02 16:58:57 UTC (rev 29445)
@@ -39,15 +39,14 @@
<repository location="http://download.eclipse.org/rt/ecf/3.2/3.6/site.p2"/>
<repository location="http://download.eclipse.org/tptp/updates/helios/"/>
<repository location="http://download.eclipse.org/modeling/emf/emf/updates/2.6/R201009141218/"/>
-<repository location="http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/"/>
<repository location="http://download.eclipse.org/birt/update-site/2.6/"/>
<repository location="http://download.eclipse.org/eclipse/updates/3.6/"/>
<repository location="http://download.eclipse.org/releases/helios/"/>
<repository location="http://download.eclipse.org/webtools/repository/helios/"/>
<repository location="http://download.jboss.org/jbosstools/builds/staging/_composite_/3.2_stabl..."/>
<repository location="http://download.jboss.org/jbosstools/updates/requirements/gwt/201012211742/"/>
-<repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot-helios/"/>
-<repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools-3.2/"/>
+<repository location="http://download.jboss.org/jbosstools/updates/requirements/swtbot/2.0.3/"/>
+<repository location="http://download.jboss.org/jbosstools/updates/requirements/webtools/3.2/"/>
<repository location="http://download.jboss.org/jbosstools/updates/requirements/helios/"/>
</source>
<iu id="org.maven.ide.eclipse.feature.feature.group" version=""/>
13 years, 10 months
JBoss Tools SVN: r29444 - in branches/jbosstools-3.2.x/requirements: jbossas-5.1.0.GA and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-02 11:35:09 -0500 (Wed, 02 Mar 2011)
New Revision: 29444
Added:
branches/jbosstools-3.2.x/requirements/jbossas-5.1.0.GA/
branches/jbosstools-3.2.x/requirements/jbossas-5.1.0.GA/build.properties
Log:
add jbossas-5.1.0.GA/build.properties as duplicate content for jbossas/build.properties so maven tests won't fail
Added: branches/jbosstools-3.2.x/requirements/jbossas-5.1.0.GA/build.properties
===================================================================
--- branches/jbosstools-3.2.x/requirements/jbossas-5.1.0.GA/build.properties (rev 0)
+++ branches/jbosstools-3.2.x/requirements/jbossas-5.1.0.GA/build.properties 2011-03-02 16:35:09 UTC (rev 29444)
@@ -0,0 +1,11 @@
+#jbossas.build.uri=http://downloads.sourceforge.net/sourceforge/jboss
+jbossas51.build.uri=http://repository.jboss.org/sourceforge
+
+jboss51.build.uri=${jbossas.build.uri}
+jboss51.build.name=jboss-5.1.0.GA
+jboss51.build.archive=${jboss51.build.name}.zip
+jboss51.build.archive.md5=78322c75ca0c13002a04418b4a8bc920
+
+build.uri=${jbossas51.build.uri}
+build.archive=${jboss51.build.archive}
+md5=${jboss51.build.archive.md5}
\ No newline at end of file
13 years, 10 months
JBoss Tools SVN: r29443 - in trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test: editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2011-03-02 11:19:36 -0500 (Wed, 02 Mar 2011)
New Revision: 29443
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/MultipleSelectionTest.java
Log:
https://issues.jboss.org/browse/JBIDE-8115, junit test for multiple selection functionality
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java 2011-03-02 09:48:27 UTC (rev 29442)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeUiTests.java 2011-03-02 16:19:36 UTC (rev 29443)
@@ -17,6 +17,7 @@
import org.jboss.tools.vpe.ui.test.dialog.VpeEditAnyDialogTest;
import org.jboss.tools.vpe.ui.test.dialog.VpeResourcesDialogTest;
import org.jboss.tools.vpe.ui.test.editor.CustomSashFormTest;
+import org.jboss.tools.vpe.ui.test.editor.MultipleSelectionTest;
import org.jboss.tools.vpe.ui.test.handlers.VpeCommandsTests;
import org.jboss.tools.vpe.ui.test.preferences.VpeEditorPreferencesPageTest;
@@ -32,8 +33,9 @@
suite.addTestSuite(VpeResourcesDialogTest.class);
suite.addTestSuite(VpeEditorPreferencesPageTest.class);
suite.addTestSuite(CustomSashFormTest.class);
- //suite.addTestSuite(VpePopupMenuTest.class);
+// suite.addTestSuite(VpePopupMenuTest.class);
suite.addTestSuite(VpeEditAnyDialogTest.class);
+ suite.addTestSuite(MultipleSelectionTest.class);
return new VpeTestSetup(suite);
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/MultipleSelectionTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/MultipleSelectionTest.java 2011-03-02 09:48:27 UTC (rev 29442)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/MultipleSelectionTest.java 2011-03-02 16:19:36 UTC (rev 29443)
@@ -11,6 +11,7 @@
package org.jboss.tools.vpe.ui.test.editor;
import java.io.IOException;
+import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
@@ -20,7 +21,9 @@
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
import org.jboss.tools.vpe.base.test.TestUtil;
import org.jboss.tools.vpe.base.test.VpeTest;
+import org.jboss.tools.vpe.editor.VpeController;
import org.jboss.tools.vpe.ui.test.VpeUiTests;
+import org.mozilla.interfaces.nsIDOMNode;
/**
* Junit test for JBIDE-8115
@@ -30,7 +33,7 @@
*/
public class MultipleSelectionTest extends VpeTest{
- private static final String TEST_CASE="WebContent/pages/selection/jbide-8115-test-case.html"; //$NON-NLS-1$
+ private static final String TEST_CASE="selection/jbide-8115-test-case.html"; //$NON-NLS-1$
public MultipleSelectionTest(String name) {
super(name);
@@ -44,7 +47,12 @@
ITextViewer viewer = part.getSourceEditor().getTextViewer();
int startSelectionOffcet = TestUtil.getLinePositionOffcet(viewer, 6, 1);
- int endSelectionOffcet = TestUtil.getLinePositionOffcet(viewer, 9, 4);
- viewer.setSelectedRange(startSelectionOffcet, endSelectionOffcet);
+ int length = TestUtil.getLinePositionOffcet(viewer, 9, 4)-startSelectionOffcet;
+ viewer.setSelectedRange(startSelectionOffcet, length);
+ VpeController vpeController = TestUtil.getVpeController(part);
+ vpeController.sourceSelectionChanged();
+ List<nsIDOMNode> selectedNodes = vpeController.getXulRunnerEditor().getLastSelectedNodes();
+ assertEquals("Shuld be selected ",3,selectedNodes.size()); //$NON-NLS-1$
}
+
}
13 years, 10 months
JBoss Tools SVN: r29442 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-03-02 04:48:27 -0500 (Wed, 02 Mar 2011)
New Revision: 29442
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java
Log:
swtbotext: fixed NPE
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java 2011-03-02 09:34:45 UTC (rev 29441)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java 2011-03-02 09:48:27 UTC (rev 29442)
@@ -13,6 +13,7 @@
@Override
public boolean checkFulfilled() {
+ if (TestConfigurator.currentConfig.getSecureStorage()!=null)
SWTTestExt.configuredState.setSecureStoragePassword(TestConfigurator.currentConfig.getSecureStorage().password);
return true;
}
13 years, 10 months
JBoss Tools SVN: r29441 - in trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext: config/requirement and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-03-02 04:34:45 -0500 (Wed, 02 Mar 2011)
New Revision: 29441
Added:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/wizards/
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/wizards/SWTBotWizard.java
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddJava.java
Log:
swtbotext: added wizard
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java 2011-03-02 09:03:08 UTC (rev 29440)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTOpenExt.java 2011-03-02 09:34:45 UTC (rev 29441)
@@ -84,6 +84,9 @@
public void selectTreeNode(IActionItem item) {
selectTreeNode(this.bot,item);
}
+ public void selectTreeNode(SWTBot bot, String... items) {
+ selectTreeNode(bot,ActionItem.create(items));
+ }
/**
* selects given actionItem in bot's tree();
*
@@ -175,7 +178,6 @@
bot.button("Next >").click();
return bot;
}
-
/**
* Wait for appearance shell of given name
*
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddJava.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddJava.java 2011-03-02 09:03:08 UTC (rev 29440)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/AddJava.java 2011-03-02 09:34:45 UTC (rev 29441)
@@ -11,7 +11,7 @@
/**
* requirement for adding JRE/JDK
- * @param version to add
+ * @param user to add
*/
public AddJava() {
}
Added: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/wizards/SWTBotWizard.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/wizards/SWTBotWizard.java (rev 0)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/wizards/SWTBotWizard.java 2011-03-02 09:34:45 UTC (rev 29441)
@@ -0,0 +1,62 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.ui.bot.ext.wizards;
+
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotText;
+import org.jboss.tools.ui.bot.ext.SWTTestExt;
+
+public class SWTBotWizard extends SWTBotShell {
+
+ public SWTBotWizard() {
+ this(SWTTestExt.bot.activeShell().widget);
+ }
+
+ public SWTBotWizard(Shell shell) {
+ super(shell);
+ assert getText().contains("New ");
+ }
+
+ public SWTBotWizard selectTemplate(String... item) {
+ SWTTestExt.open.selectTreeNode(this.bot(),item);
+ return this;
+ }
+
+ public SWTBotWizard back() {
+ clickButton("< Back");
+ return this;
+ }
+
+ public SWTBotWizard next() {
+ clickButton("Next >");
+ return this;
+ }
+
+ public void cancel() {
+ clickButton("Cancel");
+ }
+
+ public void finish() {
+ clickButton("Finish");
+ }
+
+ protected void clickButton(String text) {
+ bot().button(text).click();
+ bot().sleep(500);
+ }
+
+ protected void setText(String label, String text) {
+ SWTBotText t = bot().textWithLabel(label);
+ t.setFocus();
+ t.setText(text);
+ }
+}
13 years, 10 months
JBoss Tools SVN: r29440 - branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-03-02 04:03:08 -0500 (Wed, 02 Mar 2011)
New Revision: 29440
Added:
branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties
Modified:
branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
Log:
JBIDE-7989 Maven bot test plugin has no runnable tests
Modified: branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
===================================================================
--- branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2011-03-02 08:34:19 UTC (rev 29439)
+++ branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2011-03-02 09:03:08 UTC (rev 29440)
@@ -10,6 +10,9 @@
<artifactId>org.jboss.tools.maven.ui.bot.test</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <systemProperties>-Djbosstools.test.jboss.home.5.1=${requirement.build.root}/jboss-5.1.0.GA -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.2.0.GA</systemProperties>
+ </properties>
<build>
<plugins>
<plugin>
@@ -18,6 +21,9 @@
<version>${tychoVersion}</version>
<configuration>
<useUIThread>false</useUIThread>
+ <useUIHarness>true</useUIHarness>
+ <testSuite>org.jboss.tools.maven.ui.bot.test</testSuite>
+ <testClass>org.jboss.tools.maven.ui.bot.test.MavenAllBotTests</testClass>
</configuration>
</plugin>
</plugins>
Added: branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties
===================================================================
--- branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties (rev 0)
+++ branches/jbosstools-3.2.x/maven/tests/org.jboss.tools.maven.ui.bot.test/requirements.properties 2011-03-02 09:03:08 UTC (rev 29440)
@@ -0,0 +1 @@
+requirements=jbossas-5.1.0.GA,seam-2.2.0.GA
\ No newline at end of file
13 years, 10 months