JBoss Tools SVN: r38316 - trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: rawagner
Date: 2012-01-31 05:42:30 -0500 (Tue, 31 Jan 2012)
New Revision: 38316
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml
Log:
bot tests disabled
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml 2012-01-31 10:12:26 UTC (rev 38315)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml 2012-01-31 10:42:30 UTC (rev 38316)
@@ -12,10 +12,6 @@
<packaging>eclipse-test-plugin</packaging>
- <properties>
- <systemProperties>-Dswtbot.test.properties.file=./swtbot.properties</systemProperties>
- </properties>
-
<build>
<plugins>
<plugin>
@@ -23,7 +19,7 @@
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<useUIThread>false</useUIThread>
- <skip>${swtbot.test.skip}</skip>
+ <skip>true</skip>
<dependencies combine.children="append">
<dependency>
<type>p2-installable-unit</type>
@@ -77,4 +73,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
13 years, 8 months
JBoss Tools SVN: r38315 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-01-31 05:12:26 -0500 (Tue, 31 Jan 2012)
New Revision: 38315
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java
Log:
minor cleaning
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java 2012-01-31 10:06:19 UTC (rev 38314)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/GitCloningSettingsWizardPage.java 2012-01-31 10:12:26 UTC (rev 38315)
@@ -39,7 +39,7 @@
import org.jboss.tools.common.ui.ssh.SshPrivateKeysPreferences;
/**
- * @author Andr� Dietisheim
+ * @author Andre Dietisheim
* @author Rob Stryker
* @author Xavier Coulon
*
@@ -165,16 +165,7 @@
ValueBindingBuilder.bind(WidgetProperties.enabled().observe(remoteNameText))
.notUpdating(useDefaultRemoteNameModelObservable).converting(new InvertingBooleanConverter()).in(dbc);
// move focus to the project name text control when choosing the 'Use an existing project' option.
- useDefaultRemoteNameButton.addSelectionListener(new SelectionListener() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- remoteNameText.setFocus();
- }
-
- @Override
- public void widgetDefaultSelected(SelectionEvent e) {
- }
- });
+ useDefaultRemoteNameButton.addSelectionListener(onDefaultRemoteNameUnchecked());
IObservableValue remoteNameValidityObservable = BeanProperties.value(
GitCloningSettingsWizardPageModel.PROPERTY_CUSTOM_REMOTE_NAME_VALIDITY).observe(pageModel);
dbc.addValidationStatusProvider(new RemoteNameValidationStatusProvider(remoteNameValidityObservable,
@@ -189,6 +180,15 @@
return cloneGroup;
}
+ private SelectionAdapter onDefaultRemoteNameUnchecked() {
+ return new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ remoteNameText.setFocus();
+ }
+ };
+ }
+
private SelectionListener onRepoPath() {
return new SelectionAdapter() {
@@ -274,10 +274,6 @@
return ValidationStatus.ok();
}
- /*
- * (non-Javadoc)
- * @see org.eclipse.core.databinding.validation.MultiValidator#getTargets()
- */
@Override
public IObservableList getTargets() {
WritableList targets = new WritableList();
@@ -309,10 +305,6 @@
return ValidationStatus.ok();
}
- /*
- * (non-Javadoc)
- * @see org.eclipse.core.databinding.validation.MultiValidator#getTargets()
- */
@Override
public IObservableList getTargets() {
WritableList targets = new WritableList();
13 years, 8 months
JBoss Tools SVN: r38314 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-01-31 05:06:19 -0500 (Tue, 31 Jan 2012)
New Revision: 38314
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java
Log:
[JBIDE-10479] corrected confirmation message and strategy selection when importing to existing project
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java 2012-01-31 09:10:34 UTC (rev 38313)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/appimport/ConfigureGitSharedProject.java 2012-01-31 10:06:19 UTC (rev 38314)
@@ -118,9 +118,9 @@
Repository repository = EGitUtils.getRepository(project);
Assert.isTrue(repository != null);
- if (EGitUtils.hasRemote("rhcloud.com", repository)) {
- return;
- }
+// if (EGitUtils.hasRemoteUrl("rhcloud.com", repository)) {
+// return;
+// }
EGitUtils.addRemoteTo(
getRemoteName(),
13 years, 8 months
JBoss Tools SVN: r38313 - in trunk/openshift: tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-01-31 04:10:34 -0500 (Tue, 31 Jan 2012)
New Revision: 38313
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.egit.core/src/org/jboss/tools/openshift/egit/core/EGitUtils.java
trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java
Log:
[JBIDE-10479] added EGitUtils#getRemoteConfig(name) and test
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.egit.core/src/org/jboss/tools/openshift/egit/core/EGitUtils.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.egit.core/src/org/jboss/tools/openshift/egit/core/EGitUtils.java 2012-01-31 02:30:06 UTC (rev 38312)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.egit.core/src/org/jboss/tools/openshift/egit/core/EGitUtils.java 2012-01-31 09:10:34 UTC (rev 38313)
@@ -428,12 +428,13 @@
private static String getErrors(PushOperationResult pushResult) {
StringBuilder builder = new StringBuilder();
- for(RemoteRefUpdate failedUpdate : getFailedUpdates(pushResult)) {
+ for (RemoteRefUpdate failedUpdate : getFailedUpdates(pushResult)) {
builder.append(MessageFormat.format(
- "push from {0} to {1} was {2}", failedUpdate.getSrcRef(), failedUpdate.getRemoteName(), failedUpdate.getStatus()));
+ "push from {0} to {1} was {2}", failedUpdate.getSrcRef(), failedUpdate.getRemoteName(),
+ failedUpdate.getStatus()));
}
return builder.toString();
-
+
}
private static PushOperation createPushOperation(RemoteConfig remoteConfig, Repository repository, boolean force)
@@ -647,30 +648,32 @@
/**
* Gets the remote config with the given name from the list of remote
- * repositories. Returns <code>null</code> if it was not found.
+ * configs. Returns <code>null</code> if it was not found.
*
* @param remoteName
* the remote name
* @param remoteRepositories
* the remote repositories
* @return the remote config
+ *
+ * @see #getAllRemoteConfigs(Repository)
*/
- private static RemoteConfig getRemoteConfig(String remoteName, List<RemoteConfig> remoteRepositories) {
- RemoteConfig defaultConfig = null;
- RemoteConfig configuredConfig = null;
- for (RemoteConfig config : remoteRepositories) {
- // if (config.getName().equals(Constants.DEFAULT_REMOTE_NAME))
- // defaultConfig = config;
- if (remoteName != null && config.getName().equals(remoteName))
- configuredConfig = config;
+ public static RemoteConfig getRemoteConfig(String name, List<RemoteConfig> remoteConfigs) {
+ Assert.isLegal(name != null);
+ RemoteConfig remoteConfig = null;
+ for (RemoteConfig config : remoteConfigs) {
+ if (name != null && config.getName().equals(name)) {
+ remoteConfig = config;
+ break;
+ }
}
+ return remoteConfig;
+ }
- if (configuredConfig == null) {
- return defaultConfig;
- }
- return configuredConfig;
+ public static boolean hasRemoteConfig(String name, List<RemoteConfig> remoteConfigs) {
+ return getRemoteConfig(name, remoteConfigs) != null;
}
-
+
/**
* Returns all the remote configs from the given repository.
*
@@ -688,13 +691,22 @@
}
}
- public static boolean hasRemote(String regex, Repository repository) throws CoreException {
- return hasRemote(Pattern.compile(regex), repository);
+ public static boolean hasRemoteUrl(String regex, Repository repository) throws CoreException {
+ return hasRemoteUrl(Pattern.compile(regex), repository);
}
-
- public static boolean hasRemote(Pattern pattern, Repository repository) throws CoreException {
+
+ /**
+ * Returns <code>true</code> if the given repository has a configured remote
+ * repository with an url that matches the given pattern.
+ *
+ * @param pattern
+ * @param repository
+ * @return
+ * @throws CoreException
+ */
+ public static boolean hasRemoteUrl(Pattern pattern, Repository repository) throws CoreException {
for (RemoteConfig config : getAllRemoteConfigs(repository)) {
- for(URIish uri : config.getURIs()) {
+ for (URIish uri : config.getURIs()) {
Matcher matcher = pattern.matcher(uri.toString());
if (matcher.find()) {
return true;
Modified: trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java
===================================================================
--- trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java 2012-01-31 02:30:06 UTC (rev 38312)
+++ trunk/openshift/tests/org.jboss.tools.openshift.egit.test/src/org/jboss/tools/openshift/egit/internal/test/EGitUtilsTest.java 2012-01-31 09:10:34 UTC (rev 38313)
@@ -8,7 +8,9 @@
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
+import java.net.MalformedURLException;
import java.net.URISyntaxException;
+import java.util.List;
import java.util.Set;
import org.eclipse.core.resources.IFile;
@@ -18,6 +20,7 @@
import org.eclipse.jgit.lib.ConfigConstants;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.lib.StoredConfig;
+import org.eclipse.jgit.transport.RemoteConfig;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.openshift.egit.core.EGitUtils;
import org.jboss.tools.openshift.egit.internal.test.util.TestProject;
@@ -59,7 +62,6 @@
testRepository2.connect(testProject2.getProject());
this.testRepositoryClone = cloneRepository(testRepository);
-// testRepositoryClone.addRemoteTo(REPO2_REMOTE_NAME, testRepository2.getRepository());
}
private TestRepository cloneRepository(TestRepository repository) throws URISyntaxException,
@@ -231,4 +233,29 @@
assertTrue(EGitUtils.isDirty(testRepository.getRepository()));
}
+ @Test
+ public void canGetSingleRemoteConfig() throws CoreException, MalformedURLException, URISyntaxException, IOException {
+ String remoteName = "repo2";
+
+ testRepository.addRemoteTo(remoteName, testRepository2.getRepository());
+ List<RemoteConfig> allRemoteConfigs = EGitUtils.getAllRemoteConfigs(testRepository.getRepository());
+ assertNotNull(allRemoteConfigs);
+ assertEquals(1, allRemoteConfigs.size());
+ RemoteConfig repo2Config = EGitUtils.getRemoteConfig(remoteName, allRemoteConfigs);
+ assertNotNull(repo2Config);
+ }
+
+ @Test
+ public void canGetFromSeveralRemoteConfig() throws CoreException, MalformedURLException, URISyntaxException, IOException {
+ String repo2RemoteName = "repo2";
+
+ testRepositoryClone.addRemoteTo(repo2RemoteName, testRepository2.getRepository());
+ List<RemoteConfig> allRemoteConfigs = EGitUtils.getAllRemoteConfigs(testRepositoryClone.getRepository());
+ assertNotNull(allRemoteConfigs);
+ // clone already has repo1 as origin
+ assertEquals(2, allRemoteConfigs.size());
+ RemoteConfig repo2Config = EGitUtils.getRemoteConfig(repo2RemoteName, allRemoteConfigs);
+ assertNotNull(repo2Config);
+ }
+
}
13 years, 8 months
JBoss Tools SVN: r38312 - in trunk/vpe: tests and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-01-30 21:30:06 -0500 (Mon, 30 Jan 2012)
New Revision: 38312
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.test/pom.xml
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/pom.xml
trunk/vpe/tests/pom.xml
Log:
Eclipse-BundleShape: dir introduced in vpe component plugin manifests where it is required
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF 2012-01-31 01:33:39 UTC (rev 38311)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/META-INF/MANIFEST.MF 2012-01-31 02:30:06 UTC (rev 38312)
@@ -64,3 +64,4 @@
org.eclipse.wst.common.snippets;bundle-version="1.2.100"
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/META-INF/MANIFEST.MF 2012-01-31 01:33:39 UTC (rev 38311)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/META-INF/MANIFEST.MF 2012-01-31 02:30:06 UTC (rev 38312)
@@ -18,3 +18,4 @@
Import-Package: org.eclipse.ui.part
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/vpe/tests/org.jboss.tools.vpe.test/pom.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.test/pom.xml 2012-01-31 01:33:39 UTC (rev 38311)
+++ trunk/vpe/tests/org.jboss.tools.vpe.test/pom.xml 2012-01-31 02:30:06 UTC (rev 38312)
@@ -16,17 +16,4 @@
<emma.instrument.bundles>org.jboss.tools.vpe</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.vpe.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/META-INF/MANIFEST.MF 2012-01-31 01:33:39 UTC (rev 38311)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/META-INF/MANIFEST.MF 2012-01-31 02:30:06 UTC (rev 38312)
@@ -39,3 +39,4 @@
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/pom.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/pom.xml 2012-01-31 01:33:39 UTC (rev 38311)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/pom.xml 2012-01-31 02:30:06 UTC (rev 38312)
@@ -17,17 +17,4 @@
<emma.instrument.bundles>org.jboss.tools.vpe,org.jboss.tools.vpe.resref,org.jboss.tools.vpe.ui.palette</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles combine.children="append">
- <bundle>org.jboss.tools.vpe.ui.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/vpe/tests/pom.xml
===================================================================
--- trunk/vpe/tests/pom.xml 2012-01-31 01:33:39 UTC (rev 38311)
+++ trunk/vpe/tests/pom.xml 2012-01-31 02:30:06 UTC (rev 38312)
@@ -71,7 +71,6 @@
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
<appArgLine>-debug -consolelog</appArgLine>
<explodedBundles>
- <bundle>org.jboss.tools.vpe</bundle>
<bundle>org.mozilla.xulrunner.cocoa.macosx</bundle>
<bundle>org.mozilla.xulrunner.gtk.linux.x86</bundle>
<bundle>org.mozilla.xulrunner.gtk.linux.x86_64</bundle>
13 years, 8 months
JBoss Tools SVN: r38311 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2012-01-30 20:33:39 -0500 (Mon, 30 Jan 2012)
New Revision: 38311
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java
Log:
Rename named bean action does work for Producer Fields and Producer Methods https://issues.jboss.org/browse/JBIDE-10741
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java 2012-01-31 01:16:19 UTC (rev 38310)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java 2012-01-31 01:33:39 UTC (rev 38311)
@@ -25,6 +25,7 @@
import org.eclipse.text.edits.ReplaceEdit;
import org.eclipse.text.edits.TextEdit;
import org.jboss.tools.cdi.core.CDICoreMessages;
+import org.jboss.tools.cdi.core.CDIUtil;
import org.jboss.tools.cdi.core.IBean;
import org.jboss.tools.common.el.core.model.ELInvocationExpression;
import org.jboss.tools.common.el.core.model.ELPropertyInvocation;
@@ -125,7 +126,7 @@
class CDISearcher extends RefactorSearcher{
public CDISearcher(IFile declarationFile, String oldName){
- super(declarationFile, oldName, bean.getBeanClass());
+ super(declarationFile, oldName, CDIUtil.getJavaElement(bean));
}
@Override
13 years, 8 months
JBoss Tools SVN: r38310 - in trunk/jst/tests/org.jboss.tools.jst.web.test: src/org/jboss/tools/jst/web/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-01-30 20:16:19 -0500 (Mon, 30 Jan 2012)
New Revision: 38310
Added:
trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/WebMetaModelTest.java
Modified:
trunk/jst/tests/org.jboss.tools.jst.web.test/META-INF/MANIFEST.MF
trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/JstWebAllTests.java
Log:
JBIDE-10448
https://issues.jboss.org/browse/JBIDE-10448
Tests are added.
Modified: trunk/jst/tests/org.jboss.tools.jst.web.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.test/META-INF/MANIFEST.MF 2012-01-31 01:09:07 UTC (rev 38309)
+++ trunk/jst/tests/org.jboss.tools.jst.web.test/META-INF/MANIFEST.MF 2012-01-31 01:16:19 UTC (rev 38310)
@@ -8,6 +8,7 @@
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.jboss.tools.common.el.core,
+ org.jboss.tools.common.model.test,
org.jboss.tools.jst.web.kb,
org.jboss.tools.common.validation,
org.junit,
Modified: trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/JstWebAllTests.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/JstWebAllTests.java 2012-01-31 01:09:07 UTC (rev 38309)
+++ trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/JstWebAllTests.java 2012-01-31 01:16:19 UTC (rev 38310)
@@ -22,6 +22,7 @@
public static Test suite() {
TestSuite suite = new TestSuite(JstWebAllTests.class.getName());
+ suite.addTestSuite(WebMetaModelTest.class);
suite.addTestSuite(WebContentAssistProviderTest.class);
// suite.addTestSuite(BuilderTest.class);
suite.addTest(new WebValidationTestSetup(new TestSuite(
Added: trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/WebMetaModelTest.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/WebMetaModelTest.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/WebMetaModelTest.java 2012-01-31 01:16:19 UTC (rev 38310)
@@ -0,0 +1,47 @@
+/*******************************************************************************
+ * Copyright (c) 2012 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.jst.web.test;
+
+import java.util.Set;
+
+import org.jboss.tools.common.meta.XModelEntity;
+import org.jboss.tools.common.meta.action.XActionItem;
+import org.jboss.tools.common.model.test.MetaModelTest;
+
+/**
+ * This test runs tests defined in MetaModelTest in context of jst module.
+ * MetaModelTest is defined in common module, but to check consistency of
+ * the meta model of a concrete context, the test should be run in it.
+ *
+ * Some actions used by Web Projects view do not comply the rule that
+ * requires action handler and icon to be packaged in the same module,
+ * but the view is considers them as extensions that may be non-available.
+ *
+ * @author Viacheslav Kabanovich
+ *
+ */
+public class WebMetaModelTest extends MetaModelTest {
+
+ protected void collectActionsWithWrongHandlers(XModelEntity entity, XActionItem item, Set<String> errors) {
+ if(!entity.getName().equals("WebWorkspace") &&
+ !entity.getName().equals("WebPrjAddModuleHelper") &&
+ (!entity.getName().equals("FileSystems") || !item.getName().equals("SynchronizeModules"))
+ ) {
+ super.collectActionsWithWrongHandlers(entity, item, errors);
+ }
+ }
+
+ protected void collectActionsWithoutIcon(XModelEntity entity, XActionItem item, Set<String> actionsWithoutIcons) {
+ if(!entity.getName().equals("WebWorkspace")) {
+ super.collectActionsWithoutIcon(entity, item, actionsWithoutIcons);
+ }
+ }
+}
Property changes on: trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test/WebMetaModelTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 8 months
JBoss Tools SVN: r38309 - in trunk/cdi/tests: org.jboss.tools.cdi.core.test/META-INF and 12 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-01-30 20:09:07 -0500 (Mon, 30 Jan 2012)
New Revision: 38309
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.core.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.ui.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.text.ext.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/pom.xml
Log:
Eclipse-BundleShape: dir introduced in cdi test plugin manifests where it is required
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2012-01-31 01:09:07 UTC (rev 38309)
@@ -27,3 +27,4 @@
org.jboss.tools.cdi.core.test.extension,
org.jboss.tools.cdi.core.test.tck,
org.jboss.tools.cdi.core.test.tck.validation
+Eclipse-BundleShape: dir
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,18 +14,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.core,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <product>org.jboss.tools.tests.product</product>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/META-INF/MANIFEST.MF 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/META-INF/MANIFEST.MF 2012-01-31 01:09:07 UTC (rev 38309)
@@ -26,4 +26,4 @@
org.eclipse.wst.validation,
org.jboss.tools.common.base.test
Export-Package: org.jboss.tools.cdi.seam.config.core.test
-
+Eclipse-BundleShape: dir
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,17 +14,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.seam.config.core,org.jboss.tools.cdi.core,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.seam.config.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.ui.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.ui.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.ui.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -15,17 +15,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.seam.config.ui,org.jboss.tools.cdi.core,org.jboss.tools.cdi.ui,org.jboss.tools.cdi.xml,org.jboss.tools.cdi.seam.config.core,org.jboss.tools.cdi.seam.solder.core</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/META-INF/MANIFEST.MF 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/META-INF/MANIFEST.MF 2012-01-31 01:09:07 UTC (rev 38309)
@@ -27,4 +27,4 @@
org.eclipse.wst.validation;bundle-version="1.2.300",
org.jboss.tools.jst.jsp
Export-Package: org.jboss.tools.cdi.seam.core.test
-
+Eclipse-BundleShape: dir
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.core.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -12,17 +12,4 @@
<properties>
<emma.instrument.bundles>org.jboss.tools.cdi.seam.core,org.jboss.tools.cdi.core,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.seam.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/META-INF/MANIFEST.MF 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/META-INF/MANIFEST.MF 2012-01-31 01:09:07 UTC (rev 38309)
@@ -17,3 +17,4 @@
org.jboss.tools.cdi.core.test,
org.jboss.tools.common.validation,
org.jboss.tools.common.base.test
+Eclipse-BundleShape: dir
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,17 +14,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.seam.faces.core,org.jboss.tools.cdi.core,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.seam.faces.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
\ No newline at end of file
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/META-INF/MANIFEST.MF 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/META-INF/MANIFEST.MF 2012-01-31 01:09:07 UTC (rev 38309)
@@ -24,4 +24,4 @@
org.eclipse.wst.validation,
org.jboss.tools.common.base.test
Export-Package: org.jboss.tools.cdi.seam.solder.core.test
-
+Eclipse-BundleShape: dir
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,18 +14,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.seam.solder.core,org.jboss.tools.cdi.core,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.core.test</bundle>
- <bundle>org.jboss.tools.cdi.seam.solder.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.text.ext.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.text.ext.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.text.ext.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,17 +14,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.seam.text.ext,org.jboss.tools.cdi.core,org.jboss.tools.cdi.ui,org.jboss.tools.cdi.xml,org.jboss.tools.cdi.seam.config.core,org.jboss.tools.cdi.seam.solder.core</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,17 +14,4 @@
<emma.instrument.bundles>org.jboss.tools.cdi.text.ext,org.jboss.tools.cdi.core,org.jboss.tools.cdi.ui,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
Modified: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/pom.xml 2012-01-31 00:37:42 UTC (rev 38308)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/pom.xml 2012-01-31 01:09:07 UTC (rev 38309)
@@ -14,21 +14,6 @@
<emma.instrument.bundles>org.jboss.tools.cdi.ui,org.jboss.tools.cdi.core,org.jboss.tools.cdi.xml</emma.instrument.bundles>
</properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <configuration>
- <product>org.jboss.tools.tests.product</product>
- <explodedBundles>
- <bundle>org.jboss.tools.cdi.core.test</bundle>
- </explodedBundles>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>profiler</id>
13 years, 8 months
JBoss Tools SVN: r38308 - in trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test: preferences and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-01-30 19:37:42 -0500 (Mon, 30 Jan 2012)
New Revision: 38308
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamSettingsPreferencesPageTest.java
Log:
https://issues.jboss.org/browse/JBIDE-10753 org.jboss.tools.seam.ui.test.preferences.SeamSettingsPreferencesPageTest failure
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java 2012-01-31 00:17:08 UTC (rev 38307)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/SeamUiAllTests.java 2012-01-31 00:37:42 UTC (rev 38308)
@@ -106,9 +106,12 @@
CASeamAddInfoInELMessagesTest.class), "org.jboss.tools.seam.ui.test", //$NON-NLS-1$
new String[] { "projects/TestSeamELContentAssist", }, //$NON-NLS-1$
new String[] { "TestSeamELContentAssist" })); //$NON-NLS-1$
-
- suite.addTestSuite(SeamSettingsPreferencesPageTest.class);
-
+
+ suite.addTest(new ProjectImportTestSetup(new TestSuite(
+ SeamSettingsPreferencesPageTest.class), "org.jboss.tools.seam.ui.test", //$NON-NLS-1$
+ new String[] { "projects/TestSeamSettingsPreferencesPage", }, //$NON-NLS-1$
+ new String[] { "TestSeamSettingsPreferencesPage" })); //$NON-NLS-1$
+
return suite;
}
}
\ No newline at end of file
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamSettingsPreferencesPageTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamSettingsPreferencesPageTest.java 2012-01-31 00:17:08 UTC (rev 38307)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/preferences/SeamSettingsPreferencesPageTest.java 2012-01-31 00:37:42 UTC (rev 38308)
@@ -11,17 +11,13 @@
package org.jboss.tools.seam.ui.test.preferences;
import java.io.File;
-import java.io.IOException;
-import java.net.URL;
import java.text.MessageFormat;
import junit.framework.TestCase;
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.FileLocator;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.jface.preference.PreferenceDialog;
@@ -55,24 +51,23 @@
public static final String PROP_SEAM_1_2_HOME_PATH = "jbosstools.test.seam.1.2.1.eap.home";
public static final String SEAM_1_2_HOME_PATH;
-
+
static {
SEAM_1_2_HOME_PATH = System.getProperty(PROP_SEAM_1_2_HOME_PATH);
if(SEAM_1_2_HOME_PATH == null) {
throw new IllegalArgumentException(MessageFormat.format(INIT_ERROR_MESSAGE, PROP_SEAM_1_2_HOME_PATH));
}
}
-
+
public SeamSettingsPreferencesPageTest() {
super("Seam Settings Preferences Page Tests");
}
+ @Override
protected void setUp() throws Exception {
- IResource project = ResourcesPlugin.getWorkspace().getRoot().findMember(PROJECT_NAME);
- assertNotNull(PROJECT_NAME + " project is not imported.", project);
- this.project = project.getProject();
+ this.project = ResourcesPlugin.getWorkspace().getRoot().getProject(PROJECT_NAME);
+ assertTrue(PROJECT_NAME + " project is not imported.", project.exists());
this.project.build(IncrementalProjectBuilder.FULL_BUILD, null);
- JobUtils.waitForIdle();
}
public void testSettingsPage() throws Exception {
@@ -111,7 +106,7 @@
ISeamProject seamProject = SeamCorePlugin.getSeamProject(project, false);
assertNotNull("Can't load seam project. It seems seam nature was not added to rpoject by seam settings page.", seamProject);
-
+
IEclipsePreferences pref = SeamCorePlugin.getSeamPreferences(project);
assertEquals("Seam settings version 1.1 property is not set", pref.get(ISeamFacetDataModelProperties.SEAM_SETTINGS_VERSION, ""), ISeamFacetDataModelProperties.SEAM_SETTINGS_VERSION_1_1);
assertEquals("Seam runtime property is not set", pref.get(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME, ""), RUNTIME_NAME);
@@ -125,7 +120,7 @@
assertEquals("Test package name property is not set", TEST_PACKAGE_NAME, pref.get(ISeamFacetDataModelProperties.TEST_CASES_PACKAGE_NAME, ""));
assertEquals("Test source folder property is not set", pref.get(ISeamFacetDataModelProperties.TEST_SOURCE_FOLDER, ""), "/" + PROJECT_NAME + "/src");
assertEquals("View folder property is not set", pref.get(ISeamFacetDataModelProperties.WEB_CONTENTS_FOLDER, ""), "/" + PROJECT_NAME);
-
+
assertTrue("Seam Nature was not enabled for project \"" + project.getName() + "\"",project.hasNature(ISeamProject.NATURE_ID));
}
}
\ No newline at end of file
13 years, 8 months
JBoss Tools SVN: r38307 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-01-30 19:17:08 -0500 (Mon, 30 Jan 2012)
New Revision: 38307
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta
Log:
JBIDE-10448
https://issues.jboss.org/browse/JBIDE-10448
Logical references to image declared in struts module are replaced by references to a local declaration.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta 2012-01-31 00:14:37 UTC (rev 38306)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta 2012-01-31 00:17:08 UTC (rev 38307)
@@ -18,6 +18,7 @@
<GROUP name="main">
<GROUP name="tld">
<ICON name="validator" path="images/struts/pro/validator.gif"/>
+ <ICON name="variable" path="images/struts/pro/validator_constant.gif"/>
</GROUP>
</GROUP>
</ICONS>
@@ -668,7 +669,7 @@
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
- <ICON info="main.validator.constant" type="main"/>
+ <ICON info="main.tld.variable" type="main"/>
</ICONS>
</XEntityRenderer>
<XModelAttributes>
13 years, 8 months