JBoss Tools SVN: r34486 - in branches/jbosstools-3.2.x: birt/plugins/org.jboss.tools.birt.core/META-INF and 10 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2011-09-01 13:30:29 -0400 (Thu, 01 Sep 2011)
New Revision: 34486
Modified:
branches/jbosstools-3.2.x/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/birt/plugins/org.jboss.tools.birt.core/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/jbpm/plugins/org.jbpm.gd.jpdl/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/portlet/plugins/org.jboss.tools.portlet.core/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/profiler/plugins/org.jboss.tools.profiler.ui/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/workingset/plugins/org.jboss.tools.workingset.core/META-INF/MANIFEST.MF
branches/jbosstools-3.2.x/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF
Log:
https://issues.jboss.org/browse/JBIDE-3883 Manifest cleanup
this fix adds OSGi version range to all relevant plugins to let install JBT 3.2.x stream releases only on Eclipse 3.6.x
Modified: branches/jbosstools-3.2.x/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/archives/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -10,7 +10,7 @@
org.eclipse.core.commands,
org.eclipse.core.filesystem,
org.eclipse.core.resources,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.core.variables,
org.jboss.tools.usage;resolution:=optional
Bundle-ActivationPolicy: lazy
Modified: branches/jbosstools-3.2.x/birt/plugins/org.jboss.tools.birt.core/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/birt/plugins/org.jboss.tools.birt.core/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/birt/plugins/org.jboss.tools.birt.core/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -7,7 +7,7 @@
Bundle-Vendor: %BundleVendor
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.birt.integration.wtp.ui,
org.eclipse.wst.common.frameworks.ui,
org.eclipse.wst.common.project.facet.core,
Modified: branches/jbosstools-3.2.x/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/flow/plugins/org.jboss.tools.flow.common/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -10,7 +10,7 @@
org.eclipse.draw2d,
org.eclipse.gef,
org.eclipse.jface,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.ui,
org.eclipse.core.resources,
org.eclipse.ui.ide,
Modified: branches/jbosstools-3.2.x/jbpm/plugins/org.jbpm.gd.jpdl/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/jbpm/plugins/org.jbpm.gd.jpdl/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/jbpm/plugins/org.jbpm.gd.jpdl/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -44,7 +44,7 @@
org.jbpm.gd.pf.properties,
org.jbpm.gd.pf.wizard,
org.jbpm.gd.pf.xml
-Require-Bundle: org.eclipse.core.runtime,
+Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.core.resources,
org.eclipse.ui,
org.eclipse.ui.views,
Modified: branches/jbosstools-3.2.x/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/jmx/plugins/org.jboss.tools.jmx.core/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -5,7 +5,7 @@
Bundle-Version: 1.2.0.qualifier
Bundle-Activator: org.jboss.tools.jmx.core.JMXActivator
Bundle-Vendor: %BundleProvider
-Require-Bundle: org.eclipse.core.runtime,
+Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.jboss.tools.usage;bundle-version="1.0.0";resolution:=optional
Export-Package: org.jboss.tools.jmx.core,
org.jboss.tools.jmx.core.providers;
Modified: branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -7,7 +7,7 @@
Bundle-Vendor: %bundleVendor
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.core.resources,
org.eclipse.ui.console,
org.eclipse.jface.text,
Modified: branches/jbosstools-3.2.x/portlet/plugins/org.jboss.tools.portlet.core/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/portlet/plugins/org.jboss.tools.portlet.core/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/portlet/plugins/org.jboss.tools.portlet.core/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -5,7 +5,7 @@
Bundle-Version: 1.2.0.qualifier
Bundle-Activator: org.jboss.tools.portlet.core.PortletCoreActivator
Bundle-Vendor: %BundleVendor
-Require-Bundle: org.eclipse.core.runtime,
+Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.wst.common.project.facet.core,
org.eclipse.jst.common.project.facet.core;visibility:=reexport,
org.eclipse.core.resources,
Modified: branches/jbosstools-3.2.x/profiler/plugins/org.jboss.tools.profiler.ui/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/profiler/plugins/org.jboss.tools.profiler.ui/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/profiler/plugins/org.jboss.tools.profiler.ui/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -5,7 +5,7 @@
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.jboss.tools.profiler.internal.ui.JBossProfilerUiPlugin
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.debug.ui;bundle-version="3.5.0",
org.eclipse.core.variables;bundle-version="3.2.200",
org.eclipse.ui.ide;bundle-version="3.5.0",
Modified: branches/jbosstools-3.2.x/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -5,7 +5,7 @@
Bundle-Version: 1.2.0.qualifier
Bundle-Activator: org.jboss.tools.smooks.core.SmooksCoreActivator
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.emf.ecore.xmi;visibility:=reexport,
org.junit4,
Modified: branches/jbosstools-3.2.x/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/tptp/plugins/org.jboss.tools.eclipse.as.tptp/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -6,7 +6,7 @@
Bundle-Version: 1.2.0.qualifier
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.debug.ui,
org.eclipse.hyades.trace.ui,
org.eclipse.tptp.platform.jvmti.client,
Modified: branches/jbosstools-3.2.x/workingset/plugins/org.jboss.tools.workingset.core/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/workingset/plugins/org.jboss.tools.workingset.core/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/workingset/plugins/org.jboss.tools.workingset.core/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -6,7 +6,7 @@
Bundle-Activator: org.jboss.tools.workingset.core.Activator
Bundle-Vendor: JBoss by Red Hat
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)",
org.eclipse.core.resources;bundle-version="3.5.0",
org.jboss.tools.usage;bundle-version="1.0.0";resolution:=optional
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: branches/jbosstools-3.2.x/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF
===================================================================
--- branches/jbosstools-3.2.x/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF 2011-09-01 17:14:35 UTC (rev 34485)
+++ branches/jbosstools-3.2.x/xulrunner/plugins/org.mozilla.xpcom/META-INF/MANIFEST.MF 2011-09-01 17:30:29 UTC (rev 34486)
@@ -10,5 +10,6 @@
Bundle-Vendor: mozilla.org
Eclipse-BuddyPolicy: registered
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Require-Bundle: org.jboss.tools.usage;bundle-version="1.0.0";resolution:=optional
+Require-Bundle: org.jboss.tools.usage;bundle-version="1.0.0";resolution:=optional,
+ org.eclipse.core.runtime;bundle-version="[3.6.0,3.7.0)"
14 years, 3 months
JBoss Tools SVN: r34485 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2011-09-01 13:14:35 -0400 (Thu, 01 Sep 2011)
New Revision: 34485
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
Log:
MAke method isRunningOnMacOs() simpler
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2011-09-01 17:06:43 UTC (rev 34484)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2011-09-01 17:14:35 UTC (rev 34485)
@@ -40,6 +40,7 @@
public class SWTJBTExt {
private static final long DEFAULT_UI_TIMEOUT = 1000L;
+ private static final boolean runningOnMacOs = Platform.getOS().equalsIgnoreCase("macosx");
SWTWorkbenchBot bot;
Logger log = Logger.getLogger(SWTJBTExt.class);
@@ -601,6 +602,6 @@
* @return
*/
public static boolean isRunningOnMacOs(){
- return Platform.getOS().equalsIgnoreCase("macosx");
+ return runningOnMacOs;
}
}
14 years, 3 months
JBoss Tools SVN: r34484 - in trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans: META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-09-01 13:06:43 -0400 (Thu, 01 Sep 2011)
New Revision: 34484
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/.classpath
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF
Log:
Fixed compilation error
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/.classpath
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/.classpath 2011-09-01 16:19:54 UTC (rev 34483)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/.classpath 2011-09-01 17:06:43 UTC (rev 34484)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF 2011-09-01 16:19:54 UTC (rev 34483)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/META-INF/MANIFEST.MF 2011-09-01 17:06:43 UTC (rev 34484)
@@ -44,4 +44,4 @@
Export-Package: org.jboss.ide.eclipse.as.ui.mbeans.editors.proposals,
org.jboss.ide.eclipse.as.ui.mbeans.project
Bundle-Vendor: %Bundle-Vendor.0
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
14 years, 3 months
JBoss Tools SVN: r34483 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-09-01 12:19:54 -0400 (Thu, 01 Sep 2011)
New Revision: 34483
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java
Log:
swtbotext: allow test configurations to be included and excluded
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java 2011-09-01 16:13:27 UTC (rev 34482)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java 2011-09-01 16:19:54 UTC (rev 34483)
@@ -68,10 +68,16 @@
public static final String CONFIGURATIONS_DIR="test.configurations.dir";
/**
* regular expression for ignoring property files found in {@link TestConfigurator#CONFIGURATIONS_DIR}
- * filename matching this will be ignored
+ * filename matching this will be excluded, note that excluding has priority over including
*/
- public static final String CONFIGURATIONS_IGNORE="test.configurations.ignore";
+ public static final String CONFIGURATIONS_EXCLUDE="test.configurations.exclude";
/**
+ * regular expression for including property files found in {@link TestConfigurator#CONFIGURATIONS_DIR}
+ * filename matching this will be included (default is .* ), note that excluding has priority
+ *
+ */
+ public static final String CONFIGURATIONS_INCLUDE="test.configurations.include";
+ /**
* path to property file which contains either 1 configuration or properties [config name]=[abs path to config property file]
*/
public static final String SWTBOT_TEST_PROPERTIES_FILE = "swtbot.test.properties.file";
@@ -83,13 +89,20 @@
public static TestConfiguration currentConfig;
static {
try {
- Pattern configMatch = Pattern.compile("");
+ Pattern excludeMatch = Pattern.compile("");
+ Pattern includeMatch = Pattern.compile("");
try {
- configMatch = Pattern.compile(System.getProperty(CONFIGURATIONS_IGNORE, ""));
+ excludeMatch = Pattern.compile(System.getProperty(CONFIGURATIONS_EXCLUDE, ""));
}
catch (Exception ex) {
- log.error("Error parsing regex property "+CONFIGURATIONS_IGNORE,ex);
+ log.error("Error parsing regex property "+CONFIGURATIONS_EXCLUDE,ex);
}
+ try {
+ includeMatch = Pattern.compile(System.getProperty(CONFIGURATIONS_INCLUDE, ".*"));
+ }
+ catch (Exception ex) {
+ log.error("Error parsing regex property "+CONFIGURATIONS_INCLUDE,ex);
+ }
// try to load from file first
String propFile = System.getProperty(SWTBOT_TEST_PROPERTIES_FILE,
null);
@@ -107,17 +120,20 @@
else {
log.info("Loading property config-files from '"
+ configsDir + "'");
- final Pattern fMatch = Pattern.compile(configMatch.toString());
+ final Pattern fExclMatch = Pattern.compile(excludeMatch.toString());
+ final Pattern fInclMatch = Pattern.compile(includeMatch.toString());
File[] propFiles = configsDirFile.listFiles(new FileFilter(){
@Override
public boolean accept(File name) {
- return name.getName().endsWith(".properties") && !fMatch.matcher(name.getName()).matches();
+ return name.getName().endsWith(".properties") &&
+ !fExclMatch.matcher(name.getName()).matches() &&
+ fInclMatch.matcher(name.getName()).matches();
}});
for (File file : propFiles)
{
log.info("Adding configuration file "+file.getName());
- multiProperties.put(file.getName().replace(".properties", ""), file.getAbsolutePath());
+ multiProperties.put(file.getName().replace(".properties", ""), file.getAbsolutePath());
}
}
} else if (propFile != null) {
14 years, 3 months
JBoss Tools SVN: r34482 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-09-01 12:13:27 -0400 (Thu, 01 Sep 2011)
New Revision: 34482
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableWorkspaceListener.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableFactory.java
Log:
JBIDE-8938 - updating single-deployable modules when a project is renamed.
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableFactory.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableFactory.java 2011-09-01 14:16:52 UTC (rev 34481)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableFactory.java 2011-09-01 16:13:27 UTC (rev 34482)
@@ -97,6 +97,14 @@
return makeDeployable(resource.getFullPath());
}
+ public static boolean makeDeployable(IProject project, IPath[] workspaceRelative) {
+ boolean ret = true;
+ for( int i = 0; i < workspaceRelative.length; i++ ) {
+ ret &= getFactory().addModule(workspaceRelative[i]);
+ }
+ getFactory().saveDeployableList(project.getName());
+ return ret;
+ }
public static boolean makeDeployable(IPath workspaceRelative) {
boolean ret = getFactory().addModule(workspaceRelative);
getFactory().saveDeployableList(workspaceRelative.segment(0));
@@ -112,6 +120,13 @@
getFactory().saveDeployableList(workspaceRelative.segment(0));
}
+ public static void unmakeDeployable(IProject project, IPath[] workspaceRelative) {
+ for( int i = 0; i < workspaceRelative.length; i++ ) {
+ getFactory().removeModule(workspaceRelative[i]);
+ }
+ getFactory().saveDeployableList(project.getName());
+ }
+
public static IModule findModule(IResource resource) {
return findModule(resource.getFullPath());
}
@@ -236,12 +251,15 @@
}
+ private SingleDeployableWorkspaceListener workspaceChangeListener;
protected void registerListener() {
UnitedServerListenerManager.getDefault().addListener(new UnitedServerListener() {
public void publishFinished(IServer server, IStatus status) {
cleanUnusedModules();
}
});
+ workspaceChangeListener = new SingleDeployableWorkspaceListener();
+ ResourcesPlugin.getWorkspace().addResourceChangeListener(workspaceChangeListener);
}
protected void cleanUnusedModules() {
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableWorkspaceListener.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableWorkspaceListener.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/modules/SingleDeployableWorkspaceListener.java 2011-09-01 16:13:27 UTC (rev 34482)
@@ -0,0 +1,146 @@
+package org.jboss.ide.eclipse.as.core.modules;
+
+import java.util.ArrayList;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.core.resources.IResourceChangeListener;
+import org.eclipse.core.resources.IResourceDelta;
+import org.eclipse.core.resources.IResourceDeltaVisitor;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.resources.WorkspaceJob;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringListener;
+import org.eclipse.wst.server.core.IModule;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.eclipse.wst.server.core.ServerCore;
+import org.jboss.ide.eclipse.as.core.modules.SingleDeployableFactory.SingleDeployableModuleDelegate;
+
+public class SingleDeployableWorkspaceListener implements
+ IResourceChangeListener, IResourceDeltaVisitor {
+ private IModule[] changedMods;
+ public void resourceChanged(IResourceChangeEvent event) {
+ if (event.getType() == IResourceChangeEvent.PRE_DELETE) {
+ final IProject project = (IProject) event.getResource();
+
+ ArrayList<IModule> shouldChange = new ArrayList<IModule>();
+ IModule[] allMods = SingleDeployableFactory.getFactory().getModules();
+ for (int i = 0; i < allMods.length; i++) {
+ if (allMods[i].getProject().equals(project))
+ shouldChange.add(allMods[i]);
+ }
+ changedMods = shouldChange.toArray(new IModule[shouldChange.size()]);
+ } else {
+ try {
+ event.getDelta().accept(this);
+ } catch( CoreException ce) {
+ // TODO
+ }
+ }
+ }
+
+ @Override
+ public boolean visit(final IResourceDelta delta) throws CoreException {
+ final IResource resource = delta.getResource();
+ if (resource instanceof IWorkspaceRoot) {
+ // delta is at the workspace root so keep going
+ return true;
+ } else if (resource instanceof IProject) {
+ processProjectDelta((IProject) resource, delta);
+ }
+ return false;
+ }
+
+ protected void processProjectDelta(IProject resource, IResourceDelta delta) {
+ int kind = delta.getKind();
+ int flags = delta.getFlags();
+ if(kind == IResourceDelta.ADDED && hasRenamedAddedFlags(flags)) {
+ processRename(resource, changedMods);
+ }
+ }
+
+ private void processRename(final IProject project, final IModule[] changedMods) {
+ WorkspaceJob job = new WorkspaceJob(
+ "Renaming a project with deployable artifacts") { //$NON-NLS-1$
+ @Override
+ public IStatus runInWorkspace(IProgressMonitor monitor)
+ throws CoreException {
+ processRename2(project, changedMods);
+ return Status.OK_STATUS;
+ }
+
+ @Override
+ public boolean belongsTo(final Object family) {
+ return ProjectRefactoringListener.PROJECT_REFACTORING_JOB_FAMILY
+ .equals(family);
+ }
+ };
+ // XXX note: might want to consider switching to a MultiRule for
+ // optimization
+ job.setRule(ResourcesPlugin.getWorkspace().getRoot());
+ job.schedule();
+ }
+
+ private void processRename2(IProject project, IModule[] changedMods) {
+ IPath[] paths = new IPath[changedMods.length];
+ IPath[] paths2 = new IPath[changedMods.length];
+ SingleDeployableModuleDelegate del;
+ for( int i = 0; i < changedMods.length; i++ ) {
+ del = (SingleDeployableModuleDelegate)changedMods[i].loadAdapter(SingleDeployableModuleDelegate.class, null);
+ paths[i] = del.getWorkspaceRelativePath();
+ paths2[i] = new Path(project.getName()).append(del.getWorkspaceRelativePath().removeFirstSegments(1));
+ }
+ // create new mods
+ SingleDeployableFactory.makeDeployable(project, paths2);
+
+ IServer[] allServers = ServerCore.getServers();
+ for( int i = 0; i < allServers.length; i++ ) {
+ ArrayList<IModule> toAdd = new ArrayList<IModule>();
+ ArrayList<IModule> toRemove = new ArrayList<IModule>();
+
+ IModule[] modsOnServer = allServers[i].getModules();
+ for( int j = 0; j < modsOnServer.length; j++ ) {
+ for( int k = 0; k < changedMods.length; k++ ) {
+ if( changedMods[k].getId().equals(modsOnServer[j].getId())) {
+ toRemove.add(changedMods[k]);
+ toAdd.add(SingleDeployableFactory.findModule(paths2[k]));
+ }
+ }
+ }
+ if( toAdd.size() > 0 && toRemove.size() > 0 ) {
+ IServerWorkingCopy wc = allServers[i].createWorkingCopy();
+ try {
+ wc.createWorkingCopy().modifyModules(
+ toAdd.toArray(new IModule[toAdd.size()]),
+ toRemove.toArray(new IModule[toRemove.size()]),
+ new NullProgressMonitor());
+ wc.save(true, new NullProgressMonitor());
+ } catch( CoreException ce) {
+ // TODO log
+ }
+ }
+ }
+ }
+
+ /*
+ * Determines if the added project was renamed based on the IResourceDelta
+ * flags
+ */
+ private boolean hasRenamedAddedFlags(final int flags) {
+ if ((flags & IResourceDelta.DESCRIPTION) > 0
+ && (flags & IResourceDelta.MOVED_FROM) > 0) {
+ return true;
+ }
+ return false;
+ }
+
+}
14 years, 3 months
JBoss Tools SVN: r34481 - branches/jbosstools-3.3.0.M3/build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-09-01 10:16:52 -0400 (Thu, 01 Sep 2011)
New Revision: 34481
Modified:
branches/jbosstools-3.3.0.M3/build/publish.sh
Log:
port changes from trunk to fix bottests publishing
Modified: branches/jbosstools-3.3.0.M3/build/publish.sh
===================================================================
--- branches/jbosstools-3.3.0.M3/build/publish.sh 2011-09-01 14:16:41 UTC (rev 34480)
+++ branches/jbosstools-3.3.0.M3/build/publish.sh 2011-09-01 14:16:52 UTC (rev 34481)
@@ -45,6 +45,12 @@
siteZip=${WORKSPACE}/sources/aggregate/site/target/site.zip
fi
z=$siteZip
+elif [[ -d ${WORKSPACE}/sources/aggregate/site/site/target ]]; then
+ siteZip=${WORKSPACE}/sources/aggregate/site/site/target/site_assembly.zip
+ if [[ ! -f ${WORKSPACE}/sources/aggregate/site/site/target/site_assembly.zip ]]; then
+ siteZip=${WORKSPACE}/sources/aggregate/site/site/target/site.zip
+ fi
+ z=$siteZip
elif [[ -d ${WORKSPACE}/sources/site/target ]]; then
siteZip=${WORKSPACE}/sources/site/target/site_assembly.zip
if [[ ! -f ${WORKSPACE}/sources/site/target/site_assembly.zip ]]; then
14 years, 3 months
JBoss Tools SVN: r34480 - branches/jbosstools-3.3.0.M3/build/results.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-09-01 10:16:41 -0400 (Thu, 01 Sep 2011)
New Revision: 34480
Modified:
branches/jbosstools-3.3.0.M3/build/results/build.xml
Log:
port changes from trunk to fix bottests publishing
Modified: branches/jbosstools-3.3.0.M3/build/results/build.xml
===================================================================
--- branches/jbosstools-3.3.0.M3/build/results/build.xml 2011-09-01 12:45:16 UTC (rev 34479)
+++ branches/jbosstools-3.3.0.M3/build/results/build.xml 2011-09-01 14:16:41 UTC (rev 34480)
@@ -61,6 +61,13 @@
</classpath>
</taskdef>
+ <condition property="aggregate_site_build.xml" value="${basedir}/../aggregate/site/build.xml">
+ <available file="${basedir}/../aggregate/site/build.xml" type="file" />
+ </condition>
+ <condition property="aggregate_site_build.xml" value="${basedir}/../aggregate/site/site/build.xml">
+ <available file="${basedir}/../aggregate/site/site/build.xml" type="file" />
+ </condition>
+
<available file="${COMMON_TOOLS}/saxon.jar" type="file" property="saxon.jar.exists" />
<antcall target="get.saxon" />
@@ -102,47 +109,47 @@
<!-- NEW STUFF HERE -->
<target name="buildResults.single" depends="init" description="generate buildResults.html from build properties">
- <ant target="collect.zips" antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips" antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="2" />
<property name="inputRepo1" value="file://${input.dir}/all/repo/" />
<property name="inputRepo2" value="http://download.jboss.org/jbosstools/builds/staging/${JOB_NAME}/all/repo/" />
</ant>
- <ant target="collect.metadata" antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata" antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
<target name="buildResults.aggregate" depends="init" description="generate buildResults.html from build properties">
- <ant target="collect.zips" antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips" antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="2" />
<property name="inputRepo1" value="file://${input.dir}/all/repo/" />
<!-- for trunk use _composite_/trunk; for 3.3_stable_branch, use _composite_/3.3.indigo -->
<property name="inputRepo2" value="http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk" />
</ant>
- <ant target="collect.metadata" antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata" antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
<target name="test.buildResults.aggregate" depends="init" description="generate buildResults.html from build properties">
<property name="isTest" value="true" />
- <ant target="collect.zips" antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips" antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="1" />
<!-- for trunk use _composite_/trunk; for 3.3_stable_branch, use _composite_/3.3.indigo -->
<property name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk" />
</ant>
- <ant target="collect.metadata" antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata" antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
<target name="test.buildResults.single" depends="init" description="generate buildResults.html from build properties">
<property name="isTest" value="true" />
- <ant target="collect.zips" antfile="../aggregate/site/build.xml">
+ <ant target="collect.zips" antfile="${aggregate_site_build.xml}">
<property name="inputRepos" value="1" />
<property name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.3_trunk...." />
</ant>
- <ant target="collect.metadata" antfile="../aggregate/site/build.xml">
+ <ant target="collect.metadata" antfile="${aggregate_site_build.xml}">
</ant>
<antcall target="buildResults" />
</target>
14 years, 3 months
JBoss Tools SVN: r34479 - in trunk/documentation/whatsnew/as: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-09-01 08:45:16 -0400 (Thu, 01 Sep 2011)
New Revision: 34479
Added:
trunk/documentation/whatsnew/as/as-news-3.3.0.M3.html
trunk/documentation/whatsnew/as/images/commit-and-push.png
trunk/documentation/whatsnew/as/images/server-already-running.png
Log:
[JBIDE-9618] created N&N for 3.3.0 M3
Added: trunk/documentation/whatsnew/as/as-news-3.3.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-3.3.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/as/as-news-3.3.0.M3.html 2011-09-01 12:45:16 UTC (rev 34479)
@@ -0,0 +1,111 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JBoss AS Tools 3.3.0.M3 News</title>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-17645367-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script></head>
+
+<body>
+
+<h1>JBoss AS Tools 3.3.0.M3 What's New</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../jst/jst-news-3.3.0.M3.html">JST/JSF Tools ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Server</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
+ <p><b>Remote AS7 Servers</b></p>
+ </td>
+ <td valign="top" width="90%">
+ <p>The AS7 server adapter is now capable of dealing with remote JBoss AS 7 server. You can now deploy to them and
+ start/stop them as you already can with prior JBoss servers.</p>
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9215">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr><td colspan="2"><hr /></td></tr>
+ <tr>
+ <td valign="top" align="right">
+ <p><b>EAP 6 Support</b></p>
+ </td>
+ <td valign="top" width="90%">
+ <p>We added support for JBoss EAP 6 in JBoss Tools M3.</p>
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9574">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr><td colspan="2"><hr /></td></tr>
+ <tr>
+ <td valign="top" align="right">
+ <p><b>AS7 Adapter Workflow</b></p>
+ </td>
+ <td valign="top" width="90%">
+ <p>JBoss AS 7 finally matches all features that we offered when configuring adapters for prior JBoss AS adapters. You can now add new runtimes at will, edit them, configure their deployment behaviour when creating them etc.</p>
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9609">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
+ <p><b>Detecting running server</b></p>
+ </td>
+ <td valign="top" width="90%">
+ <p>When you start a server adapter, we'll check if there's a server already running. We'll then let
+ you choose to use the server we found or to start a new instance.</p>
+ <image src="images/server-already-running.png" />
+ <p><small><a href="https://issues.jboss.org/browse/JBIDE-9243">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Miscellaneous</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
+ <p><b>1 Step Commit and Push to Git</b></p>
+ </td>
+ <td valign="top" width="90%">
+ <p>When working with git repositories you'd sometimes want to commit and push at once.
+ The current Eclipse tooling requires you to first call commit and then execute push in a 2nd step.
+ We therefore added an entry to the context menu of git shared projects that would allow you to
+ commit and push in 1 step.</p>
+ <img src="images/commit-and-push.png" />
+ <p>The workflow is not yet perfect in the sense that it would still present you the dialog to push even
+ if you cancelled the commit. We fixed that in the patch we contributed to Eclipse Egit
+ <p>
+ <small>
+ <div><a href="https://issues.jboss.org/browse/JBIDE-9609">Related Jira</a></div>
+ <div><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=330048">EGit bugzilla</a></div>
+ </small>
+ </p>
+ </td>
+ </tr>
+ <tr><td colspan="2"><hr /></td></tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Property changes on: trunk/documentation/whatsnew/as/as-news-3.3.0.M3.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/documentation/whatsnew/as/images/commit-and-push.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/as/images/commit-and-push.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/as/images/server-already-running.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/as/images/server-already-running.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
14 years, 3 months
JBoss Tools SVN: r34478 - in trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test: suite and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: psrna
Date: 2011-09-01 05:57:40 -0400 (Thu, 01 Sep 2011)
New Revision: 34478
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java
Log:
* BPEL Bot Test refactoring
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2011-09-01 09:41:52 UTC (rev 34477)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2011-09-01 09:57:40 UTC (rev 34478)
@@ -44,37 +44,8 @@
" </soapenv:Body>" +
"</soapenv:Envelope>";
-
-
ServersView sView = new ServersView();
- ProjectExplorer projExplorer = new ProjectExplorer(){
-
- @Override
- public void runOnServer(String projectName) {
- String serverName = AssignActivityTest.configuredState.getServer().name;
- //serverName = "SOA-5.1";
-
- bot.viewByTitle("Servers").show();
- bot.viewByTitle("Servers").setFocus();
-
- SWTBotTree tree = bot.viewByTitle("Servers").bot().tree();
- bot.sleep(TIME_5S);
- SWTBotTreeItem server = tree.getTreeItem(serverName + " [Started, Synchronized]").select();
-
- ContextMenuHelper.prepareTreeItemForContextMenu(tree, server);
- new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.ADD_AND_REMOVE, false)).click();
-
- SWTBotShell shell = OdeDeployTest.bot.shell("Add and Remove...");
- shell.activate();
-
- SWTBot viewBot = shell.bot();
- viewBot.tree().setFocus();
- viewBot.tree().select(projectName);
- viewBot.button("Add >").click();
- viewBot.button("Finish").click();
- }
- };
@BeforeClass
public static void setupWorkspace() throws Exception {
@@ -118,17 +89,7 @@
@Test
public void deployProjectTest() throws Exception {
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
- bot.sleep(TIME_20S);
-
String serverName = OdeDeployTest.configuredState.getServer().name;
// Publish the process
projExplorer.runOnServer("say_hello");
@@ -163,12 +124,4 @@
}
-
-
-
-
-
-
-
-
}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java 2011-09-01 09:41:52 UTC (rev 34477)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java 2011-09-01 09:57:40 UTC (rev 34478)
@@ -9,10 +9,16 @@
import org.eclipse.core.runtime.Path;
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.bpel.ui.bot.test.AssignActivityTest;
+import org.jboss.tools.bpel.ui.bot.test.OdeDeployTest;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.ext.view.ProjectExplorer;
public class BPELTest extends SWTTestExt {
@@ -29,7 +35,39 @@
util.waitForNonIgnoredJobs();
bot.sleep(TIME_5S, "BPEL All Tests Finished!");
}
+
+
+
+ protected ProjectExplorer projExplorer = new ProjectExplorer(){
+
+ @Override
+ public void runOnServer(String projectName) {
+ String serverName = AssignActivityTest.configuredState.getServer().name;
+ //serverName = "SOA-5.1";
+ bot.viewByTitle("Servers").show();
+ bot.viewByTitle("Servers").setFocus();
+
+ SWTBotTree tree = bot.viewByTitle("Servers").bot().tree();
+ bot.sleep(TIME_5S);
+ SWTBotTreeItem server = tree.getTreeItem(serverName + " [Started, Synchronized]").select();
+
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree, server);
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.ADD_AND_REMOVE, false)).click();
+
+ SWTBotShell shell = OdeDeployTest.bot.shell("Add and Remove...");
+ shell.activate();
+
+ SWTBot viewBot = shell.bot();
+ viewBot.tree().setFocus();
+ viewBot.tree().select(projectName);
+ viewBot.button("Add >").click();
+ viewBot.button("Finish").click();
+ }
+ };
+
+
+
/**
* Creates a new process in a project identified by it's name.
*
14 years, 3 months
JBoss Tools SVN: r34477 - trunk/common/features/org.jboss.tools.common.jdt.feature.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2011-09-01 05:41:52 -0400 (Thu, 01 Sep 2011)
New Revision: 34477
Modified:
trunk/common/features/org.jboss.tools.common.jdt.feature/feature.properties
Log:
fixed naming of launcher
Modified: trunk/common/features/org.jboss.tools.common.jdt.feature/feature.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.jdt.feature/feature.properties 2011-09-01 09:14:08 UTC (rev 34476)
+++ trunk/common/features/org.jboss.tools.common.jdt.feature/feature.properties 2011-09-01 09:41:52 UTC (rev 34477)
@@ -15,7 +15,7 @@
# This file should be translated.
# "featureName" property - name of the feature
-featureName=JBoss Tools Launching Support
+featureName=JBoss Tools JDT Extensions
# "providerName" property - name of the company that provides the feature
providerName=JBoss by Red Hat
@@ -24,7 +24,7 @@
updateSiteName=JBossTools Update Site
# "description" property - description of the feature
-description=JBoss Tools Launching Support
+description=Extensions for Eclipse JDT tooling, provides features such as easily connecting the debugger to remote Java application.
# "copyright" property - text of the "Feature Update Copyright"
copyright=Copyright (c) 2008-2011 Red Hat, Inc. and others.\nAll rights reserved. This program and the accompanying materials\n
14 years, 3 months