JBoss Tools SVN: r22235 - in branches/jbosstools-3.1.x/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test: defects and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-05-21 07:31:51 -0400 (Fri, 21 May 2010)
New Revision: 22235
Added:
branches/jbosstools-3.1.x/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/
branches/jbosstools-3.1.x/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java
Log:
JBDS-1207 - a test to verify it works
Added: branches/jbosstools-3.1.x/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java
===================================================================
--- branches/jbosstools-3.1.x/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java (rev 0)
+++ branches/jbosstools-3.1.x/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java 2010-05-21 11:31:51 UTC (rev 22235)
@@ -0,0 +1,112 @@
+package org.jboss.ide.eclipse.as.test.defects;
+
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+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.jdt.core.JavaCore;
+import org.eclipse.jst.j2ee.application.internal.operations.AddComponentToEnterpriseApplicationDataModelProvider;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.datamodel.properties.ICreateReferenceComponentsDataModelProperties;
+import org.eclipse.wst.common.componentcore.internal.resources.VirtualArchiveComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider;
+import org.eclipse.wst.server.core.IModule;
+import org.eclipse.wst.server.core.ServerUtil;
+import org.eclipse.wst.server.core.model.IModuleFile;
+import org.eclipse.wst.server.core.model.IModuleFolder;
+import org.eclipse.wst.server.core.model.IModuleResource;
+import org.eclipse.wst.server.core.model.ModuleDelegate;
+import org.jboss.ide.eclipse.as.test.util.wtp.JavaEEFacetConstants;
+import org.jboss.ide.eclipse.as.test.util.wtp.OperationTestCase;
+import org.jboss.ide.eclipse.as.test.util.wtp.ProjectCreationUtil;
+
+public class DefectTest extends TestCase {
+ //wtp305306_patchBuildTest
+ public void testEAR50_WithVariableReference() throws Exception {
+ IDataModel dm = ProjectCreationUtil.getEARDataModel("pEAR", "ourContent", null, null,
+ JavaEEFacetConstants.EAR_5, false);
+ OperationTestCase.runAndVerify(dm);
+ IProject p = ResourcesPlugin.getWorkspace().getRoot()
+ .getProject("pEAR");
+ if (p != null && p.exists()) {
+ try {
+ IVirtualComponent vc = ComponentCore.createComponent(p);
+ addArchiveComponent(vc);
+ // now verify
+ IModule module = ServerUtil.getModule(p);
+ assertNotNull(module);
+ ModuleDelegate md = (ModuleDelegate) module.loadAdapter(
+ ModuleDelegate.class, new NullProgressMonitor());
+ IModuleResource[] resources = md.members();
+
+ assertEquals(1, resources.length);
+ assertEquals(1, ((IModuleFolder) resources[0]).members().length);
+ assertTrue(((IModuleFolder) resources[0]).members()[0] instanceof IModuleFile);
+ IModuleFile junitjar = (IModuleFile) ((IModuleFolder) resources[0])
+ .members()[0];
+ assertEquals("junit.jar", junitjar.getName());
+ } catch (CoreException ce) {
+ ce.printStackTrace();
+ }
+ }
+ }
+
+ public void addArchiveComponent(IVirtualComponent component)
+ throws CoreException {
+
+ IPath path = new Path("JUNIT_HOME/junit.jar"); //$NON-NLS-1$
+ IPath resolvedPath = JavaCore.getResolvedVariablePath(path);
+ java.io.File file = new java.io.File(resolvedPath.toOSString());
+ if (file.isFile() && file.exists()) {
+ String type = VirtualArchiveComponent.VARARCHIVETYPE
+ + IPath.SEPARATOR;
+ IVirtualComponent archive = ComponentCore.createArchiveComponent(
+ component.getProject(), type + path.toString());
+ IDataModelProvider provider = new AddComponentToEnterpriseApplicationDataModelProvider();
+ IDataModel dm = DataModelFactory.createDataModel(provider);
+ dm.setProperty(ICreateReferenceComponentsDataModelProperties.SOURCE_COMPONENT,
+ component);
+ dm.setProperty( ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST,
+ Arrays.asList(archive));
+ Map<IVirtualComponent, String> uriMap = new HashMap<IVirtualComponent, String>();
+ uriMap.put(archive, "junit.jar");
+ dm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENTS_TO_URI_MAP,
+ uriMap);
+ dm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENTS_DEPLOY_PATH,
+ "/lib");
+ IStatus stat = dm.validateProperty(
+ ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST);
+ if (!stat.isOK())
+ throw new CoreException(stat);
+ try {
+ dm.getDefaultOperation().execute(new NullProgressMonitor(),
+ null);
+ } catch (ExecutionException e) {
+ throw new CoreException(new Status(IStatus.ERROR, "test", e
+ .getMessage()));
+ }
+
+ }
+ }
+
+ protected IModule[] getModule(IProject p) {
+ return new IModule[]{ServerUtil.getModule(p)};
+ }
+ protected IProject findProject(String name) {
+ return ResourcesPlugin.getWorkspace().getRoot().getProject(name);
+ }
+}
15 years, 11 months
JBoss Tools SVN: r22234 - trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-05-21 07:19:52 -0400 (Fri, 21 May 2010)
New Revision: 22234
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java
Log:
JBDS-1207 test for trunk
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java 2010-05-21 08:54:00 UTC (rev 22233)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/defects/DefectTest.java 2010-05-21 11:19:52 UTC (rev 22234)
@@ -1,7 +1,12 @@
package org.jboss.ide.eclipse.as.test.defects;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
import junit.framework.TestCase;
+import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
@@ -12,18 +17,30 @@
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jst.j2ee.application.internal.operations.AddComponentToEnterpriseApplicationDataModelProvider;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.datamodel.properties.ICreateReferenceComponentsDataModelProperties;
+import org.eclipse.wst.common.componentcore.internal.resources.VirtualArchiveComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider;
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.ServerUtil;
+import org.eclipse.wst.server.core.model.IModuleFile;
+import org.eclipse.wst.server.core.model.IModuleFolder;
+import org.eclipse.wst.server.core.model.IModuleResource;
+import org.eclipse.wst.server.core.model.ModuleDelegate;
import org.jboss.ide.eclipse.as.core.server.internal.DeployableServer;
import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
import org.jboss.ide.eclipse.as.test.util.ServerRuntimeUtils;
import org.jboss.ide.eclipse.as.test.util.wtp.CreateProjectOperationsUtility;
import org.jboss.ide.eclipse.as.test.util.wtp.JavaEEFacetConstants;
import org.jboss.ide.eclipse.as.test.util.wtp.OperationTestCase;
+import org.jboss.ide.eclipse.as.test.util.wtp.ProjectCreationUtil;
public class DefectTest extends TestCase {
public void testJBIDE6184_Odd_Republish_Error() throws Exception {
@@ -108,8 +125,80 @@
assertTrue(earPath.append("d2.war").append("META-INF").toFile().exists());
assertTrue(earPath.append("d2.war").append("META-INF").append("MANIFEST.MF").toFile().exists());
assertTrue(earPath.append("d2.war").append("WEB-INF").append("web.xml").toFile().exists());
+ }
+
+ //wtp305306_patchBuildTest
+ public void testEAR50_WithVariableReference() throws Exception {
+ IDataModel dm = ProjectCreationUtil.getEARDataModel("pEAR", "ourContent", null, null,
+ JavaEEFacetConstants.EAR_5, false);
+ OperationTestCase.runAndVerify(dm);
+ IProject p = ResourcesPlugin.getWorkspace().getRoot()
+ .getProject("pEAR");
+ if (p != null && p.exists()) {
+ try {
+ IVirtualComponent vc = ComponentCore.createComponent(p);
+ addArchiveComponent(vc);
+ // now verify
+ IModule module = ServerUtil.getModule(p);
+ assertNotNull(module);
+ ModuleDelegate md = (ModuleDelegate) module.loadAdapter(
+ ModuleDelegate.class, new NullProgressMonitor());
+ IModuleResource[] resources = md.members();
+
+ // Currently intended to fail,
+ boolean shouldFail = true;
+ if( shouldFail) {
+ assertEquals(0, resources.length);
+ } else {
+ assertEquals(1, resources.length);
+ assertEquals(1, ((IModuleFolder) resources[0]).members().length);
+ assertTrue(((IModuleFolder) resources[0]).members()[0] instanceof IModuleFile);
+ IModuleFile junitjar = (IModuleFile) ((IModuleFolder) resources[0])
+ .members()[0];
+ assertEquals("junit.jar", junitjar.getName());
+ }
+ } catch (CoreException ce) {
+ ce.printStackTrace();
+ }
+ }
+ }
-
+ public void addArchiveComponent(IVirtualComponent component)
+ throws CoreException {
+
+ IPath path = new Path("JUNIT_HOME/junit.jar"); //$NON-NLS-1$
+ IPath resolvedPath = JavaCore.getResolvedVariablePath(path);
+ java.io.File file = new java.io.File(resolvedPath.toOSString());
+ if (file.isFile() && file.exists()) {
+ String type = VirtualArchiveComponent.VARARCHIVETYPE
+ + IPath.SEPARATOR;
+ IVirtualComponent archive = ComponentCore.createArchiveComponent(
+ component.getProject(), type + path.toString());
+ IDataModelProvider provider = new AddComponentToEnterpriseApplicationDataModelProvider();
+ IDataModel dm = DataModelFactory.createDataModel(provider);
+ dm.setProperty(ICreateReferenceComponentsDataModelProperties.SOURCE_COMPONENT,
+ component);
+ dm.setProperty( ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST,
+ Arrays.asList(archive));
+ Map<IVirtualComponent, String> uriMap = new HashMap<IVirtualComponent, String>();
+ uriMap.put(archive, "junit.jar");
+ dm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENTS_TO_URI_MAP,
+ uriMap);
+ dm.setProperty(ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENTS_DEPLOY_PATH,
+ "/lib");
+ IStatus stat = dm.validateProperty(
+ ICreateReferenceComponentsDataModelProperties.TARGET_COMPONENT_LIST);
+ if (!stat.isOK())
+ throw new CoreException(stat);
+ try {
+ dm.getDefaultOperation().execute(new NullProgressMonitor(),
+ null);
+ } catch (ExecutionException e) {
+ throw new CoreException(new Status(IStatus.ERROR, "test", e
+ .getMessage()));
+ }
+
+ }
}
protected IModule[] getModule(IProject p) {
15 years, 11 months
JBoss Tools SVN: r22233 - trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2010-05-21 04:54:00 -0400 (Fri, 21 May 2010)
New Revision: 22233
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF
Log:
Remove not used plugins from Plugins Dependencies
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF 2010-05-21 07:19:17 UTC (rev 22232)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF 2010-05-21 08:54:00 UTC (rev 22233)
@@ -11,8 +11,6 @@
org.eclipse.swtbot.swt.finder;bundle-version="2.0.0",
org.apache.log4j;bundle-version="1.2.13",
org.junit4;bundle-version="4.5.0",
- org.eclipse.swtbot.eclipse.spy;bundle-version="2.0.0",
- org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.0",
org.eclipse.swtbot.junit4_x;bundle-version="2.0.0",
org.jboss.tools.ui.bot.ext
Bundle-ActivationPolicy: lazy
15 years, 11 months
JBoss Tools SVN: r22232 - in trunk/bpel/tests: org.jboss.tools.bpel.ui.bot.test and 20 other directories.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2010-05-21 03:19:17 -0400 (Fri, 21 May 2010)
New Revision: 22232
Added:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.project
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.settings/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/META-INF/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/META-INF/MANIFEST.MF
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/Activator.class
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/wizard/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.class
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/build.properties
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/Activator.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/wizard/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.java
Log:
JBIDE-6154: add the swtbot test for this issue
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.project
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.project (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.project 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.bpel.ui.bot.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.settings/org.eclipse.jdt.core.prefs 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,8 @@
+#Tue May 18 12:03:11 CST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/META-INF/MANIFEST.MF 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,16 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.jboss.tools.bpel.ui.bot.test
+Bundle-SymbolicName: org.jboss.tools.bpel.ui.bot.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.bpel.ui.bot.test.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.swtbot.eclipse.core,
+ org.eclipse.swtbot.eclipse.finder,
+ org.eclipse.swtbot.swt.finder,
+ org.junit,
+ org.eclipse.core.resources
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: JBoss by Red Hat
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/Activator.class
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/Activator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.class
===================================================================
(Binary files differ)
Property changes on: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/bin/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/build.properties
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/build.properties (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/build.properties 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,7 @@
+output.. = bin/
+bin.includes = .,\
+ META-INF/
+source.. = src/
+src.includes = META-INF/,\
+ .,\
+ build.properties
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/pom.xml 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>../../../parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.bpel.ui.bot.test</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>eclipse-test-plugin</packaging>
+</project>
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/Activator.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/Activator.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/Activator.java 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,50 @@
+package org.jboss.tools.bpel.ui.bot.test;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.bpel.ui.bot.test";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/wizard/NewWizardTest.java 2010-05-21 07:19:17 UTC (rev 22232)
@@ -0,0 +1,85 @@
+package org.jboss.tools.bpel.ui.bot.test.wizard;
+
+import java.io.BufferedInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+
+public class NewWizardTest extends TestCase{
+private static SWTWorkbenchBot bot;
+private IProject project;
+protected void setUp() throws Exception {
+ bot = new SWTWorkbenchBot();
+ bot.viewByTitle("Welcome").close();
+}
+public void testNewWizard() throws IOException, CoreException{
+ createBPELProject();
+ createBPELFile();
+}
+
+private void createBPELFile() throws IOException, CoreException {
+ bot.menu("File").menu("New").menu("Other...").click();
+ bot.shell("New").activate();
+ SWTBotTree tree = bot.tree();
+ tree.expandNode("BPEL 2.0").expandNode("New BPEL Process File").select();
+ assertTrue(bot.button("Next >").isEnabled());
+ bot.button("Next >").click();
+
+ assertFalse(bot.button("Next >").isEnabled());
+
+ bot.textWithLabel("BPEL Process Name:").setText("a");
+ bot.comboBoxWithLabel("Namespace:").setText("http://eclipse.org/bpel/sample");
+ bot.comboBoxWithLabel("Template:").setSelection(2);
+ assertTrue(bot.button("Next >").isEnabled());
+ bot.button("Next >").click();
+ assertEquals("a", bot.textWithLabel("Service Name").getText());
+ bot.button("Finish").click();
+ bot.sleep(10000);
+
+ IFile bpelFile = project.getFile( new Path("bpelContent/a.bpel"));
+ assertNotNull(bpelFile);
+ IFile wsdlFile = project.getFile( new Path("bpelContent/aArtifacts.wsdl"));
+ assertNotNull(wsdlFile);
+
+ String con = getContents(wsdlFile.getContents(),wsdlFile);
+ assertTrue(con.contains("tns:aBinding"));
+}
+private void createBPELProject() {
+ bot.menu("File").menu("New").menu("Project...").click();
+ bot.shell("New Project").activate();
+ SWTBotTree tree = bot.tree();
+ tree.expandNode("BPEL 2.0").expandNode("BPEL Project").select();
+ assertTrue(bot.button("Next >").isEnabled());
+ bot.button("Next >").click();
+ bot.shell("New BPEL Project").activate();
+ assertFalse(bot.button("Finish").isEnabled());
+
+ bot.textWithLabel("Project name:").setText("A");
+ assertTrue(bot.button("Finish").isEnabled());
+ bot.button("Finish").click();
+ bot.sleep(10000);
+ project = ResourcesPlugin.getWorkspace().getRoot().getProject("A");
+ assertNotNull(project);
+}
+protected void tearDown() throws Exception {
+ bot = null;
+}
+
+protected String getContents(InputStream is, IFile file) throws IOException {
+ BufferedInputStream bis = new BufferedInputStream(is);
+ int l = (int)file.getLocation().toFile().length();
+ byte[] bs = new byte[l];
+ l = bis.read(bs, 0, l);
+ bis.close();
+ return new String(bs);
+}
+}
15 years, 11 months
JBoss Tools SVN: r22231 - in trunk/as/plugins: org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-05-21 02:54:15 -0400 (Fri, 21 May 2010)
New Revision: 22231
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/xpl/PublishCopyUtil.java
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/util/ServerModelUtilities.java
Log:
JBIDE-6320 - zipped deployment fail on binary child modules
Modified: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java 2010-05-21 00:22:11 UTC (rev 22230)
+++ trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java 2010-05-21 06:54:15 UTC (rev 22231)
@@ -30,6 +30,7 @@
import org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior;
import org.jboss.ide.eclipse.as.core.util.FileUtil;
import org.jboss.ide.eclipse.as.core.util.FileUtil.IFileUtilListener;
+import org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities;
import de.schlichtherle.io.ArchiveDetector;
@@ -174,6 +175,21 @@
return (IStatus[]) status.toArray(new IStatus[status.size()]);
}
+ protected IStatus[] fullBinaryPublish(IServer server, String deployRoot, IModule[] parent, IModule last) {
+ ArrayList<IStatus> results = new ArrayList<IStatus>();
+ try {
+ IPath path = getOutputFilePath(combine(parent, last));
+ path = path.removeLastSegments(1);
+ de.schlichtherle.io.File root = TrueZipUtil.getFile(path, TrueZipUtil.getJarArchiveDetector());
+ IModuleResource[] resources = getResources(last);
+ results.addAll(Arrays.asList(copy(root, resources)));
+ TrueZipUtil.umount();
+ return (IStatus[]) results.toArray(new IStatus[results.size()]);
+ } catch( CoreException ce) {
+ results.add(generateCoreExceptionStatus(ce));
+ return (IStatus[]) results.toArray(new IStatus[results.size()]);
+ }
+ }
protected IStatus[] fullPublish(IServer server, String deployRoot, IModule[] module) {
ArrayList<IStatus> results = new ArrayList<IStatus>();
try {
@@ -187,8 +203,12 @@
results.addAll(Arrays.asList(copy(root, resources)));
IModule[] children = server.getChildModules(module, new NullProgressMonitor());
- for( int i = 0; i < children.length; i++ )
- results.addAll(Arrays.asList(fullPublish(server, deployRoot, combine(module, children[i]))));
+ for( int i = 0; i < children.length; i++ ) {
+ if( ServerModelUtilities.isBinaryModule(children[i]))
+ results.addAll(Arrays.asList(fullBinaryPublish(server, deployRoot, module, children[i])));
+ else
+ results.addAll(Arrays.asList(fullPublish(server, deployRoot, combine(module, children[i]))));
+ }
TrueZipUtil.umount();
return (IStatus[]) results.toArray(new IStatus[results.size()]);
} catch( CoreException ce) {
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java 2010-05-21 00:22:11 UTC (rev 22230)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/DeployableServer.java 2010-05-21 06:54:15 UTC (rev 22231)
@@ -30,6 +30,7 @@
import org.jboss.ide.eclipse.as.core.util.ModuleUtil;
import org.jboss.ide.eclipse.as.core.util.ServerUtil;
import org.jboss.ide.eclipse.as.wtp.core.modules.IJBTModule;
+import org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities;
public class DeployableServer extends ServerDelegate implements IDeployableServer {
@@ -62,11 +63,6 @@
return Status.OK_STATUS;
}
- public IModule[] getChildModules(IModule[] module) {
- IModule[] children = ModuleUtil.getChildModules(module);
- return children;
- }
-
public IModule[] getRootModules(IModule module) throws CoreException {
IStatus status = canModifyModules(new IModule[] { module }, null);
if (status != null && !status.isOK())
@@ -77,6 +73,9 @@
return new IModule[] { module };
}
+ public IModule[] getChildModules(IModule[] module) {
+ return ServerModelUtilities.getChildModules(module);
+ }
private IModule[] doGetParentModules(IModule module) {
// get all supported modules
@@ -86,20 +85,10 @@
ArrayList<IModule> list = new ArrayList<IModule>();
for( int i = 0; i < supported.length; i++ ) {
- IEnterpriseApplication jeeMod = (IEnterpriseApplication)supported[i].loadAdapter(IEnterpriseApplication.class,null);
- IJBTModule jbtMod = (IJBTModule)supported[i].loadAdapter(IJBTModule.class, null);
- if( jeeMod != null ) {
- IModule[] childs = jeeMod.getModules();
- for (int j = 0; j < childs.length; j++) {
- if(childs[j].equals(module))
- list.add(supported[i]);
- }
- } else if( jbtMod != null ) {
- IModule[] childs = jbtMod.getModules();
- for (int j = 0; j < childs.length; j++) {
- if(childs[j].equals(module))
- list.add(supported[i]);
- }
+ IModule[] childs = ServerModelUtilities.getChildModules(supported[i]);
+ for (int j = 0; j < childs.length; j++) {
+ if(childs[j].equals(module))
+ list.add(supported[i]);
}
}
return list.toArray(new IModule[list.size()]);
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/xpl/PublishCopyUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/xpl/PublishCopyUtil.java 2010-05-21 00:22:11 UTC (rev 22230)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/xpl/PublishCopyUtil.java 2010-05-21 06:54:15 UTC (rev 22231)
@@ -540,8 +540,13 @@
List status = new ArrayList(2);
if (resource instanceof IModuleFolder) {
IModuleFolder folder = (IModuleFolder) resource;
- IStatus[] stat = publishFull(folder.members(), path, monitor);
- addArrayToList(status, stat);
+ IModuleResource[] children = folder.members();
+ if( children.length == 0 )
+ handler.makeDirectoryIfRequired(folder.getModuleRelativePath().append(folder.getName()), monitor);
+ else {
+ IStatus[] stat = publishFull(children, path, monitor);
+ addArrayToList(status, stat);
+ }
} else {
IModuleFile mf = (IModuleFile) resource;
path = path.append(mf.getModuleRelativePath()).append(name);
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/util/ServerModelUtilities.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/util/ServerModelUtilities.java 2010-05-21 00:22:11 UTC (rev 22230)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/util/ServerModelUtilities.java 2010-05-21 06:54:15 UTC (rev 22231)
@@ -15,6 +15,7 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jst.server.core.IEnterpriseApplication;
+import org.eclipse.jst.server.core.IJ2EEModule;
import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.IServer;
import org.jboss.ide.eclipse.as.wtp.core.modules.IJBTModule;
@@ -47,17 +48,31 @@
}
public static IModule[] getChildModules(IModule[] module) {
- int last = module.length-1;
- if (module[last] != null && module[last].getModuleType() != null) {
- IEnterpriseApplication enterpriseApplication = (IEnterpriseApplication) module[last]
- .loadAdapter(IEnterpriseApplication.class, null);
- if( enterpriseApplication != null )
- return enterpriseApplication.getModules() == null ? new IModule[]{} : enterpriseApplication.getModules();
-
- IJBTModule jbtMod = (IJBTModule)module[last].loadAdapter(IJBTModule.class, null);
- if( jbtMod != null )
- return jbtMod.getModules();
- }
+ int last = module.length -1;
+ if( module[last] != null && module[last].getModuleType() != null)
+ return getChildModules(module[last]);
return new IModule[0];
}
+
+ public static IModule[] getChildModules(IModule module) {
+ IEnterpriseApplication enterpriseApplication = (IEnterpriseApplication)
+ module.loadAdapter(IEnterpriseApplication.class, null);
+ if( enterpriseApplication != null )
+ return enterpriseApplication.getModules() == null ? new IModule[]{} : enterpriseApplication.getModules();
+
+ IJBTModule jbtMod = (IJBTModule)module.loadAdapter(IJBTModule.class, null);
+ if( jbtMod != null )
+ return jbtMod.getModules();
+ return new IModule[0];
+ }
+
+ public static boolean isBinaryModule(IModule module) {
+ IJ2EEModule jee = (IJ2EEModule) module.loadAdapter(IJ2EEModule.class, null);
+ if( jee != null )
+ return jee.isBinary();
+ IJBTModule jbtMod = (IJBTModule)module.loadAdapter(IJBTModule.class, null);
+ if( jbtMod != null )
+ return jbtMod.isBinary();
+ return false;
+ }
}
15 years, 11 months
JBoss Tools SVN: r22230 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-05-20 20:22:11 -0400 (Thu, 20 May 2010)
New Revision: 22230
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
Log:
updated to make image tag close itself
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2010-05-21 00:05:45 UTC (rev 22229)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2010-05-21 00:22:11 UTC (rev 22230)
@@ -15,8 +15,7 @@
<corpauthor>
<inlinemediaobject>
<imageobject>
- <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG">
- </imagedata>
+ <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG" />
</imageobject>
</inlinemediaobject>
</corpauthor>
15 years, 11 months
JBoss Tools SVN: r22229 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-05-20 20:05:45 -0400 (Thu, 20 May 2010)
New Revision: 22229
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml
Log:
updated to remove jbosstools image link
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml 2010-05-20 23:38:48 UTC (rev 22228)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml 2010-05-21 00:05:45 UTC (rev 22229)
@@ -13,16 +13,7 @@
<articleinfo>
<title>Release Notes</title>
- <corpauthor>
- <inlinemediaobject>
- <imageobject role="fo">
- <imagedata format="PNG" fileref="images/jbosstools_logo.png" />
- </imageobject>
- <imageobject role="html">
- <imagedata/>
- </imageobject>
- </inlinemediaobject>
- </corpauthor>
+
<author>
<firstname>Isaac</firstname>
15 years, 11 months
JBoss Tools SVN: r22228 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-05-20 19:38:48 -0400 (Thu, 20 May 2010)
New Revision: 22228
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
Log:
updated with new jira JBDS-1228
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2010-05-20 22:09:23 UTC (rev 22227)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2010-05-20 23:38:48 UTC (rev 22228)
@@ -174,6 +174,11 @@
<itemizedlist>
<listitem>
<para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBDS-1228">JBDS-1228</ulink>: The JBoss Developer Studio installation wizard would display incorrect step numbering, seeming to jump sporadically. This occured because steps the installer takes that are invisible to the user were still included in the displayed step numbering on each screen. In this release the step numbering has been corrected to count only the steps the user participates in.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<ulink url="http://jira.jboss.com/jira/browse/JBDS-1220">JBDS-1220</ulink>: Within the JBoss Developer Studio, the browse button that allowed a user to select the location of the JBoss Application Server would not default to the location where the JBoss Enterprise Application Platform was installed. The consequence of this was that a user would have to search for the installed location of the JBoss Enterprise Application Platform. Though installation of the JBoss Enterprise Application Platform is optional, if it is installed it can be assumed that this will be the Application Server a user will wish to use. In order to improve the user experience, when the JBoss Enterprise Application Platform is installed, the server location browse button will default to that directory.
</para>
</listitem>
15 years, 11 months
JBoss Tools SVN: r22227 - in trunk/tests: site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-05-20 18:09:23 -0400 (Thu, 20 May 2010)
New Revision: 22227
Added:
trunk/tests/site/
trunk/tests/site/pom.xml
trunk/tests/site/site.xml
Log:
add site files
Added: trunk/tests/site/pom.xml
===================================================================
--- trunk/tests/site/pom.xml (rev 0)
+++ trunk/tests/site/pom.xml 2010-05-20 22:09:23 UTC (rev 22227)
@@ -0,0 +1,13 @@
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>../../parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>tests.site</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>eclipse-update-site</packaging>
+</project>
Added: trunk/tests/site/site.xml
===================================================================
--- trunk/tests/site/site.xml (rev 0)
+++ trunk/tests/site/site.xml 2010-05-20 22:09:23 UTC (rev 22227)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <description>To install these features, point Eclipse at this site.</description>
+ <!-- JBoss Tools tests Nightly Build Update Site -->
+ <category-def label="JBoss Tools tests Nightly Build Update Site" name="JBoss Tools tests Nightly Build Update Site">
+ <description>JBoss Tools tests Nightly Build Update Site: contains all features in this build.</description>
+ </category-def>
+ <feature url="features/org.jboss.tools.test.feature_0.0.0.jar" id="org.jboss.tools.test.feature" version="0.0.0">
+ <category name="JBoss Tools tests Nightly Build Update Site"/>
+ </feature>
+
+</site>
15 years, 11 months
JBoss Tools SVN: r22226 - trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-05-20 17:58:10 -0400 (Thu, 20 May 2010)
New Revision: 22226
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF
Log:
fix version ranges
Modified: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF 2010-05-20 20:46:39 UTC (rev 22225)
+++ trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/META-INF/MANIFEST.MF 2010-05-20 21:58:10 UTC (rev 22226)
@@ -7,8 +7,8 @@
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.wst.common.emfworkbench.integration,
- org.jboss.ide.eclipse.archives.core;bundle-version="2.0.0",
- org.jboss.ide.eclipse.archives.ui;bundle-version="1.0.0",
+ org.jboss.ide.eclipse.archives.core,
+ org.jboss.ide.eclipse.archives.ui,
org.eclipse.wst.server.core;bundle-version="1.1.0",
org.eclipse.wst.server.ui;bundle-version="1.1.0",
org.eclipse.core.resources;bundle-version="3.4.0",
@@ -17,15 +17,15 @@
org.eclipse.jem.util,
org.eclipse.wst.common.modulecore;bundle-version="1.1.200",
org.apache.ant;bundle-version="1.7.0",
- org.jboss.ide.eclipse.as.core;bundle-version="1.0.0",
+ org.jboss.ide.eclipse.as.core,
org.eclipse.ui.ide;bundle-version="3.4.0",
- org.jboss.ide.eclipse.as.ui;bundle-version="1.0.0",
+ org.jboss.ide.eclipse.as.ui,
org.eclipse.core.filesystem;bundle-version="1.2.0",
org.eclipse.ui.navigator;bundle-version="3.3.100",
- org.jboss.tools.jmx.core;bundle-version="0.2.1",
+ org.jboss.tools.jmx.core,
org.eclipse.core.variables;bundle-version="3.2.200",
- org.jboss.ide.eclipse.as.wtp.core;bundle-version="1.0.0",
- org.jboss.ide.eclipse.as.wtp.ui;bundle-version="1.0.0",
+ org.jboss.ide.eclipse.as.wtp.core,
+ org.jboss.ide.eclipse.as.wtp.ui,
org.eclipse.emf.common;bundle-version="2.5.0",
org.eclipse.emf.ecore;bundle-version="2.5.0"
Bundle-ActivationPolicy: lazy
15 years, 11 months