JBoss Tools SVN: r42394 - trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-07-05 03:20:40 -0400 (Thu, 05 Jul 2012)
New Revision: 42394
Modified:
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java
Log:
waiting for dialog added
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java 2012-07-05 01:52:08 UTC (rev 42393)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java 2012-07-05 07:20:40 UTC (rev 42394)
@@ -104,6 +104,7 @@
private void handlePerspectivePopUpDialog() {
try {
+ bot.waitForShell(IDELabel.Shell.OPEN_ASSOCIATED_PERSPECTIVE);
bot.shell(IDELabel.Shell.OPEN_ASSOCIATED_PERSPECTIVE)
.bot().button(IDELabel.Button.NO).click();
} catch (WidgetNotFoundException exc) {
12 years, 8 months
JBoss Tools SVN: r42393 - in trunk/documentation/jboss-tools-docs: index/en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-07-04 21:52:08 -0400 (Wed, 04 Jul 2012)
New Revision: 42393
Modified:
trunk/documentation/jboss-tools-docs/all-guides.xml
trunk/documentation/jboss-tools-docs/index/en-US/master.xml
trunk/documentation/jboss-tools-docs/pom.xml
Log:
updated to include new Forge documentation
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2012-07-05 01:42:05 UTC (rev 42392)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2012-07-05 01:52:08 UTC (rev 42393)
@@ -7,44 +7,6 @@
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
- <!-- <fileSet>
- <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
- <outputDirectory>/Exadel-migration</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>index/target/docbook/publish/en-US/html_single/</directory>
- <outputDirectory>../</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet> -->
-
- <!-- Maybe it is unnecessary fileSet and it could be removed at all? -->
- <!--fileSet>
- <directory>../guides/GettingStartedGuide/en</directory>
- <outputDirectory>/GettingStartedGuide</outputDirectory>
- <filtered>false</filtered>
- <includes>
- <include>database.zip</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet-->
-
<fileSet>
<directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
<outputDirectory>/GettingStartedGuide</outputDirectory>
@@ -368,6 +330,20 @@
</fileSet>
<fileSet>
+ <directory>../../forge/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/forge_reference</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
<directory>../../jmx/docs/reference/target/docbook/publish/en-US</directory>
<outputDirectory>/jmx_ref_guide</outputDirectory>
<filtered>false</filtered>
Modified: trunk/documentation/jboss-tools-docs/index/en-US/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en-US/master.xml 2012-07-05 01:42:05 UTC (rev 42392)
+++ trunk/documentation/jboss-tools-docs/index/en-US/master.xml 2012-07-05 01:52:08 UTC (rev 42393)
@@ -58,6 +58,15 @@
</indexentry>
<indexentry>
+ <primaryie>Forge Reference Guide<ulink
+
+ url="en/forge_reference/html/index.html">(html)</ulink>
+ <ulink url="en/forge_reference/html_single/index.html">(html single)</ulink>
+ <ulink url="en/forge_reference/pdf/Forge_Reference_Guide.pdf">(pdf)</ulink>
+ </primaryie>
+ </indexentry>
+
+ <indexentry>
<primaryie>Hibernate Tools Reference Guide
<ulink url="en/hibernatetools/html/index.html">(html)</ulink>
<ulink url="en/hibernatetools/html_single/index.html">(html single)</ulink>
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2012-07-05 01:42:05 UTC (rev 42392)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2012-07-05 01:52:08 UTC (rev 42393)
@@ -25,6 +25,7 @@
<module>../../ws/docs/restful_reference</module>
<module>../../ws/docs/soap_reference</module>
<module>../../portlet/docs/reference</module>
+ <module>../../forge/docs/reference</module>
<module>../../birt/docs</module>
<module>../../maven/docs/reference</module>
<module>../../jmx/docs/reference</module>
12 years, 8 months
JBoss Tools SVN: r42392 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-07-04 21:42:05 -0400 (Wed, 04 Jul 2012)
New Revision: 42392
Modified:
trunk/documentation/jboss-tools-docs/pom.xml
Log:
updated to correct guvnor_ref path
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2012-07-05 00:27:23 UTC (rev 42391)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2012-07-05 01:42:05 UTC (rev 42392)
@@ -30,7 +30,7 @@
<module>../../jmx/docs/reference</module>
<module>../../jbpm/docs/converter_ref</module>
<module>../../drools/docs/reference</module>
- <module>../../drools/docs/govnor_ref</module>
+ <module>../../drools/docs/guvnor_ref</module>
<module>../../bpel/docs/reference</module>
<module>../../jbpm/docs/reference</module>
<module>../../modeshape/docs/ModeShape_Tools_Reference_Guide</module>
12 years, 8 months
JBoss Tools SVN: r42391 - in trunk/forge/docs/reference/en-US: images and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-07-04 20:27:23 -0400 (Wed, 04 Jul 2012)
New Revision: 42391
Added:
trunk/forge/docs/reference/en-US/Preferences.xml
trunk/forge/docs/reference/en-US/images/preferences/
trunk/forge/docs/reference/en-US/images/preferences/preferences_01.png
trunk/forge/docs/reference/en-US/images/preferences/preferences_02.png
trunk/forge/docs/reference/en-US/images/preferences/preferences_03.png
Modified:
trunk/forge/docs/reference/en-US/Forge_Reference_Guide.xml
Log:
adding in preferences information
Modified: trunk/forge/docs/reference/en-US/Forge_Reference_Guide.xml
===================================================================
--- trunk/forge/docs/reference/en-US/Forge_Reference_Guide.xml 2012-07-04 22:50:47 UTC (rev 42390)
+++ trunk/forge/docs/reference/en-US/Forge_Reference_Guide.xml 2012-07-05 00:27:23 UTC (rev 42391)
@@ -5,6 +5,7 @@
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preferences.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>
Added: trunk/forge/docs/reference/en-US/Preferences.xml
===================================================================
--- trunk/forge/docs/reference/en-US/Preferences.xml (rev 0)
+++ trunk/forge/docs/reference/en-US/Preferences.xml 2012-07-05 00:27:23 UTC (rev 42391)
@@ -0,0 +1,60 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+ <chapter id="chap-Forge_Reference_Guide-Preferences">
+ <title>Preferences</title>
+ <para>
+ Forge preferences can be accessed by navigating to <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>Forge</guimenuitem></menuchoice>.
+ </para>
+ <para>
+ From the main Forge preference page you can set how Forge should be started. If you select to <guilabel>Start Forge when Eclipse starts</guilabel> Forge will automatically run on launch. Setting the option to <guilabel>Start Forge in Debug Mode</guilabel> will force Forge to debug mode every time it is started.
+ </para>
+ <figure id="preferences_01">
+ <title>Forge preferences page</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/preferences/preferences_01.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Forge preferences page.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Selecting <guimenuitem>Installed Forge Runtimes</guimenuitem> from the preferences menu will display the currently installed Forge runtimes and their location. the Forge runtime shipped with Forge Tools displays with the name <emphasis>embedded</emphasis>.
+ </para>
+ <figure id="preferences_02">
+ <title>Forge runtime preferences page</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/preferences/preferences_02.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Forge runtime preferences page.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ You can have more than one Forge runtime installed at once. To install an alternate runtime to the one provided click on the <guibutton>Add</guibutton> button.
+ </para>
+ <para>
+ To add a new Forge runtime you will need to specify a name and provide the runtime location. Once the fields have been completed, click the <guibutton>OK</guibutton> button to return to the <guilabel>Installed Forge Runtimes</guilabel> page. Once successfully installed, the new Forge runtime will appear in the <guilabel>Installed Forge Runtimes</guilabel> list.
+ </para>
+ <figure id="preferences_03">
+ <title>Adding a new Forge runtime</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/preferences/preferences_03.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Adding a new Forge runtime dialog box.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+</chapter>
+
Added: trunk/forge/docs/reference/en-US/images/preferences/preferences_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/forge/docs/reference/en-US/images/preferences/preferences_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/docs/reference/en-US/images/preferences/preferences_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/forge/docs/reference/en-US/images/preferences/preferences_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/docs/reference/en-US/images/preferences/preferences_03.png
===================================================================
(Binary files differ)
Property changes on: trunk/forge/docs/reference/en-US/images/preferences/preferences_03.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
12 years, 8 months
JBoss Tools SVN: r42390 - in trunk/documentation/jboss-tools-docs: index/en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-07-04 18:50:47 -0400 (Wed, 04 Jul 2012)
New Revision: 42390
Modified:
trunk/documentation/jboss-tools-docs/index/en-US/master.xml
trunk/documentation/jboss-tools-docs/pom.xml
Log:
updated to re-include SOA books
Modified: trunk/documentation/jboss-tools-docs/index/en-US/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en-US/master.xml 2012-07-04 22:34:05 UTC (rev 42389)
+++ trunk/documentation/jboss-tools-docs/index/en-US/master.xml 2012-07-04 22:50:47 UTC (rev 42390)
@@ -186,7 +186,7 @@
</indexentry>
</index>
-<!-- <index>
+ <index>
<title>JBoss Tools - SOA and Business Rules</title>
<indexentry>
@@ -237,5 +237,5 @@
</primaryie>
</indexentry>
-</index> -->
+</index>
</book>
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2012-07-04 22:34:05 UTC (rev 42389)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2012-07-04 22:50:47 UTC (rev 42390)
@@ -28,6 +28,12 @@
<module>../../birt/docs</module>
<module>../../maven/docs/reference</module>
<module>../../jmx/docs/reference</module>
+ <module>../../jbpm/docs/converter_ref</module>
+ <module>../../drools/docs/reference</module>
+ <module>../../drools/docs/govnor_ref</module>
+ <module>../../bpel/docs/reference</module>
+ <module>../../jbpm/docs/reference</module>
+ <module>../../modeshape/docs/ModeShape_Tools_Reference_Guide</module>
<module>index</module>
</modules>
12 years, 8 months
JBoss Tools SVN: r42389 - in trunk/documentation/guides/JBDS_Release_Notes: en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-07-04 18:34:05 -0400 (Wed, 04 Jul 2012)
New Revision: 42389
Removed:
trunk/documentation/guides/JBDS_Release_Notes/exceptions.txt
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
Log:
updated for JBDS 5.0.1 release
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2012-07-04 20:29:40 UTC (rev 42388)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2012-07-04 22:34:05 UTC (rev 42389)
@@ -3,19 +3,32 @@
<title>
Enhancements and fixed issues in version 5.0.1
</title>
- <variablelist>
- <!-- JBIDE-xxxxx -->
- <varlistentry>
- <term>
- <ulink url="https://issues.jboss.org/jira/browse/JBIDE-xxxxx">JBIDE-xxxxx</ulink>
- </term>
- <listitem>
- <para>
- placeholder text
- </para>
- </listitem>
- </varlistentry>
+<variablelist>
+ <!-- JBIDE-12177 -->
+ <varlistentry>
+ <term>
+ <ulink url="https://issues.jboss.org/jira/browse/JBIDE-12177">JBIDE-12177</ulink>
+ </term>
+ <listitem>
+ <para>
+ The feature to auto-complete code tags was broken in the Visual Editor. When attempting to auto-complete a code tag, invalid code would be generated. This has been corrected by modifying the content assist file XmlTagCompletionProposalComputer.java to ensure partner code tags are generated correctly when using auto-completion.
+ </para>
+ </listitem>
+</varlistentry>
+
+ <!-- JBIDE-12158 -->
+ <varlistentry>
+ <term>
+ <ulink url="https://issues.jboss.org/jira/browse/JBIDE-12158">JBIDE-12158</ulink>
+ </term>
+ <listitem>
+ <para>
+ An issue existed when creating a Dynamic Web Project and modifying the project to include the JBoss Core Portlet facet to the project. The portlet-api library was not detected in the target runtime, forcing the user to manually specify it via the user library. This has been corrected by adding the option, Portlet Target Runtime Provider, to the combo-box on the JBoss Portlet Capabilities wizard page.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</section>
Deleted: trunk/documentation/guides/JBDS_Release_Notes/exceptions.txt
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/exceptions.txt 2012-07-04 20:29:40 UTC (rev 42388)
+++ trunk/documentation/guides/JBDS_Release_Notes/exceptions.txt 2012-07-04 22:34:05 UTC (rev 42389)
@@ -1,39 +0,0 @@
-JBIDE-6640 -> not in buglist but should be included in Release Notes
-
-Documented but without 'new_and_noteworthy' tag:
-
-NOTFOUND_JBIDE-6640
-
-Documented only for JBT release notes (comments in JBDS):
-
-NOTFOUND_JBIDE-7554
-NOTFOUND_JBIDE-7569
-NOTFOUND_JBIDE-7774
-NOTFOUND_JBIDE-7911
-NOTFOUND_JBIDE-7435
-NOTFOUND_JBIDE-7144
-NOTFOUND_JBIDE-7142
-NOTFOUND_JBIDE-7082
-NOTFOUND_JBIDE-7041
-NOTFOUND_JBIDE-7034
-NOTFOUND_JBIDE-6837
-NOTFOUND_JBIDE-6836
-NOTFOUND_JBIDE-6695
-NOTFOUND_JBIDE-6576
-NOTFOUND_JBIDE-6487
-NOTFOUND_JBIDE-6412
-NOTFOUND_JBIDE-6376
-NOTFOUND_JBIDE-6293
-NOTFOUND_JBIDE-5960
-NOTFOUND_JBIDE-7186
-
-Has 'new_and_noteworthy' tag but not documented as it is a sub-task of a JIRA already in the Release Notes:
-
-NOTFOUND_JBIDE-6575
-
-To quote Andre "Unfortunately this bug showed up again (is a regression) since the current version of the deltacloud tools does not offer this action for the "Cloud Viewer" any more."
-
-NOTFOUND_JBIDE-7761
-
-
-Still to be documented:
12 years, 8 months
JBoss Tools SVN: r42388 - trunk/maven/features.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-07-04 16:29:40 -0400 (Wed, 04 Jul 2012)
New Revision: 42388
Modified:
trunk/maven/features/pom.xml
Log:
add ref to JBIDE-12287 so we can add org.jboss.tools.maven.gwt back when the time comes
Modified: trunk/maven/features/pom.xml
===================================================================
--- trunk/maven/features/pom.xml 2012-07-04 20:29:31 UTC (rev 42387)
+++ trunk/maven/features/pom.xml 2012-07-04 20:29:40 UTC (rev 42388)
@@ -25,7 +25,7 @@
<module>org.jboss.tools.maven.jbosspackaging.feature</module>
<module>org.jboss.tools.maven.jpa.feature</module>
<module>org.jboss.tools.maven.profiles.feature</module>
- <!--module>org.jboss.tools.maven.gwt.feature</module-->
+ <!-- JBIDE-12287 temporarily removed <module>org.jboss.tools.maven.gwt.feature</module> -->
<module>org.jboss.tools.maven.sourcelookup.feature</module>
<module>org.jboss.tools.maven.jdt.feature</module>
</modules>
12 years, 8 months
JBoss Tools SVN: r42387 - in trunk/maven: site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-07-04 16:29:31 -0400 (Wed, 04 Jul 2012)
New Revision: 42387
Modified:
trunk/maven/plugins/pom.xml
trunk/maven/site/category.xml
Log:
add ref to JBIDE-12287 so we can add org.jboss.tools.maven.gwt back when the time comes
Modified: trunk/maven/plugins/pom.xml
===================================================================
--- trunk/maven/plugins/pom.xml 2012-07-04 13:32:39 UTC (rev 42386)
+++ trunk/maven/plugins/pom.xml 2012-07-04 20:29:31 UTC (rev 42387)
@@ -27,7 +27,7 @@
<module>org.jboss.tools.maven.jpa</module>
<module>org.jboss.tools.maven.profiles.core</module>
<module>org.jboss.tools.maven.profiles.ui</module>
- <!--module>org.jboss.tools.maven.gwt</module-->
+ <!-- JBIDE-12287 temporarily removed <module>org.jboss.tools.maven.gwt</module> -->
<module>org.jboss.tools.maven.sourcelookup.core</module>
<module>org.jboss.tools.maven.sourcelookup.ui</module>
<module>org.jboss.tools.maven.jdt</module>
Modified: trunk/maven/site/category.xml
===================================================================
--- trunk/maven/site/category.xml 2012-07-04 13:32:39 UTC (rev 42386)
+++ trunk/maven/site/category.xml 2012-07-04 20:29:31 UTC (rev 42387)
@@ -41,9 +41,9 @@
<feature url="features/org.jboss.tools.maven.profiles.feature_0.0.0.jar" id="org.jboss.tools.maven.profiles.feature" version="0.0.0">
<category name="JBoss Tools maven Nightly Build Update Site"/>
</feature>
- <!--feature url="features/org.jboss.tools.maven.gwt.feature_0.0.0.jar" id="org.jboss.tools.maven.gwt.feature" version="0.0.0">
+ <!-- JBIDE-12287 <feature url="features/org.jboss.tools.maven.gwt.feature_0.0.0.jar" id="org.jboss.tools.maven.gwt.feature" version="0.0.0">
<category name="JBoss Tools maven Nightly Build Update Site"/>
- </feature-->
+ </feature> -->
<feature url="features/org.jboss.tools.maven.sourcelookup.feature_0.0.0.jar" id="org.jboss.tools.maven.sourcelookup.feature" version="0.0.0">
<category name="JBoss Tools maven Nightly Build Update Site"/>
</feature>
@@ -87,9 +87,9 @@
<feature url="features/org.jboss.tools.maven.profiles.feature.source_0.0.0.jar" id="org.jboss.tools.maven.profiles.feature.source" version="0.0.0">
<category name="JBoss Tools maven Nightly Build Update Site"/>
</feature>
- <!--feature url="features/org.jboss.tools.maven.gwt.feature.source_0.0.0.jar" id="org.jboss.tools.maven.gwt.feature.source" version="0.0.0">
+ <!-- JBIDE-12287 <feature url="features/org.jboss.tools.maven.gwt.feature.source_0.0.0.jar" id="org.jboss.tools.maven.gwt.feature.source" version="0.0.0">
<category name="JBoss Tools maven Nightly Build Update Site"/>
- </feature-->
+ </feature> -->
<feature url="features/org.jboss.tools.maven.sourcelookup.feature.source_0.0.0.jar" id="org.jboss.tools.maven.sourcelookup.feature.source" version="0.0.0">
<category name="JBoss Tools maven Nightly Build Update Site"/>
</feature>
12 years, 8 months
JBoss Tools SVN: r42386 - in trunk/jst: tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2012-07-04 09:32:39 -0400 (Wed, 04 Jul 2012)
New Revision: 42386
Added:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveIDAttributes.html
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleIDAttributes.css
Modified:
trunk/jst/plugins/org.jboss.tools.jst.text.ext/src/org/jboss/tools/jst/text/ext/hyperlink/CSSClassHyperlink.java
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java
Log:
JBIDE-10127
Resolve selector in open-on of style class in VPE
Issue is fixed: ID Attribute Values are to be processed in case-insensitive manner.
JUnit Test case is added.
Modified: trunk/jst/plugins/org.jboss.tools.jst.text.ext/src/org/jboss/tools/jst/text/ext/hyperlink/CSSClassHyperlink.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.text.ext/src/org/jboss/tools/jst/text/ext/hyperlink/CSSClassHyperlink.java 2012-07-04 09:19:35 UTC (rev 42385)
+++ trunk/jst/plugins/org.jboss.tools.jst.text.ext/src/org/jboss/tools/jst/text/ext/hyperlink/CSSClassHyperlink.java 2012-07-04 13:32:39 UTC (rev 42386)
@@ -388,7 +388,8 @@
}
}
if (currentAxis.idAttributeValues.size() > 0) {
- allValuesAreOK &= currentAxis.idAttributeValues.contains(Utils.trimQuotes(getNodeAttributeValue(node, "id"))); //$NON-NLS-1$
+ String nodeIDAttributeValue = Utils.trimQuotes(getNodeAttributeValue(node, "id")); //$NON-NLS-1$
+ allValuesAreOK &= currentAxis.idAttributeValues.contains(nodeIDAttributeValue == null ? null : nodeIDAttributeValue.toLowerCase());
}
attrFound = allValuesAreOK;
Added: trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveIDAttributes.html
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveIDAttributes.html (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveIDAttributes.html 2012-07-04 13:32:39 UTC (rev 42386)
@@ -0,0 +1,28 @@
+<html>
+ <head>
+ <link href="styleIDAttributes.css" rel="stylesheet" type="text/css"></link>
+ </head>
+
+ <body>
+
+ <div class="bc">
+ 1. This matches (.bc).
+ <i class="cd"> 2. This matches (.bc .cd).</i>
+ </div>
+
+ <div id="Header">
+ <p class="bc">
+ 3. This matches (#Header .bc).
+ <b class="cd"> 4. This matches (#Header .bc .cd).</b>
+ </p>
+ </div>
+
+ <div id="Footer">
+ <p class="bc">
+ 5. This matches (#Footer .bc).
+ <b class="cd"> 6. This matches (#Footer .bc .cd).</b>
+ </p>
+ </div>
+
+ </body>
+</html>
\ No newline at end of file
Property changes on: trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveIDAttributes.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleIDAttributes.css
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleIDAttributes.css (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleIDAttributes.css 2012-07-04 13:32:39 UTC (rev 42386)
@@ -0,0 +1,11 @@
+.bc {background-color: aqua;}
+
+.bc .cd {background-color: green;}
+
+#Header .bc {background-color: yellow;}
+
+#Header .bc .cd {background-color: black;}
+
+#Footer .bc {background-color: blue;}
+
+#Footer .bc .cd {background-color: brown;}
Property changes on: trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleIDAttributes.css
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java 2012-07-04 09:19:35 UTC (rev 42385)
+++ trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java 2012-07-04 13:32:39 UTC (rev 42386)
@@ -40,6 +40,7 @@
private static final String SECOND_IN_A_ROW_PAGE_NAME = PROJECT_NAME+"/WebContent/indexWithSecondClassInRule.html";
private static final String RESOLVE_SELECTOR_PAGE_NAME = PROJECT_NAME+"/WebContent/indexResolveSelector.html";
private static final String PARENT_TO_CHILD_RESTRICTIONS_RESOLVE_SELECTOR_PAGE_NAME = PROJECT_NAME+"/WebContent/indexParentToChildRestrictions.html";
+ private static final String RESOLVE_ID_ATTRIBUTES_PAGE_NAME = PROJECT_NAME+"/WebContent/indexResolveIDAttributes.html";
public IProject project = null;
@@ -449,6 +450,86 @@
}
}
+ public void testCSSClassResolveIDAttributesOpenOn() throws PartInitException, BadLocationException {
+ HashSet<IEditorPart> openedEditors = new HashSet<IEditorPart>();
+
+ // CSS class names to be tested are placed one by one,
+ // so, for each next test we'll continue to search in document
+ // (We'll not search from beginning each time)
+ //
+ // Position to continue the search from
+ int startFrom = 0;
+
+ // 'class="' - is the string to search
+ final String TEXT_TO_SEARCH = "class=\"";
+
+ // Valid CSS Stylesheet to be opened
+ final String VALID_CSS_EDITOR_NAME = "styleIDAttributes.css";
+
+ // Valid values for Text Selection after the open on is performed
+ final String[] VALID_TEXT_SELECTIONS = new String[] {
+ ".bc {background-color: aqua;}",
+ ".bc .cd {background-color: green;}",
+ "#Header .bc {background-color: yellow;}",
+ "#Header .bc .cd {background-color: black;}",
+ "#Footer .bc {background-color: blue;}",
+ "#Footer .bc .cd {background-color: brown;}"
+ };
+
+ for (int i = 0; i < VALID_TEXT_SELECTIONS.length; i++) {
+ IEditorPart editor = WorkbenchUtils.openEditor(RESOLVE_ID_ATTRIBUTES_PAGE_NAME);
+ if (editor != null) openedEditors.add(editor);
+ try {
+ assertTrue(editor instanceof JSPMultiPageEditor);
+ JSPMultiPageEditor jspMultyPageEditor = (JSPMultiPageEditor) editor;
+ ISourceViewer viewer = jspMultyPageEditor.getSourceEditor().getTextViewer();
+
+ IDocument document = viewer.getDocument();
+ IRegion reg = new FindReplaceDocumentAdapter(document).find(startFrom,
+ TEXT_TO_SEARCH, true, true, false, false);
+ assertNotNull("Attribute: " + TEXT_TO_SEARCH + " not found whyle search starting from " + startFrom, reg);
+
+ startFrom = reg.getOffset() + reg.getLength();
+
+ IHyperlink[] links = HyperlinkDetector.getInstance().detectHyperlinks(viewer, new Region(startFrom, 0), true); // new Region(reg.getOffset() + reg.getLength(), 0)
+
+ assertTrue("Hyperlinks not found for position " + startFrom,(links != null && links.length > 0));
+
+ boolean found = false;
+ for(IHyperlink link : links){
+ assertNotNull(link.toString());
+
+ link.open();
+
+ IEditorPart resultEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
+ if (resultEditor != null) openedEditors.add(resultEditor);
+ if(VALID_CSS_EDITOR_NAME.equals(resultEditor.getTitle())){
+ StructuredTextEditor stEditor = null;
+ if (resultEditor instanceof StructuredTextEditor) {
+ stEditor = (StructuredTextEditor)resultEditor;
+ } else if (resultEditor instanceof JSPMultiPageEditor) {
+ stEditor = ((JSPMultiPageEditor)resultEditor).getSourceEditor();
+ }
+ assertNotNull("Unexpected Editor is openned: " + resultEditor.getTitle() + " [" + resultEditor.getClass().getName() + "]", stEditor);
+ ISelection selection = stEditor.getSelectionProvider().getSelection();
+ assertFalse("Required CSS Rule is not selected", selection.isEmpty());
+ if (selection instanceof TextSelection) {
+ TextSelection textSelection = (TextSelection)selection;
+ String selectionText = stEditor.getTextViewer().getDocument().get(textSelection.getOffset(), textSelection.getLength());
+ assertTrue("Required CSS Rule is not selected",
+ (VALID_TEXT_SELECTIONS[i].equalsIgnoreCase(selectionText)));
+ found = true;
+ break;
+ }
+ }
+ }
+ assertTrue("OpenOn have not opened a valid selection in " + VALID_CSS_EDITOR_NAME + " editor",found);
+ } finally {
+ closeEditors(openedEditors);
+ }
+ }
+ }
+
protected void closeEditors (HashSet<IEditorPart> editors) {
if (editors == null || editors.isEmpty())
return;
12 years, 8 months
JBoss Tools SVN: r42385 - trunk/central/tests/org.jboss.tools.central.test.ui.bot/META-INF.
by jbosstools-commits@lists.jboss.org
Author: rhopp
Date: 2012-07-04 05:19:35 -0400 (Wed, 04 Jul 2012)
New Revision: 42385
Modified:
trunk/central/tests/org.jboss.tools.central.test.ui.bot/META-INF/MANIFEST.MF
Log:
Modified: trunk/central/tests/org.jboss.tools.central.test.ui.bot/META-INF/MANIFEST.MF
===================================================================
--- trunk/central/tests/org.jboss.tools.central.test.ui.bot/META-INF/MANIFEST.MF 2012-07-04 09:01:18 UTC (rev 42384)
+++ trunk/central/tests/org.jboss.tools.central.test.ui.bot/META-INF/MANIFEST.MF 2012-07-04 09:19:35 UTC (rev 42385)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: org.jboss.tools.central.test.ui.bot
Bundle-SymbolicName: org.jboss.tools.central.test.ui.bot;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 1.1.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-Vendor: Red Hat
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
12 years, 8 months