JBoss Tools SVN: r30340 - trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-04-05 15:27:49 -0400 (Tue, 05 Apr 2011)
New Revision: 30340
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta
Log:
JBIDE-8616
https://issues.jboss.org/browse/JBIDE-8616
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta 2011-04-05 19:27:32 UTC (rev 30339)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta 2011-04-05 19:27:49 UTC (rev 30340)
@@ -826,11 +826,9 @@
<XModelAttribute default="listener" loader="ElementType" name="element type">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general" name="channel id ref" xmlname="busidref">
- <Constraint loader="ListString"/>
- <Editor name="ESBBusList"/>
- </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
</XModelAttribute>
15 years
JBoss Tools SVN: r30339 - in trunk/esb/tests/org.jboss.tools.esb.core.test: src/org/jboss/tools/esb/core/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-04-05 15:27:32 -0400 (Tue, 05 Apr 2011)
New Revision: 30339
Added:
trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.2/jboss-esb-listener.xml
Modified:
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
Log:
JBIDE-8616
https://issues.jboss.org/browse/JBIDE-8616
Added: trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.2/jboss-esb-listener.xml
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.2/jboss-esb-listener.xml (rev 0)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.2/jboss-esb-listener.xml 2011-04-05 19:27:32 UTC (rev 30339)
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<jbossesb
+ xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem...">
+ <providers>
+ <fs-provider name="flat-file">
+ <fs-bus busid="flat-file-channel">
+ <fs-message-filter directory="C:\soa\input" input-suffix="in"
+ post-delete="true" work-suffix="work"/>
+ </fs-bus>
+ </fs-provider>
+ <jms-provider connection-factory="ConnectionFactory" name="arrival-queue-provider">
+ <jms-bus busid="arrival-queue-channel">
+ <jms-message-filter dest-name="queue/ArrivalQueue" dest-type="QUEUE"/>
+ </jms-bus>
+ </jms-provider>
+ <bus-provider name="custom-provider">
+ <bus busid="custom-provider-channel"/>
+ </bus-provider>
+ </providers>
+ <services>
+ <service category="com.example.soa" description="Example SOA Service"
+ invmScope="GLOBAL" name="soa-test">
+ <listeners>
+ <fs-listener busidref="flat-file-channel" is-gateway="true"
+ name="fs-example" poll-frequency-seconds="5"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="com.example.soa.soa.action.ExceptionActionHandler" name="exceptionHandler">
+ <property name="exceptionMethod" value="exceptionHandler"/>
+ </action>
+ <action class="org.jboss.soa.esb.actions.SystemPrintln" name="sysout">
+ <property name="message" value="MESSAGE"/>
+ <property name="printfull" value="true"/>
+ </action>
+ <action class="org.jboss.soa.esb.smooks.SmooksAction" name="transform">
+ <property name="smooksConfig" value="/META-INF/smooks/example1.xml"/>
+ <property name="resultType" value="JAVA"/>
+ <property name="javaResultBeanId" value="arrivalBean"/>
+ </action>
+ </actions>
+ </service>
+ <service category="com.example.soa" description="ArrivalQueue"
+ invmScope="GLOBAL" name="arrival-service">
+ <listeners>
+ <jms-listener busidref="arrival-queue-channel" is-gateway="true" name="arrival-queue-listener"/>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="com.example.soa.soa.action.ExceptionActionHandler" name="exceptionHandler">
+ <property name="exceptionMethod" value="exceptionHandler"/>
+ </action>
+ <action class="com.example.soa.soa.action.ExtendedLogActionHandler" name="logBody">
+ <property name="logLevel" value="INFO"/>
+ </action>
+ <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="cbr-router">
+ <property name="cbrAlias" value="Drools"/>
+ <property name="ruleSet" value="/META-INF/drools/airport-code.drl"/>
+ <property name="ruleLanguage"/>
+ <property name="destinations">
+ <route-to destination-name="ERROR"
+ service-category="com.example.soa" service-name="error-service"/>
+ <route-to destination-name="SUCCESS"
+ service-category="com.example.soa" service-name="successful-record"/>
+ </property>
+ <property name="object-paths">
+ <object-path esb="body.'org.jboss.soa.esb.message.defaultEntry'"/>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="com.example.soa" description="Error Service"
+ invmScope="GLOBAL" name="error-service">
+ <actions mep="OneWay">
+ <action class="com.example.soa.soa.action.ExtendedLogActionHandler" name="logBody">
+ <property name="logLevel" value="INFO"/>
+ <property name="logMessage" value="ERROR"/>
+ </action>
+ <action class="com.example.soa.soa.action.ExtractArrival" name="extractPrevAirport"/>
+ <action class="org.jboss.soa.esb.services.jbpm.actions.BpmProcessor" name="bpm-action">
+ <property name="command" value="StartProcessInstanceCommand"/>
+ <property name="process-definition-name" value="soa-process"/>
+ <property name="transition-name" value="start"/>
+ <property name="esbToBpmVars">
+ <mapping bpm="previousAirport" esb="previousAirport"/>
+ </property>
+ </action>
+ </actions>
+ </service>
+ <service category="com.example.soa" description="Error Service"
+ invmScope="GLOBAL" name="successful-record">
+ <actions mep="OneWay">
+ <action class="com.example.soa.soa.action.ExtendedLogActionHandler" name="logBody">
+ <property name="logLevel" value="INFO"/>
+ <property name="logMessage" value="SUCCESS"/>
+ </action>
+ </actions>
+ </service>
+ <service category="com.example.soa"
+ description="Custom Listener Example" invmScope="GLOBAL" name="custom-listener-example">
+ <listeners>
+ <listener busidref="custom-provider-channel" name="custom-listener" is-gateway="true">
+ <property name="gatewayClass" value="com.example.soa.listener.MyFileListener"/>
+ </listener>
+ </listeners>
+ <actions mep="OneWay">
+ <action class="com.example.soa.soa.action.ExtendedLogActionHandler" name="logBody">
+ <property name="logLevel" value="INFO"/>
+ <property name="logMessage" value="SUCCESS"/>
+ </action>
+ </actions>
+ </service>
+ </services>
+</jbossesb>
Property changes on: trunk/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.2/jboss-esb-listener.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2011-04-05 19:15:13 UTC (rev 30338)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2011-04-05 19:27:32 UTC (rev 30339)
@@ -58,7 +58,27 @@
assertTrue("Cannot find objects at " + errorCount + " paths\n" + sb.toString(), errorCount == 0);
}
*/
-
+
+ public void testListener() {
+ XModelObject object = getFileObject("esb-1.2", "jboss-esb-listener.xml", ESBConstants.ENT_ESB_FILE_120);
+
+ StringBuffer errorList = new StringBuffer();
+
+ checkAttributeValue(object,
+ "Services/custom-listener-example/Listeners/custom-listener",
+ "is gateway",
+ "true",
+ errorList);
+
+ checkAttributeValue(object,
+ "Services/arrival-service/Listeners/arrival-queue-listener",
+ "is gateway",
+ "true",
+ errorList);
+
+ assertTrue(errorList.toString(), errorList.length() == 0);
+ }
+
public void testJMSExample() {
XModelObject object = getFileObject("esb-1.0.1", "jboss-esb-jms.xml");
15 years
JBoss Tools SVN: r30338 - in trunk/cdi: site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-04-05 15:15:13 -0400 (Tue, 05 Apr 2011)
New Revision: 30338
Modified:
trunk/cdi/plugins/pom.xml
trunk/cdi/site/site.xml
Log:
add org.jboss.tools.cdi.seam.solder.core to plugins/pom.xml so it's available for the cdi.seam feature
Modified: trunk/cdi/plugins/pom.xml
===================================================================
--- trunk/cdi/plugins/pom.xml 2011-04-05 19:11:39 UTC (rev 30337)
+++ trunk/cdi/plugins/pom.xml 2011-04-05 19:15:13 UTC (rev 30338)
@@ -12,6 +12,7 @@
<module>org.jboss.tools.cdi.ui</module>
<module>org.jboss.tools.cdi.xml</module>
<module>org.jboss.tools.cdi.xml.ui</module>
+ <module>org.jboss.tools.cdi.seam.solder.core</module>
</modules>
</project>
Modified: trunk/cdi/site/site.xml
===================================================================
--- trunk/cdi/site/site.xml 2011-04-05 19:11:39 UTC (rev 30337)
+++ trunk/cdi/site/site.xml 2011-04-05 19:15:13 UTC (rev 30338)
@@ -8,5 +8,8 @@
<feature url="features/org.jboss.tools.cdi.feature_0.0.0.jar" id="org.jboss.tools.cdi.feature" version="0.0.0">
<category name="JBoss Tools cdi Nightly Build Update Site"/>
</feature>
+ <feature url="features/org.jboss.tools.cdi.seam.feature_0.0.0.jar" id="org.jboss.tools.cdi.seam.feature" version="0.0.0">
+ <category name="JBoss Tools cdi Nightly Build Update Site"/>
+ </feature>
</site>
15 years
JBoss Tools SVN: r30337 - trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2011-04-05 15:11:39 -0400 (Tue, 05 Apr 2011)
New Revision: 30337
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java
Log:
Reenable disabled tests
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java 2011-04-05 18:53:07 UTC (rev 30336)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java 2011-04-05 19:11:39 UTC (rev 30337)
@@ -77,7 +77,6 @@
public class VPEAllBotTests extends SWTBotTestCase{
public static Test suite(){
TestSuite suite = new TestSuite("VPE All Tests"); //$NON-NLS-1$
-/*
suite.addTestSuite(VisualEditorContextMenuTest.class);
suite.addTestSuite(EditingActionsTest.class);
suite.addTestSuite(NewXHTMLPageWizardTest.class);
@@ -145,8 +144,8 @@
suite.addTestSuite(AjaxValidatorTagTest.class);
suite.addTestSuite(BeanValidatorTagTest.class);
suite.addTestSuite(ColumnGroupTagTest.class);
-*/ suite.addTestSuite(DataGridTagTest.class);
-// suite.addTestSuite(XhtmlFilePerformanceTest.class);
+ suite.addTestSuite(DataGridTagTest.class);
+ suite.addTestSuite(XhtmlFilePerformanceTest.class);
return new TestSetup(suite);
}
}
15 years
JBoss Tools SVN: r30335 - in trunk/modeshape/plugins: org.jboss.tools.modeshape.rest.doc.user and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: elvisisking
Date: 2011-04-05 14:31:22 -0400 (Tue, 05 Apr 2011)
New Revision: 30335
Added:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapeMessageConsole.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapePreferencesDialog.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishDialog.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishedLocationsDialog.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ResourceContextMenu.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerDialog.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerView.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/Toc.html
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/helpContexts.xml
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/FileFilterPreferencePage.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/GeneralPreferencePage.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ModeShapeMessageConsole.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/NewFilteredFileExtension.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/NewFilteredFolderName.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/OperationDialog.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/PublishDialog.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/PublishedLocationsDialog.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ResourceContextMenu.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerDialog.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerView.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerViewContextMenu.png
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/collapse_all.gif
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/delete_server.gif
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/edit_server.gif
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/new_server.gif
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/refresh.gif
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/toc.xml
Removed:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/docs/
Modified:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/ModeShapeHelpContexts.xml
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc.zip
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/toc.xml
Log:
JBIDE-6656 Create a documentation plugin. Adding a folder with the source html and images for the context help documentation. Updated a few of the help pages and removed the html and images from the main java plugin.
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/ModeShapeHelpContexts.xml
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/ModeShapeHelpContexts.xml 2011-04-05 18:30:19 UTC (rev 30334)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/ModeShapeHelpContexts.xml 2011-04-05 18:31:22 UTC (rev 30335)
@@ -10,29 +10,29 @@
- individual contributors.
-->
<contexts>
- <context id="serverViewHelpContext" title="ModeShape Server View">
- <description>The ModeShape Server View shows all registered servers and their repositories and workspaces.</description>
- <topic href="ServerView.html" label="Server View"/>
- <topic href="ServerDialog.html" label="Server Dialog"/>
+ <context id="serverViewHelpContext" title="ModeShape View">
+ <description>The ModeShape View shows all registered servers and their repositories and workspaces.</description>
+ <topic href="doc/ServerView.html" label="ModeShape View"/>
+ <topic href="doc/ServerDialog.html" label="Server Dialog"/>
</context>
<context id="serverDialogHelpContext" title="Server Dialog">
<description>The ModeShape Server Dialog allows you to edit or create a server that hosts one or more repositories.</description>
- <topic href="ServerDialog.html" label="Server Dialog"/>
- <topic href="ServerView.html" label="Server View"/>
+ <topic href="doc/ServerDialog.html" label="Server Dialog"/>
+ <topic href="doc/ServerView.html" label="ModeShape View"/>
</context>
- <context id="publishDialogHelpContext" title="ModeShape Publish and Unpublish Dialog Help">
- <description>The Publish/Unpublish Dialog uploads or removes selected resources from the selected server.</description>
- <topic href="PublishDialog.html" label="Publish/Unpublish Dialog"/>
- <topic href="ServerDialog.html" label="Create a new server"/>
- <topic href="ModeShapePreferencesDialog.html" label="ModeShape Preferences"/>
+ <context id="publishDialogHelpContext" title="ModeShape Publishing Operations Dialog Help">
+ <description>The Publishing Operations Dialog uploads or removes selected resources from the selected server.</description>
+ <topic href="doc/PublishDialog.html" label="Publishing Operations Dialog"/>
+ <topic href="doc/ServerDialog.html" label="Create a new server"/>
+ <topic href="doc/ModeShapePreferencesDialog.html" label="ModeShape Preferences"/>
</context>
- <context id="preferencesHelpContext" title="ModeShape Preferences Dialog Help">
+ <context id="preferencesHelpContext" title="ModeShape Preference Pages Help">
<description>The ModeShape Preferences Dialog allows you to identify file extensions and folder names that should not be involved in publishing operations.</description>
- <topic href="ModeShapePreferencesDialog.html" label="ModeShape Preferences"/>
- <topic href="PublishDialog.html" label="Publish/Unpublish Dialog"/>
+ <topic href="doc/ModeShapePreferencesDialog.html" label="ModeShape Preferences"/>
+ <topic href="doc/PublishDialog.html" label="Publish/Unpublish Dialog"/>
</context>
<context id="messageConsoleHelpContext" title="ModeShape Message Console">
<description>The ModeShape Message Console contains the output from the publishing and unpublishing operations.</description>
- <topic href="ModeShapeMessageConsole.html" label="ModeShape Message Console"/>
+ <topic href="doc/ModeShapeMessageConsole.html" label="ModeShape Message Console"/>
</context>
</contexts>
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapeMessageConsole.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapeMessageConsole.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapeMessageConsole.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,63 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Message Console</h2>
+
+<p>The <i>ModeShape Message Console</i> is shown in the <i>Workbench Console</i> view. Entries show the status and outcome of the publishing or unpublishing operations.</p>
+
+<p>Here is what the <i>ModeShape Message Console</i> looks like:</p>
+
+<img src="images/ModeShapeMessageConsole.png" border="0" alt="">
+
+<p>There are view toolbar buttons to clear the console, scroll lock, pin the console, display a different console, and to open another <i>ModeShape Message Console</i>.</p>
+
+<h3>Console Message Entries</h3>
+
+<p>For each operation there is an entry at the start of the operation that identifies the job number, operation type, number of files involved in the operation, server, repository, and workspace. There is another entry at the end of the operation that identifies the job number, operation type, and how long the operation took. Inbetween these entries are entries for each file involved in the operation. The file entry takes on the form of a job number, message prefix, and message. The message consists of an operation type, eclipse workspace path, and the URL of the repository for that file. The URL is a hyperlink that opens that file in the default or last used editor for that file.</p>
+
+<p>Here are the file entry message prefixes:</p>
+
+<table border="1">
+<tr>
+ <td align="center"><strong>++</strong> </td>
+ <td>if the file was successfully published (uploaded)</td>
+</tr>
+<tr>
+ <td align="center"><strong>--</strong> </td>
+ <td>if the file was successfully unpublished (removed)</td>
+</tr>
+<tr>
+ <td align="center"><strong>ERROR</strong> </td>
+ <td>if there was an error publishing or unpublishing the file</td>
+</tr>
+<tr>
+ <td align="center"><strong>INFO</strong> </td>
+ <td>if there was an informational message publishing or unpublishing the file</td>
+</tr>
+<tr>
+ <td align="center"><strong>WARN</strong> </td>
+ <td>if there is a warning when publishing or unpublishing a file (like trying to unpublish a file that was never unpublished)</td>
+</tr>
+</table>
+
+<h3>Operations</h3>
+
+<p>Each publishing or unpublishing operation can be run "in the background" so you don't have to wait around until an operation is finished. Simply click "Run in Background" on the operation dialog. This dialog identifies the operation type, the job number, and the operations progress. You can also cancel the operation using this dialog.</p>
+
+<p>Here is what the <i>Operation Dialog</i> looks like:</p>
+
+<img src="images/OperationDialog.png" border="0" alt="">
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="PublishDialog.html">Publishing Operations Dialog</a></li>
+</ul>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapeMessageConsole.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapePreferencesDialog.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapePreferencesDialog.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapePreferencesDialog.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,63 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Preference Pages</h2>
+
+<p>The <i>ModeShape Preference Pages</i> provide settings that allow you to personalize how ModeShape Tools' publishing operations
+are done. A publishing operation occurs when selected files in your local workspace are either uploaded (published) or deleted
+(unpublished) to/from a specific ModeShape repository workspace. Here's a list of the preference pages:</p>
+
+<ul>
+<li><a href="#generalSettingsPrefPage">General Settings</a> - these settings control if published files should be put under
+version control by the ModeShape server.
+</li>
+<li><a href="#fileFiltersPrefPage">File and Folder Filters</a> - these settings control which files are filtered out of your
+publishing operations.
+</li>
+</ul>
+
+<h3><a name="generalSettingsPrefPage">General Settings Preference Page</a></h3>
+
+<p>The <i>General Settings Preference Page</i> currently only has a setting to control if published resources should be versioned
+by the ModeShape server. This versioning preference is used by the <a href="PublishDialog.html">Publishing Operations Dialog</a>.</p>
+
+<p>Here is what the <i>ModeShape General Settings Preference Page</i> looks like:</p>
+
+<img src="images/GeneralPreferencePage.png" border="0" alt="">
+
+<h3><a name="fileFiltersPrefPage">File and Folder Filters Preference Page</a></h3>
+
+<p>The <i>File and Folder Filters Preference Page</i> is where you identify the file extensions and the folder names you
+<strong>do not</strong> want involved in your publishing operations.</p>
+
+<p>Here is what the <i>File and Folder Filters Preference Page</i> looks like:</p>
+
+<img src="images/FileFilterPreferencePage.png" border="0" alt="">
+
+<p>The <i>Filtered File Extensions</i> preference provides a way to construct a list of file extensions. If a file has an extension
+that matches one of these file extensions it will not be involved in either a publishing or unpublishing operation. To add a file
+extension (ex., txt, jpg, class) simply click on the <code>New...</code> button to display the following dialog:</p>
+
+<p><img src="images/NewFilteredFileExtension.png" border="0" alt=""></p>
+
+<p>The <i>Filtered Folder Names</i> preference provides a way to construct a list of folder names. If a file is contained in a
+folder, or has an ancestor folder, with a name that matches one of these folder names it will <strong>not</strong> be involved in
+either a publishing or unpublishing operation. To add a folder name simply click on the <code>New...</code> button to display the
+following dialog:</p>
+
+<p><img src="images/NewFilteredFolderName.png" border="0" alt=""></p>
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="ResourceContextMenu.html">ModeShape Context Menu</a></li>
+<li><a href="PublishDialog.html">Publishing Operations Dialog</a></li>
+</ul>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ModeShapePreferencesDialog.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishDialog.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishDialog.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishDialog.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,80 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Publishing Operations Dialog</h2>
+
+<p>The <i>Publishing Operations Dialog</i> is used to publish and unpublish workspace selected files and folders to/from
+repository workspaces. When publishing, the selected files will be uploaded to the selected repository workspace. When
+unpublishing, the selected files will be removed from the selected repository workspace (if they exist there). See the
+<a href="ModeShapePreferencesDialog.html">ModeShape Preference Pages</a> to identify the file extensions and folder names you
+don't want involved in publishing operations. Here is what the <i>Publishing Operations Dialog</i> looks like:</p>
+
+<img src="images/PublishDialog.png" border="0" alt="">
+
+<p>The dialog consists of the following controls:</p>
+
+<table border="1">
+<tr>
+ <td align="right"><strong>Server Combo</strong> </td>
+ <td>allows selection of a registered ModeShape server (the <a href="ServerView.html">ModeShape View</a> lists all the
+ registered servers)</td>
+</tr>
+<tr>
+ <td align="right"><strong>New Server Button</strong> </td>
+ <td>use to create and register a new server that is hosting one or more ModeShape repositories (see the
+ <a href="ServerDialog.html">Server Dialog</a>)</td>
+</tr>
+<tr>
+ <td align="right"><strong>Repository Combo</strong> </td>
+ <td>allows selection of a repository found hosted on the selected server</td>
+</tr>
+<tr>
+ <td align="right"><strong>Workspace Combo</strong> </td>
+ <td>allows selection of a workspace of the selected repository</td>
+</tr>
+<tr>
+ <td align="right"><strong>Workspace Area Combo</strong> </td>
+ <td>allows selection of a known root path in the workspace where files will be sequenced (you can also choose to enter one of your own)</td>
+</tr>
+<tr>
+ <td align="right"><strong>Resources List</strong> </td>
+ <td>a list of all the selected files that will be published or unpublished</td>
+</tr>
+<tr>
+ <td align="right"><strong>Recurse Checkbox</strong> </td>
+ <td>when checked will recursively select all files within any selected folders</td>
+</tr>
+<tr>
+ <td align="right"><strong>Version Checkbox</strong> </td>
+ <td>when checked the files being published will be marked as versionable within the ModeShape repository
+ (initially set to the preference value)</td>
+</tr>
+<tr>
+ <td align="right"><strong>Preference Page Link</strong> </td>
+ <td>selecting this link will open the <a href="ModeShapePreferencesDialog.html#generalSettingsPrefPage">General Settings Preference Page</a>
+ where you can modify the setting that determines if published files will be marked as versionable by the ModeShape server</td>
+</tr>
+</table>
+
+<p>A server must be selected before a repository can be selected. Likewise, a repository must be selected before a workspace
+can be selected. The message area at the top of the dialog will indicate the type of operation (publish or unpublish) and if
+there is any missing information. The workspace area is a path segment in the workspace that will be used as the root path
+for the publishing operation. Once the workspace has been selected the 'Finish' button will be enabled and the operation
+can be executed. These operations can be run in the background so that multiple operations can be run at the same time.
+The <a href="ModeShapeMessageConsole.html">ModeShape Message Console</a> displays output from the operations.</p>
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="ModeShapeMessageConsole.html">ModeShape Message Console</a></li>
+<li><a href="ModeShapePreferencesDialog.html">ModeShape Preference Pages</a></li>
+<li><a href="ServerDialog.html">Server Dialog</a></li>
+</ul>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishDialog.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishedLocationsDialog.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishedLocationsDialog.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishedLocationsDialog.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,26 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Published Locations Dialog</h2>
+
+<p>The <i>Published Locations Dialog</i> identifies all the ModeShape workspaces the selected file has been published to from this Eclipse workspace.</p>
+
+<p>Here is what the <i>Published Locations Dialog</i> looks like:</p>
+
+<img src="images/PublishedLocationsDialog.png" border="0" alt="">
+
+<p>The table data identifies, for each workspace, the server URL, user, repository name, workspace name, and published URL. A button to copy the published URL of the selected row to the system clipboard is also available.</p>
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="PublishDialog.html">Publishing Operations Dialog</a></li>
+</ul>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/PublishedLocationsDialog.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ResourceContextMenu.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ResourceContextMenu.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ResourceContextMenu.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,36 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Context Menu</h2>
+
+<p>The <i>ModeShape Context Menu</i> consists of these actions: publish, unpublish, and show published locations. The publish and
+unpublish actions will be enabled when one or more resources (i.e, project, folder, or file) in the workspace are selected. When
+publishing, the selected resources will be uploaded to a ModeShape repository workspace. When unpublishing, the selected resources
+will be removed from a selected ModeShape repository workspace (if they exist there). If a resource has already been published
+using the current Eclipse workspace, the <a href="PublishedLocationsDialog.html">show published locations</a> action will be
+enabled.</p>
+
+<p>Here is what the <i>ModeShape Context Menu</i> looks like:</p>
+
+<img src="images/ResourceContextMenu.png" border="0" alt="">
+
+<p>Files can be filtered out of publishing and unpublishing operations even though they have been selected. Use the
+<a href="ModeShapePreferencesDialog.html#fileFiltersPrefPage">File and Folder Filters Preference Page</a> to filter out files
+contained within the selection based on their file extensions or by the name of the folder, or ancestor folder, they are
+contained within.</p>
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="ModeShapePreferencesDialog.html#fileFiltersPrefPage">File and Folder Filters Preference Page</a></li>
+<li><a href="PublishDialog.html">Publishing Operations Dialog</a></li>
+<li><a href="PublishedLocationsDialog.html">Published Locations Dialog</a></li>
+</ul>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ResourceContextMenu.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerDialog.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerDialog.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerDialog.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,55 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Server Dialog</h2>
+
+<p>The <i>Server Dialog</i> is used to create and register new servers that host ModeShape repositories. This dialog is also used to edit an existing server's properties.</p>
+
+<p>Here is what the <i>Server Dialog</i> looks like:</p>
+
+<img src="images/ServerDialog.png" border="0" alt="">
+
+<p>The dialog consists of the following controls:</p>
+
+<table border="1">
+<tr>
+ <td align="right"><strong>URL Field</strong> </td>
+ <td>enter the server URL (<code><i>protocol://host:port/context</i></code>) where one or more ModeShape repositories are
+ hosted </td>
+</tr>
+<tr>
+ <td align="right"><strong>User Field</strong> </td>
+ <td>enter the name of the user that will be used when logging in to the server</td>
+</tr>
+<tr>
+ <td align="right"><strong>Password Field</strong> </td>
+ <td>enter the password to use when logging in to the server</td>
+</tr>
+<tr>
+ <td align="right"><strong>Save Password Checkbox</strong> </td>
+ <td>when checked, all the server properties (including the encoded password) will be saved to a file on the local machine</td>
+</tr>
+<tr>
+ <td align="right"><strong>Test Server Connection Button</strong> </td>
+ <td>when clicked will try and connect to the server</td>
+</tr>
+</table>
+
+<p>Once all server properties have been entered the 'Finish' button will be enabled and the new server can be created or the
+existing server's properties can be modified. You can display the <i>Server Dialog</i> from the <i>ModeShape View</i> and from the
+<i>Publishing Operations Dialog</i>.</p>
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="ServerView.html">ModeShape View</a></li>
+<li><a href="PublishDialog.html">Publishing Operations Dialog</a></li>
+</ul>
\ No newline at end of file
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerDialog.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerView.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerView.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerView.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,36 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape View</h2>
+
+<p>The <i>ModeShape View</i> displays the registered servers hosting ModeShape repositories. For each server, the repositories
+and repository workspaces are also displayed. There are view toolbar buttons to create a new server
+(<img src="images/new_server.gif" border="0" alt="">), edit a selected server's properties
+(<img src="images/edit_server.gif" border="0" alt="">), discard one or more selected servers
+(<img src="images/delete_server.gif" border="0" alt="">), reconnect to a selected server
+(<img src="images/refresh.gif" border="0" alt="">), and collapse all servers so that their repositories and workspaces can't
+be seen (<img src="images/collapse_all.gif" border="0" alt="">). If a connection to a server cannot be established that server
+icon will be decorated with an error overlay image.</p>
+
+<p>Here is what the <i>ModeShape View</i> looks like:</p>
+
+<img src="images/ServerView.png" border="0" alt="">
+
+<p>The view's context menu includes the new server, edit server properties, discard server, and reconnect to server actions. Here
+is what the <i>ModeShape View</i>'s context menu looks like:</p>
+
+<img src="images/ServerViewContextMenu.png" border="0" alt="">
+
+<h3>Related Topics</h3>
+
+<ul>
+<li><a href="ServerDialog.html">Server Dialog</a></li>
+</ul>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/ServerView.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/Toc.html
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/Toc.html (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/Toc.html 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,22 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<h2>ModeShape Publishing</h2>
+
+<ul>
+<li><a href="PublishDialog.html">Publishing Operations Dialog</a></li>
+<li><a href="ServerDialog.html">Server Dialog</a></li>
+<li><a href="ServerView.html">ModeShape View</a></li>
+<li><a href="ModeShapeMessageConsole.html">ModeShape Message Console</a></li>
+<li><a href="PublishedLocationsDialog.html">Published Locations Dialog</a></li>
+<li><a href="ResourceContextMenu.html">ModeShape Context Menu</a></li>
+<li><a href="ModeShapePreferencesDialog.html">ModeShape Preference Pages</a></li>
+</ul>
\ No newline at end of file
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/Toc.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/helpContexts.xml
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/helpContexts.xml (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/helpContexts.xml 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,38 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<contexts>
+ <context id="serverViewHelpContext" title="ModeShape View">
+ <description>The ModeShape View shows all registered servers and their repositories and workspaces.</description>
+ <topic href="docs/ServerView.html" label="ModeShape View"/>
+ <topic href="docs/ServerDialog.html" label="Server Dialog"/>
+ </context>
+ <context id="serverDialogHelpContext" title="Server Dialog">
+ <description>The ModeShape Server Dialog allows you to edit or create a server that hosts one or more repositories.</description>
+ <topic href="docs/ServerDialog.html" label="Server Dialog"/>
+ <topic href="docs/ServerView.html" label="ModeShape View"/>
+ </context>
+ <context id="publishDialogHelpContext" title="ModeShape Publish and Unpublish Dialog Help">
+ <description>The Publish/Unpublish Dialog uploads or removes selected resources from the selected server.</description>
+ <topic href="docs/PublishDialog.html" label="Publish/Unpublish Dialog"/>
+ <topic href="docs/ServerDialog.html" label="Create a new server"/>
+ <topic href="docs/ModeShapePreferencesDialog.html" label="ModeShape Preferences"/>
+ </context>
+ <context id="preferencesHelpContext" title="ModeShape Preferences Dialog Help">
+ <description>The ModeShape Preferences Dialog allows you to identify file extensions and folder names that should not be involved in publishing operations.</description>
+ <topic href="docs/ModeShapePreferencesDialog.html" label="ModeShape Preferences"/>
+ <topic href="docs/PublishDialog.html" label="Publish/Unpublish Dialog"/>
+ </context>
+ <context id="messageConsoleHelpContext" title="ModeShape Message Console">
+ <description>The ModeShape Message Console contains the output from the publishing and unpublishing operations.</description>
+ <topic href="docs/ModeShapeMessageConsole.html" label="ModeShape Message Console"/>
+ </context>
+</contexts>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/helpContexts.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/FileFilterPreferencePage.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/FileFilterPreferencePage.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/GeneralPreferencePage.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/GeneralPreferencePage.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ModeShapeMessageConsole.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ModeShapeMessageConsole.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/NewFilteredFileExtension.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/NewFilteredFileExtension.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/NewFilteredFolderName.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/NewFilteredFolderName.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/OperationDialog.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/OperationDialog.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/PublishDialog.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/PublishDialog.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/PublishedLocationsDialog.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/PublishedLocationsDialog.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ResourceContextMenu.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ResourceContextMenu.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerDialog.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerDialog.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerView.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerView.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerViewContextMenu.png
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/ServerViewContextMenu.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/collapse_all.gif
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/collapse_all.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/delete_server.gif
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/delete_server.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/edit_server.gif
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/edit_server.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/new_server.gif
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/new_server.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/refresh.gif
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/images/refresh.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/toc.xml
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/toc.xml (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/toc.xml 2011-04-05 18:31:22 UTC (rev 30335)
@@ -0,0 +1,20 @@
+<!--
+ - See the COPYRIGHT.txt file distributed with this work for information
+ - regarding copyright ownership.
+ -
+ - This software is made available by Red Hat, Inc. 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.
+ -
+ - See the AUTHORS.txt file in the distribution for a full listing of
+ - individual contributors.
+ -->
+<toc label="ModeShape Publishing">
+ <topic label="Publishing Operations Dialog" href="docs/PublishDialog.html"/>
+ <topic label="ModeShape View" href="docs/ServerView.html"/>
+ <topic label="Server Dialog" href="docs/ServerDialog.html"/>
+ <topic label="ModeShape Message Console" href="docs/ModeShapeMessageConsole.html"/>
+ <topic label="Published Locations Dialog" href="docs/PublishedLocationsDialog.html"/>
+ <topic label="ModeShape Context Menu" href="docs/ResourceContextMenu.html"/>
+ <topic label="ModeShape Preference Pages" href="docs/ModeShapePreferencesDialog.html"/>
+</toc>
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc/toc.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/doc.zip
===================================================================
(Binary files differ)
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/toc.xml
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/toc.xml 2011-04-05 18:30:19 UTC (rev 30334)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.doc.user/toc.xml 2011-04-05 18:31:22 UTC (rev 30335)
@@ -10,11 +10,11 @@
- individual contributors.
-->
<toc label="ModeShape Publishing">
- <topic label="Publishing/Unpublishing Dialog" href="docs/PublishDialog.html"/>
- <topic label="Server View" href="docs/ServerView.html"/>
- <topic label="Server Dialog" href="docs/ServerDialog.html"/>
- <topic label="ModeShape Message Console" href="docs/ModeShapeMessageConsole.html"/>
- <topic label="Published Locations Dialog" href="docs/PublishedLocationsDialog.html"/>
- <topic label="Resource Context Menu" href="docs/ResourceContextMenu.html"/>
- <topic label="ModeShape Preferences Dialog" href="docs/ModeShapePreferencesDialog.html"/>
+ <topic label="Publishing Operations Dialog" href="doc/PublishDialog.html"/>
+ <topic label="ModeShape View" href="doc/ServerView.html"/>
+ <topic label="Server Dialog" href="doc/ServerDialog.html"/>
+ <topic label="ModeShape Message Console" href="doc/ModeShapeMessageConsole.html"/>
+ <topic label="Published Locations Dialog" href="doc/PublishedLocationsDialog.html"/>
+ <topic label="ModeShape Context Menu" href="doc/ResourceContextMenu.html"/>
+ <topic label="ModeShape Preferences Dialog" href="doc/ModeShapePreferencesDialog.html"/>
</toc>
15 years
JBoss Tools SVN: r30334 - in trunk/forge/plugins/org.jboss.tools.seam.forge: lib and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2011-04-05 14:30:19 -0400 (Tue, 05 Apr 2011)
New Revision: 30334
Added:
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-connector-wagon.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/args4j.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-cli.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-codec.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-logging.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-dev-plugins.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-git-tools.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-java-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-xml.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-reference-guide.war
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/fpak.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/httpclient.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/httpcore.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor-core.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor-spi.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsch.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-embedder.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.console.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.iplog.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.pgm.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.ui.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/seam-solder.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-guice-no_aop.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/snakeyaml.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-file.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-http-lightweight.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-http-shared.jar
Removed:
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jta.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-guice-noaop.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-extensions.jar
Modified:
trunk/forge/plugins/org.jboss.tools.seam.forge/.classpath
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/activation.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-impl.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-spi.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-util.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/cal10n-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/cdi-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-j2ee-plugins.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-java.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-project-model.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-scaffold.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-shell-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-shell.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jansi.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/javassist.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jline.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsf-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsr181-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsr250-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-aether-provider.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-artifact.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-compat.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-core.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-model-builder.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-model.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-plugin-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-repository-metadata.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-settings-builder.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-settings.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/metawidget.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/mvel2.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/plexus-classworlds.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/plexus-utils.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/seam-render.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/shrinkwrap-descriptors-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-inject-bean.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-inject-plexus.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-provider-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-api.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-core.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-se-core.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-spi.jar
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/CommandRecorder.java
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/Console.java
Log:
update embedded runtime to 1.0.0.alpha3 and get rid of the resulting incompatibilities
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/.classpath
===================================================================
--- trunk/forge/plugins/org.jboss.tools.seam.forge/.classpath 2011-04-05 18:29:04 UTC (rev 30333)
+++ trunk/forge/plugins/org.jboss.tools.seam.forge/.classpath 2011-04-05 18:30:19 UTC (rev 30334)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry exported="true" kind="lib" path="lib/jline.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/activation.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-api.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-connector-wagon.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-connector-wagon.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-impl.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-spi.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/aether-util.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/args4j.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/args4j.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/cal10n-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/cdi-api.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-cli.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-cli.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-codec.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-codec.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/commons-logging.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-dev-plugins.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-dev-plugins.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-git-tools.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-git-tools.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-j2ee-plugins.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-java-api.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-java-api.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-java.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-xml.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-parser-xml.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-project-model.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-reference-guide.war
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-reference-guide.war
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-scaffold.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-shell-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/forge-shell.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/fpak.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/fpak.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/httpclient.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/httpclient.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/httpcore.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/httpcore.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jansi.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/javassist.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor-core.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor-core.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor-spi.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor-spi.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jboss-interceptor.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jline.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsch.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsch.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsf-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsr181-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jsr250-api.jar
===================================================================
(Binary files differ)
Deleted: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/jta.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-aether-provider.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-artifact.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-compat.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-core.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-embedder.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-embedder.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-model-builder.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-model.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-plugin-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-repository-metadata.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-settings-builder.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/maven-settings.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/metawidget.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/mvel2.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.console.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.console.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.iplog.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.iplog.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.pgm.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.pgm.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.ui.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/org.eclipse.jgit.ui.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/plexus-classworlds.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/plexus-utils.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/seam-render.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/seam-solder.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/seam-solder.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/shrinkwrap-descriptors-api.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-guice-no_aop.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-guice-no_aop.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-guice-noaop.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-inject-bean.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/sisu-inject-plexus.jar
===================================================================
(Binary files differ)
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/snakeyaml.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/snakeyaml.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-file.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-file.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-http-lightweight.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-http-lightweight.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-http-shared.jar
===================================================================
(Binary files differ)
Property changes on: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-http-shared.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/wagon-provider-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-api.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-core.jar
===================================================================
(Binary files differ)
Deleted: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-extensions.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-se-core.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/lib/weld-spi.jar
===================================================================
(Binary files differ)
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/CommandRecorder.java
===================================================================
--- trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/CommandRecorder.java 2011-04-05 18:29:04 UTC (rev 30333)
+++ trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/CommandRecorder.java 2011-04-05 18:30:19 UTC (rev 30334)
@@ -67,25 +67,20 @@
if ("pwd".equals(currentCommand)) {
// do nothing
} else if ("new-project".equals(currentCommand)) {
- int index = beforePrompt.lastIndexOf("Wrote ");
+ int index = beforePrompt.lastIndexOf("***SUCCESS*** Created project [");
if (index == -1) return;
- if (index + 6 > beforePrompt.length()) return;
- String str = beforePrompt.substring(index + 6);
- index = str.lastIndexOf("/src/main/resources/META-INF/forge.xml\n***SUCCESS*** Created project [");
+ if (index + 31 > beforePrompt.length()) return;
+ String str = beforePrompt.substring(index + 31);
+ index = str.lastIndexOf("] in new working directory [");
if (index == -1) return;
- if (index + 70 > str.length()) return;
- String projectPath = str.substring(0, index);
- str = str.substring(index + 70);
- index = str.indexOf("] in new working directory [");
- if (index == -1) return;
if (index + 28 > str.length()) return;
str = str.substring(index + 28);
index = str.indexOf("]");
if (index == -1) return;
- String projectDirName = str.substring(0, index);
- index = projectPath.indexOf(projectDirName);
- if (index == -1) return;
- String projectBaseDirPath = projectPath.substring(0, index - 1);
+ String projectPath = str.substring(0, index);
+ index = projectPath.lastIndexOf('/');
+ String projectDirName = projectPath.substring(index + 1);
+ String projectBaseDirPath = projectPath.substring(0, index);
new ProjectImporter(projectBaseDirPath, projectDirName).importProject();
}
}
Modified: trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/Console.java
===================================================================
--- trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/Console.java 2011-04-05 18:29:04 UTC (rev 30333)
+++ trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/console/Console.java 2011-04-05 18:30:19 UTC (rev 30334)
@@ -136,17 +136,55 @@
}
}
+ private int lastLineLength = 0;
+ private int lastLinePosition = 0;
+ private StringBuffer escapeSequence = new StringBuffer();
+ private boolean escapeSequenceStarted = false;
+
public void appendString(final String str) {
Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
try {
for (int i = 0; i < str.length(); i++) {
+ char c = str.charAt(i);
+ if (c == '\r') continue; //ignore
+ if (c == '[' && escapeSequenceStarted) continue;
+ if (c == 27) {
+ escapeSequenceStarted = true;
+ continue;
+ }
+ if (escapeSequenceStarted) {
+ int type = Character.getType(c);
+ if (type == Character.LOWERCASE_LETTER || type == Character.UPPERCASE_LETTER) {
+ if (c == 'G') {
+ int columnNumber = Integer.valueOf(escapeSequence.toString());
+ escapeSequence.setLength(0);
+ lastLineLength = columnNumber - 1;
+ escapeSequenceStarted = false;
+ }
+ if (c == 'K') {
+ int doclength = getDocument().getLength();
+ int currentPosition = lastLinePosition + lastLineLength;
+ getDocument().replace(currentPosition, doclength - currentPosition, "");
+ escapeSequenceStarted = false;
+ }
+ } else {
+ escapeSequence.append(c);
+ }
+ continue;
+ }
if (str.charAt(i) == '\b') {
getDocument().replace(getDocument().getLength() - 1, 1, "");
+ lastLineLength--;
} else {
getDocument().replace(getDocument().getLength(), 0, str.substring(i, i + 1));
+ lastLineLength++;
}
+ if (c == '\n') {
+ lastLineLength = 0;
+ lastLinePosition = getDocument().getLength();
+ }
}
} catch (BadLocationException e) {}
}
15 years
JBoss Tools SVN: r30333 - trunk/build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-04-05 14:29:04 -0400 (Tue, 05 Apr 2011)
New Revision: 30333
Modified:
trunk/build/publish.sh
Log:
publish to /home/hudson/static_build_env/jbds/builds/staging/ as well as to download.jboss.org so that Hudson jobs can source from local filesystem instead of over http (JBIDE-8657)
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2011-04-05 18:22:55 UTC (rev 30332)
+++ trunk/build/publish.sh 2011-04-05 18:29:04 UTC (rev 30333)
@@ -28,6 +28,9 @@
# for JBDS, use DESTINATION=/qa/services/http/binaries/RHDS
if [[ $DESTINATION == "" ]]; then DESTINATION="tools@filemgmt.jboss.org:/downloads_htdocs/tools"; fi
+# internal destination mirror, for file:// access (instead of http://)
+if [[ $INTRNALDEST == "" ]]; then INTRNALDEST="/home/hudson/static_build_env/jbds/"; fi
+
# cleanup from last time
rm -fr ${WORKSPACE}/results; mkdir -p ${STAGINGDIR}
@@ -258,6 +261,9 @@
# and create/replace a snapshot dir w/ static URL
date; rsync -arzq --delete ${STAGINGDIR} $DESTINATION/builds/staging/
+
+ # and create/replace a snapshot dir outside Hudson which is file:// accessible
+ date; rsync -arzq --delete ${STAGINGDIR} $INTRNALDEST/builds/staging/
fi
# extra publish step for aggregate update sites ONLY
@@ -279,6 +285,6 @@
# publish updated log
bl=${STAGINGDIR}/logs/BUILDLOG.txt
rm -f ${bl}; wget -q http://hudson.qa.jboss.com/hudson/job/${JOB_NAME}/${BUILD_NUMBER}/console... -O ${bl} --timeout=900 --wait=10 --random-wait --tries=10 --retry-connrefused --no-check-certificate
-
date; rsync -arzq --delete ${STAGINGDIR}/logs $DESTINATION/builds/staging/${JOB_NAME}/
+date; rsync -arzq --delete ${STAGINGDIR}/logs $INTRNALDEST/builds/staging/${JOB_NAME}/
15 years
JBoss Tools SVN: r30332 - in trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test: projects/CDISolderTest/src/org/jboss/named and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-04-05 14:22:55 -0400 (Tue, 05 Apr 2011)
New Revision: 30332
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/BeanNamingTest.java
Log:
JBIDE-8200
https://issues.jboss.org/browse/JBIDE-8200
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java 2011-04-05 18:22:17 UTC (rev 30331)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java 2011-04-05 18:22:55 UTC (rev 30332)
@@ -1,9 +1,33 @@
package org.jboss.fullyqualified;
+import javax.enterprise.inject.Produces;
+import javax.inject.Named;
+
import org.jboss.named.Dog;
import org.jboss.seam.solder.core.FullyQualified;
@FullyQualified(Dog.class)
public class Elephant {
+ @Produces
+ @Named("tail")
+ String getTail() {
+ return "";
+ }
+
+ @Produces
+ @Named("trunk")
+ @FullyQualified(Dog.class)
+ String getTrunk() {
+ return "";
+ }
+
+ @Produces
+ @Named("ear")
+ String ear;
+
+ @Produces
+ @Named("eye")
+ @FullyQualified(Dog.class)
+ String eye;
}
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java 2011-04-05 18:22:17 UTC (rev 30331)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java 2011-04-05 18:22:55 UTC (rev 30332)
@@ -1,5 +1,32 @@
package org.jboss.named;
+import javax.enterprise.inject.Produces;
+import javax.inject.Named;
+
+import org.jboss.fullyqualified.Elephant;
+import org.jboss.seam.solder.core.FullyQualified;
+
public class Dog {
+ @Produces
+ @Named("hair")
+ String getHair() {
+ return "";
+ }
+
+ @Produces
+ @Named("nose")
+ @FullyQualified(Elephant.class)
+ String getNose() {
+ return "";
+ }
+
+ @Produces
+ @Named("jaws")
+ String jaws;
+
+ @Produces
+ @Named("black-eye")
+ @FullyQualified(Elephant.class)
+ String eye;
}
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/BeanNamingTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/BeanNamingTest.java 2011-04-05 18:22:17 UTC (rev 30331)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/BeanNamingTest.java 2011-04-05 18:22:55 UTC (rev 30332)
@@ -12,7 +12,9 @@
import org.eclipse.core.runtime.Path;
import org.jboss.tools.cdi.core.CDICorePlugin;
import org.jboss.tools.cdi.core.IBean;
+import org.jboss.tools.cdi.core.IBeanMember;
import org.jboss.tools.cdi.core.ICDIProject;
+import org.jboss.tools.cdi.core.IClassBean;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.ResourcesUtils;
@@ -40,7 +42,8 @@
//1. package @Named; class not annotated
Set<IBean> bs = cdi.getBeans(new Path("/CDISolderTest/src/org/jboss/named/Dog.java"));
assertFalse(bs.isEmpty());
- IBean b = bs.iterator().next();
+ IBean b = findBeanByMemberName(bs, "Dog");
+ assertNotNull(b);
assertEquals("dog", b.getName());
//2. package@Named; class @Named("little")
@@ -50,7 +53,7 @@
assertEquals("little", b.getName());
}
- public void testFullyQualifiedPackage() throws CoreException, IOException {
+ public void testFullyQualifiedPackage() throws CoreException {
ICDIProject cdi = CDICorePlugin.getCDIProject(project, true);
//1. package @FullyQualified and @Named; class not annotated
@@ -68,11 +71,75 @@
//3. package @FullyQualified and @Named; class @FullyQualified(Dog.class)
bs = cdi.getBeans(new Path("/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java"));
assertFalse(bs.isEmpty());
- b = bs.iterator().next();
+ b = findBeanByMemberName(bs, "Elephant");
+ assertNotNull(b);
assertEquals("org.jboss.named.elephant", b.getName());
+ }
+ public void testFullyQualifiedProducers() {
+ ICDIProject cdi = CDICorePlugin.getCDIProject(project, true);
+ //1. package @FullyQualified
+ Set<IBean> bs = cdi.getBeans(new Path("/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java"));
+
+ //1.1 producer method @Named
+ IBean b = findBeanByMemberName(bs, "getTail");
+ assertNotNull(b);
+ assertEquals("org.jboss.fullyqualified.tail", b.getName());
+
+ //1.2 producer method @Named and @FullyQualified(Dog.class)
+ b = findBeanByMemberName(bs, "getTrunk");
+ assertNotNull(b);
+ assertEquals("org.jboss.named.trunk", b.getName());
+
+ //1.3 producer field @Named
+ b = findBeanByMemberName(bs, "ear");
+ assertNotNull(b);
+ assertEquals("org.jboss.fullyqualified.ear", b.getName());
+
+ //1.4 producer field @Named and @FullyQualified(Dog.class)
+ b = findBeanByMemberName(bs, "eye");
+ assertNotNull(b);
+ assertEquals("org.jboss.named.eye", b.getName());
+
+ //2. package has not @FullyQualified
+ bs = cdi.getBeans(new Path("/CDISolderTest/src/org/jboss/named/Dog.java"));
+
+ //2.1 producer method @Named
+ b = findBeanByMemberName(bs, "getHair");
+ assertNotNull(b);
+ assertEquals("hair", b.getName());
+
+ //2.2 producer method @Named and @FullyQualified(Elephant.class)
+ b = findBeanByMemberName(bs, "getNose");
+ assertNotNull(b);
+ assertEquals("org.jboss.fullyqualified.nose", b.getName());
+
+ //2.3 producer field @Named
+ b = findBeanByMemberName(bs, "jaws");
+ assertNotNull(b);
+ assertEquals("jaws", b.getName());
+
+ //2.4 producer field @Named and @FullyQualified(Elephant.class)
+ b = findBeanByMemberName(bs, "eye");
+ assertNotNull(b);
+ assertEquals("org.jboss.fullyqualified.black-eye", b.getName());
}
+ private IBean findBeanByMemberName(Set<IBean> bs, String memberName) {
+ for (IBean b: bs) {
+ if(b instanceof IClassBean) {
+ if(memberName.equals(((IClassBean)b).getBeanClass().getElementName())) {
+ return b;
+ }
+ } else if(b instanceof IBeanMember) {
+ if(memberName.equals(((IBeanMember)b).getSourceMember().getElementName())) {
+ return b;
+ }
+ }
+ }
+ return null;
+ }
+
public void tearDown() throws Exception {
boolean saveAutoBuild = ResourcesUtils.setBuildAutomatically(false);
JobUtils.waitForIdle();
15 years
JBoss Tools SVN: r30331 - trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-04-05 14:22:17 -0400 (Tue, 05 Apr 2011)
New Revision: 30331
Removed:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/BeanNameFeature.java
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderCoreExtension.java
Log:
JBIDE-8200
https://issues.jboss.org/browse/JBIDE-8200
Deleted: trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/BeanNameFeature.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/BeanNameFeature.java 2011-04-05 18:21:42 UTC (rev 30330)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/BeanNameFeature.java 2011-04-05 18:22:17 UTC (rev 30331)
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * 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.cdi.seam.solder.core;
-
-
-import java.beans.Introspector;
-
-import org.jboss.tools.cdi.core.CDIConstants;
-import org.jboss.tools.cdi.core.CDIUtil;
-import org.jboss.tools.cdi.core.IAnnotationDeclaration;
-import org.jboss.tools.cdi.core.IBean;
-import org.jboss.tools.cdi.core.IClassBean;
-import org.jboss.tools.cdi.core.IProducerField;
-import org.jboss.tools.cdi.core.IProducerMethod;
-import org.jboss.tools.cdi.core.extension.feature.IBeanNameFeature;
-import org.jboss.tools.cdi.internal.core.impl.AbstractBeanElement;
-import org.jboss.tools.cdi.internal.core.impl.AnnotationDeclaration;
-import org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition;
-import org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition;
-import org.jboss.tools.cdi.internal.core.impl.definition.PackageDefinition;
-import org.jboss.tools.common.util.BeanUtil;
-import org.jboss.tools.common.util.EclipseJavaUtil;
-
-/**
- *
- * @author Viacheslav Kabanovich
- *
- */
-public class BeanNameFeature implements IBeanNameFeature {
- /**
- * The singleton instance that processes requests without building inner
- * state.
- */
- public static final IBeanNameFeature instance = new BeanNameFeature();
-
- public String computeBeanName(IBean bean) {
- AbstractBeanElement abe = (AbstractBeanElement)bean;
- AbstractMemberDefinition d = abe.getDefinition();
- if(d == null) return null;
- IAnnotationDeclaration named = CDIUtil.getNamedDeclaration(bean);
-
- AbstractTypeDefinition t = d.getTypeDefinition();
- PackageDefinition p = d.getPackageDefinition();
- AnnotationDeclaration namedOnPackage = null;
- AnnotationDeclaration fullyQualifiedOnPackage = null;
- if(p != null) {
- namedOnPackage = p.getAnnotation(CDIConstants.NAMED_QUALIFIER_TYPE_NAME);
- fullyQualifiedOnPackage = p.getAnnotation(CDISeamSolderConstants.FULLY_QUALIFIED_ANNOTATION_TYPE_NAME);
- }
-
- AnnotationDeclaration fullyQualified = d.getAnnotation(CDISeamSolderConstants.FULLY_QUALIFIED_ANNOTATION_TYPE_NAME);
-
- //@FullyQualified
- if((fullyQualified != null || fullyQualifiedOnPackage != null) && (named != null || namedOnPackage != null)) {
- if(named == null) named = namedOnPackage;
- String pkg = resolvePackageName(fullyQualified, fullyQualifiedOnPackage, t, p);
- String simpleName = getSimpleBeanName(bean, named);
- return (simpleName == null) ? null : pkg.length() > 0 ? pkg + "." + simpleName : simpleName;
- }
-
- // @Named on package only
- if(named == null && namedOnPackage != null) {
- return getSimpleBeanName(bean, namedOnPackage);
- }
-
- return null;
- }
-
- private String getStringValue(IAnnotationDeclaration a) {
- if(a == null) return null;
- Object o = a.getMemberValue(null);
- return o == null ? null : o.toString();
- }
-
- private String resolvePackageName(AnnotationDeclaration fullyQualified, AnnotationDeclaration fullyQualifiedOnPackage, AbstractTypeDefinition t, PackageDefinition p) {
- String contextClass = null;
- AnnotationDeclaration a = fullyQualified != null ? fullyQualified : fullyQualifiedOnPackage;
- contextClass = getStringValue(a);
- if(contextClass == null) {
- contextClass = t == null ? "" : t.getQualifiedName();
- } else if(fullyQualified != null && t != null) {
- String resolved = EclipseJavaUtil.resolveType(t.getType(), contextClass);
- if(resolved != null) contextClass = resolved;
- } else if(fullyQualifiedOnPackage != null) {
- contextClass = p.resolveType(contextClass);
- }
- int dot = contextClass.lastIndexOf('.');
- return dot < 0 ? "" : contextClass.substring(0, dot);
- }
-
- private String getSimpleBeanName(IBean bean, IAnnotationDeclaration named) {
- String simpleName = null;
- if(named != null) {
- simpleName = getStringValue(named);
- }
- if(simpleName != null && simpleName.length() > 0) {
- //do nothing
- } else if(bean instanceof IClassBean) {
- simpleName = Introspector.decapitalize(((IClassBean)bean).getBeanClass().getElementName());
- } else if(bean instanceof IProducerField) {
- simpleName = ((IProducerField)bean).getField().getElementName();
- } else if(bean instanceof IProducerMethod) {
- IProducerMethod m = (IProducerMethod)bean;
- String mn = m.getMethod().getElementName();
- if(BeanUtil.isGetter(m.getMethod())) {
- simpleName = BeanUtil.getPropertyName(mn);
- } else {
- simpleName = mn;
- }
- }
-
- return simpleName;
- }
-}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderCoreExtension.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderCoreExtension.java 2011-04-05 18:21:42 UTC (rev 30330)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderCoreExtension.java 2011-04-05 18:22:17 UTC (rev 30331)
@@ -1,41 +1,62 @@
package org.jboss.tools.cdi.seam.solder.core;
+import java.beans.Introspector;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IMemberValuePair;
import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jdt.core.SourceRange;
+import org.eclipse.jdt.internal.core.MemberValuePair;
+import org.jboss.tools.cdi.core.CDIConstants;
import org.jboss.tools.cdi.core.IAnnotated;
import org.jboss.tools.cdi.core.IAnnotationDeclaration;
-import org.jboss.tools.cdi.core.IParametedType;
import org.jboss.tools.cdi.core.extension.ICDIExtension;
-import org.jboss.tools.cdi.core.extension.feature.IBeanNameFeature;
import org.jboss.tools.cdi.core.extension.feature.IProcessAnnotatedTypeFeature;
+import org.jboss.tools.cdi.internal.core.impl.AnnotationLiteral;
import org.jboss.tools.cdi.internal.core.impl.ParametedType;
import org.jboss.tools.cdi.internal.core.impl.TypeDeclaration;
+import org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition;
+import org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition;
+import org.jboss.tools.cdi.internal.core.impl.definition.AnnotationDefinition;
import org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext;
import org.jboss.tools.cdi.internal.core.impl.definition.FieldDefinition;
import org.jboss.tools.cdi.internal.core.impl.definition.MethodDefinition;
+import org.jboss.tools.cdi.internal.core.impl.definition.PackageDefinition;
import org.jboss.tools.cdi.internal.core.impl.definition.ParameterDefinition;
import org.jboss.tools.cdi.internal.core.impl.definition.TypeDefinition;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.common.util.BeanUtil;
import org.jboss.tools.common.util.EclipseJavaUtil;
-public class CDISeamSolderCoreExtension implements ICDIExtension,
- IProcessAnnotatedTypeFeature {
+public class CDISeamSolderCoreExtension implements ICDIExtension, IProcessAnnotatedTypeFeature {
public Object getAdapter(Class adapter) {
- if (adapter == IBeanNameFeature.class) {
- return BeanNameFeature.instance;
- }
return null;
}
- public void processAnnotatedType(TypeDefinition typeDefinition,
- DefinitionContext context) {
+ public void processAnnotatedType(TypeDefinition typeDefinition, DefinitionContext context) {
+
+ if(processVeto(typeDefinition, context)) {
+ return;
+ }
+
+ if(processRequires(typeDefinition, context)) {
+ return;
+ }
+
+ processNames(typeDefinition, context);
+
+ processExact(typeDefinition, context);
+
+ }
+
+ // @Veto
+ private boolean processVeto(TypeDefinition typeDefinition, DefinitionContext context) {
if (typeDefinition
.isAnnotationPresent(CDISeamSolderConstants.VETO_ANNOTATION_TYPE_NAME)
|| (typeDefinition.getPackageDefinition() != null && typeDefinition
@@ -43,9 +64,13 @@
.isAnnotationPresent(
CDISeamSolderConstants.VETO_ANNOTATION_TYPE_NAME))) {
typeDefinition.veto();
- return;
+ return true;
}
+ return false;
+ }
+ // @Requires
+ private boolean processRequires(TypeDefinition typeDefinition, DefinitionContext context) {
Set<String> requiredClasses = new HashSet<String>();
List<String> typeRequiredClasses = getRequiredClasses(typeDefinition);
if (typeRequiredClasses != null)
@@ -62,36 +87,77 @@
try {
if (EclipseJavaUtil.findType(jp, c) == null) {
typeDefinition.veto();
- return;
+ return true;
}
} catch (JavaModelException e) {
CDISeamSolderCorePlugin.getDefault().logError(e);
typeDefinition.veto();
- return;
+ return true;
}
}
}
+ return false;
+ }
+ // @FullyQualified @Named
+ private void processNames(TypeDefinition typeDefinition, DefinitionContext context) {
+ PackageDefinition p = typeDefinition.getPackageDefinition();
+ IAnnotationDeclaration namedOnPackage = null;
+ IAnnotationDeclaration fullyQualifiedOnPackage = null;
+ if(p != null) {
+ namedOnPackage = p.getAnnotation(CDIConstants.NAMED_QUALIFIER_TYPE_NAME);
+ fullyQualifiedOnPackage = p.getAnnotation(CDISeamSolderConstants.FULLY_QUALIFIED_ANNOTATION_TYPE_NAME);
+ }
+
+ processNames(typeDefinition, context, namedOnPackage, fullyQualifiedOnPackage, p);
+
List<FieldDefinition> fs = typeDefinition.getFields();
- for (FieldDefinition f : fs) {
- TypeDeclaration exact = getExactType(f, typeDefinition, context);
- if (exact != null) {
- f.setOverridenType(exact);
+ for (FieldDefinition f: fs) {
+ if(f.isAnnotationPresent(CDIConstants.PRODUCES_ANNOTATION_TYPE_NAME)) {
+ processNames(f, context, null, fullyQualifiedOnPackage, p);
}
}
-
+
List<MethodDefinition> ms = typeDefinition.getMethods();
- for (MethodDefinition m : ms) {
- List<ParameterDefinition> ps = m.getParameters();
- for (ParameterDefinition p : ps) {
- TypeDeclaration exact = getExactType(p, typeDefinition, context);
- if (exact != null) {
- p.setOverridenType(exact);
- }
+ for (MethodDefinition m: ms) {
+ if(m.isAnnotationPresent(CDIConstants.PRODUCES_ANNOTATION_TYPE_NAME)) {
+ processNames(m, context, null, fullyQualifiedOnPackage, p);
}
}
+
}
+ private void processNames(AbstractMemberDefinition d, DefinitionContext context,
+ IAnnotationDeclaration namedOnPackage, IAnnotationDeclaration fullyQualifiedOnPackage, PackageDefinition p) {
+ IAnnotationDeclaration named = d.getAnnotation(CDIConstants.NAMED_QUALIFIER_TYPE_NAME);
+ IAnnotationDeclaration fullyQualified = d.getAnnotation(CDISeamSolderConstants.FULLY_QUALIFIED_ANNOTATION_TYPE_NAME);
+
+ String beanName = null;
+
+ if((fullyQualified != null || fullyQualifiedOnPackage != null) && (named != null || namedOnPackage != null)) {
+ //@FullyQualified
+ if(named == null) named = namedOnPackage;
+ String pkg = resolvePackageName(fullyQualified, fullyQualifiedOnPackage, d.getTypeDefinition(), p);
+ String simpleName = getSimpleBeanName(d, named);
+ beanName = (simpleName == null) ? null : pkg.length() > 0 ? pkg + "." + simpleName : simpleName;
+ } else if(named == null && namedOnPackage != null) {
+ // @Named on package only
+ beanName = getSimpleBeanName(d, namedOnPackage);
+ }
+
+ if(beanName != null) {
+ IMemberValuePair[] pairs = new IMemberValuePair[]{new MemberValuePair("value", beanName, IMemberValuePair.K_STRING)};
+ AnnotationDefinition n = context.getAnnotation(CDIConstants.NAMED_QUALIFIER_TYPE_NAME);
+ if(n != null) {
+ AnnotationLiteral l = new AnnotationLiteral(d.getResource(), "", new SourceRange(0, 0), pairs, n.getType());
+ if(named != null) d.removeAnnotation(named);
+ d.addAnnotation(l, context);
+ }
+ }
+
+ }
+
+
private List<String> getRequiredClasses(IAnnotated d) {
if (d == null)
return null;
@@ -115,6 +181,28 @@
return result;
}
+ // @Exact
+ private void processExact(TypeDefinition typeDefinition, DefinitionContext context) {
+ List<FieldDefinition> fs = typeDefinition.getFields();
+ for (FieldDefinition f : fs) {
+ TypeDeclaration exact = getExactType(f, typeDefinition, context);
+ if (exact != null) {
+ f.setOverridenType(exact);
+ }
+ }
+
+ List<MethodDefinition> ms = typeDefinition.getMethods();
+ for (MethodDefinition m : ms) {
+ List<ParameterDefinition> ps = m.getParameters();
+ for (ParameterDefinition p : ps) {
+ TypeDeclaration exact = getExactType(p, typeDefinition, context);
+ if (exact != null) {
+ p.setOverridenType(exact);
+ }
+ }
+ }
+ }
+
private TypeDeclaration getExactType(IAnnotated annotated, TypeDefinition declaringType, DefinitionContext context) {
IAnnotationDeclaration a = annotated.getAnnotation(CDISeamSolderConstants.EXACT_ANNOTATION_TYPE_NAME);
if(a != null) {
@@ -143,4 +231,54 @@
}
return null;
}
+
+ private String resolvePackageName(IAnnotationDeclaration fullyQualified, IAnnotationDeclaration fullyQualifiedOnPackage, AbstractTypeDefinition t, PackageDefinition p) {
+ String contextClass = null;
+ IAnnotationDeclaration a = fullyQualified != null ? fullyQualified : fullyQualifiedOnPackage;
+ contextClass = getStringValue(a);
+ if(contextClass == null) {
+ contextClass = t == null ? "" : t.getQualifiedName();
+ } else if(fullyQualified != null && t != null) {
+ String resolved = EclipseJavaUtil.resolveType(t.getType(), contextClass);
+ if(resolved != null) contextClass = resolved;
+ } else if(fullyQualifiedOnPackage != null) {
+ contextClass = p.resolveType(contextClass);
+ }
+ if("java.lang.Class".equals(contextClass)) {
+ contextClass = t.getType().getFullyQualifiedName();
+ }
+ int dot = contextClass.lastIndexOf('.');
+ return dot < 0 ? "" : contextClass.substring(0, dot);
+ }
+
+ private String getSimpleBeanName(AbstractMemberDefinition d, IAnnotationDeclaration named) {
+ String simpleName = null;
+ if(named != null) {
+ simpleName = getStringValue(named);
+ }
+ if(simpleName != null && simpleName.length() > 0) {
+ //do nothing
+ } else if(d instanceof TypeDefinition) {
+ simpleName = Introspector.decapitalize(((TypeDefinition)d).getType().getElementName());
+ } else if(d instanceof FieldDefinition) {
+ simpleName = ((FieldDefinition)d).getField().getElementName();
+ } else if(d instanceof MethodDefinition) {
+ MethodDefinition m = (MethodDefinition)d;
+ String mn = m.getMethod().getElementName();
+ if(BeanUtil.isGetter(m.getMethod())) {
+ simpleName = BeanUtil.getPropertyName(mn);
+ } else {
+ simpleName = mn;
+ }
+ }
+
+ return simpleName;
+ }
+
+ private String getStringValue(IAnnotationDeclaration a) {
+ if(a == null) return null;
+ Object o = a.getMemberValue(null);
+ return o == null ? null : o.toString();
+ }
+
}
15 years