JBoss Tools SVN: r25881 - in trunk/deltacloud/tests/org.jboss.tools.deltacloud.test: META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 13:13:27 -0400 (Fri, 15 Oct 2010)
New Revision: 25881
Added:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltacloudIntegrationTest.java
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/DeltaCloudClientTest.java
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/.classpath
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/META-INF/MANIFEST.MF
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build.properties
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltaCloudTestSuite.java
Log:
[JBIDE-7320] trying to invoke ruby scripts in a bundle
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/.classpath
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/.classpath 2010-10-15 17:12:35 UTC (rev 25880)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/.classpath 2010-10-15 17:13:27 UTC (rev 25881)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
+ <classpathentry exported="true" kind="lib" path="jruby-complete-1.5.3.jar"/>
<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"/>
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/META-INF/MANIFEST.MF 2010-10-15 17:12:35 UTC (rev 25880)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/META-INF/MANIFEST.MF 2010-10-15 17:13:27 UTC (rev 25881)
@@ -5,3 +5,5 @@
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.junit;bundle-version="4.8.1"
+Bundle-ClassPath: jruby-complete-1.5.3.jar,
+ .
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build.properties
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build.properties 2010-10-15 17:12:35 UTC (rev 25880)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/build.properties 2010-10-15 17:13:27 UTC (rev 25881)
@@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ jruby-complete-1.5.3.jar
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltaCloudTestSuite.java
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltaCloudTestSuite.java 2010-10-15 17:12:35 UTC (rev 25880)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltaCloudTestSuite.java 2010-10-15 17:13:27 UTC (rev 25881)
@@ -18,7 +18,9 @@
* @author Andre Dietisheim
*/
@RunWith(Suite.class)
-(a)Suite.SuiteClasses({})
+(a)Suite.SuiteClasses({
+ DeltacloudIntegrationTest.class
+})
public class DeltaCloudTestSuite {
}
Added: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltacloudIntegrationTest.java
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltacloudIntegrationTest.java (rev 0)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltacloudIntegrationTest.java 2010-10-15 17:13:27 UTC (rev 25881)
@@ -0,0 +1,23 @@
+package org.jboss.tools.internal.deltacloud.test;
+
+import javax.script.ScriptEngine;
+import javax.script.ScriptEngineManager;
+import javax.script.ScriptException;
+
+import org.junit.Test;
+
+public class DeltacloudIntegrationTest {
+
+ @Test
+ public void runDeltaCloud() {
+ ScriptEngineManager factory = new ScriptEngineManager();
+ ScriptEngine engine = factory.getEngineByName("jruby");
+ try {
+ engine.eval("puts('Hello')");
+ engine.eval("gem install rake");
+ } catch (ScriptException exception) {
+ exception.printStackTrace();
+ }
+ }
+
+}
Property changes on: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/DeltacloudIntegrationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/DeltaCloudClientTest.java
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/DeltaCloudClientTest.java (rev 0)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/DeltaCloudClientTest.java 2010-10-15 17:13:27 UTC (rev 25881)
@@ -0,0 +1,5 @@
+package org.jboss.tools.internal.deltacloud.test.core;
+
+public class DeltaCloudClientTest {
+
+}
Property changes on: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/DeltaCloudClientTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 2 months
JBoss Tools SVN: r25880 - trunk/deltacloud/tests/org.jboss.tools.deltacloud.test.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 13:12:35 -0400 (Fri, 15 Oct 2010)
New Revision: 25880
Added:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/jruby-complete-1.5.3.jar
Log:
[JBIDE-7320] trying to invoke ruby scripts in a bundle
Added: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/jruby-complete-1.5.3.jar
===================================================================
(Binary files differ)
Property changes on: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/jruby-complete-1.5.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
14 years, 2 months
JBoss Tools SVN: r25879 - trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/dialogs.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-10-15 12:53:42 -0400 (Fri, 15 Oct 2010)
New Revision: 25879
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/dialogs/EditPropertyAliasDialog.java
Log:
https://jira.jboss.org/browse/JBIDE-7107
more fixes: query expression uses unknown namespaces
Modified: trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/dialogs/EditPropertyAliasDialog.java
===================================================================
--- trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/dialogs/EditPropertyAliasDialog.java 2010-10-15 16:25:15 UTC (rev 25878)
+++ trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/dialogs/EditPropertyAliasDialog.java 2010-10-15 16:53:42 UTC (rev 25879)
@@ -21,10 +21,9 @@
import org.eclipse.bpel.ui.expressions.IEditorConstants;
import org.eclipse.bpel.ui.properties.ExpressionSection;
import org.eclipse.bpel.ui.util.BrowseUtil;
-import org.eclipse.emf.common.util.EList;
+import org.eclipse.bpel.ui.util.WSDLImportHelper;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.gef.commands.Command;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogConstants;
@@ -50,7 +49,6 @@
import org.eclipse.xsd.XSDComponent;
import org.eclipse.xsd.XSDElementDeclaration;
import org.eclipse.xsd.XSDNamedComponent;
-import org.eclipse.xsd.XSDParticle;
import org.eclipse.xsd.XSDTypeDefinition;
@@ -462,11 +460,21 @@
index = 2;
}
}
+
+ // build the query string
+ // NOTE: The namespace for the XSD type may be different from the message namespace
+ // e.g. the message is defined in a WSDL and the XSD type is defined in externally
+ // with a different namespace.
+ Definition definition = property.getEnclosingDefinition();
query = "";
while (index<result.length) {
if (result[index] instanceof XSDComponent) {
XSDNamedComponent nc = (XSDNamedComponent)result[index];
- query = query + "/" + nc.getQName();
+ WSDLImportHelper.addImportAndNamespace(definition, nc.getSchema(),
+ bpelEditor.getEditModelClient().getPrimaryResourceInfo().getFile());
+ String prefix = definition.getPrefix(nc.getTargetNamespace());
+ // prefix is always non-null here, see WSDLImportHelper#addNamespace()
+ query = query + "/" + prefix + ":" + nc.getName();
}
++index;
}
14 years, 2 months
JBoss Tools SVN: r25878 - trunk/deltacloud/features.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 12:25:15 -0400 (Fri, 15 Oct 2010)
New Revision: 25878
Modified:
trunk/deltacloud/features/pom.xml
Log:
[JIBDE-7230] corrected pom
Modified: trunk/deltacloud/features/pom.xml
===================================================================
--- trunk/deltacloud/features/pom.xml 2010-10-15 16:21:55 UTC (rev 25877)
+++ trunk/deltacloud/features/pom.xml 2010-10-15 16:25:15 UTC (rev 25878)
@@ -1,14 +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>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.parent.pom</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent>
- <groupId>org.jboss.tools.deltacloud.features</groupId>
- <artifactId>org.jboss.tools.deltacloud.test.feature</artifactId>
- <name>org.jboss.tools.deltacloud.test.feature</name>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>eclipse-feature</packaging>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools.deltacloud</groupId>
+ <artifactId>features</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>seam.features</name>
+ <modules>
+ <module>org.jboss.tools.deltacloud.feature</module>
+ <module>org.jboss.tools.deltacloud.test.feature</module>
+ </modules>
</project>
+
14 years, 2 months
JBoss Tools SVN: r25877 - trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-10-15 12:21:55 -0400 (Fri, 15 Oct 2010)
New Revision: 25877
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java
Log:
JBIDE-7299
https://jira.jboss.org/browse/JBIDE-7299
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java 2010-10-15 16:17:45 UTC (rev 25876)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/bean/JSFRenameFieldParticipant.java 2010-10-15 16:21:55 UTC (rev 25877)
@@ -57,6 +57,7 @@
public Change createChange(IProgressMonitor pm) throws CoreException,
OperationCanceledException {
if (!pm.isCanceled()) {
+ if(!updateReferences() && object == null) return null;
String newName = getArguments().getNewName();
if (field != null) {
JSFRenameFieldChange c2 = new JSFRenameFieldChange(field, newName);
14 years, 2 months
JBoss Tools SVN: r25876 - trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 12:17:45 -0400 (Fri, 15 Oct 2010)
New Revision: 25876
Added:
trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/.project
trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/build.properties
trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.properties
trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.xml
trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/pom.xml
Log:
[JBIDE-7320] adding test feature
Added: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/.project
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/.project (rev 0)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/.project 2010-10-15 16:17:45 UTC (rev 25876)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.deltacloud.test.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/build.properties
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/build.properties (rev 0)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/build.properties 2010-10-15 16:17:45 UTC (rev 25876)
@@ -0,0 +1 @@
+bin.includes = feature.xml
Property changes on: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.properties
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.properties (rev 0)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.properties 2010-10-15 16:17:45 UTC (rev 25876)
@@ -0,0 +1,54 @@
+###############################################################################
+# Copyright (c) 2008-2010 JBoss by Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss by Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=TPTP Profile On JBoss Server
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+# "description" property - description of the feature
+description=TPTP Profile On JBoss Server
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=Copyright (c) 2008-2010 JBoss by Red Hat and others.\n\
+All rights reserved. This program and the accompanying materials\n\
+are made available under the terms of the Eclipse Public License v1.0\n\
+which accompanies this distribution, and is available at\n\
+http\://www.eclipse.org/legal/epl-v10.html\n\n\
+Contributors\:\n\
+JBoss by Red Hat - Initial implementation.
+ ############### end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=Red Hat, Inc. licenses these features and plugins to you under \
+certain open source licenses (or aggregations of such licenses), which \
+in a particular case may include the Eclipse Public License, the GNU \
+Lesser General Public License, and/or certain other open source \
+licenses. For precise licensing details, consult the corresponding \
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive, \
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ##########################################
Property changes on: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.xml
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.xml (rev 0)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.xml 2010-10-15 16:17:45 UTC (rev 25876)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.deltacloud.test.feature"
+ label="JBoss Tools Deltacloud Test Feature"
+ version="1.0.0.qualifier">
+
+ <description url="http://www.example.com/description">
+ [Enter Feature Description here.]
+ </description>
+
+ <copyright url="http://www.example.com/copyright">
+ [Enter Copyright Description here.]
+ </copyright>
+
+ <license url="http://www.example.com/license">
+ [Enter License Description here.]
+ </license>
+
+ <plugin
+ id="org.jboss.tools.deltacloud.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Property changes on: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/feature.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/pom.xml
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/pom.xml (rev 0)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/pom.xml 2010-10-15 16:17:45 UTC (rev 25876)
@@ -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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.deltacloud.features</groupId>
+ <artifactId>org.jboss.tools.deltacloud.test.feature</artifactId>
+ <name>org.jboss.tools.deltacloud.test.feature</name>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>eclipse-feature</packaging>
+</project>
Property changes on: trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 2 months
JBoss Tools SVN: r25875 - trunk/deltacloud/features.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 12:16:43 -0400 (Fri, 15 Oct 2010)
New Revision: 25875
Added:
trunk/deltacloud/features/org.jboss.tools.deltacloud.test.feature/
Log:
[JBIDE-7320] adding test feature
14 years, 2 months
JBoss Tools SVN: r25874 - in trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-10-15 11:57:55 -0400 (Fri, 15 Oct 2010)
New Revision: 25874
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
Log:
JBIDE-7348
https://jira.jboss.org/browse/JBIDE-7348
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java 2010-10-15 15:56:08 UTC (rev 25873)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java 2010-10-15 15:57:55 UTC (rev 25874)
@@ -366,12 +366,21 @@
}
try{
+ boolean saveAutoBuild = ResourcesUtils.setBuildAutomatically(false);
+ JobUtils.waitForIdle();
classFile.delete(true, new NullProgressMonitor());
+ project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+ JobUtils.waitForIdle();
+ project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgressMonitor());
+ JobUtils.waitForIdle();
+ ResourcesUtils.setBuildAutomatically(saveAutoBuild);
+ JobUtils.waitForIdle();
}catch(Exception ex){
JUnitUtils.fail("Cannot delete file JavaSource/demo/Person.java", ex);
}
- refreshProject(project);
+// refreshProject(project);
+
navigator.getCommonViewer().refresh(true);
navigator.getCommonViewer().expandAll();
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2010-10-15 15:56:08 UTC (rev 25873)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2010-10-15 15:57:55 UTC (rev 25874)
@@ -18,6 +18,7 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.seam.core.ISeamComponent;
import org.jboss.tools.seam.ui.wizard.OpenSeamComponentDialog;
import org.jboss.tools.seam.ui.wizard.OpenSeamComponentDialog.SeamComponentWrapper;
import org.jboss.tools.test.util.JobUtils;
@@ -67,7 +68,7 @@
}
public void testOpenSeamComponentDialogSearch() {
- find("m", "mockSecureEntity", true);
+ find("mock", "mockSecureEntity", true);
find("o", "org.jboss.seam.captcha.captcha", false);
find("p", "org.jboss.seam.core.pageContext", false);
}
@@ -98,13 +99,22 @@
assertTrue("Component "+componentName+" not found", objects.length != 0);
- SeamComponentWrapper wrapper = (SeamComponentWrapper)objects[0];
- assertNotNull(wrapper.getComponent());
+ ISeamComponent component = findComponent(objects, componentName);
- assertEquals("Component "+componentName+" not found with " + pattern, componentName, wrapper.getComponentName());
+ assertNotNull("Component "+componentName+" not found with " + pattern, component);
} finally {
dialog.okPressed();
}
}
+ private ISeamComponent findComponent(Object[] objects, String componentName) {
+ for (Object o: objects) {
+ SeamComponentWrapper wrapper = (SeamComponentWrapper)o;
+ assertNotNull(wrapper.getComponent());
+ if(componentName.equals(wrapper.getComponentName())) {
+ return wrapper.getComponent();
+ }
+ }
+ return null;
+ }
}
14 years, 2 months
JBoss Tools SVN: r25873 - trunk/deltacloud/features.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 11:56:08 -0400 (Fri, 15 Oct 2010)
New Revision: 25873
Removed:
trunk/deltacloud/features/target/
Log:
[JBIDE-7320] removed erroneous artifacts
14 years, 2 months
JBoss Tools SVN: r25872 - trunk/deltacloud/features.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-10-15 11:53:50 -0400 (Fri, 15 Oct 2010)
New Revision: 25872
Removed:
trunk/deltacloud/features/.project
Log:
[JBIDE-7320] removed erroneous artifacts
Deleted: trunk/deltacloud/features/.project
===================================================================
--- trunk/deltacloud/features/.project 2010-10-15 15:39:29 UTC (rev 25871)
+++ trunk/deltacloud/features/.project 2010-10-15 15:53:50 UTC (rev 25872)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.jboss.tools.deltacloud.test.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
14 years, 2 months