JBoss Tools SVN: r33565 - trunk/jsf/docs/jsf_tools_tutorial/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-08-03 18:11:59 -0400 (Wed, 03 Aug 2011)
New Revision: 33565
Modified:
trunk/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml
trunk/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml
Log:
updated for TOOLSDOC-179
Modified: trunk/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml 2011-08-03 22:05:45 UTC (rev 33564)
+++ trunk/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml 2011-08-03 22:11:59 UTC (rev 33565)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>4.1</productnumber>
<edition>4.1.0</edition>
- <pubsnumber>1</pubsnumber>
+ <pubsnumber>2</pubsnumber>
<abstract>
<para>The JSF Tools Tutorial explains how to use the JSF Tools module to create a simple JSF application.</para>
</abstract>
Modified: trunk/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml 2011-08-03 22:05:45 UTC (rev 33564)
+++ trunk/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml 2011-08-03 22:11:59 UTC (rev 33565)
@@ -55,6 +55,11 @@
<para>
Click on <guimenuitem>form</guimenuitem> within this folder, drag the cursor over to the editor, and drop it inside the <code><f:view></code> element. This can be done by dragging the form element onto the horizontal line at the top of the <code><f:view></code> element. You should see a message saying <guilabel>Place at the beginning of <f:view></guilabel>.
</para>
+ <important>
+ <para>
+ It is also possible to drag from the toolbar to the <guilabel>Source</guilabel> view. If you encounter any issues when dragging items to the <guilabel>Visual</guilabel> view, use the <guilabel>Source</guilabel> view; drag an element from the toolbar and drop it where you wish it to be within the code.
+ </para>
+ </important>
</listitem>
</itemizedlist>
<figure>
13 years, 5 months
JBoss Tools SVN: r33564 - in trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest: WebContent/pages and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2011-08-03 18:05:45 -0400 (Wed, 03 Aug 2011)
New Revision: 33564
Added:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/JavaSource/resources.properties
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/pages/greetingLong.xhtml
Log:
JBIDE-9414
CA incorrectly inserts a long-named properties from resource bundles
JUnit test is added
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/JavaSource/resources.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/JavaSource/resources.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/JavaSource/resources.properties 2011-08-03 22:05:45 UTC (rev 33564)
@@ -0,0 +1,3 @@
+prompt=Your Name\:
+org.jboss.long.named.Property=a long named property
+greeting=Hello
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/JavaSource/resources.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/pages/greetingLong.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/pages/greetingLong.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/pages/greetingLong.xhtml 2011-08-03 22:05:45 UTC (rev 33564)
@@ -0,0 +1,16 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <f:loadBundle basename="resources" var="msg" />
+ <ui:composition template="/templates/common.xhtml">
+ <ui:define name="pageTitle">Greeting to User</ui:define>
+ <ui:define name="pageHeader">Greeting Page</ui:define>
+ <h:outputText value="#{msg.}" />
+ <ui:define name="body">
+ #{msg.}!
+ </ui:define>
+ </ui:composition>
+</html>
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/projects/CAForCompositeComponentTest/WebContent/pages/greetingLong.xhtml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 5 months
JBoss Tools SVN: r33563 - in trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf: ui/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2011-08-03 18:05:10 -0400 (Wed, 03 Aug 2011)
New Revision: 33563
Added:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/JsfJspLongResourceBundlePropertyNamesTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
JBIDE-9414
CA incorrectly inserts a long-named properties from resource bundles
JUnit test is added
Added: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/JsfJspLongResourceBundlePropertyNamesTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/JsfJspLongResourceBundlePropertyNamesTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/JsfJspLongResourceBundlePropertyNamesTest.java 2011-08-03 22:05:10 UTC (rev 33563)
@@ -0,0 +1,144 @@
+/*******************************************************************************
+ * Copyright (c) 2011 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.jsp.ca.test;
+
+import java.util.List;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.text.contentassist.ICompletionProposal;
+import org.jboss.tools.common.base.test.contentassist.CATestUtil;
+import org.jboss.tools.jst.jsp.contentassist.AutoContentAssistantProposal;
+import org.jboss.tools.jst.jsp.test.ca.ContentAssistantTestCase;
+import org.jboss.tools.jst.jsp.test.ca.JstJspJbide1641Test;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.TestProjectProvider;
+
+/**
+ * The JUnit test cases for https://issues.jboss.org/browse/JBIDE-9414 issue
+ *
+ * @author Victor V. Rubezhny
+ *
+ */
+public class JsfJspLongResourceBundlePropertyNamesTest extends ContentAssistantTestCase {
+ TestProjectProvider provider = null;
+ boolean makeCopy = false;
+ private static final String PROJECT_NAME = "CAForCompositeComponentTest";
+ private static final String PAGE_NAME = "WebContent/pages/greetingLong.xhtml";
+ private static final String PROPOSAL_TO_APPLY_STRING = "['org.jboss.long.named.Property']";
+ private static final String PREFIX_STRING = "#{msg.";
+ private static final String ATTR_PREFIX_STRING = "h:outputText";
+ private static final String TEXT_PREFIX_STRING = "<ui:define name=\"body\"";
+ private static final String COMPARE_STRING = "#{msg['org.jboss.long.named.Property']";
+
+// public JsfJspLongResourceBundlePropertyNamesTest() {
+// try {
+// provider = new TestProjectProvider("org.jboss.tools.jsf.ui.test", null, PROJECT_NAME, makeCopy);
+// project = provider.getProject();
+// } catch (CoreException e) {
+// e.printStackTrace();
+// project = null;
+// }
+// }
+
+ public void setUp() throws Exception {
+ provider = new TestProjectProvider("org.jboss.tools.jsf.ui.test", null, PROJECT_NAME, makeCopy);
+ project = provider.getProject();
+ }
+
+ protected void tearDown() throws Exception {
+ if(provider != null) {
+ provider.dispose();
+ }
+ }
+
+ public static Test suite() {
+ return new TestSuite(JstJspJbide1641Test.class);
+ }
+
+// @Override
+// protected void finalize() throws Throwable {
+// if(provider != null) {
+// provider.dispose();
+// }
+// super.finalize();
+// }
+
+ private void doTestLongResourceBundlePropertyNames(String tagName, String prefix, String proposalToApply, String compareString) {
+ // Find start of <ui:composition> tag
+ String documentContent = document.get();
+ int start = (documentContent == null ? -1 : documentContent.indexOf(tagName));
+ assertFalse("Required node '" + tagName + "' not found in document", (start == -1));
+ start = documentContent.indexOf(prefix, start);
+ int offsetToTest = start + prefix.length();
+ assertTrue("Cannot find the starting point in the test file \"" + PAGE_NAME + "\"", (start != -1));
+
+ String documentContentToCompare = documentContent.substring(0, start) +
+ compareString + documentContent.substring(start + prefix.length());
+
+ JobUtils.waitForIdle();
+
+ List<ICompletionProposal> res = CATestUtil.collectProposals(contentAssistant, viewer, offsetToTest);
+
+ assertTrue("Content Assistant returned no proposals", (res != null && res.size() > 0));
+
+ boolean bPropoosalToApplyFound = false;
+ for (ICompletionProposal p : res) {
+ if (!(p instanceof AutoContentAssistantProposal))
+ continue;
+ AutoContentAssistantProposal proposal = (AutoContentAssistantProposal)p;
+ String proposalString = proposal.getDisplayString();
+
+ if (proposalToApply.equals(proposalString)) {
+ bPropoosalToApplyFound = true;
+ proposal.apply(document);
+ break;
+ }
+ }
+ assertTrue("The proposal to apply not found.", bPropoosalToApplyFound);
+
+ try {
+ JobUtils.waitForIdle();
+ } catch (Exception e) {
+ e.printStackTrace();
+ assertTrue("Waiting for the jobs to complete has failed.", false);
+ }
+
+ String documentUpdatedContent = document.get();
+ assertTrue("The proposal replacement is failed.", documentContentToCompare.equals(documentUpdatedContent));
+
+ }
+
+ public void testJstJspLongResourceBundlePropertyNamesInTagAttributeValue() {
+ assertNotNull("Test project '" + PROJECT_NAME + "' is not prepared", project);
+
+ openEditor(PAGE_NAME);
+ try {
+ doTestLongResourceBundlePropertyNames(ATTR_PREFIX_STRING, PREFIX_STRING, PROPOSAL_TO_APPLY_STRING, COMPARE_STRING);
+ } finally {
+ closeEditor();
+ }
+ }
+
+ public void testJstJspLongResourceBundlePropertyNamesInText() {
+ assertNotNull("Test project '" + PROJECT_NAME + "' is not prepared", project);
+
+ openEditor(PAGE_NAME);
+ try {
+ doTestLongResourceBundlePropertyNames(TEXT_PREFIX_STRING, PREFIX_STRING, PROPOSAL_TO_APPLY_STRING, COMPARE_STRING);
+ } finally {
+ closeEditor();
+ }
+ }
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/jsp/ca/test/JsfJspLongResourceBundlePropertyNamesTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2011-08-03 21:46:19 UTC (rev 33562)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2011-08-03 22:05:10 UTC (rev 33563)
@@ -30,6 +30,7 @@
import org.jboss.tools.jsf.jsp.ca.test.JsfJspJbide1704Test;
import org.jboss.tools.jsf.jsp.ca.test.JsfJspJbide1717Test;
import org.jboss.tools.jsf.jsp.ca.test.JsfJspJbide6259Test;
+import org.jboss.tools.jsf.jsp.ca.test.JsfJspLongResourceBundlePropertyNamesTest;
import org.jboss.tools.jsf.jsp.ca.test.JspElFunctionsTest;
import org.jboss.tools.jsf.jsp.ca.test.WebContentAssistProviderTest;
import org.jboss.tools.jsf.ui.test.refactoring.ELReferencesRenameTest;
@@ -60,8 +61,9 @@
suite.addTestSuite(JsfJspJbide1704Test.class);
suite.addTestSuite(JsfJspJbide1717Test.class);
suite.addTestSuite(JsfJBide3845Test.class);
+ suite.addTestSuite(JsfJspLongResourceBundlePropertyNamesTest.class);
- suite.addTest(
+ suite.addTest(
new ProjectImportTestSetup(WebContentAssistProviderTest.suite(),
"org.jboss.tools.jsf.ui.test",
new String[] { "projects/TestsWebArtefacts", }, //$NON-NLS-1$
13 years, 5 months
JBoss Tools SVN: r33562 - branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-08-03 17:46:19 -0400 (Wed, 03 Aug 2011)
New Revision: 33562
Modified:
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml
branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml
Log:
updated for TOOLSDOC-179
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml 2011-08-03 21:16:12 UTC (rev 33561)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/Book_Info.xml 2011-08-03 21:46:19 UTC (rev 33562)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>4.1</productnumber>
<edition>4.1.0</edition>
- <pubsnumber>1</pubsnumber>
+ <pubsnumber>2</pubsnumber>
<abstract>
<para>The JSF Tools Tutorial explains how to use the JSF Tools module to create a simple JSF application.</para>
</abstract>
Modified: branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml
===================================================================
--- branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml 2011-08-03 21:16:12 UTC (rev 33561)
+++ branches/jbosstools-3.2.x/jsf/docs/jsf_tools_tutorial/en-US/jsp_view_files.xml 2011-08-03 21:46:19 UTC (rev 33562)
@@ -55,6 +55,11 @@
<para>
Click on <guimenuitem>form</guimenuitem> within this folder, drag the cursor over to the editor, and drop it inside the <code><f:view></code> element. This can be done by dragging the form element onto the horizontal line at the top of the <code><f:view></code> element. You should see a message saying <guilabel>Place at the beginning of <f:view></guilabel>.
</para>
+ <important>
+ <para>
+ It is also possible to drag from the toolbar to the <guilabel>Source</guilabel> view. If you encounter any issues when dragging items to the <guilabel>Visual</guilabel> view, use the <guilabel>Source</guilabel> view; drag an element from the toolbar and drop it where you wish it to be within the code.
+ </para>
+ </important>
</listitem>
</itemizedlist>
<figure>
13 years, 5 months
JBoss Tools SVN: r33561 - in trunk/build/aggregate: webtools-site and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 17:16:12 -0400 (Wed, 03 Aug 2011)
New Revision: 33561
Added:
trunk/build/aggregate/webtools-site/
trunk/build/aggregate/webtools-site/.gitignore
trunk/build/aggregate/webtools-site/pom.xml
trunk/build/aggregate/webtools-site/site/
trunk/build/aggregate/webtools-site/site/.gitignore
trunk/build/aggregate/webtools-site/site/pom.xml
trunk/build/aggregate/webtools-site/site/site.xml
Log:
new webtools-site for building JBIDE-8460 content (it's like the as component update site, minus tests)
Added: trunk/build/aggregate/webtools-site/.gitignore
===================================================================
--- trunk/build/aggregate/webtools-site/.gitignore (rev 0)
+++ trunk/build/aggregate/webtools-site/.gitignore 2011-08-03 21:16:12 UTC (rev 33561)
@@ -0,0 +1,2 @@
+.project
+.settings/
Added: trunk/build/aggregate/webtools-site/pom.xml
===================================================================
--- trunk/build/aggregate/webtools-site/pom.xml (rev 0)
+++ trunk/build/aggregate/webtools-site/pom.xml 2011-08-03 21:16:12 UTC (rev 33561)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.2-SNAPSHOT</version>
+ <relativePath>../build/parent/pom.xml</relativePath>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>webtools</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>webtools.all</name>
+ <packaging>pom</packaging>
+ <modules>
+ <module>site</module>
+ </modules>
+<!-- to build against locally built sources, use:
+ mvn clean install
+
+ to build against http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/, use:
+ mvn clean install -Pjbosstools-nightly-staging-composite
+-->
+</project>
Added: trunk/build/aggregate/webtools-site/site/.gitignore
===================================================================
--- trunk/build/aggregate/webtools-site/site/.gitignore (rev 0)
+++ trunk/build/aggregate/webtools-site/site/.gitignore 2011-08-03 21:16:12 UTC (rev 33561)
@@ -0,0 +1,4 @@
+.settings/
+.project
+target/
+.classpath
Added: trunk/build/aggregate/webtools-site/site/pom.xml
===================================================================
--- trunk/build/aggregate/webtools-site/site/pom.xml (rev 0)
+++ trunk/build/aggregate/webtools-site/site/pom.xml 2011-08-03 21:16:12 UTC (rev 33561)
@@ -0,0 +1,13 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>webtools</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.webtools</groupId>
+ <artifactId>org.jboss.tools.webtools.site</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>eclipse-update-site</packaging>
+</project>
Added: trunk/build/aggregate/webtools-site/site/site.xml
===================================================================
--- trunk/build/aggregate/webtools-site/site/site.xml (rev 0)
+++ trunk/build/aggregate/webtools-site/site/site.xml 2011-08-03 21:16:12 UTC (rev 33561)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <description>To install these features, point Eclipse at this site.</description>
+ <!-- JBoss Tools webtools Nightly Build Update Site -->
+ <category-def label="JBoss Tools webtools Nightly Build Update Site" name="JBoss Tools webtools Nightly Build Update Site">
+ <description>JBoss Tools webtools Nightly Build Update Site: contains all features in this build.</description>
+ </category-def>
+ <feature url="features/org.jboss.tools.jmx.feature_0.0.0.jar" id="org.jboss.tools.jmx.feature" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.ide.eclipse.archives.feature_0.0.0.jar" id="org.jboss.ide.eclipse.archives.feature" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.ide.eclipse.as.archives.integration_0.0.0.jar" id="org.jboss.ide.eclipse.as.archives.integration" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.ide.eclipse.as.serverAdapter.wtp_0.0.0.jar" id="org.jboss.ide.eclipse.as.serverAdapter.wtp" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.ide.eclipse.as.feature_0.0.0.jar" id="org.jboss.ide.eclipse.as.feature" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.ide.eclipse.as.server.rse.integration_0.0.0.jar" id="org.jboss.ide.eclipse.as.server.rse.integration" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+ <feature url="features/org.jboss.ide.eclipse.as.jmx.integration_0.0.0.jar" id="org.jboss.ide.eclipse.as.jmx.integration" version="0.0.0">
+ <category name="JBoss Tools webtools Nightly Build Update Site"/>
+ </feature>
+</site>
13 years, 5 months
JBoss Tools SVN: r33560 - in trunk/build/aggregate/bottests-site: features and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 17:15:56 -0400 (Wed, 03 Aug 2011)
New Revision: 33560
Modified:
trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/pom.xml
trunk/build/aggregate/bottests-site/features/pom.xml
trunk/build/aggregate/bottests-site/plugins/pom.xml
trunk/build/aggregate/bottests-site/pom.xml
trunk/build/aggregate/bottests-site/site/pom.xml
trunk/build/aggregate/bottests-site/site/site.xml
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
trunk/build/aggregate/bottests-site/tests/pom.xml
Log:
refactor bottests to bot.tests for consistency
Modified: trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/features/org.jboss.tools.bot.test.feature/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -3,12 +3,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.jboss.tools.bottests</groupId>
- <artifactId>org.jboss.tools.bottests.features</artifactId>
+ <groupId>org.jboss.tools.bot.tests</groupId>
+ <artifactId>org.jboss.tools.bot.tests.features</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.tools</groupId>
<artifactId>org.jboss.tools.bot.test.feature</artifactId>
<version>3.1.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
-</project>
\ No newline at end of file
+</project>
Modified: trunk/build/aggregate/bottests-site/features/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/features/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/features/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools</groupId>
- <artifactId>bottests</artifactId>
+ <artifactId>bot.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
- <groupId>org.jboss.tools.bottests</groupId>
- <artifactId>org.jboss.tools.bottests.features</artifactId>
+ <groupId>org.jboss.tools.bot.tests</groupId>
+ <artifactId>org.jboss.tools.bot.tests.features</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
Modified: trunk/build/aggregate/bottests-site/plugins/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/plugins/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/plugins/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools</groupId>
- <artifactId>bottests</artifactId>
+ <artifactId>bot.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
- <groupId>org.jboss.tools.bottests</groupId>
- <artifactId>org.jboss.tools.bottests.plugins</artifactId>
+ <groupId>org.jboss.tools.bot.tests</groupId>
+ <artifactId>org.jboss.tools.bot.tests.plugins</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
Modified: trunk/build/aggregate/bottests-site/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -8,7 +8,7 @@
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
- <artifactId>bottests</artifactId>
+ <artifactId>bot.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>bot.tests.all</name>
<packaging>pom</packaging>
Modified: trunk/build/aggregate/bottests-site/site/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/site/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/site/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools</groupId>
- <artifactId>bottests</artifactId>
+ <artifactId>bot.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
- <groupId>org.jboss.tools.bottests</groupId>
- <artifactId>org.jboss.tools.bottests.site</artifactId>
+ <groupId>org.jboss.tools.bot.tests</groupId>
+ <artifactId>org.jboss.tools.bot.tests.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-update-site</packaging>
</project>
Modified: trunk/build/aggregate/bottests-site/site/site.xml
===================================================================
--- trunk/build/aggregate/bottests-site/site/site.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/site/site.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -2,7 +2,7 @@
<site>
<description>To install these features, point Eclipse at this site.</description>
<!-- JBoss Tools bot.tests Nightly Build Update Site -->
- <category-def label="JBoss Tools bot.tests Nightly Build Update Site" name="JBoss Tools tests Nightly Build Update Site">
+ <category-def label="JBoss Tools bot.tests Nightly Build Update Site" name="JBoss Tools bot.tests Nightly Build Update Site">
<description>JBoss Tools bot.tests Nightly Build Update Site: contains all features in this build.</description>
</category-def>
<feature url="features/org.jboss.tools.bot.test.feature_0.0.0.jar" id="org.jboss.tools.bot.test.feature" version="0.0.0">
Modified: trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -2,8 +2,8 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.jboss.tools.bottests</groupId>
- <artifactId>org.jboss.tools.bottests.tests</artifactId>
+ <groupId>org.jboss.tools.bot.tests</groupId>
+ <artifactId>org.jboss.tools.bot.tests.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.tools.drools</groupId>
Modified: trunk/build/aggregate/bottests-site/tests/pom.xml
===================================================================
--- trunk/build/aggregate/bottests-site/tests/pom.xml 2011-08-03 21:11:53 UTC (rev 33559)
+++ trunk/build/aggregate/bottests-site/tests/pom.xml 2011-08-03 21:15:56 UTC (rev 33560)
@@ -3,11 +3,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools</groupId>
- <artifactId>bottests</artifactId>
+ <artifactId>bot.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
- <groupId>org.jboss.tools.bottests</groupId>
- <artifactId>org.jboss.tools.bottests.tests</artifactId>
+ <groupId>org.jboss.tools.bot.tests</groupId>
+ <artifactId>org.jboss.tools.bot.tests.tests</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
13 years, 5 months
JBoss Tools SVN: r33559 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb: src/org/jboss/tools/jst/web/kb and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-08-03 17:11:53 -0400 (Wed, 03 Aug 2011)
New Revision: 33559
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSeverityPreferences.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationConfigurationBlock.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbBuilderMarker.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/ELPreferenceInitializer.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSettingsPreferencePage.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java
Log:
JBIDE-9120
https://issues.jboss.org/browse/JBIDE-9120
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2011-08-03 21:11:53 UTC (rev 33559)
@@ -306,6 +306,17 @@
</adapt>
</enabledWhen>
</page>
+ <page
+ name="%PreferencePage_KBValidator"
+ class="org.jboss.tools.jst.web.kb.preferences.KBValidationPreferencePage"
+ id="org.jboss.tools.jst.web.kb.propertyPages.KBValidationPreferencePage"
+ category="org.jboss.tools.jst.web.kb.propertyPages.KBSettingsPreferencePage">
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject">
+ <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.jdt.core.javanature"/>
+ </adapt>
+ </enabledWhen>
+ </page>
</extension>
<extension point="org.eclipse.ui.preferencePages">
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.java 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbMessages.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -42,6 +42,4 @@
public static String ILLEGAL_CONTENTTYPE;
public static String EXCEPTION_DURING_CREATING_MARKER;
-
- public static String KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT;
-}
\ No newline at end of file
+ }
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbBuilderMarker.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbBuilderMarker.java 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbBuilderMarker.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -4,11 +4,14 @@
import java.util.ArrayList;
import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
+import org.jboss.tools.common.preferences.SeverityPreferences;
import org.jboss.tools.jst.web.kb.KbMessages;
import org.jboss.tools.jst.web.kb.KbProjectFactory;
import org.jboss.tools.jst.web.kb.WebKbPlugin;
+import org.jboss.tools.jst.web.kb.preferences.KBSeverityPreferences;
public class KbBuilderMarker {
@@ -44,8 +47,15 @@
}
public static IMarker createOrUpdateKbProblemMarker(IMarker m, IResource r, String message, int kind) throws CoreException {
- String location = MessageFormat.format(KbMessages.KBPROBLEM_LOCATION, new Object[] {r.getProject().getName()});
+ String preferenceValue = getPreference(r.getProject(), kind);
+ if(SeverityPreferences.IGNORE.equals(preferenceValue)) {
+ if(m != null) {
+ m.delete();
+ }
+ return null;
+ }
+
if (m == null) {
m = r.createMarker(KB_BUILDER_PROBLEM_MARKER_TYPE);
m.setAttribute(KbBuilderMarker.ATTR_KIND, KbBuilderMarker.KIND_KB_NATURE_OR_BUILDER_MISSING);
@@ -54,13 +64,32 @@
KbProjectFactory.getKbProject(r.getProject(), true);
}
}
+
+ int severity = IMarker.SEVERITY_WARNING;
+ if(SeverityPreferences.ERROR.equals(preferenceValue)) {
+ severity = IMarker.SEVERITY_ERROR;
+ }
+ String location = MessageFormat.format(KbMessages.KBPROBLEM_LOCATION, new Object[] {r.getProject().getName()});
+
m.setAttribute(ATTR_KIND, kind);
m.setAttribute(IMarker.LOCATION, location);
m.setAttribute(IMarker.MESSAGE, message);
- m.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_WARNING);
+ m.setAttribute(IMarker.SEVERITY, severity);
m.setAttribute(IMarker.PRIORITY, IMarker.PRIORITY_NORMAL);
return m;
}
+ protected static String getPreference(IProject project, int kind) {
+ if(kind == KIND_KB_NATURE_OR_BUILDER_MISSING) {
+ return getPreference(project, KBSeverityPreferences.REQUIRED_KB_CAPABILITIES_ARE_MISSING);
+ } else if(kind == KIND_DEPENDS_ON_NON_KB_POJECTS) {
+ return getPreference(project, KBSeverityPreferences.KB_CAPABILITIES_ARE_NOT_ENABLED_IN_JAVA_MODULE);
+ }
+ return getPreference(project, KBSeverityPreferences.REQUIRED_KB_CAPABILITIES_ARE_MISSING);
+ }
+
+ protected static String getPreference(IProject project, String preferenceKey) {
+ return KBSeverityPreferences.getInstance().getProjectPreference(project, preferenceKey);
+ }
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/ELPreferenceInitializer.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/ELPreferenceInitializer.java 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/ELPreferenceInitializer.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -28,6 +28,8 @@
public void initializeDefaultPreferences() {
IEclipsePreferences defaultPreferences = ((IScopeContext) new DefaultScope()).getNode(WebKbPlugin.PLUGIN_ID);
+
+ //EL Preferences
defaultPreferences.putBoolean(SeverityPreferences.ENABLE_BLOCK_PREFERENCE_NAME, true);
defaultPreferences.put(SeverityPreferences.WRONG_BUILDER_ORDER_PREFERENCE_NAME, ELSeverityPreferences.ERROR);
for (String name : ELSeverityPreferences.SEVERITY_OPTION_NAMES) {
@@ -41,5 +43,9 @@
defaultPreferences.put(ELSeverityPreferences.RE_VALIDATE_UNRESOLVED_EL, ELSeverityPreferences.ENABLE);
defaultPreferences.putInt(SeverityPreferences.MAX_NUMBER_OF_MARKERS_PREFERENCE_NAME, SeverityPreferences.DEFAULT_MAX_NUMBER_OF_MARKERS_PER_FILE);
defaultPreferences.put(ELSeverityPreferences.NON_EXTERNALIZED_STRINGS, ELSeverityPreferences.IGNORE);
+
+ //KB preferences
+ defaultPreferences.put(KBSeverityPreferences.REQUIRED_KB_CAPABILITIES_ARE_MISSING, SeverityPreferences.WARNING);
+ defaultPreferences.put(KBSeverityPreferences.KB_CAPABILITIES_ARE_NOT_ENABLED_IN_JAVA_MODULE, SeverityPreferences.WARNING);
}
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -22,6 +22,12 @@
public static String KB_DESCRIPTION;
public static String KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT;
+ public static String KB_VALIDATOR_PREFERENCE_PAGE_KB_VALIDATOR;
+
+ public static String KBValidationConfigurationBlock_common_description;
+ public static String KBValidationConfigurationBlock_section_config;
+ public static String KBValidationConfigurationBlock_pb_requiredKbCapabilitiesAreMissing_label;
+ public static String KBValidationConfigurationBlock_pb_kbCapabilitiesAreNotEnabledInJavaModule_label;
static {
NLS.initializeMessages(BUNDLE_NAME, KBPreferencesMessages.class);
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBPreferencesMessages.properties 2011-08-03 21:11:53 UTC (rev 33559)
@@ -23,3 +23,13 @@
KB_VALIDATOR_PREFERENCE_PAGE_KB_VALIDATOR=KB Validator
+KBValidationConfigurationBlock_common_description=\
+Enabling Knowledge Base capabilities (nature and builder) on a project \n\
+is required for correct work of other JBoss Tools capabilities. \n\
+Since each Java archive is ready to provide JSF 2 resources, \n\
+it is recommended to enable Knowledge Base capabilities on any \n\
+Java project that is used as a module by another Web project.
+
+KBValidationConfigurationBlock_section_config=Configuration
+KBValidationConfigurationBlock_pb_requiredKbCapabilitiesAreMissing_label=Required Capabilities are missing\:
+KBValidationConfigurationBlock_pb_kbCapabilitiesAreNotEnabledInJavaModule_label=Capabilities are not enabled in Java module\:
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSettingsPreferencePage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSettingsPreferencePage.java 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSettingsPreferencePage.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -22,12 +22,11 @@
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
import org.jboss.tools.common.ui.preferences.SettingsPage;
import org.jboss.tools.common.ui.widget.editor.IFieldEditor;
import org.jboss.tools.common.ui.widget.editor.IFieldEditorFactory;
import org.jboss.tools.jst.web.kb.IKbProject;
-import org.jboss.tools.jst.web.kb.KbMessages;
-import org.jboss.tools.jst.web.kb.KbProjectFactory;
import org.jboss.tools.jst.web.kb.WebKbPlugin;
/**
@@ -68,6 +67,9 @@
GridLayout gridLayout = new GridLayout(1, false);
root.setLayout(gridLayout);
+ Label lable = new Label(root, 0);
+ lable.setText(KBPreferencesMessages.KB_DESCRIPTION);
+
Composite generalGroup = new Composite(root, SWT.NONE);
generalGroup.setLayoutData(gd);
gridLayout = new GridLayout(4, false);
@@ -76,7 +78,7 @@
initialState = isKBEnabled(project);
IFieldEditor kbSupportCheckBox = IFieldEditorFactory.INSTANCE.createCheckboxEditor(
- KbMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT, KbMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT, initialState);
+ KBPreferencesMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT, KBPreferencesMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT, initialState);
kbSupportCheckBox.addPropertyChangeListener(new PropertyChangeListener() {
public void propertyChange(PropertyChangeEvent evt) {
Object value = evt.getNewValue();
@@ -99,7 +101,7 @@
*/
@Override
protected void performDefaults() {
- getEditor(KbMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT).setValue(isKBEnabled(project));
+ getEditor(KBPreferencesMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT).setValue(isKBEnabled(project));
validate();
}
@@ -145,7 +147,7 @@
public void setEnabledKBSuport(boolean enabled) {
kbEnabled = enabled;
- editorRegistry.get(KbMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT).setValue(enabled);
+ editorRegistry.get(KBPreferencesMessages.KB_SETTINGS_PREFERENCE_PAGE_KB_SUPPORT).setValue(enabled);
}
/*
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSeverityPreferences.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSeverityPreferences.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSeverityPreferences.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2011 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.kb.preferences;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.core.resources.IProject;
+import org.jboss.tools.common.preferences.SeverityPreferences;
+import org.jboss.tools.jst.web.kb.WebKbPlugin;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class KBSeverityPreferences extends SeverityPreferences {
+
+ public static final Set<String> SEVERITY_OPTION_NAMES = new HashSet<String>();
+
+ private static KBSeverityPreferences INSTANCE = new KBSeverityPreferences();
+
+ // Expression Language
+
+ // Mark EL Variable name which we can't resolve.
+ public static final String REQUIRED_KB_CAPABILITIES_ARE_MISSING = INSTANCE.createSeverityOption("requiredKbCapabilitiesAreMissing"); //$NON-NLS-1$
+ // Check "var" attributes.
+ public static final String KB_CAPABILITIES_ARE_NOT_ENABLED_IN_JAVA_MODULE = INSTANCE.createSeverityOption("kbCapabilitiesAreNotEnabledInJavaModule"); //$NON-NLS-1$
+
+ /**
+ * @return the only instance of KBSeverityPreferences
+ */
+ public static KBSeverityPreferences getInstance() {
+ return INSTANCE;
+ }
+
+ private KBSeverityPreferences() {
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.common.preferences.SeverityPreferences#createSeverityOption(java.lang.String)
+ */
+ @Override
+ protected String createSeverityOption(String shortName) {
+ String name = getPluginId() + ".validator.problem." + shortName; //$NON-NLS-1$
+ SEVERITY_OPTION_NAMES.add(name);
+ return name;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.common.preferences.SeverityPreferences#getPluginId()
+ */
+ @Override
+ protected String getPluginId() {
+ return WebKbPlugin.PLUGIN_ID;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.common.preferences.SeverityPreferences#getSeverityOptionNames()
+ */
+ @Override
+ protected Set<String> getSeverityOptionNames() {
+ return SEVERITY_OPTION_NAMES;
+ }
+
+ public static boolean isValidationEnabled(IProject project) {
+ return INSTANCE.isEnabled(project);
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBSeverityPreferences.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationConfigurationBlock.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationConfigurationBlock.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationConfigurationBlock.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.kb.preferences;
+
+import java.util.ArrayList;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.jdt.internal.ui.wizards.IStatusChangeListener;
+import org.eclipse.jface.dialogs.IDialogSettings;
+import org.eclipse.ui.preferences.IWorkbenchPreferenceContainer;
+import org.jboss.tools.common.ui.preferences.SeverityConfigurationBlock;
+import org.jboss.tools.jst.web.kb.WebKbPlugin;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class KBValidationConfigurationBlock extends SeverityConfigurationBlock {
+
+ private static final String SETTINGS_SECTION_NAME = "KBValidationConfigurationBlock"; //$NON-NLS-1$
+
+ private static SectionDescription SECTION_KB_CONFIG = new SectionDescription(
+ KBPreferencesMessages.KBValidationConfigurationBlock_section_config,
+ new String[][]{
+ {KBSeverityPreferences.REQUIRED_KB_CAPABILITIES_ARE_MISSING, KBPreferencesMessages.KBValidationConfigurationBlock_pb_requiredKbCapabilitiesAreMissing_label},
+ {KBSeverityPreferences.KB_CAPABILITIES_ARE_NOT_ENABLED_IN_JAVA_MODULE, KBPreferencesMessages.KBValidationConfigurationBlock_pb_kbCapabilitiesAreNotEnabledInJavaModule_label},
+ },
+ WebKbPlugin.PLUGIN_ID
+ );
+
+ private static SectionDescription[] ALL_SECTIONS = new SectionDescription[]{
+ SECTION_KB_CONFIG,
+ };
+
+ private static Key[] getKeys() {
+ ArrayList<Key> keys = new ArrayList<Key>();
+ for (SectionDescription s: ALL_SECTIONS) {
+ s.collectKeys(keys);
+ }
+ return keys.toArray(new Key[0]);
+ }
+
+ @Override
+ protected Key getMaxNumberOfProblemsKey() {
+ return null;
+ }
+
+ public KBValidationConfigurationBlock(IStatusChangeListener context,
+ IProject project, IWorkbenchPreferenceContainer container) {
+ super(context, project, getKeys(), container);
+ }
+
+ @Override
+ protected SectionDescription[] getAllSections() {
+ return ALL_SECTIONS;
+ }
+
+ @Override
+ protected String getCommonDescription() {
+ return KBPreferencesMessages.KBValidationConfigurationBlock_common_description;
+ }
+
+ @Override
+ protected IDialogSettings getDialogSettings() {
+ return WebKbPlugin.getDefault().getDialogSettings().getSection(SETTINGS_SECTION_NAME);
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationConfigurationBlock.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java 2011-08-03 20:50:48 UTC (rev 33558)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/preferences/KBValidationPreferencePage.java 2011-08-03 21:11:53 UTC (rev 33559)
@@ -10,33 +10,43 @@
******************************************************************************/
package org.jboss.tools.jst.web.kb.preferences;
-import org.eclipse.jface.preference.PreferencePage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.eclipse.ui.preferences.IWorkbenchPreferenceContainer;
+import org.jboss.tools.common.ui.preferences.SeverityPreferencePage;
+import org.jboss.tools.jst.web.kb.WebKbPlugin;
/**
* @author Viacheslav Kabanovich
*/
-public class KBValidationPreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
-
- /**
- * @see plugin.xml descriptor for ID
- */
- public static final String ID = "org.jboss.tools.common.model.ui.kb"; //$NON-NLS-1$
+public class KBValidationPreferencePage extends SeverityPreferencePage {
+ public static final String PREF_ID = "org.jboss.tools.jst.web.kb.preferences.KBValidationPreferencePage"; //$NON-NLS-1$
+ public static final String PROP_ID = "org.jboss.tools.jst.web.kb.propertyPages.KBValidationPreferencePage"; //$NON-NLS-1$\
+ public KBValidationPreferencePage() {
+ setPreferenceStore(WebKbPlugin.getDefault().getPreferenceStore());
+ setTitle(KBPreferencesMessages.KB_VALIDATOR_PREFERENCE_PAGE_KB_VALIDATOR);
+ }
+
@Override
- protected Control createContents(Composite parent) {
- Composite root = new Composite(parent, SWT.NONE);
- GridLayout gl = new GridLayout(1, false);
- root.setLayout(gl);
+ public void createControl(Composite parent) {
+ IWorkbenchPreferenceContainer container = (IWorkbenchPreferenceContainer) getContainer();
+ fConfigurationBlock = new KBValidationConfigurationBlock(getNewStatusChangedListener(), getProject(), container);
- return root;
+ super.createControl(parent);
}
public void init(IWorkbench workbench) {
}
+
+ @Override
+ protected String getPreferencePageID() {
+ // TODO Auto-generated method stub
+ return PREF_ID;
+ }
+
+ @Override
+ protected String getPropertyPageID() {
+ return PROP_ID;
+ }
}
\ No newline at end of file
13 years, 5 months
JBoss Tools SVN: r33558 - trunk/bpel/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-08-03 16:50:48 -0400 (Wed, 03 Aug 2011)
New Revision: 33558
Modified:
trunk/bpel/docs/reference/en-US/Book_Info.xml
trunk/bpel/docs/reference/en-US/tasks.xml
Log:
updated for TOOLSDOC-230
Modified: trunk/bpel/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/bpel/docs/reference/en-US/Book_Info.xml 2011-08-03 20:45:40 UTC (rev 33557)
+++ trunk/bpel/docs/reference/en-US/Book_Info.xml 2011-08-03 20:50:48 UTC (rev 33558)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>4.1</productnumber>
<edition>4.1.0</edition>
- <pubsnumber>5</pubsnumber>
+ <pubsnumber>6</pubsnumber>
<abstract>
<para>The JBoss BPEL User Guide explains how to use the BPEL Tools to create BPEL files quickly and with precision.</para>
</abstract>
Modified: trunk/bpel/docs/reference/en-US/tasks.xml
===================================================================
--- trunk/bpel/docs/reference/en-US/tasks.xml 2011-08-03 20:45:40 UTC (rev 33557)
+++ trunk/bpel/docs/reference/en-US/tasks.xml 2011-08-03 20:50:48 UTC (rev 33558)
@@ -565,7 +565,7 @@
Enter a name for the new WSDL property and its type. Either an XSD simple type or an XML Schema element.
</para>
<para>
- Next, click the <guibutton>Browse”</guibutton> button to select a type. This will display the <guilabel>Type Selection</guilabel> dialog.
+ Next, click the <guibutton>Browse</guibutton> button to select a type. This will display the <guilabel>Type Selection</guilabel> dialog.
</para>
<para>
Click <guilabel>New</guilabel> in the <guilabel>Aliases</guilabel> section to create a new WSDL property alias.
13 years, 5 months
JBoss Tools SVN: r33557 - branches/jbosstools-3.2.x/bpel/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-08-03 16:45:40 -0400 (Wed, 03 Aug 2011)
New Revision: 33557
Modified:
branches/jbosstools-3.2.x/bpel/docs/reference/en-US/Book_Info.xml
branches/jbosstools-3.2.x/bpel/docs/reference/en-US/tasks.xml
Log:
updated for TOOLSDOC-230
Modified: branches/jbosstools-3.2.x/bpel/docs/reference/en-US/Book_Info.xml
===================================================================
--- branches/jbosstools-3.2.x/bpel/docs/reference/en-US/Book_Info.xml 2011-08-03 20:44:21 UTC (rev 33556)
+++ branches/jbosstools-3.2.x/bpel/docs/reference/en-US/Book_Info.xml 2011-08-03 20:45:40 UTC (rev 33557)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>4.1</productnumber>
<edition>4.1.0</edition>
- <pubsnumber>5</pubsnumber>
+ <pubsnumber>6</pubsnumber>
<abstract>
<para>The JBoss BPEL User Guide explains how to use the BPEL Tools to create BPEL files quickly and with precision.</para>
</abstract>
Modified: branches/jbosstools-3.2.x/bpel/docs/reference/en-US/tasks.xml
===================================================================
--- branches/jbosstools-3.2.x/bpel/docs/reference/en-US/tasks.xml 2011-08-03 20:44:21 UTC (rev 33556)
+++ branches/jbosstools-3.2.x/bpel/docs/reference/en-US/tasks.xml 2011-08-03 20:45:40 UTC (rev 33557)
@@ -565,7 +565,7 @@
Enter a name for the new WSDL property and its type. Either an XSD simple type or an XML Schema element.
</para>
<para>
- Next, click the <guibutton>Browse”</guibutton> button to select a type. This will display the <guilabel>Type Selection</guilabel> dialog.
+ Next, click the <guibutton>Browse</guibutton> button to select a type. This will display the <guilabel>Type Selection</guilabel> dialog.
</para>
<para>
Click <guilabel>New</guilabel> in the <guilabel>Aliases</guilabel> section to create a new WSDL property alias.
13 years, 5 months
JBoss Tools SVN: r33556 - in trunk: cdi/features/org.jboss.tools.cdi.seam.tests.feature and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-08-03 16:44:21 -0400 (Wed, 03 Aug 2011)
New Revision: 33556
Added:
trunk/.project
trunk/cdi/features/org.jboss.tools.cdi.seam.tests.feature/.project
trunk/cdi/features/org.jboss.tools.cdi.tests.feature/.project
trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b...
trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b...
trunk/flow/features/org.jboss.tools.flow.common.test.feature/.project
trunk/forge/features/org.jboss.tools.forge.tests.feature/.project
trunk/jsf/features/org.jboss.tools.jsf.tests.feature/.project
trunk/maven/features/org.jboss.tools.maven.tests.feature/.project
trunk/struts/features/org.jboss.tools.struts.tests.feature/.project
trunk/ws/features/org.jboss.tools.ws.tests.feature/.project
Log:
add missing .project files for new test features and trunk root
Added: trunk/.project
===================================================================
--- trunk/.project (rev 0)
+++ trunk/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jbosstools_trunk</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Added: trunk/cdi/features/org.jboss.tools.cdi.seam.tests.feature/.project
===================================================================
--- trunk/cdi/features/org.jboss.tools.cdi.seam.tests.feature/.project (rev 0)
+++ trunk/cdi/features/org.jboss.tools.cdi.seam.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.seam.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/cdi/features/org.jboss.tools.cdi.tests.feature/.project
===================================================================
--- trunk/cdi/features/org.jboss.tools.cdi.tests.feature/.project (rev 0)
+++ trunk/cdi/features/org.jboss.tools.cdi.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b...
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b... (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b... 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b...
===================================================================
--- trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b... (rev 0)
+++ trunk/download.jboss.org/jbosstools/updates/requirements/swt/3.7.0.v3735b... 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/flow/features/org.jboss.tools.flow.common.test.feature/.project
===================================================================
--- trunk/flow/features/org.jboss.tools.flow.common.test.feature/.project (rev 0)
+++ trunk/flow/features/org.jboss.tools.flow.common.test.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.flow.common.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/forge/features/org.jboss.tools.forge.tests.feature/.project
===================================================================
--- trunk/forge/features/org.jboss.tools.forge.tests.feature/.project (rev 0)
+++ trunk/forge/features/org.jboss.tools.forge.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.forge.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jsf/features/org.jboss.tools.jsf.tests.feature/.project
===================================================================
--- trunk/jsf/features/org.jboss.tools.jsf.tests.feature/.project (rev 0)
+++ trunk/jsf/features/org.jboss.tools.jsf.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jsf.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/maven/features/org.jboss.tools.maven.tests.feature/.project
===================================================================
--- trunk/maven/features/org.jboss.tools.maven.tests.feature/.project (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.maven.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/struts/features/org.jboss.tools.struts.tests.feature/.project
===================================================================
--- trunk/struts/features/org.jboss.tools.struts.tests.feature/.project (rev 0)
+++ trunk/struts/features/org.jboss.tools.struts.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.struts.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/ws/features/org.jboss.tools.ws.tests.feature/.project
===================================================================
--- trunk/ws/features/org.jboss.tools.ws.tests.feature/.project (rev 0)
+++ trunk/ws/features/org.jboss.tools.ws.tests.feature/.project 2011-08-03 20:44:21 UTC (rev 33556)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.ws.tests.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
13 years, 5 months