JBoss Tools SVN: r27789 - trunk/maven/tests/org.jboss.tools.maven.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-12-28 20:30:07 -0500 (Tue, 28 Dec 2010)
New Revision: 27789
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
Log:
JBIDE-7989 Maven bot test plugin has no runnable tests
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2010-12-29 00:41:18 UTC (rev 27788)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/pom.xml 2010-12-29 01:30:07 UTC (rev 27789)
@@ -9,5 +9,17 @@
<groupId>org.jboss.tools.maven.tests</groupId>
<artifactId>org.jboss.tools.maven.ui.bot.test</artifactId>
<version>1.0.0-SNAPSHOT</version>
- <packaging>eclipse-test-plugin</packaging>
+ <packaging>eclipse-plugin</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-test-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <configuration>
+ <useUIThread>false</useUIThread>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
14 years
JBoss Tools SVN: r27788 - in trunk/maven/tests/org.jboss.tools.maven.ui.bot.test: src/org/jboss/tools/maven/ui/bot/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-12-28 19:41:18 -0500 (Tue, 28 Dec 2010)
New Revision: 27788
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
Log:
JBIDE-7989 Maven bot test plugin has no runnable tests
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF 2010-12-28 23:55:00 UTC (rev 27787)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF 2010-12-29 00:41:18 UTC (rev 27788)
@@ -23,15 +23,29 @@
org.jboss.tools.maven.seam,
org.jboss.tools.maven.ui,
org.eclipse.wst.server.core,
- org.eclipse.datatools.connectivity;visibility:=reexport,
+ org.eclipse.datatools.connectivity,
org.eclipse.datatools.connectivity.db.generic,
org.jboss.tools.common,
org.jboss.tools.tests,
- org.maven.ide.eclipse;bundle-version="0.10.0",
+ org.maven.ide.eclipse;bundle-version="0.12.0",
org.jboss.ide.eclipse.as.core,
- org.maven.ide.eclipse.maven_model_edit;bundle-version="0.10.0",
+ org.maven.ide.eclipse.maven_model_edit;bundle-version="0.12.0",
org.hamcrest,
- org.jboss.tools.ui.bot.ext
+ org.eclipse.datatools.enablement.hsqldb,
+ org.eclipse.datatools.enablement.hsqldb.dbdefinition,
+ org.eclipse.datatools.enablement.hsqldb.ui,
+ org.maven.ide.eclipse.archetype_common;bundle-version="0.12.0",
+ org.maven.ide.eclipse.dependency_tree;bundle-version="0.12.0",
+ org.maven.ide.eclipse.editor;bundle-version="0.12.0",
+ org.maven.ide.eclipse.editor.xml;bundle-version="0.12.0",
+ org.maven.ide.eclipse.launching;bundle-version="0.12.0",
+ org.maven.ide.eclipse.nexus_indexer;bundle-version="0.12.0",
+ org.maven.ide.eclipse.pr;bundle-version="0.12.0",
+ org.maven.ide.eclipse.refactoring;bundle-version="0.12.0",
+ org.eclipse.jst.jee,
+ org.eclipse.jst.jee.ejb,
+ org.eclipse.jst.jee.ui,
+ org.eclipse.jst.jee.web
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Eclipse-RegisterBuddy: org.apache.log4j
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java 2010-12-28 23:55:00 UTC (rev 27787)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java 2010-12-29 00:41:18 UTC (rev 27788)
@@ -587,16 +587,18 @@
});
assertTrue(libs.length == 0);
File libDirectory = new File (rootDirectory,"lib");
- libs = libDirectory.list(new FilenameFilter() {
-
- public boolean accept(File dir, String name) {
- if (name.endsWith(".jar")) {
- return true;
+ if (libDirectory.isDirectory()) {
+ libs = libDirectory.list(new FilenameFilter() {
+
+ public boolean accept(File dir, String name) {
+ if (name.endsWith(".jar")) {
+ return true;
+ }
+ return false;
}
- return false;
- }
- });
- assertTrue(libs.length == 0);
+ });
+ assertTrue(libs.length == 0);
+ }
}
}
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-28 23:55:00 UTC (rev 27787)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-29 00:41:18 UTC (rev 27788)
@@ -1,6 +1,5 @@
package org.jboss.tools.maven.ui.bot.test;
-import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -10,10 +9,10 @@
*
*/
-(a)RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateMavenizedSeamProjectTest.class,
})
+(a)RunWith(Suite.class)
public class MavenAllBotTests {
}
\ No newline at end of file
14 years
JBoss Tools SVN: r27787 - in trunk/deltacloud/plugins: org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-12-28 18:55:00 -0500 (Tue, 28 Dec 2010)
New Revision: 27787
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch
Log:
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java 2010-12-28 22:41:42 UTC (rev 27786)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloud.java 2010-12-28 23:55:00 UTC (rev 27787)
@@ -85,7 +85,7 @@
this.username = username;
this.driver = driver;
this.passwordStore = createSecurePasswordStore(name, username, password);
- this.client = createClient(name, url, username, passwordStore.getPassword());
+ this.client = createClient(url, username, passwordStore.getPassword());
imageFilter = createImageFilter(imageFilterRules);
instanceFilter = createInstanceFilter(instanceFilterRules);
}
@@ -102,7 +102,7 @@
}
if (connectionPropertiesChanged) {
- client = createClient(name, url, username, password);
+ client = createClient(url, username, password);
loadChildren();
}
}
@@ -143,7 +143,7 @@
return new SecurePasswordStore(new DeltaCloudPasswordStorageKey(name, username), password);
}
- protected InternalDeltaCloudClient createClient(String name, String url, String username, String password)
+ protected InternalDeltaCloudClient createClient(String url, String username, String password)
throws DeltaCloudException {
try {
return new DeltaCloudClientImpl(url, username, password);
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java 2010-12-28 22:41:42 UTC (rev 27786)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/DeltaCloudClientImpl.java 2010-12-28 23:55:00 UTC (rev 27787)
@@ -78,8 +78,8 @@
private static final String DOCUMENT_ELEMENT_DRIVER = "driver";
private static final String DOCUMENT_ELEMENT_API = "api";
- private static final Pattern ELEMENT_TEXTVALUE_REGEX = Pattern
- .compile("[^\n\t ]+[^\n]+");
+ private static final Pattern ELEMENT_TEXTVALUE_REGEX =
+ Pattern.compile("[^\n\t ]+[^\n]+");
public static enum DeltaCloudServerType {
UNKNOWN, MOCK, EC2
@@ -308,12 +308,12 @@
new CreateInstanceRequest(baseUrl, imageId, profileId, realmId, name, keyId, memory, storage));
Instance instance = buildInstance(response);
// TODO: WORKAROUND for
- // https://issues.apache.org/jira/browse/DTACLOUD-11
+ // https://issues.jboss.org/browse/JBIDE-8005
if (keyId != null) {
instance.setKeyId(keyId);
}
// TODO: WORKAROUND for
- // https://issues.apache.org/jira/browse/DTACLOUD-11
+ // https://issues.jboss.org/browse/JBIDE-8005
return instance;
} catch (DeltaCloudClientException e) {
throw e;
@@ -365,8 +365,7 @@
// return JAXB.unmarshal(new StringReader(request(new
// ListInstanceRequest(baseUrl, instanceId))), Instance.class);
try {
- return buildInstance(requestStringResponse(new ListInstanceRequest(
- baseUrl, instanceId)));
+ return buildInstance(requestStringResponse(new ListInstanceRequest(baseUrl, instanceId)));
} catch (DeltaCloudClientException e) {
throw e;
} catch (Exception e) {
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java 2010-12-28 22:41:42 UTC (rev 27786)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java 2010-12-28 23:55:00 UTC (rev 27787)
@@ -26,7 +26,7 @@
private String profileId;
private String realmId;
private String name;
- private String keyName;
+ private String keyname;
private String memory;
private String storage;
@@ -35,13 +35,13 @@
}
public CreateInstanceRequest(URL baseUrl, String imageId, String profileId, String realmId, String name,
- String keyname, String memory, String storage) {
+ String keyId, String memory, String storage) {
super(baseUrl, HttpMethod.POST);
this.imageId = imageId;
this.profileId = profileId;
this.realmId = realmId;
this.name = name;
- this.keyName = keyname;
+ this.keyname = keyId;
this.memory = memory;
this.storage = storage;
}
@@ -49,13 +49,13 @@
@Override
protected String doCreateUrl(UrlBuilder urlBuilder) {
return urlBuilder.path("instances")
+ .parameter("keyname", keyname)
.parameter("image_id", imageId)
.parameter("hwp_id", profileId)
.parameter("realm_id", realmId)
.parameter("name", name)
.parameter("hwp_memory", memory)
.parameter("hwp_storage", storage)
- .parameter("keyname", keyName)
.parameter("commit", "create")
.toString();
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch 2010-12-28 22:41:42 UTC (rev 27786)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch 2010-12-28 23:55:00 UTC (rev 27787)
@@ -2,7 +2,7 @@
<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
<booleanAttribute key="append.args" value="true"/>
<booleanAttribute key="askclear" value="true"/>
-<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticAdd" value="false"/>
<booleanAttribute key="automaticValidate" value="false"/>
<stringAttribute key="bootstrap" value=""/>
<stringAttribute key="checked" value="[NONE]"/>
@@ -11,7 +11,6 @@
<booleanAttribute key="clearwslog" value="false"/>
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/Deltacloud Tools"/>
<booleanAttribute key="default" value="false"/>
-<stringAttribute key="deselected_workspace_plugins" value="org.jboss.tools.ui.bot.ext,org.jboss.tools.common.projecttemplates,org.jboss.tools.tests.performance,org.jboss.tools.common.el.core,org.jboss.ide.eclipse.as.ui.mbeans,org.jboss.tools.common.gef,org.jboss.ide.eclipse.as.archives.integration.test,org.jboss.tools.common.verification.test,org.jboss.tools.common.verification,org.jboss.tools.jmx.core.test,org.jboss.ide.eclipse.archives.jdt.integration,org.jboss.tools.common.model,org.jboss.ide.eclipse.as.classpath.core,org.jboss.ide.eclipse.archives.test,org.jboss.ide.eclipse.as.classpath.ui,org.jboss.tools.common.ui,org.jboss.tools.common.text.ext,org.jboss.tools.ui.bot.ext.test,org.jboss.tools.common.el.core.test,org.jboss.tools.common.model.ui.test,org.jboss.tools.tests,org.jboss.tools.common.text.xml,org.jboss.ide.eclipse.as.ui.test,org.jboss.tools.common.meta.ui,org.jboss.tools.deltacloud.docs,org.jboss.ide.eclipse.as.rse.ui,org.jboss.tools.common.verification.ui.tes!
t,org.jboss.tools.common.verification.ui,org.jboss.tools.common.test,org.jboss.tools.common.model.ui.capabilities,org.jboss.tools.common.resref.core,org.jboss.ide.eclipse.as.test,org.jboss.tools.common.el.ui,org.jboss.tools.deltacloud.test,org.jboss.tools.jmx.ui.test,org.jboss.ide.eclipse.as.ssh,org.jboss.tools.common.resref.ui,org.jboss.ide.eclipse.archives.ui.test,org.jboss.ide.eclipse.as.doc.user,org.jboss.tools.common.model.ui,org.jboss.tools.common.model.test"/>
<booleanAttribute key="includeOptional" value="true"/>
<stringAttribute key="location" value="${workspace_loc}/../runtime-deltacloud"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
@@ -24,8 +23,8 @@
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx1024m"/>
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
-<stringAttribute key="selected_target_plugins" value="org.eclipse.rse.subsystems.terminals.core@default:default,org.eclipse.wst.common.emfworkbench.integration@default:default,org.eclipse.wst.server.core@default:default,org.eclipse.rse.services.files.ftp@default:default,org.eclipse.jem.beaninfo.vm.common@default:default,org.eclipse.compare.core@default:default,org.eclipse.team.core@default:default,org.eclipse.wst.common.project.facet.ui@default:default,org.eclipse.rse.connectorservice.local@default:default,org.eclipse.ui.ide.application@default:default,org.eclipse.wst.css.core@default:default,org.eclipse.core.runtime.compatibility@default:default,org.eclipse.jst.j2ee.ejb.annotation.model@default:default,org.eclipse.wst.css.ui@default:default,org.eclipse.emf.ecore.change@default:default,org.eclipse.ecf.provider.filetransfer@default:default,org.eclipse.core.commands@default:default,org.eclipse.jdt.debug@default:default,org.eclipse.ui.navigator.resources@default:default,org.ec!
lipse.rse.connectorservice.ssh@default:default,org.apache.ant@default:default,org.eclipse.emf.ecore.xmi@default:default,org.eclipse.jst.j2ee.jca@default:default,org.eclipse.ui.forms@default:default,org.eclipse.ui.views.log@default:default,org.eclipse.rse.subsystems.processes.dstore@default:default,org.eclipse.jdt.junit.runtime@default:default,org.eclipse.emf.ecore.edit@default:default,org.eclipse.jst.j2ee.ui@default:default,org.eclipse.wst.common.modulecore@default:default,org.eclipse.equinox.p2.publisher@default:default,org.eclipse.jst.common.annotations.core@default:default,org.eclipse.swtbot.ant.optional.junit3@default:false,org.eclipse.equinox.preferences@default:default,org.eclipse.equinox.p2.core@default:default,org.eclipse.rse.files.ui@default:default,org.eclipse.rse.terminals.ui@default:default,org.eclipse.platform@default:default,org.eclipse.jdt.core@default:default,org.eclipse.jem@default:default,org.eclipse.pde.core@default:default,org.eclipse.swt.gtk.linux.x86_6!
4@default:false,org.eclipse.jem.util@default:default,org.eclip!
se.rse.u
i@default:default,org.eclipse.rse.subsystems.shells.dstore@default:default,org.eclipse.equinox.p2.engine@default:default,org.eclipse.core.expressions@default:default,org.eclipse.core.filesystem.linux.x86_64@default:false,com.ibm.icu@default:default,org.eclipse.rse.processes.ui@default:default,org.eclipse.equinox.p2.repository@default:default,org.eclipse.help@default:default,org.eclipse.jst.jee.ui@default:default,org.eclipse.jdt.core.manipulation@default:default,org.eclipse.help.ui@default:default,org.eclipse.jst.j2ee.web@default:default,org.eclipse.search@default:default,org.eclipse.wst.jsdt.ui@default:default,org.eclipse.wst.jsdt.manipulation@default:default,org.eclipse.core.databinding.property@default:default,org.eclipse.rse.services@default:default,org.eclipse.tm.terminal.view@default:default,org.eclipse.equinox.p2.ui@default:default,org.apache.xml.serializer@default:default,org.eclipse.rse.doc.user@default:default,org.eclipse.debug.ui@default:default,org.eclipse.tm.term!
inal.ssh@default:default,org.eclipse.core.variables@default:default,org.eclipse.wst.common.ui@default:default,org.eclipse.rse.subsystems.shells.local@default:default,org.eclipse.ui.intro@default:default,org.apache.commons.logging*1.0.4.v201005080501@default:default,org.eclipse.equinox.http.jetty@default:default,org.eclipse.dstore.core@default:default,org.eclipse.wst.web.ui@default:default,org.eclipse.ant.core@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.wst.validation@default:default,org.eclipse.jface.text@default:default,org.eclipse.ecf.identity@default:default,org.sat4j.core@default:default,org.eclipse.wst.common.frameworks@default:default,org.eclipse.update.configurator@3:true,org.eclipse.jst.server.core@default:default,org.eclipse.rse.subsystems.files.dstore@default:default,org.eclipse.compare@default:default,org.eclipse.ui.views.properties.tabbed@default:default,org.eclipse.wst.server.ui.infopop@default:default,org.eclipse.rse.subsystems!
.processes.core@default:default,org.junit*4.8.1.v4_8_1_v201004!
27-1100@
default:default,org.eclipse.swt@default:default,org.eclipse.jdt.debug.ui@default:default,org.eclipse.equinox.frameworkadmin@default:default,org.eclipse.equinox.p2.jarprocessor@default:default,org.eclipse.pde.build@default:default,javax.servlet.jsp@default:default,org.eclipse.equinox.concurrent@default:default,org.eclipse.equinox.p2.director@default:default,org.eclipse.rse.efs.ui@default:default,org.hamcrest.core@default:default,org.eclipse.core.databinding.observable@default:default,org.eclipse.equinox.simpleconfigurator@1:true,org.apache.lucene@default:default,org.eclipse.wst.common.project.facet.core@default:default,org.eclipse.core.filebuffers@default:default,org.eclipse.equinox.app@default:default,org.eclipse.core.runtime@default:true,org.eclipse.wst.server.ui@default:default,org.eclipse.jst.server.ui@default:default,org.eclipse.wst.server.ui.doc.user@default:default,org.eclipse.swtbot.ant.optional.junit4@default:false,org.eclipse.jface@default:default,org.eclipse.debug.!
core@default:default,javax.xml@default:default,org.eclipse.core.filesystem@default:default,org.eclipse.rse.services.ssh@default:default,org.eclipse.jdt.ui@default:default,org.apache.commons.el@default:default,org.mortbay.jetty.server@default:default,org.eclipse.cdt.core@default:default,org.eclipse.jst.j2ee.jca.ui@default:default,org.eclipse.core.databinding@default:default,org.eclipse.wst.xml.ui@default:default,org.eclipse.emf.common@default:default,org.eclipse.equinox.p2.artifact.repository@default:default,org.eclipse.osgi.util@default:default,org.eclipse.jst.common.ui@default:default,org.eclipse.equinox.security@default:default,org.eclipse.osgi@-1:true,org.eclipse.ui.ide@default:default,org.eclipse.help.base@default:default,org.eclipse.ui.cheatsheets@default:default,org.eclipse.wst.common.core@default:default,org.eclipse.rse.connectorservice.telnet@default:default,org.eclipse.core.net@default:default,org.apache.xerces@default:default,org.eclipse.rse.dstore.security@defaul!
t:default,org.eclipse.jem.beaninfo.vm@default:default,org.ecli!
pse.ui.b
rowser@default:default,org.eclipse.jem.beaninfo@default:default,org.eclipse.jdt@default:default,org.eclipse.equinox.p2.metadata@default:default,org.eclipse.wst.jsdt.core@default:default,org.eclipse.ui.workbench@default:default,org.eclipse.ui.workbench.texteditor@default:default,org.eclipse.jst.j2ee.navigator.ui@default:default,org.eclipse.equinox.p2.updatesite@default:default,org.eclipse.wst.server.discovery@default:default,org.eclipse.rse.subsystems.terminals.ssh@default:default,org.eclipse.rse.subsystems.shells.ssh@default:default,org.eclipse.ui@default:default,org.eclipse.jsch.ui@default:default,org.eclipse.rse.subsystems.files.local@default:default,org.eclipse.emf.common.ui@default:default,org.eclipse.core.databinding.beans@default:default,org.eclipse.wst.common.modulecore.ui@default:default,org.apache.lucene.analysis@default:default,org.eclipse.wst.common.uriresolver@default:default,org.eclipse.ecf.filetransfer@default:default,org.eclipse.jdt.launching@default:default,o!
rg.eclipse.osgi.services@default:default,org.eclipse.dstore.extra@default:default,org.eclipse.equinox.p2.touchpoint.eclipse@default:default,org.eclipse.ecf@default:default,org.eclipse.rse.services.local@default:default,org.eclipse.equinox.p2.director.app@default:default,org.eclipse.tm.terminal@default:default,org.eclipse.rse.core@default:default,org.eclipse.text@default:default,org.eclipse.jst.common.annotations.controller@default:default,org.eclipse.ui.editors@default:default,org.eclipse.equinox.p2.operations@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.ui.net@default:default,org.eclipse.jst.common.project.facet.ui@default:default,org.apache.commons.codec*1.3.0.v20100518-1140@default:default,org.eclipse.emf.codegen@default:default,org.junit4@default:default,org.eclipse.jst.j2ee.core@default:default,org.eclipse.jst.j2ee@default:default,org.eclipse.ecf.provider.filetransfer.ssl@default:false,org.apache.commons.httpclient*3.1.0.v201005080502@defaul!
t:default,org.eclipse.rse.subsystems.files.ssh@default:default!
,org.ecl
ipse.ltk.core.refactoring@default:default,org.eclipse.jst.common.project.facet.core@default:default,org.eclipse.jdt.junit@default:default,org.eclipse.emf.ecore@default:default,org.eclipse.sdk@default:default,org.apache.xml.resolver@default:default,org.eclipse.emf.edit@default:default,org.eclipse.jdt.compiler.tool@default:false,org.eclipse.wst.xml.core@default:default,org.eclipse.ui.navigator@default:default,org.eclipse.wst.sse.ui@default:default,org.eclipse.equinox.p2.repository.tools@default:default,org.eclipse.equinox.common@2:true,org.eclipse.jst.j2ee.ejb@default:default,org.apache.jasper@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.emf.edit.ui@default:default,org.sat4j.pb@default:default,org.eclipse.equinox.frameworkadmin.equinox@default:default,org.eclipse.jface.databinding@default:default,org.eclipse.jem.workbench@default:default,org.eclipse.cdt.ui@default:default,org.eclipse.jdt.compiler.apt@default:false,org.eclipse.wst.sse.core@default:de!
fault,org.eclipse.equinox.p2.metadata.repository@default:default,org.eclipse.jst.servlet.ui@default:default,org.eclipse.ui.console@default:default,org.eclipse.jst.common.frameworks@default:default,org.eclipse.equinox.p2.garbagecollector@default:default,org.eclipse.jst.jee@default:default,org.eclipse.jdt.junit.core@default:default,org.eclipse.core.runtime.compatibility.auth@default:default,org.eclipse.rse.services.telnet@default:default,org.eclipse.rse.subsystems.shells.telnet@default:default,org.eclipse.rse.subsystems.processes.shell.linux@default:default,org.mortbay.jetty.util@default:default,org.eclipse.team.ui@default:default,org.eclipse.rse.shells.ui@default:default,org.eclipse.jem.proxy@default:default,org.eclipse.tm.terminal.telnet@default:default,org.eclipse.wst.common.emf@default:default,org.eclipse.ltk.ui.refactoring@default:default,org.eclipse.jsch.core@default:default,org.eclipse.rse.subsystems.files.core@default:default,org.eclipse.equinox.security.ui@default:de!
fault,org.eclipse.wst.html.core@default:default,org.eclipse.rs!
e.connec
torservice.dstore@default:default,org.eclipse.rse.efs@default:default,org.eclipse.update.core@default:default,org.eclipse.rse.services.dstore@default:default,org.eclipse.rse.subsystems.shells.core@default:default,org.eclipse.rse.subsystems.files.ftp@default:default,org.eclipse.core.resources@default:default,org.eclipse.ecf.ssl@default:false,org.eclipse.wst.html.ui@default:default,org.eclipse.rse.subsystems.processes.local@default:default,org.eclipse.core.jobs@default:default,org.eclipse.ui.views@default:default,org.eclipse.rse.useractions@default:default,org.apache.commons.net@default:default,javax.servlet@default:default,com.jcraft.jsch@default:default,org.eclipse.equinox.simpleconfigurator.manipulator@default:default,org.eclipse.wst.common.environment@default:default,org.eclipse.wst.common.frameworks.ui@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.rse.importexport@default:default,org.eclipse.wst.web@default:default,org.eclipse.c!
ore.net.linux.x86_64@default:false,org.eclipse.wst.internet.monitor.core@default:default"/>
-<stringAttribute key="selected_workspace_plugins" value="org.eclipse.jsch.core@default:default,org.jboss.ide.eclipse.archives.core@default:default,org.jboss.tools.deltacloud.integration@default:default,org.jboss.ide.eclipse.as.wtp.core@default:default,org.eclipse.rse.connectorservice.ssh@default:default,org.jboss.tools.deltacloud.core@default:default,org.jboss.ide.eclipse.as.core@default:default,org.jboss.tools.jmx.core@default:default,org.jboss.ide.eclipse.archives.webtools@default:default,org.eclipse.ui.net@default:default,org.jboss.ide.eclipse.as.ui@default:default,org.jboss.ide.eclipse.as.rse.core@default:default,org.jboss.tools.jmx.ui@default:default,org.jboss.tools.common@default:default,org.jboss.ide.eclipse.as.wtp.ui@default:default,org.eclipse.rse.services.ssh@default:default,org.jboss.tools.deltacloud.ui@default:default,org.eclipse.rse.subsystems.shells.ssh@default:default,org.eclipse.jsch.ui@default:default,org.jboss.ide.eclipse.archives.ui@default:default,org.ec!
lipse.rse.subsystems.files.ssh@default:default"/>
+<stringAttribute key="selected_target_plugins" value="javax.xml@default:default,org.eclipse.jdt.core.manipulation@default:default,org.eclipse.jst.common.project.facet.core@default:default,org.eclipse.jst.j2ee.ejb.annotation.model@default:default,org.eclipse.jst.common.annotations.controller@default:default,org.eclipse.equinox.http.jetty@default:default,org.eclipse.jdt.debug@default:default,org.eclipse.jface@default:default,org.eclipse.debug.core@default:default,org.eclipse.jst.common.ui@default:default,org.eclipse.core.runtime.compatibility@default:default,org.eclipse.jdt.compiler.tool@default:false,org.eclipse.wst.common.frameworks.ui@default:default,org.eclipse.jem.util@default:default,org.eclipse.pde.core@default:default,org.eclipse.jst.server.ui@default:default,org.eclipse.wst.common.uriresolver@default:default,org.eclipse.equinox.p2.jarprocessor@default:default,org.eclipse.jst.j2ee.jca@default:default,org.eclipse.wst.server.ui@default:default,org.eclipse.ecf.filetransf!
er@default:default,org.eclipse.rse.files.ui@default:default,org.eclipse.update.configurator@3:true,org.eclipse.jface.databinding@default:default,org.eclipse.wst.sse.ui@default:default,org.eclipse.help@default:default,org.eclipse.wst.sse.core@default:default,org.eclipse.wst.common.emf@default:default,org.apache.xml.serializer@default:default,org.eclipse.search@default:default,org.eclipse.equinox.simpleconfigurator@default:default,org.eclipse.wst.html.ui@default:default,org.eclipse.ltk.ui.refactoring@default:default,org.eclipse.core.expressions@default:default,org.eclipse.tm.terminal.view@default:default,org.eclipse.jst.common.annotations.core@default:default,org.eclipse.rse.services@default:default,org.eclipse.core.filesystem@default:default,org.eclipse.equinox.frameworkadmin.equinox@default:default,org.eclipse.wst.server.core@default:default,org.eclipse.wst.common.environment@default:default,org.eclipse.ui.cheatsheets@default:default,org.eclipse.equinox.concurrent@default:d!
efault,org.eclipse.rse.subsystems.files.core@default:default,o!
rg.eclip
se.swtbot.ant.optional.junit4@default:false,org.eclipse.equinox.p2.director@default:default,org.apache.lucene@default:default,org.eclipse.swt@default:default,org.apache.commons.codec*1.3.0.v20100518-1140@default:default,org.mortbay.jetty.util@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.http.servlet@default:default,org.junit4@default:default,org.eclipse.core.databinding@default:default,org.eclipse.tm.terminal.ssh@default:default,org.eclipse.jface.text@default:default,org.eclipse.help.base@default:default,org.eclipse.emf.common.ui@default:default,org.eclipse.emf.common@default:default,org.sat4j.pb@default:default,org.eclipse.equinox.security@default:default,org.hamcrest.core@default:default,org.eclipse.equinox.common@2:true,org.eclipse.text@default:default,org.eclipse.jem@default:default,org.eclipse.emf.codegen@default:default,org.eclipse.osgi.util@default:default,org.eclipse.equinox.p2.director.app@default:default,org.eclipse.osgi@-1:true,!
org.eclipse.core.databinding.beans@default:default,org.eclipse.team.core@default:default,org.eclipse.wst.html.core@default:default,org.eclipse.wst.css.ui@default:default,org.eclipse.wst.common.frameworks@default:default,org.eclipse.jdt.debug.ui@default:default,org.eclipse.ui.console@default:default,org.eclipse.jst.jee.ui@default:default,org.eclipse.equinox.p2.ui@default:default,org.eclipse.rse.core@default:default,org.sat4j.core@default:default,org.eclipse.jdt.launching@default:default,org.eclipse.jdt.core@default:default,org.eclipse.jst.j2ee.navigator.ui@default:default,org.eclipse.jdt@default:default,org.eclipse.core.jobs@default:default,org.eclipse.help.ui@default:default,org.eclipse.core.commands@default:default,org.eclipse.jdt.junit.runtime@default:default,org.eclipse.ui.views.properties.tabbed@default:default,org.eclipse.swt.gtk.linux.x86_64@default:false,org.eclipse.pde.build@default:default,org.eclipse.equinox.p2.operations@default:default,org.eclipse.wst.server.ui.!
doc.user@default:default,org.eclipse.wst.web@default:default,o!
rg.apach
e.xerces@default:default,org.eclipse.equinox.p2.repository@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.wst.common.core@default:default,org.eclipse.ui.workbench.texteditor@default:default,org.eclipse.ecf.provider.filetransfer.ssl@default:false,org.eclipse.emf.ecore.change@default:default,org.eclipse.wst.jsdt.ui@default:default,org.eclipse.jdt.junit@default:default,org.eclipse.jst.j2ee@default:default,org.eclipse.ui.intro@default:default,org.eclipse.jst.j2ee.jca.ui@default:default,org.eclipse.compare.core@default:default,org.apache.jasper@default:default,org.eclipse.equinox.p2.engine@default:default,org.eclipse.emf.edit.ui@default:default,org.eclipse.wst.common.modulecore@default:default,org.eclipse.wst.xml.core@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.jst.server.core@default:default,org.apache.commons.el@default:default,org.eclipse.equinox.p2.core@default:default,org.mortbay.jetty.server@default:!
default,org.eclipse.ltk.core.refactoring@default:default,org.eclipse.wst.validation@default:default,org.eclipse.compare@default:default,org.apache.xml.resolver@default:default,org.eclipse.equinox.p2.metadata.repository@default:default,org.eclipse.ecf.ssl@default:false,org.eclipse.ecf.provider.filetransfer@default:default,com.jcraft.jsch@default:default,org.eclipse.core.filesystem.linux.x86_64@default:false,org.eclipse.core.net@default:default,org.eclipse.core.variables@default:default,org.eclipse.core.databinding.observable@default:default,org.eclipse.ecf.identity@default:default,org.eclipse.ui.navigator.resources@default:default,org.eclipse.jst.common.frameworks@default:default,org.eclipse.rse.services.local@default:default,org.eclipse.swtbot.ant.optional.junit3@default:false,javax.servlet@default:default,org.eclipse.debug.ui@default:default,org.eclipse.ui.workbench@default:default,org.eclipse.tm.terminal.telnet@default:default,org.eclipse.jst.j2ee.ejb@default:default,org.!
eclipse.rse.services.files.ftp@default:default,org.eclipse.wst!
.common.
project.facet.ui@default:default,org.apache.commons.logging*1.0.4.v201005080501@default:default,org.eclipse.equinox.security.ui@default:default,org.eclipse.rse.subsystems.shells.core@default:default,org.eclipse.ui.ide@default:default,org.eclipse.core.resources@default:default,org.eclipse.ui.navigator@default:default,org.eclipse.rse.services.ssh@default:default,com.ibm.icu@default:default,org.eclipse.emf.ecore.xmi@default:default,org.eclipse.jsch.core@default:default,org.eclipse.core.databinding.property@default:default,org.eclipse.core.filebuffers@default:default,org.eclipse.core.net.linux.x86_64@default:false,org.eclipse.emf.ecore@default:default,org.eclipse.ecf@default:default,org.eclipse.equinox.p2.metadata@default:default,org.eclipse.ant.core@default:default,org.apache.lucene.analysis@default:default,org.eclipse.wst.internet.monitor.core@default:default,org.eclipse.jdt.ui@default:default,org.eclipse.equinox.p2.repository.tools@default:default,org.eclipse.ui.views@default!
:default,org.eclipse.sdk@default:default,org.eclipse.wst.server.discovery@default:default,org.eclipse.update.core@default:default,org.eclipse.equinox.p2.garbagecollector@default:default,org.eclipse.jst.common.project.facet.ui@default:default,org.eclipse.emf.ecore.edit@default:default,org.eclipse.equinox.frameworkadmin@default:default,org.eclipse.equinox.p2.artifact.repository@default:default,org.eclipse.ui.browser@default:default,org.eclipse.jst.j2ee.ui@default:default,org.eclipse.jdt.compiler.apt@default:false,org.eclipse.wst.common.emfworkbench.integration@default:default,org.eclipse.jst.j2ee.core@default:default,org.eclipse.jst.servlet.ui@default:default,org.eclipse.jem.proxy@default:default,org.eclipse.wst.css.core@default:default,org.apache.commons.httpclient*3.1.0.v201005080502@default:default,org.eclipse.tm.terminal@default:default,org.eclipse.team.ui@default:default,org.eclipse.equinox.app@default:default,org.eclipse.core.runtime@default:true,org.eclipse.equinox.p2.!
updatesite@default:default,org.eclipse.jst.jee@default:default!
,org.ecl
ipse.ui@default:default,org.eclipse.wst.common.project.facet.core@default:default,org.eclipse.ui.views.log@default:default,org.eclipse.wst.common.modulecore.ui@default:default,org.eclipse.ui.editors@default:default,org.eclipse.jem.workbench@default:default,org.eclipse.wst.jsdt.core@default:default,org.eclipse.equinox.simpleconfigurator.manipulator@default:default,org.eclipse.wst.jsdt.manipulation@default:default,org.eclipse.rse.ui@default:default,javax.servlet.jsp@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.jst.j2ee.web@default:default,org.eclipse.ui.forms@default:default,org.eclipse.wst.xml.ui@default:default,org.eclipse.equinox.p2.touchpoint.eclipse@default:default,org.eclipse.emf.edit@default:default,org.eclipse.osgi.services@default:default,org.apache.ant@default:default,org.eclipse.wst.web.ui@default:default,org.apache.commons.net@default:default,org.eclipse.wst.common.ui@default:default,org.junit*4.8.1.v4_8_1_v20100427-1100@default:default,!
org.eclipse.ui.ide.application@default:default,org.eclipse.core.runtime.compatibility.auth@default:default,org.eclipse.equinox.p2.publisher@default:default,org.eclipse.jdt.junit.core@default:default"/>
+<stringAttribute key="selected_workspace_plugins" value="org.jboss.tools.deltacloud.integration@default:default,org.jboss.tools.jmx.ui@default:default,org.jboss.ide.eclipse.archives.ui@default:default,org.jboss.tools.common@default:default,org.jboss.tools.jmx.core@default:default,org.jboss.ide.eclipse.as.wtp.ui@default:default,org.jboss.tools.deltacloud.ui@default:default,org.jboss.ide.eclipse.as.wtp.core@default:default,org.jboss.ide.eclipse.as.core@default:default,org.jboss.ide.eclipse.archives.core@default:default,org.jboss.ide.eclipse.as.ui@default:default,org.jboss.ide.eclipse.as.rse.core@default:default,org.jboss.tools.usage@default:default,org.jboss.ide.eclipse.archives.webtools@default:default,org.jboss.tools.deltacloud.core@default:default"/>
<booleanAttribute key="show_selected_only" value="false"/>
<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
<booleanAttribute key="tracing" value="false"/>
14 years
JBoss Tools SVN: r27786 - in trunk/maven/tests/org.jboss.tools.maven.ui.bot.test: src/org/jboss/tools/maven/ui/bot/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-12-28 17:41:42 -0500 (Tue, 28 Dec 2010)
New Revision: 27786
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
Log:
JBIDE-7989 Maven bot test plugin has no runnable tests
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF 2010-12-28 22:28:24 UTC (rev 27785)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF 2010-12-28 22:41:42 UTC (rev 27786)
@@ -30,7 +30,8 @@
org.maven.ide.eclipse;bundle-version="0.10.0",
org.jboss.ide.eclipse.as.core,
org.maven.ide.eclipse.maven_model_edit;bundle-version="0.10.0",
- org.hamcrest
+ org.hamcrest,
+ org.jboss.tools.ui.bot.ext
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Eclipse-RegisterBuddy: org.apache.log4j
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java 2010-12-28 22:28:24 UTC (rev 27785)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java 2010-12-28 22:41:42 UTC (rev 27786)
@@ -136,13 +136,13 @@
public static final String HSQL_PROFILE_ID = "org.eclipse.datatools.enablement.hsqldb.connectionProfile";
- public static final String JBOSS_AS_HOME = System.getProperty("jbosstools.test.jboss.home.5.1", "E:\\jboss-5.1.0.GA");
+ public static final String JBOSS_AS_HOME = System.getProperty("jbosstools.test.jboss.home.5.1", "E:\\JBossRuntimes\\jboss-5.1.0.GA");
public static final String JBOSS_AS_RUNTIME_ID = "org.jboss.ide.eclipse.as.runtime.51";
public static final String JBOSS_AS_SERVER_ID = "org.jboss.ide.eclipse.as.51";
- public static final String SEAM_HOME_PROPERTY = System.getProperty("jbosstools.test.seam.2.0.1.GA.home", "E:\\jboss-seam-2.2.0.GA");
+ public static final String SEAM_HOME_PROPERTY = System.getProperty("jbosstools.test.seam.2.0.1.GA.home", "E:\\JBossRuntimes\\jboss-seam-2.2.1.CR3");
public static final String HSQLDB_DRIVER_JAR_NAME = "hsqldb.jar"; //$NON-NLS-1$
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-28 22:28:24 UTC (rev 27785)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-28 22:41:42 UTC (rev 27786)
@@ -1,5 +1,7 @@
package org.jboss.tools.maven.ui.bot.test;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
import org.junit.runners.Suite;
/**
@@ -8,6 +10,7 @@
*
*/
+(a)RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateMavenizedSeamProjectTest.class,
})
14 years
JBoss Tools SVN: r27785 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-12-28 17:28:24 -0500 (Tue, 28 Dec 2010)
New Revision: 27785
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
Log:
[JBIDE-7763] added validation to key
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java 2010-12-28 22:24:18 UTC (rev 27784)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java 2010-12-28 22:28:24 UTC (rev 27785)
@@ -79,6 +79,7 @@
public class NewInstancePage extends WizardPage {
private static final int IMAGE_CHECK_DELAY = 500;
+ private static final int KEY_CHECK_DELAY = 500;
private final static String NAME = "NewInstance.name"; //$NON-NLS-1$
private final static String DESCRIPTION = "NewInstance.desc"; //$NON-NLS-1$
@@ -229,15 +230,12 @@
// name
bindText(nameText, NewInstancePageModel.PROPERTY_NAME, WizardMessages.getString(MUST_ENTER_A_NAME), dbc);
- // image
IObservableValue imageObservable = bindImage(imageText, dbc);
- // arch label
bindArchLabel(imageObservable, dbc);
bindRealmCombo(realmCombo, dbc);
bindProfileCombo(hardwareCombo, dbc);
bindProfilePages(hardwareCombo, profilePages, dbc);
- // key
- bindText(keyText, NewInstancePageModel.PROPERTY_KEYID, WizardMessages.getString(MUST_ENTER_A_KEYNAME), dbc);
+ bindKey(keyText, dbc);
}
private void bindArchLabel(IObservableValue imageObservable, DataBindingContext dbc) {
@@ -403,6 +401,43 @@
}
}
+ private void bindKey(Text text, DataBindingContext dbc) {
+ Binding textBinding = dbc.bindValue(
+ WidgetProperties.text(SWT.Modify).observeDelayed(KEY_CHECK_DELAY, text),
+ BeanProperties.value(NewInstancePageModel.class, NewInstancePageModel.PROPERTY_KEYID).observe(model),
+ new UpdateValueStrategy()
+ .setBeforeSetValidator(
+ new MandatoryStringValidator(WizardMessages.getString(MUST_ENTER_A_KEYNAME)))
+ .setBeforeSetValidator(
+ new KeyValidator()),
+
+ null);
+ ControlDecorationSupport.create(textBinding, SWT.LEFT | SWT.TOP);
+ }
+
+ private class KeyValidator implements IValidator {
+
+ @Override
+ public IStatus validate(Object value) {
+ if (value instanceof String
+ && ((String) value).length() > 0) {
+ if (doesKeyExist((String) value)) {
+ return ValidationStatus.ok();
+ }
+ }
+ return ValidationStatus.error(MessageFormat.format(
+ "The key is not known to cloud \"{0}\"", cloud.getName()));
+ }
+
+ private boolean doesKeyExist(String keyId) {
+ try {
+ return cloud.getKey(keyId) != null;
+ } catch (DeltaCloudException e) {
+ return false;
+ }
+ }
+ }
+
private void bindText(Text text, String property, String errorMessage, DataBindingContext dbc) {
Binding textBinding = dbc.bindValue(
WidgetProperties.text(SWT.Modify).observe(text),
14 years
JBoss Tools SVN: r27784 - trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-12-28 17:24:18 -0500 (Tue, 28 Dec 2010)
New Revision: 27784
Added:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
Log:
JBIDE-7989 Maven bot test plugin has no runnable tests
Added: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java (rev 0)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-28 22:24:18 UTC (rev 27784)
@@ -0,0 +1,16 @@
+package org.jboss.tools.maven.ui.bot.test;
+
+import org.junit.runners.Suite;
+
+/**
+ *
+ * This is a swtbot testcase for an eclipse application.
+ *
+ */
+
+(a)Suite.SuiteClasses({
+ CreateMavenizedSeamProjectTest.class,
+})
+public class MavenAllBotTests {
+
+}
\ No newline at end of file
14 years
JBoss Tools SVN: r27783 - trunk/gwt/plugins/org.jboss.tools.gwt.core.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-12-28 15:33:32 -0500 (Tue, 28 Dec 2010)
New Revision: 27783
Modified:
trunk/gwt/plugins/org.jboss.tools.gwt.core/plugin.xml
Log:
[JBIDE-8004] corrected facet dependency to a range that start with jdk1.5 instead of a fixed dependency to it
Modified: trunk/gwt/plugins/org.jboss.tools.gwt.core/plugin.xml
===================================================================
--- trunk/gwt/plugins/org.jboss.tools.gwt.core/plugin.xml 2010-12-28 18:49:29 UTC (rev 27782)
+++ trunk/gwt/plugins/org.jboss.tools.gwt.core/plugin.xml 2010-12-28 20:33:32 UTC (rev 27783)
@@ -23,7 +23,7 @@
</requires>
<requires
facet="jst.java"
- version="5.0">
+ version="[5.0">
</requires>
</and>
</constraint>
@@ -39,7 +39,7 @@
</requires>
<requires
facet="jst.java"
- version="5.0">
+ version="[5.0">
</requires>
</and>
</constraint>
14 years
JBoss Tools SVN: r27782 - in trunk/jsf/tests/org.jboss.tools.jsf.test: projects/JsfJbide7975 and 8 other directories.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2010-12-28 13:49:29 -0500 (Tue, 28 Dec 2010)
New Revision: 27782
Added:
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.project
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/.jsdtscope
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/lib/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/web.xml
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/page.jsp
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_en.properties
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_nl.properties
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/model/pv/test/JsfJbide7975Test.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java
Log:
JBIDE-7975
jsf validation gives property does not exist warning on messagebundle properties
JUnit test is added
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.classpath 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_12">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 5.1 Runtime">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web;jst.jsf"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.project 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>JsfJbide7975</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/.jsdtscope
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/.jsdtscope (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/.jsdtscope 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.jdt.core.prefs 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,8 @@
+#Wed Dec 22 19:22:06 MSK 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
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.component 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="JsfJbide7975">
+ <wb-resource deploy-path="/" source-path="/WebContent"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="java-output-path" value="/faceted/build/classes"/>
+ <property name="context-root" value="JsfJbide7975"/>
+ </wb-module>
+</project-modules>
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,7 @@
+<root>
+ <facet id="jst.jsf">
+ <node name="libprov">
+ <attribute name="provider-id" value="runtime-library-provider"/>
+ </node>
+ </facet>
+</root>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 5.1 Runtime"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="java" version="1.5"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="jst.jsf" version="1.2"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.container 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/.settings/org.eclipse.wst.jsdt.ui.superType.name 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/META-INF/MANIFEST.MF 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/faces-config.xml 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<faces-config
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
+ version="1.2">
+
+<application>
+ <!-- view-handler>com.sun.facelets.FaceletViewHandler</view-handler -->
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>en</supported-locale>
+ <supported-locale>nl</supported-locale>
+ </locale-config>
+ <message-bundle>texts.msg</message-bundle>
+ </application>
+</faces-config>
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/web.xml 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
+ <display-name>JsfJbide7975</display-name>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ </welcome-file-list>
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>/faces/*</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/page.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/page.jsp (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/page.jsp 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,18 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
+<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+<f:loadBundle var="msg" basename="texts.msg"/>
+<f:view>
+
+<h:outputText value="#{msg.property_one}" />
+
+</f:view>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/WebContent/page.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_en.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_en.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_en.properties 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,2 @@
+property_one=one_en
+property_two=Two EN
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_en.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_nl.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_nl.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_nl.properties 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,2 @@
+property_one=one_nl
+property_two=Two NL
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JsfJbide7975/src/texts/msg_nl.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/model/pv/test/JsfJbide7975Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/model/pv/test/JsfJbide7975Test.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/model/pv/test/JsfJbide7975Test.java 2010-12-28 18:49:29 UTC (rev 27782)
@@ -0,0 +1,120 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.jsf.model.pv.test;
+
+import java.io.IOException;
+import java.lang.reflect.InvocationTargetException;
+import java.text.MessageFormat;
+import java.util.List;
+import java.util.Properties;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.wst.validation.ValidationFramework;
+import org.jboss.tools.common.model.XModel;
+import org.jboss.tools.common.model.project.IModelNature;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.jsf.model.pv.JSFPromptingProvider;
+import org.jboss.tools.jst.web.project.list.IWebPromptingProvider;
+import org.jboss.tools.test.util.ResourcesUtils;
+import org.jboss.tools.test.util.TestProjectProvider;
+
+public class JsfJbide7975Test extends TestCase {
+ public static final String TEST_PROJECT_NAME = "JsfJbide7975";
+ public static final String TEST_PROJECT_PATH = "/projects/" + TEST_PROJECT_NAME;
+
+ TestProjectProvider prjProvider = null;
+ IProject project = null;
+ IModelNature nature = null;
+ XModel model = null;
+
+ JSFPromptingProvider provider = null;
+
+ @Override
+ protected void setUp() throws IOException, CoreException, InvocationTargetException, InterruptedException {
+ boolean saveAutoBuild = ResourcesUtils.setBuildAutomatically(false);
+ project = (IProject)ResourcesPlugin.getWorkspace().getRoot().findMember(TEST_PROJECT_NAME);
+ if(project==null) {
+ prjProvider = new TestProjectProvider("org.jboss.tools.jsf.test", TEST_PROJECT_PATH, TEST_PROJECT_NAME, true);
+ project = prjProvider.getProject();
+ }
+
+ project.build(IncrementalProjectBuilder.FULL_BUILD, null);
+ nature = EclipseResourceUtil.getModelNature(project);
+ assertNotNull(nature);
+ model = nature.getModel();
+ assertNotNull(model);
+ provider = new JSFPromptingProvider();
+
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ if(prjProvider!=null) {
+ prjProvider.dispose();
+ }
+ }
+
+ public static final String PAGE_FILENAME = "/WebContent/page.jsp";
+ public static final String PAGE_MARKER_PATTERN = "\"{0}\" cannot be resolved";
+ public static final String PAGE_BUNDLE_PROPERTY = "property_one";
+ public static final int PAGE_LINE = 14;
+
+ public void testErrorMarkerAbsence() {
+ try {
+ assertMarkerIsNotCreatedForLine(PAGE_FILENAME, PAGE_MARKER_PATTERN, new Object[] {PAGE_BUNDLE_PROPERTY}, PAGE_LINE, true);
+ } catch (CoreException ce) {
+ fail("Error while getting markers");
+ }
+ }
+
+ public static final int GET_BUNDLE_EXPECTED_LIST_SIZE = 2;
+
+ public void testGetBundles() {
+ List<Object> list = provider.getList(model, IWebPromptingProvider.JSF_BUNDLES, "", new Properties());
+ assertEquals("Bundles proposal list has wrong size",GET_BUNDLE_EXPECTED_LIST_SIZE, list.size());
+ }
+
+ public static final int GET_BUNDLE_PROPERTIES_EXPECTED_LIST_SIZE = 2;
+
+ public void testGetBundleProperties() {
+ List<Object> list = provider.getList(model, IWebPromptingProvider.JSF_BUNDLE_PROPERTIES, "texts.msg", new Properties());
+ assertEquals("Bundles properties proposal list has wrong size",GET_BUNDLE_PROPERTIES_EXPECTED_LIST_SIZE, list.size());
+ }
+
+ private void assertMarkerIsNotCreatedForLine(String fileName, String template, Object[] parameters, int lineNumber, boolean validate) throws CoreException{
+ String messagePattern = MessageFormat.format(template, parameters);
+ IFile file = project.getFile(fileName);
+
+ if(validate) {
+ ValidationFramework.getDefault().validate(file, new NullProgressMonitor());
+ }
+
+ IMarker[] markers = file.findMarkers(null, true, IResource.DEPTH_INFINITE);
+ for (int i = 0; i < markers.length; i++) {
+ String message = markers[i].getAttribute(IMarker.MESSAGE, ""); //$NON-NLS-1$
+ int line = markers[i].getAttribute(IMarker.LINE_NUMBER, -1); //$NON-NLS-1$
+ if(message.equals(messagePattern) && line == lineNumber){
+ fail("Marker "+messagePattern+" for line - "+lineNumber+" has been found");
+ }
+ }
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/model/pv/test/JsfJbide7975Test.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java 2010-12-28 18:41:56 UTC (rev 27781)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java 2010-12-28 18:49:29 UTC (rev 27782)
@@ -24,6 +24,7 @@
import org.eclipse.wst.validation.Validator;
import org.eclipse.wst.validation.internal.operations.ValidatorManager;
import org.jboss.tools.jsf.model.pv.test.JSFPromptingProviderTest;
+import org.jboss.tools.jsf.model.pv.test.JsfJbide7975Test;
import org.jboss.tools.jsf.test.refactoring.ELVariableRefactoringTest;
import org.jboss.tools.jsf.test.refactoring.JSF2RefactoringTest;
import org.jboss.tools.jsf.test.refactoring.MessagePropertyRefactoringTest;
@@ -50,7 +51,13 @@
"org.jboss.tools.jsf.test", //$NON-NLS-1$
JSFPromptingProviderTest.TEST_PROJECT_PATH,
JSFPromptingProviderTest.TEST_PROJECT_NAME));
+ suite.addTest(new ProjectImportTestSetup(new TestSuite(
+ JsfJbide7975Test.class),
+ "org.jboss.tools.jsf.test", //$NON-NLS-1$
+ JsfJbide7975Test.TEST_PROJECT_PATH,
+ JsfJbide7975Test.TEST_PROJECT_NAME));
+
suite.addTest(new ProjectImportTestSetup(new TestSuite(
ELVariableRefactoringTest.class), "org.jboss.tools.jsf.test", //$NON-NLS-1$
new String[] { "projects/JSFKickStartOldFormat" }, //$NON-NLS-1$
14 years
JBoss Tools SVN: r27781 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-12-28 13:41:56 -0500 (Tue, 28 Dec 2010)
New Revision: 27781
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java
Log:
https://issues.jboss.org/browse/JBIDE-7991 - fixed
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java 2010-12-28 18:30:51 UTC (rev 27780)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java 2010-12-28 18:41:56 UTC (rev 27781)
@@ -135,7 +135,10 @@
Configuration configuration = consoleConfiguration!=null?consoleConfiguration.getConfiguration():null;
IHQLCodeAssist hqlEval = new HQLCodeAssist(configuration);
EclipseHQLCompletionRequestor eclipseHQLCompletionCollector = new EclipseHQLCompletionRequestor();
- hqlEval.codeComplete(doc.get(), currentOffset, eclipseHQLCompletionCollector);
+ String query = doc.get();
+ // workaround to fix JBIDE-7991
+ query = query.replace('\t', ' ');
+ hqlEval.codeComplete(query, currentOffset, eclipseHQLCompletionCollector);
proposalList.addAll(eclipseHQLCompletionCollector.getCompletionProposals());
errorMessage = eclipseHQLCompletionCollector.getLastErrorMessage();
14 years
JBoss Tools SVN: r27780 - trunk/vpe/plugins/org.jboss.tools.vpe/.settings.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-12-28 13:30:51 -0500 (Tue, 28 Dec 2010)
New Revision: 27780
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/.settings/org.eclipse.jdt.core.prefs
Log:
https://issues.jboss.org/browse/JBIDE-7955
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/.settings/org.eclipse.jdt.core.prefs 2010-12-28 18:25:47 UTC (rev 27779)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/.settings/org.eclipse.jdt.core.prefs 2010-12-28 18:30:51 UTC (rev 27780)
@@ -1,13 +1 @@
-#Wed Nov 03 12:21:18 MSK 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
-org.eclipse.jdt.core.compiler.source=1.6
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
\ No newline at end of file
14 years