JBoss Tools SVN: r29971 - in branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration: src/org/jboss/tools/deltacloud/integration/wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-03-23 06:14:37 -0400 (Wed, 23 Mar 2011)
New Revision: 29971
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/ChangeLog
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java
Log:
[JBIDE-8333] persisting combo states to preferences
Modified: branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/ChangeLog
===================================================================
--- branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/ChangeLog 2011-03-23 07:53:33 UTC (rev 29970)
+++ branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/ChangeLog 2011-03-23 10:14:37 UTC (rev 29971)
@@ -1,3 +1,8 @@
+2011-03-23 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
+
+ * src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java:
+ [JBIDE-8333] persisting combo states to preferences
+
2011-02-02 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
* src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java (createControl):
Modified: branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java
===================================================================
--- branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java 2011-03-23 07:53:33 UTC (rev 29970)
+++ branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java 2011-03-23 10:14:37 UTC (rev 29971)
@@ -36,6 +36,7 @@
import org.jboss.tools.common.jobs.ChainedJob;
import org.jboss.tools.deltacloud.core.DeltaCloudInstance;
import org.jboss.tools.deltacloud.integration.DeltaCloudIntegrationPlugin;
+import org.jboss.tools.deltacloud.ui.ErrorUtils;
import org.jboss.tools.deltacloud.ui.wizard.INewInstanceWizardPage;
import org.jboss.tools.internal.deltacloud.ui.utils.UIUtils;
import org.osgi.service.prefs.BackingStoreException;
@@ -50,6 +51,9 @@
private final static String CREATE_RSE_PREF_KEY = "org.jboss.tools.deltacloud.integration.wizard.RSEandASWizard.CREATE_RSE_PREF_KEY";
private final static String CREATE_SERVER_PREF_KEY = "org.jboss.tools.deltacloud.integration.wizard.RSEandASWizard.CREATE_SERVER_PREF_KEY";
+ private static final String SELECTED_AUTO_LOCAL_RUNTIME_KEY = "autoruntime_selected";
+ private static final String SELECTED_MANUAL_LOCAL_RUNTIME_KEY = "manualruntime_selected";
+
private Button createRSE, createServer;
private Group serverDetailsGroup;
private Button autoScanCheck, hardCodeServerDetails, deployOnlyRadio,
@@ -221,8 +225,14 @@
names.add(rts[i].getName());
}
}
- localRuntimeCombo.setItems((String[]) names.toArray(new String[names.size()]));
- autoLocalRuntimeCombo.setItems((String[]) names.toArray(new String[names.size()]));
+ String[] namesArray = (String[]) names.toArray(new String[names.size()]);
+ localRuntimeCombo.setItems(namesArray);
+ localRuntimeCombo
+ .select(loadSelection(SELECTED_MANUAL_LOCAL_RUNTIME_KEY, namesArray));
+ autoLocalRuntimeCombo.setItems(namesArray);
+ autoLocalRuntimeCombo
+ .select(loadSelection(SELECTED_AUTO_LOCAL_RUNTIME_KEY, namesArray));
+
}
protected void configureRuntimesPressed() {
@@ -273,10 +283,51 @@
}
}
}
+ storeSelection(autoLocalRuntimeCombo.getSelectionIndex(),
+ autoLocalRuntimeCombo.getItems(),
+ SELECTED_AUTO_LOCAL_RUNTIME_KEY);
+ storeSelection(localRuntimeCombo.getSelectionIndex(),
+ localRuntimeCombo.getItems(),
+ SELECTED_MANUAL_LOCAL_RUNTIME_KEY);
+
setErrorMessage(error);
setPageComplete(complete);
}
+ private void storeSelection(int selectionIndex, String[] items,
+ String prefsKey) {
+ if (selectionIndex < 0 || items == null || items.length == 0) {
+ return;
+ }
+
+ String value = items[selectionIndex];
+ IEclipsePreferences node = new InstanceScope()
+ .getNode(DeltaCloudIntegrationPlugin.PLUGIN_ID);
+ node.put(prefsKey, value);
+ try {
+ node.flush();
+ } catch (BackingStoreException e) {
+ ErrorUtils.handleError("Error", "Could not store selected runtime",
+ e, getShell());
+ }
+ }
+
+ private int loadSelection(String prefsKey, String[] items) {
+ int selectedIndex = -1;
+ IEclipsePreferences node = new InstanceScope()
+ .getNode(DeltaCloudIntegrationPlugin.PLUGIN_ID);
+ String selectedValue = node.get(prefsKey, null);
+ if (selectedValue != null && items != null) {
+ for (int i = 0; i < items.length; i++) {
+ if (selectedValue.equals(items[i])) {
+ selectedIndex = i;
+ break;
+ }
+ }
+ }
+ return selectedIndex;
+ }
+
private void refreshServerWidgets() {
if( initialHost != null ) {
createRSE.setEnabled(false);
13 years, 9 months
JBoss Tools SVN: r29970 - in trunk/gwt: plugins/org.jboss.tools.gwt.core/META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-03-23 03:53:33 -0400 (Wed, 23 Mar 2011)
New Revision: 29970
Modified:
trunk/gwt/features/org.jboss.tools.gwt.feature/feature.xml
trunk/gwt/plugins/org.jboss.tools.gwt.core/META-INF/MANIFEST.MF
trunk/gwt/plugins/org.jboss.tools.gwt.ui/META-INF/MANIFEST.MF
Log:
increase gwt component version
Modified: trunk/gwt/features/org.jboss.tools.gwt.feature/feature.xml
===================================================================
--- trunk/gwt/features/org.jboss.tools.gwt.feature/feature.xml 2011-03-23 06:12:31 UTC (rev 29969)
+++ trunk/gwt/features/org.jboss.tools.gwt.feature/feature.xml 2011-03-23 07:53:33 UTC (rev 29970)
@@ -2,7 +2,7 @@
<feature
id="org.jboss.tools.gwt.feature"
label="%featureName"
- version="1.0.0.qualifier"
+ version="1.0.1.qualifier"
provider-name="%providerName">
<description url="http://www.example.com/description">
Modified: trunk/gwt/plugins/org.jboss.tools.gwt.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/gwt/plugins/org.jboss.tools.gwt.core/META-INF/MANIFEST.MF 2011-03-23 06:12:31 UTC (rev 29969)
+++ trunk/gwt/plugins/org.jboss.tools.gwt.core/META-INF/MANIFEST.MF 2011-03-23 07:53:33 UTC (rev 29970)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: JBoss Tools GWT (Experimental)
Bundle-SymbolicName: org.jboss.tools.gwt.core;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 1.0.1.qualifier
Bundle-Activator: org.jboss.tools.gwt.core.internal.GWTCoreActivator
Bundle-Vendor: JBoss by Red Hat
Require-Bundle:
Modified: trunk/gwt/plugins/org.jboss.tools.gwt.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/gwt/plugins/org.jboss.tools.gwt.ui/META-INF/MANIFEST.MF 2011-03-23 06:12:31 UTC (rev 29969)
+++ trunk/gwt/plugins/org.jboss.tools.gwt.ui/META-INF/MANIFEST.MF 2011-03-23 07:53:33 UTC (rev 29970)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: JBoss Tools GWT UI (Experimental)
Bundle-SymbolicName: org.jboss.tools.gwt.ui;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 1.0.1.qualifier
Bundle-Activator: org.jboss.tools.gwt.ui.internal.GWTUIActivator
Bundle-Vendor: JBoss by Red Hat
Require-Bundle: org.eclipse.ui;bundle-version="[3.5.0,4.0.0)",
13 years, 9 months
JBoss Tools SVN: r29969 - trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/palette.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2011-03-23 02:12:31 -0400 (Wed, 23 Mar 2011)
New Revision: 29969
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/palette/PaletteFactory.java
Log:
JBIDE-8505: add the separator for the Zoom part
Modified: trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/palette/PaletteFactory.java
===================================================================
--- trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/palette/PaletteFactory.java 2011-03-23 02:55:05 UTC (rev 29968)
+++ trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/palette/PaletteFactory.java 2011-03-23 06:12:31 UTC (rev 29969)
@@ -15,6 +15,7 @@
import org.eclipse.gef.palette.MarqueeToolEntry;
import org.eclipse.gef.palette.PaletteContainer;
import org.eclipse.gef.palette.PaletteRoot;
+import org.eclipse.gef.palette.PaletteSeparator;
import org.eclipse.gef.palette.SelectionToolEntry;
/**
@@ -43,8 +44,8 @@
public void contributeItems(PaletteRoot paletteRoot) {
createTopControlPaletteEntries(paletteRoot);
+ createBPELPaletteEntries(paletteRoot);
createBottomControlPaletteEntries(paletteRoot);
- createBPELPaletteEntries(paletteRoot);
}
@@ -144,13 +145,13 @@
Messages.BPELEditor_Compensate_1,
Messages.BPELEditor_Compensate_2, provider
.getFactoryFor(bpelPackage.getCompensate())));
+
faultCategory.add(new BPELCreationToolEntry(
Messages.BPELEditor_CompensateScope_1,
Messages.BPELEditor_CompensateScope_2, provider
.getFactoryFor(bpelPackage.getCompensateScope())));
-
+
palette.add(faultCategory);
-
}
void createTopControlPaletteEntries(PaletteRoot root) {
@@ -166,16 +167,17 @@
MarqueeToolEntry marqueeTool = new MarqueeToolEntry(
Messages.BPELEditor_Marquee_Tool);
controlGroup.add(marqueeTool);
-
+
root.add(controlGroup);
root.setDefaultEntry(selectionTool);
}
void createBottomControlPaletteEntries(PaletteContainer palette) {
-
+ PaletteSeparator separator = new PaletteSeparator("separator");
+ palette.add(separator);
+
OrderedPaletteGroup controlGroup = new OrderedPaletteGroup(
Messages.BPELEditor_Bottom_Control_Group_39);
-
controlGroup.setOrder(200);
controlGroup.setCategoryId("bpel.bottom.control");
13 years, 9 months
JBoss Tools SVN: r29968 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 22:55:05 -0400 (Tue, 22 Mar 2011)
New Revision: 29968
Modified:
trunk/jsf/docs/userguide/en-US/Revision_History.xml
Log:
"Updated screenshots, general editing"
Modified: trunk/jsf/docs/userguide/en-US/Revision_History.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/Revision_History.xml 2011-03-23 02:51:59 UTC (rev 29967)
+++ trunk/jsf/docs/userguide/en-US/Revision_History.xml 2011-03-23 02:55:05 UTC (rev 29968)
@@ -2,31 +2,74 @@
<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
<appendix>
- <title>Revision History</title>
- <simpara>
- <revhistory>
- <revision>
- <revnumber>1</revnumber><date>Wed Jun 09 2010</date>
- <author>
- <firstname>JBoss Tools</firstname><surname>Documentation Team</surname><email>irooskov(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>General updates</member>
- </simplelist>
- </revdescription>
- </revision>
- <revision>
- <revnumber>0</revnumber><date>Fri Nov 20 2009</date>
- <author>
- <firstname>Isaac</firstname><surname>Rooskov</surname><email>irooskov(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>Initial creation of book by publican</member>
- </simplelist>
- </revdescription>
- </revision>
- </revhistory>
- </simpara>
+ <title>Revision History</title>
+ <simpara>
+ <revhistory>
+ <revision>
+ <revnumber>1-1</revnumber>
+
+ <date>Wed Mar 23 2011</date>
+
+ <author>
+ <firstname>JBoss Tools</firstname>
+
+ <surname>Documentation Team</surname>
+
+ <email>mcaspers(a)redhat.com</email>
+ </author>
+
+ <revdescription>
+ <simplelist>
+ <member>
+ General updates
+ </member>
+ </simplelist>
+ </revdescription>
+ </revision>
+
+ <revision>
+ <revnumber>1-0</revnumber>
+
+ <date>Wed Jun 09 2010</date>
+
+ <author>
+ <firstname>JBoss Tools</firstname>
+
+ <surname>Documentation Team</surname>
+
+ <email>irooskov(a)redhat.com</email>
+ </author>
+
+ <revdescription>
+ <simplelist>
+ <member>
+ General updates
+ </member>
+ </simplelist>
+ </revdescription>
+ </revision>
+
+ <revision>
+ <revnumber>0-0</revnumber>
+
+ <date>Fri Nov 20 2009</date>
+
+ <author>
+ <firstname>Isaac</firstname>
+
+ <surname>Rooskov</surname>
+
+ <email>irooskov(a)redhat.com</email>
+ </author>
+
+ <revdescription>
+ <simplelist>
+ <member>
+ Initial creation of book by publican
+ </member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ </revhistory>
+ </simpara>
</appendix>
13 years, 9 months
JBoss Tools SVN: r29967 - in trunk/jsf/docs/userguide/en-US: images/context_menu_preferences and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 22:51:59 -0400 (Tue, 22 Mar 2011)
New Revision: 29967
Modified:
trunk/jsf/docs/userguide/en-US/context_menu_preferences.xml
trunk/jsf/docs/userguide/en-US/images/context_menu_preferences/addCustomCapabilities.png
trunk/jsf/docs/userguide/en-US/images/context_menu_preferences/addCustomCapabilities2.png
Log:
"Updated screenshots, general editing"
Modified: trunk/jsf/docs/userguide/en-US/context_menu_preferences.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/context_menu_preferences.xml 2011-03-23 02:27:09 UTC (rev 29966)
+++ trunk/jsf/docs/userguide/en-US/context_menu_preferences.xml 2011-03-23 02:51:59 UTC (rev 29967)
@@ -1,86 +1,99 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<chapter id="context_menu_preferences">
- <?dbhtml filename="context_menu_preferences.html"?>
- <title>Context Menu Preferences and Options</title>
-
- <para>To adjust the project specific preferences, you should bring the context menu for your
- project and select the <emphasis>
- <property>Preferences</property>
- </emphasis> option. More details on what adjustments you can perform in the
- <property>Preferences screen</property>, see in the <xref linkend="preferences"/> chapter.</para>
-
- <para>Under the <emphasis>
- <property>JBoss Tools</property>
- </emphasis> option in the context menu there are also several actions provided by
- <property>JBDS</property>:</para>
-
- <itemizedlist>
- <listitem>
- <para>Add/Remove Struts Capabilities</para>
- </listitem>
- <listitem>
- <para>Add/Remove JSF Capabilities</para>
- </listitem>
- <listitem>
- <para>Add Custom Capabilities</para>
- </listitem>
- </itemizedlist>
-
- <section id="add_remove_struts_cap">
- <title>Add/Remove Struts Capabilities</title>
-
- <para>Please, for details refer to the Struts
- Tools Reference Guide.</para>
- </section>
-
- <section id="add_remove_jsf_cap">
- <title>Add/Remove JSF Capabilities</title>
-
- <para>Please, for details refer to the JSF
- Tools Reference Guide.</para>
- </section>
-
- <section id="add_custom_cap">
- <title>Add Custom Capabilities</title>
-
- <para>You can add custom capabilities to any JSF, Struts or Seam project made within
- <property>JBDS</property>, i.e. add a support of additional frameworks built on top
- of JSF, such as </para>
-
- <itemizedlist>
- <listitem>
- <para>ADF</para>
- </listitem>
- <listitem>
- <para>Facelets</para>
- </listitem>
- <listitem>
- <para>JBoss Rich Faces (versions 3.1, 3.2, 3.3)</para>
- </listitem>
- </itemizedlist>
-
- <para>When the option is selected, the <property>Add Custom Capabilities dialog</property>
- appears. You should check the needed modules and press <emphasis>
- <property>Finish</property>.</emphasis></para>
-
- <figure>
- <title>Adding Custom Capabilities</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/context_menu_preferences/addCustomCapabilities.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>The next page displays all the updates that have been made to the project.</para>
-
- <figure>
- <title>Updates Displayed</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/context_menu_preferences/addCustomCapabilities2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
-</chapter>
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter id="context_menu_preferences">
+<?dbhtml filename="context_menu_preferences.html"?>
+ <title>Context Menu Preferences and Options</title>
+ <para>
+ To adjust the project specific preferences, you should bring the context menu for your project and select the <guimenuitem>Properties</guimenuitem> option. More details on what adjustments you can perform in the <property>Preferences screen</property>, see in the <xref linkend="preferences"/> chapter.
+ </para>
+
+ <para>
+ Under the <guimenuitem>Configure</guimenuitem> option in the context menu there are also several actions provided by <property>JBDS</property>:
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ Add/Remove Struts Capabilities
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Add/Remove JSF Capabilities
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Add Custom Capabilities
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <section id="add_remove_struts_cap">
+ <title>Add/Remove Struts Capabilities</title>
+ <para>
+ Please, for details refer to the Struts Tools Reference Guide.
+ </para>
+ </section>
+
+ <section id="add_remove_jsf_cap">
+ <title>Add/Remove JSF Capabilities</title>
+ <para>
+ Please, for details refer to the JSF Tools Reference Guide.
+ </para>
+ </section>
+
+ <section id="add_custom_cap">
+ <title>Add Custom Capabilities</title>
+ <para>
+ You can add custom capabilities to any JSF, Struts or Seam project made within <property>JBDS</property>, i.e. add a support of additional frameworks built on top of JSF, such as
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ ADF
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Facelets
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ JBoss Rich Faces (versions 3.1, 3.2, 3.3)
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ When the option is selected, the <property>Add Custom Capabilities dialog</property> appears. You should check the needed modules and press the <guibutton>Finish</guibutton> button.
+ </para>
+
+ <figure>
+ <title>Adding Custom Capabilities</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/context_menu_preferences/addCustomCapabilities.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>
+ The next page displays all the updates that have been made to the project.
+ </para>
+
+ <figure>
+ <title>Updates Displayed</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/context_menu_preferences/addCustomCapabilities2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+</chapter>
Modified: trunk/jsf/docs/userguide/en-US/images/context_menu_preferences/addCustomCapabilities.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/context_menu_preferences/addCustomCapabilities2.png
===================================================================
(Binary files differ)
13 years, 9 months
JBoss Tools SVN: r29966 - trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 22:27:09 -0400 (Tue, 22 Mar 2011)
New Revision: 29966
Modified:
trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/Tasks.xml
trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/master.xml
Log:
General Documentation Updates
Modified: trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/Tasks.xml
===================================================================
--- trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/Tasks.xml 2011-03-23 02:06:39 UTC (rev 29965)
+++ trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/Tasks.xml 2011-03-23 02:27:09 UTC (rev 29966)
@@ -1,8 +1,8 @@
<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!--<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Cloud_Tools_Reference_Guide.ent">
%BOOK_ENTITIES;
-]>
+]>-->
<chapter id="chap-Cloud_Tools_Reference_Guide-Tasks">
<title>Tasks</title>
<xi:include href="connecting_to_a_deltacloud_server-task.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
Modified: trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/master.xml
===================================================================
--- trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/master.xml 2011-03-23 02:06:39 UTC (rev 29965)
+++ trunk/deltacloud/docs/Cloud_Tools_Reference_Guide/en-US/master.xml 2011-03-23 02:27:09 UTC (rev 29966)
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
"http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
-
-[<!ENTITY Preface SYSTEM "Preface.xml">
+[
+<!ENTITY Preface SYSTEM "Preface.xml">
+<!ENTITY Tasks SYSTEM "Tasks.xml">
<!ENTITY Revision_History SYSTEM "Revision_History.xml">
]>
@@ -45,6 +46,7 @@
<toc/>
<!-- &Preface; -->
+ &Tasks;
&Revision_History;
</book>
13 years, 9 months
JBoss Tools SVN: r29965 - in trunk/jsf/docs/userguide/en-US: images/preferences and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-22 22:06:39 -0400 (Tue, 22 Mar 2011)
New Revision: 29965
Modified:
trunk/jsf/docs/userguide/en-US/css_perspective.xml
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_1.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_10.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_11.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_13.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_14.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_15.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_16.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_17.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_18.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_19.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_2.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_20.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_21.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_22.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_23.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_24.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_25.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_26.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_27.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_28.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_29.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_31.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_32.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_33.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_34.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_35.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_36.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_37.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_38.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_40.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_44.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_6.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_7.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_8.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_8a.png
trunk/jsf/docs/userguide/en-US/images/preferences/preferences_9.png
trunk/jsf/docs/userguide/en-US/preferences.xml
trunk/jsf/docs/userguide/en-US/richfaces_support.xml
trunk/jsf/docs/userguide/en-US/web_projects.xml
Log:
"Updated screenshots, checked options documentation"
Modified: trunk/jsf/docs/userguide/en-US/css_perspective.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/css_perspective.xml 2011-03-23 00:04:53 UTC (rev 29964)
+++ trunk/jsf/docs/userguide/en-US/css_perspective.xml 2011-03-23 02:06:39 UTC (rev 29965)
@@ -16,7 +16,7 @@
</para>
<para>
- The CSS Editing Perspective combines a set of views which allow you to see the structure of your css files, edit them and see the results. To use this perspective you need to choose <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem><guimenuitem>CSS Editing</guimenuitem></menuchoice>. All of the views are fully synchronized with each other: the changes being made in one view are reflected in others at once.
+ The CSS Editing Perspective combines a set of views which allow you to see the structure of your css files, edit them and see the results. To use this perspective you need to select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem><guimenuitem>CSS Editing</guimenuitem></menuchoice>. All of the views are fully synchronized with each other: the changes being made in one view are reflected in the others.
</para>
<para>
@@ -32,7 +32,7 @@
<listitem>
<para>
- Internal style sheet (using the <emphasis><property><style></property></emphasis> tag in the head section of an HTML/XHTML/JSP page)
+ Internal style sheet (using the <code><style></code> tag in the head section of an <filename>HTML</filename>/<filename>XHTML</filename>/<filename>JSP</filename> page)
</para>
</listitem>
@@ -44,7 +44,7 @@
</itemizedlist>
<para>
- Using CSS Editing Perspective you can change your style sheet, inserted in any of the possible places described before in three ways:
+ Using the <guilabel>CSS Editing</guilabel> Perspective you can change your style sheet, inserted in any of the possible places described before in three ways:
</para>
<itemizedlist>
@@ -93,7 +93,7 @@
</figure>
<para>
- You can use the Source viewer with the Outline view to navigate around the file. To do this you should just left click the selector or property you want and it will be automatically highlighted in the source code:
+ You can use the <guilabel>Source</guilabel> viewer with the <guilabel>Outline</guilabel> view to navigate around the file. To do this you should left click the selector or property you want and it will be automatically highlighted in the source code:
</para>
<figure>
@@ -110,7 +110,7 @@
<?dbhtml filename="PropertiesView.html"?>
<title>Properties view</title>
<para>
- Properties view provides a full list of properties of a chosen selector. The properties are divided into logic groups for better navigation.
+ <guilabel>Properties</guilabel> view provides a full list of properties of a chosen selector. The properties are divided into logic groups for better navigation.
</para>
<figure>
@@ -123,7 +123,7 @@
</figure>
<para>
- With the help of Properties view you have also the possibility to edit the css file by adding/editing/removing properties in the selector. Left click the "<emphasis><property>Value</property></emphasis>" field near the property you want to edit and write the changes in the text field.
+ With the help of <guilabel>Properties</guilabel> view you have also the ability to edit the <filename>CSS</filename> file by adding, editing or removing properties in the selector. Left click the <guilabel>Value</guilabel> field near the property you want to edit and write the changes in the text field.
</para>
<figure>
@@ -178,7 +178,7 @@
<itemizedlist>
<listitem>
<para id="text_font" xreflabel="Text/Font">
- CSS Text/Font properties define the appearance of text, its font family, boldness, size and the style.
+ CSS <guilabel>Text/Font</guilabel> properties define the appearance of text, its font family, boldness, size and the style.
</para>
<figure>
@@ -191,7 +191,7 @@
</figure>
<para>
- For example, to define the "<emphasis><property>font-family</property></emphasis>" property you should click <emphasis><property>Choose font family</property></emphasis> button(
+ For example, to define the <code>font-family</code> property you should click <guibutton>Choose font family</guibutton> button(
<inlinemediaobject>
<imageobject>
<imagedata fileref="images/css_perspective/cssEditor7.png"/>
@@ -216,11 +216,11 @@
<listitem>
<para id="background" xreflabel="Background">
- You should use CSS background properties and <emphasis><property>Background</property></emphasis> tab to define the background effects of an element.
+ You should use CSS background properties and <guilabel>Background</guilabel> tab to define the background effects of an element.
</para>
<para id="boxes" xreflabel="Boxes">
- <emphasis><property>Boxes</property></emphasis> tab is used to define CSS border properties, the box model and dimensions. The CSS border properties allow you to specify the style and color of an element's border.
+ The <guilabel>Boxes</guilabel> tab is used to define CSS border properties, the box model and dimensions. The CSS border properties allow you to specify the style and color of an element's border.
</para>
<para>
@@ -258,7 +258,7 @@
<listitem>
<para id="property_sheet" xreflabel="Property Sheet">
- <emphasis><property>Property Sheet</property></emphasis> tab contains the categorized list of properties. Like in <xref linkend="PropertiesView"/> it's possible to edit the properties values.
+ The <guilabel>Property Sheet</guilabel> tab contains the categorized list of properties. Like in <xref linkend="PropertiesView"/>, it's possible to edit the properties values.
</para>
<figure>
@@ -273,7 +273,7 @@
<listitem>
<para id="edited_properties" xreflabel="Edited Properties">
- <emphasis><property>Edited Properties</property></emphasis> tab contains only "overflow-y" property which determines clipping of the element's content at the top and bottom edges.
+ <guilabel>Edited Properties</guilabel> tab contains only <guilabel>overflow-y</guilabel> property which determines clipping of the element's content at the top and bottom edges.
</para>
<figure>
@@ -296,7 +296,7 @@
<?dbhtml filename="CSSPropertiesView.html"?>
<title>CSS Preview</title>
<para>
- Using CSS Preview you can see how a selector affects any text.
+ Using <guilabel>CSS Preview</guilabel> you can see how a selector affects any text.
</para>
<figure>
@@ -309,7 +309,7 @@
</figure>
<para>
- The preview is also edited by double click.You can write instead of the default text any text you want,including html tags.
+ The preview can edited by double clicking on it. You can add any text you want, including HTML tags.
</para>
</section>
</chapter>
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_17.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_18.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_19.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_20.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_23.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_24.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_27.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_28.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_29.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_31.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_33.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_34.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_36.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_38.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_40.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_44.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_8a.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/preferences/preferences_9.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/preferences.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/preferences.xml 2011-03-23 00:04:53 UTC (rev 29964)
+++ trunk/jsf/docs/userguide/en-US/preferences.xml 2011-03-23 02:06:39 UTC (rev 29965)
@@ -49,11 +49,11 @@
</para>
</listitem>
- <listitem>
+ <!--listitem>
<para>
<xref linkend="JSFPage"/>
</para>
- </listitem>
+ </listitem-->
<listitem>
<para>
@@ -121,11 +121,11 @@
</para>
</listitem>
- <listitem>
+ <!--listitem>
<para>
<xref linkend="StrutsPages"/>
</para>
- </listitem>
+ </listitem-->
<listitem>
<para>
@@ -813,7 +813,7 @@
<?dbhtml filename="el_variables.html"?>
<title>El Variables</title>
<para>
- To specify necessary EL variables globally, i. e. for all projects and resources in your workspace, you should go to <menuchoice><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>Web</guimenuitem><guimenuitem>El Variables</guimenuitem></menuchoice>.
+ To specify necessary EL variables globally, i. e. for all projects and resources in your workspace, you should go to <menuchoice><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>Web</guimenuitem><guimenuitem>Expression Language</guimenuitem><guimenuitem>Variables</guimenuitem></menuchoice>.
</para>
<figure>
@@ -878,7 +878,7 @@
</figure>
</section>
- <section id="JSFPage">
+ <!--section id="JSFPage">
<?dbhtml filename="JSF Page.html"?>
<title>JSF Pages</title>
<para>
@@ -893,7 +893,7 @@
</imageobject>
</mediaobject>
</figure>
- </section>
+ </section-->
<section id="JSFPropject">
<?dbhtml filename="JSFPropject.html"?>
@@ -903,7 +903,7 @@
</para>
<para>
- On the <emphasis> <property>New Project</property> </emphasis> tab you can set default values for New JSF Project wizard:
+ On the <guilabel>New Project</guilabel> tab you can set default values for New JSF Project wizard:
</para>
<itemizedlist>
@@ -963,7 +963,7 @@
</figure>
</section>
- <section id="JSFValidator">
+ <!--section id="JSFValidator">
<?dbhtml filename="JSFValidator.html"?>
<title>JSF Validator</title>
<para>
@@ -978,7 +978,7 @@
</imageobject>
</mediaobject>
</figure>
- </section>
+ </section-->
<section id="JSFFlowDiagram">
<?dbhtml filename="JSFFlowDiagram.html"?>
@@ -1271,7 +1271,7 @@
</figure>
</section>
- <section id="StrutsPages">
+ <!--section id="StrutsPages">
<?dbhtml filename="StrutsPages.html"?>
<title>Struts Pages</title>
<para>
@@ -1290,7 +1290,7 @@
</imageobject>
</mediaobject>
</figure>
- </section>
+ </section-->
<section id="StrutsFlowDiagram">
<?dbhtml filename="StrutsFlowDiagram.html"?>
Modified: trunk/jsf/docs/userguide/en-US/richfaces_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/richfaces_support.xml 2011-03-23 00:04:53 UTC (rev 29964)
+++ trunk/jsf/docs/userguide/en-US/richfaces_support.xml 2011-03-23 02:06:39 UTC (rev 29965)
@@ -48,14 +48,13 @@
</itemizedlist>
<para>
- All you have to do is to <ulink url="http://www.jboss.org/jbossrichfaces/downloads/">download</ulink> and install RichFaces libraries into your project, i. e. just put <filename>richfaces-*.jar</filename> files into the <filename>/lib</filename> project folder. Also how to get started with <property>RichFaces</property> you can find in <ulink url="http://jboss.org/file-access/default/members/jbossrichfaces/freezone/docs...">RichFaces documentation</ulink>.
+ All you have to do is to <ulink url="http://www.jboss.org/jbossrichfaces/downloads/">download</ulink> and install RichFaces libraries into your project, i. e. just put <filename>richfaces-*.jar</filename> files into the <filename>/lib</filename> project folder. For more information on how to get started with <property>RichFaces</property>, please read the <ulink url="http://jboss.org/file-access/default/members/jbossrichfaces/freezone/docs...">RichFaces documentation</ulink>.
</para>
<section id="ContentAssistForRF">
<title>Code Assist for RichFaces</title>
<para>
- <property>JBDS/JBoss Tools</property> indeed provide code completion for <ulink
- url="http://www.jboss.org/jbossrichfaces">RichFaces</ulink> framework components.
+ <property>JBoss Developer Studio</property> provides code completion for <ulink url="http://www.jboss.org/jbossrichfaces">RichFaces</ulink> framework components.
</para>
<note>
@@ -79,11 +78,11 @@
<section id="RF_openOn">
<title>OpenOn for RichFaces</title>
<para>
- Working with <filename>JSP</filename> and <filename>XHTML</filename> pages in <property>VPE</property> you can also take the advantage of <emphasis> <property>OpenOn</property></emphasis> feature for the <property>RichFaces</property> components.
+ While working with <filename>JSP</filename> and <filename>XHTML</filename> pages in the <property>Visual Page Editor</property> you can also take the advantage of the <emphasis> <property>OpenOn</property></emphasis> feature with <property>RichFaces</property> components.
</para>
<para>
- For example, <property>Richfaces</property> tags <code><rich:insert></code> and <code> <a4j:include></code> has <property>OpenOn</property> support.
+ For example, the <property>Richfaces</property> tags <code><rich:insert></code> and <code> <a4j:include></code> have <property>OpenOn</property> support.
</para>
<figure>
@@ -140,7 +139,7 @@
<itemizedlist>
<listitem>
<para>
- expand <emphasis> <property>JBoss RichFaces</property> </emphasis> group on the palette
+ expand <guilabel>JBoss RichFaces</guilabel> group on the palette
</para>
</listitem>
@@ -152,7 +151,7 @@
<listitem>
<para>
- put the needed attributes in the <emphasis> <property>Insert Tag</property> </emphasis> dialog and click <emphasis> <property>Finish</property> </emphasis> button
+ put the needed attributes in the <guilabel>Insert Tag</guilabel> dialog and click <guibutton>Finish</guibutton> button
</para>
</listitem>
</itemizedlist>
@@ -169,7 +168,7 @@
</figure>
<para>
- The <property>RichFaces</property> component will be inserted on your page and displayed in source and visual modes:
+ The <property>RichFaces</property> component will be inserted on your page and displayed in the <guilabel>Source</guilabel> and <guilabel>Visual</guilabel> modes:
</para>
<figure>
@@ -186,13 +185,13 @@
<section>
<title>Relevant Resources Links</title>
<para>
- To get more in-depth information on <property>RichFaces</property> framework refer to <ulink url="http://jboss.org/file-access/default/members/jbossrichfaces/freezone/docs...">RichFaces Developer Guide</ulink>.
+ To get more in-depth information on <property>RichFaces</property> framework refer to the <ulink url="http://jboss.org/file-access/default/members/jbossrichfaces/freezone/docs...">RichFaces Developer Guide</ulink>.
</para>
<para>
- It may be also helpful for you to look through the <ulink
+ It may be also helpful for you to view the <ulink
url="http://docs.jboss.org/tools/movies/"
- >movies</ulink> where there are ones that demonstrate the usage of RichFaces components.
+ >movies</ulink> that demonstrate the usage of RichFaces components.
</para>
</section>
</chapter>
Modified: trunk/jsf/docs/userguide/en-US/web_projects.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/web_projects.xml 2011-03-23 00:04:53 UTC (rev 29964)
+++ trunk/jsf/docs/userguide/en-US/web_projects.xml 2011-03-23 02:06:39 UTC (rev 29965)
@@ -7,7 +7,7 @@
</para>
<para>
- If the Web Projects view's tab is not visible next to the Package Explorer tab, select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>JBoss Tools Web</guimenuitem><guimenuitem>Web Projects</guimenuitem></menuchoice> from the menu bar.
+ If the <guilabel>Web Projects</guilabel> view's tab is not visible next to the Package Explorer tab, select <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>JBoss Tools Web</guimenuitem><guimenuitem>Web Projects</guimenuitem></menuchoice> from the menu bar.
</para>
<para>
@@ -97,7 +97,7 @@
</para>
<para>
- The screen shot below shows a JSF project and a Struts project in Web Projects view.
+ The screen shot below shows a JSF project and a Struts project in <guilabel>Web Projects</guilabel> view.
</para>
<figure>
@@ -113,7 +113,7 @@
<section id="DragAndDrop">
<title>Drag and Drop</title>
<para>
- Web Projects View has a drag and drop option that can be used for property, managed bean attributes, navigation rules, tag library file declaration and JSP Pages.
+ The <guilabel>Web Projects</guilabel> view has a drag and drop option that can be used for property, managed bean attributes, navigation rules, tag library file declaration and JSP Pages.
</para>
<section id="ForAProperty">
@@ -169,7 +169,7 @@
<section id="ForManagedBeanAttributes">
<title>For Managed Bean Attributes</title>
<para>
- Select a "managed bean" attribute and then drag and drop it onto the JSP page. We are going to place it inside the <code>value</code> attribute of the inputText tag.
+ Select a "managed bean" attribute and then drag and drop it onto the JSP page. We are going to place it inside the <code>value</code> attribute of the <code>inputText</code> tag.
</para>
<figure>
@@ -211,7 +211,7 @@
</figure>
<para>
- Drag and drop it inside the commandButton tag:
+ Drag and drop it inside the <code>commandButton</code> tag:
</para>
<figure>
@@ -315,7 +315,7 @@
<section id="ExpandingTagLibraryFiles">
<title>Expanding Tag Library Files</title>
<para>
- You can easily expand any TLD file in the project. Browse to the Tag Libraries folder. Right-click a TLD file and select <guimenuitem>Expand</guimenuitem>:
+ You can easily expand any <filename>TLD</filename> file in the project. Browse to the Tag Libraries folder. Right-click a <filename>TLD</filename> file and select <guimenuitem>Expand</guimenuitem>:
</para>
<figure>
@@ -328,7 +328,7 @@
</figure>
<para>
- The TLD file will now be expanded:
+ The <filename>TLD</filename> file will now be expanded:
</para>
<figure>
13 years, 9 months
JBoss Tools SVN: r29964 - in trunk/examples/tests/org.jboss.tools.project.examples.test: .settings and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-03-22 20:04:53 -0400 (Tue, 22 Mar 2011)
New Revision: 29964
Added:
trunk/examples/tests/org.jboss.tools.project.examples.test/plugin.properties
trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesAllTests.java
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/SiteTest.java
Removed:
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesTestSuite.java
Modified:
trunk/examples/tests/org.jboss.tools.project.examples.test/.classpath
trunk/examples/tests/org.jboss.tools.project.examples.test/.settings/org.eclipse.jdt.core.prefs
trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF
trunk/examples/tests/org.jboss.tools.project.examples.test/build.properties
trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml
Log:
JBIDE-8618 Add JUnit tests for Project Examples
Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/.classpath
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/.classpath 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/.classpath 2011-03-23 00:04:53 UTC (rev 29964)
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/.settings/org.eclipse.jdt.core.prefs 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/.settings/org.eclipse.jdt.core.prefs 2011-03-23 00:04:53 UTC (rev 29964)
@@ -1,8 +1,8 @@
-#Wed Oct 21 17:40:14 PDT 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+#Thu Feb 10 15:37:17 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF 2011-03-23 00:04:53 UTC (rev 29964)
@@ -1,12 +1,31 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Project Examples Test Suite
+Bundle-Name: %BundleName
Bundle-SymbolicName: org.jboss.tools.project.examples.test;singleton:=true
-Bundle-Version: 1.1.0.qualifier
+Bundle-Version: 1.2.0.qualifier
Require-Bundle: org.eclipse.core.runtime,
- org.junit;bundle-version="3.8.2",
- org.jboss.tools.tests;bundle-version="2.0.0",
- org.jboss.tools.project.examples;bundle-version="1.1.0"
+ org.jboss.tools.tests,
+ org.jboss.tools.project.examples,
+ org.jboss.tools.community.project.examples,
+ org.jboss.tools.project.examples.cheatsheet,
+ org.jboss.tools.seam.core,
+ org.eclipse.datatools.connectivity,
+ org.eclipse.datatools.connectivity.db.generic,
+ org.jboss.tools.common,
+ org.jboss.tools.tests,
+ org.jboss.ide.eclipse.as.core,
+ org.eclipse.wst.server.core,
+ org.eclipse.datatools.enablement.hsqldb,
+ org.eclipse.datatools.enablement.hsqldb.dbdefinition,
+ org.eclipse.datatools.enablement.hsqldb.ui,
+ org.eclipse.jst.jee,
+ org.eclipse.jst.jee.ejb,
+ org.eclipse.jst.jee.ui,
+ org.eclipse.jst.jee.web,
+ org.eclipse.ui,
+ org.eclipse.core.resources,
+ org.junit4;bundle-version="4.8.1"
Bundle-ActivationPolicy: lazy
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: org.jboss.tools.project.examples.test
+Bundle-Vendor: %BundleVendor
Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/build.properties
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/build.properties 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/build.properties 2011-03-23 00:04:53 UTC (rev 29964)
@@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ plugin.properties
Added: trunk/examples/tests/org.jboss.tools.project.examples.test/plugin.properties
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/plugin.properties (rev 0)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/plugin.properties 2011-03-23 00:04:53 UTC (rev 29964)
@@ -0,0 +1,9 @@
+#Properties file for org.jboss.tools.project.examples
+BundleVendor = JBoss by Red Hat
+BundleName = Project Examples
+JBoss_Tools_category = JBoss Tools
+Project_Examples_wizard = Project Examples
+Project_Examples_command =Project Examples...
+ProjectExamples=Project Examples file
+Project_Examples = Project Examples
+JBoss_Tools_32_Community_Examples = JBoss Tools 3.2 Community Examples
\ No newline at end of file
Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/pom.xml 2011-03-23 00:04:53 UTC (rev 29964)
@@ -8,11 +8,25 @@
</parent>
<groupId>org.jboss.tools.examples.tests</groupId>
<artifactId>org.jboss.tools.project.examples.test</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<properties>
- <emma.filter>org.jboss.tools.project.examples*</emma.filter>
- <emma.instrument.bundles>org.jboss.tools.project.examples</emma.instrument.bundles>
+ <systemProperties>-Djbosstools.test.jboss.home.4.2=${requirement.build.root}/jboss-4.2.3.GA -Djbosstools.test.seam.2.0.1.GA.home=${requirement.build.root}/jboss-seam-2.0.2.SP1</systemProperties>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-test-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <configuration>
+ <useUIThread>false</useUIThread>
+ <useUIHarness>true</useUIHarness>
+ <testSuite>org.jboss.tools.project.examples.test</testSuite>
+ <testClass>org.jboss.tools.project.examples.test.ProjectExamplesAllTests</testClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
\ No newline at end of file
Added: trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties (rev 0)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/requirements.properties 2011-03-23 00:04:53 UTC (rev 29964)
@@ -0,0 +1 @@
+requirements=jbossas,seam-2.0.2.SP1
\ No newline at end of file
Added: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesAllTests.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesAllTests.java (rev 0)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesAllTests.java 2011-03-23 00:04:53 UTC (rev 29964)
@@ -0,0 +1,25 @@
+/*************************************************************************************
+ * Copyright (c) 2011 JBoss by Red Hat and others.
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.project.examples.test;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+
+(a)Suite.SuiteClasses({
+ SiteTest.class,
+ ProjectTest.class,
+})
+
+(a)RunWith(Suite.class)
+public class ProjectExamplesAllTests {
+
+}
\ No newline at end of file
Deleted: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java 2011-03-23 00:04:53 UTC (rev 29964)
@@ -1,10 +0,0 @@
-package org.jboss.tools.project.examples.test;
-
-import org.eclipse.core.runtime.Platform;
-import org.jboss.tools.tests.AbstractPluginsLoadTest;
-
-public class ProjectExamplesPluginsLoadTest extends AbstractPluginsLoadTest {
- public void testOrgJbossToolsProjectExamplesAreResolvedAndActivated() {
- assertPluginResolved(Platform.getBundle("org.jboss.tools.project.examples"));
- }
-}
Deleted: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesTestSuite.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesTestSuite.java 2011-03-23 00:04:18 UTC (rev 29963)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesTestSuite.java 2011-03-23 00:04:53 UTC (rev 29964)
@@ -1,12 +0,0 @@
-package org.jboss.tools.project.examples.test;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class ProjectExamplesTestSuite {
- public static Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTestSuite(ProjectExamplesPluginsLoadTest.class);
- return suite;
- }
-}
Added: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java (rev 0)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java 2011-03-23 00:04:53 UTC (rev 29964)
@@ -0,0 +1,303 @@
+/*************************************************************************************
+ * Copyright (c) 2011 JBoss by Red Hat and others.
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.project.examples.test;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Properties;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IWorkspace;
+import org.eclipse.core.resources.IWorkspaceRunnable;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.datatools.connectivity.ConnectionProfileConstants;
+import org.eclipse.datatools.connectivity.ConnectionProfileException;
+import org.eclipse.datatools.connectivity.ProfileManager;
+import org.eclipse.datatools.connectivity.db.generic.IDBConnectionProfileConstants;
+import org.eclipse.datatools.connectivity.db.generic.IDBDriverDefinitionConstants;
+import org.eclipse.datatools.connectivity.drivers.DriverInstance;
+import org.eclipse.datatools.connectivity.drivers.DriverManager;
+import org.eclipse.datatools.connectivity.drivers.IDriverMgmtConstants;
+import org.eclipse.datatools.connectivity.drivers.IPropertySet;
+import org.eclipse.datatools.connectivity.drivers.PropertySetImpl;
+import org.eclipse.datatools.connectivity.drivers.models.TemplateDescriptor;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.IPerspectiveDescriptor;
+import org.eclipse.ui.IPerspectiveRegistry;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.wst.server.core.IRuntime;
+import org.eclipse.wst.server.core.IRuntimeType;
+import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerType;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.eclipse.wst.server.core.ServerCore;
+import org.eclipse.wst.server.core.ServerUtil;
+import org.eclipse.wst.server.core.internal.RuntimeWorkingCopy;
+import org.eclipse.wst.server.core.internal.ServerWorkingCopy;
+import org.jboss.tools.seam.core.project.facet.SeamRuntime;
+import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
+import org.jboss.tools.seam.core.project.facet.SeamVersion;
+
+/**
+ * @author snjeza
+ */
+public class ProjectExamplesUtil {
+
+ public static final int IDLE_TIME = 60000;
+
+ public static final String CONNECTION_PROFILE_NAME = "DefaultDS";
+
+ public static final String SEAM_RUNTIME_NAME = "Seam 2.0";
+
+ public static final String JBOSS_AS_RUNTIME_NAME = "JBoss AS 4.2 Runtime";
+
+ public static final String JBOSS_AS_SERVER_NAME = "JBoss AS 4.2.3 Server";
+
+ public static final String JBOSS_AS_HOST = "localhost"; //$NON-NLS-1$
+
+ public static final String JBOSS_AS_DEFAULT_CONFIGURATION_NAME = "default"; //$NON-NLS-1$
+
+ public static final String HSQL_DRIVER_DEFINITION_ID
+ = "DriverDefn.Hypersonic DB"; //$NON-NLS-1$
+
+ public static final String HSQL_DRIVER_NAME = "Hypersonic DB"; //$NON-NLS-1$
+
+ public static final String HSQL_DRIVER_TEMPLATE_ID
+ = "org.eclipse.datatools.enablement.hsqldb.1_8.driver"; //$NON-NLS-1$
+
+ public static final String DTP_DB_URL_PROPERTY_ID
+ = "org.eclipse.datatools.connectivity.db.URL"; //$NON-NLS-1$
+
+ public static final String HSQL_PROFILE_ID = "org.eclipse.datatools.enablement.hsqldb.connectionProfile";
+
+ public static final String JBOSS_AS_HOME = System.getProperty("jbosstools.test.jboss.home.4.2", "E:\\JBossRuntimes\\jboss-4.2.3.GA");
+
+ public static final String JBOSS_AS_RUNTIME_ID = "org.jboss.ide.eclipse.as.runtime.42";
+
+ public static final String JBOSS_AS_SERVER_ID = "org.jboss.ide.eclipse.as.42";
+
+ public static final String SEAM_HOME_PROPERTY = System.getProperty("jbosstools.test.seam.2.0.1.GA.home", "E:\\jboss-seam-2.0.2.SP1");
+
+ public static final String HSQLDB_DRIVER_JAR_NAME = "hsqldb.jar"; //$NON-NLS-1$
+
+ public static final String HSQLDB_DRIVER_LOCATION = "/common/lib/" + HSQLDB_DRIVER_JAR_NAME; //$NON-NLS-1$
+
+ public static final String PROJECT_NAME_WAR = "MavenizedSeamProjectWar";
+
+ public static final String TEST_PROJECT_NAME_WAR = "MavenizedSeamProjectWar-test";
+
+ public static final String PARENT_PROJECT_NAME_WAR = "MavenizedSeamProjectWar-parent";
+
+
+ public static final String PROJECT_NAME = "MavenizedSeamProject";
+
+ public static final String EAR_PROJECT_NAME = "MavenizedSeamProject-ear";
+
+ public static final String EJB_PROJECT_NAME = "MavenizedSeamProject-ejb";
+
+ public static final String TEST_PROJECT_NAME = "MavenizedSeamProject-test";
+
+ public static final String PARENT_PROJECT_NAME = "MavenizedSeamProject-parent";
+
+ public static final String DEPLOY_TYPE_EAR = "EAR";
+
+ public static final String DEPLOY_TYPE_WAR = "WAR";
+
+ public static void initRuntimes() throws Exception {
+ switchPerspective("org.jboss.tools.seam.ui.SeamPerspective");
+
+ String asLocation = JBOSS_AS_HOME;
+
+ String runtimeType = JBOSS_AS_RUNTIME_ID;
+ String serverType = JBOSS_AS_SERVER_ID;
+
+ createJBossServer(new File(asLocation), serverType, runtimeType, JBOSS_AS_SERVER_NAME, JBOSS_AS_RUNTIME_NAME);
+
+ String seamPath = SEAM_HOME_PROPERTY;
+ createSeamRuntime(SEAM_RUNTIME_NAME, seamPath, SeamVersion.SEAM_2_0);
+
+ createDriver(asLocation, HSQLDB_DRIVER_LOCATION);
+ }
+
+ public static void removeProjects() throws CoreException {
+ final IWorkspace workspace = ResourcesPlugin.getWorkspace();
+ workspace.run(new IWorkspaceRunnable() {
+ public void run(IProgressMonitor monitor) throws CoreException {
+ IProject[] projects = workspace.getRoot().getProjects();
+ for (int i = 0; i < projects.length; i++) {
+ projects[i].delete(true, true, monitor);
+ }
+ }
+ }, new NullProgressMonitor());
+ }
+ protected static void switchPerspective(final String pid) {
+ Display.getDefault().syncExec(new Runnable() {
+
+ public void run() {
+ IWorkbench workbench = PlatformUI.getWorkbench();
+ IPerspectiveRegistry perspectiveRegistry = workbench
+ .getPerspectiveRegistry();
+ IPerspectiveDescriptor perspective = perspectiveRegistry
+ .findPerspectiveWithId(pid);
+ workbench.getActiveWorkbenchWindow().getActivePage()
+ .setPerspective(perspective);
+ }
+ });
+ }
+
+ protected static void createJBossServer(File asLocation, String serverType, String runtimeType, String name, String runtimeName) throws CoreException {
+ if (!asLocation.isDirectory()) {
+ return;
+ }
+ IPath jbossAsLocationPath = new Path(asLocation.getAbsolutePath());
+
+ IServer[] servers = ServerCore.getServers();
+ for (int i = 0; i < servers.length; i++) {
+ IRuntime runtime = servers[i].getRuntime();
+ if(runtime != null && runtime.getLocation().equals(jbossAsLocationPath)) {
+ return;
+ }
+ }
+
+ IRuntime runtime = null;
+ IRuntime[] runtimes = ServerCore.getRuntimes();
+ for (int i = 0; i < runtimes.length; i++) {
+ if (runtimes[0].getLocation().equals(jbossAsLocationPath)) {
+ runtime = runtimes[0].createWorkingCopy();
+ break;
+ }
+ }
+
+ IProgressMonitor progressMonitor = new NullProgressMonitor();
+ if (runtime == null) {
+ runtime = createRuntime(runtimeName, asLocation.getAbsolutePath(), progressMonitor, runtimeType);
+ }
+ if (runtime != null) {
+ createServer( runtime, serverType, name, progressMonitor);
+ }
+ }
+
+ protected static IRuntime createRuntime(String runtimeName, String jbossASLocation, IProgressMonitor progressMonitor, String runtimeType) throws CoreException {
+ IRuntimeWorkingCopy runtime = null;
+ String type = null;
+ String version = null;
+ String runtimeId = null;
+ IPath jbossAsLocationPath = new Path(jbossASLocation);
+ IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(type, version, runtimeType);
+ if (runtimeTypes.length > 0) {
+ runtime = runtimeTypes[0].createRuntime(runtimeId, progressMonitor);
+ runtime.setLocation(jbossAsLocationPath);
+ if(runtimeName!=null) {
+ runtime.setName(runtimeName);
+ }
+ ((RuntimeWorkingCopy) runtime).setAttribute("org.jboss.ide.eclipse.as.core.runtime.configurationName", JBOSS_AS_DEFAULT_CONFIGURATION_NAME); //$NON-NLS-1$
+
+ return runtime.save(false, progressMonitor);
+ }
+ return runtime;
+ }
+
+ protected static void createDriver(String jbossASLocation, String driverLocation) throws ConnectionProfileException, IOException {
+ if(ProfileManager.getInstance().getProfileByName(CONNECTION_PROFILE_NAME) != null) {
+ return;
+ }
+ String driverPath = new File(jbossASLocation + driverLocation).getCanonicalPath(); //$NON-NLS-1$
+
+ DriverInstance driver = DriverManager.getInstance().getDriverInstanceByName(HSQL_DRIVER_NAME);
+ if (driver == null) {
+ TemplateDescriptor descr = TemplateDescriptor.getDriverTemplateDescriptor(HSQL_DRIVER_TEMPLATE_ID);
+ IPropertySet instance = new PropertySetImpl(HSQL_DRIVER_NAME, HSQL_DRIVER_DEFINITION_ID);
+ instance.setName(HSQL_DRIVER_NAME);
+ instance.setID(HSQL_DRIVER_DEFINITION_ID);
+ Properties props = new Properties();
+
+ IConfigurationElement[] template = descr.getProperties();
+ for (int i = 0; i < template.length; i++) {
+ IConfigurationElement prop = template[i];
+ String id = prop.getAttribute("id"); //$NON-NLS-1$
+
+ String value = prop.getAttribute("value"); //$NON-NLS-1$
+ props.setProperty(id, value == null ? "" : value); //$NON-NLS-1$
+ }
+ props.setProperty(DTP_DB_URL_PROPERTY_ID, "jdbc:hsqldb:."); //$NON-NLS-1$
+ props.setProperty(IDriverMgmtConstants.PROP_DEFN_TYPE, descr.getId());
+ props.setProperty(IDriverMgmtConstants.PROP_DEFN_JARLIST, driverPath);
+
+ instance.setBaseProperties(props);
+ DriverManager.getInstance().removeDriverInstance(instance.getID());
+ System.gc();
+ DriverManager.getInstance().addDriverInstance(instance);
+ }
+
+ driver = DriverManager.getInstance().getDriverInstanceByName(HSQL_DRIVER_NAME);
+ if (driver != null && ProfileManager.getInstance().getProfileByName(CONNECTION_PROFILE_NAME) == null) { //$NON-NLS-1$
+ // create profile
+ Properties props = new Properties();
+ props.setProperty(ConnectionProfileConstants.PROP_DRIVER_DEFINITION_ID, HSQL_DRIVER_DEFINITION_ID);
+ props.setProperty(IDBConnectionProfileConstants.CONNECTION_PROPERTIES_PROP_ID, ""); //$NON-NLS-1$
+ props.setProperty(IDBDriverDefinitionConstants.DRIVER_CLASS_PROP_ID, driver.getProperty(IDBDriverDefinitionConstants.DRIVER_CLASS_PROP_ID));
+ props.setProperty(IDBDriverDefinitionConstants.DATABASE_VENDOR_PROP_ID, driver.getProperty(IDBDriverDefinitionConstants.DATABASE_VENDOR_PROP_ID));
+ props.setProperty(IDBDriverDefinitionConstants.DATABASE_VERSION_PROP_ID, driver.getProperty(IDBDriverDefinitionConstants.DATABASE_VERSION_PROP_ID));
+ props.setProperty(IDBDriverDefinitionConstants.DATABASE_NAME_PROP_ID, "Default"); //$NON-NLS-1$
+ props.setProperty(IDBDriverDefinitionConstants.PASSWORD_PROP_ID, ""); //$NON-NLS-1$
+ props.setProperty(IDBConnectionProfileConstants.SAVE_PASSWORD_PROP_ID, "false"); //$NON-NLS-1$
+ props.setProperty(IDBDriverDefinitionConstants.USERNAME_PROP_ID, driver.getProperty(IDBDriverDefinitionConstants.USERNAME_PROP_ID));
+ props.setProperty(IDBDriverDefinitionConstants.URL_PROP_ID, driver.getProperty(IDBDriverDefinitionConstants.URL_PROP_ID));
+
+ ProfileManager.getInstance().createProfile(CONNECTION_PROFILE_NAME, "The JBoss AS Hypersonic embedded database", HSQL_PROFILE_ID, props, "", false); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+
+ }
+
+ protected static IServerWorkingCopy createServer(IRuntime runtime, String runtimeType, String name, IProgressMonitor progressMonitor) throws CoreException {
+ IServerType serverType = ServerCore.findServerType(runtimeType);
+ IServerWorkingCopy server = serverType.createServer(null, null, runtime, progressMonitor);
+
+ server.setHost(JBOSS_AS_HOST);
+ server.setName(name);
+
+ // JBossServer.DEPLOY_DIRECTORY
+ String deployVal = runtime.getLocation().append("server").append(JBOSS_AS_DEFAULT_CONFIGURATION_NAME).append("deploy").toOSString(); //$NON-NLS-1$ //$NON-NLS-2$
+ ((ServerWorkingCopy) server).setAttribute("org.jboss.ide.eclipse.as.core.server.deployDirectory", deployVal); //$NON-NLS-1$
+
+ // IDeployableServer.TEMP_DEPLOY_DIRECTORY
+ String deployTmpFolderVal = runtime.getLocation().append("server").append(JBOSS_AS_DEFAULT_CONFIGURATION_NAME).append("tmp").append("jbosstoolsTemp").toOSString(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ ((ServerWorkingCopy) server).setAttribute("org.jboss.ide.eclipse.as.core.server.tempDeployDirectory", deployTmpFolderVal); //$NON-NLS-1$
+
+ server.save(false, progressMonitor);
+ return server;
+ }
+
+ protected static void createSeamRuntime(String name, String seamPath, SeamVersion seamVersion) {
+ SeamRuntime seamRuntime = SeamRuntimeManager.getInstance().findRuntimeByName(name);
+ if (seamRuntime != null) {
+ return;
+ }
+ File seamFolder = new File(seamPath);
+ if(seamFolder.exists() && seamFolder.isDirectory()) {
+ SeamRuntime rt = new SeamRuntime();
+ rt.setHomeDir(seamPath);
+ rt.setName(name);
+ rt.setDefault(true);
+ rt.setVersion(seamVersion);
+ SeamRuntimeManager.getInstance().addRuntime(rt);
+ }
+ }
+
+}
Added: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java (rev 0)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java 2011-03-23 00:04:53 UTC (rev 29964)
@@ -0,0 +1,142 @@
+/*************************************************************************************
+ * Copyright (c) 2011 JBoss by Red Hat and others.
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.project.examples.test;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.resources.WorkspaceJob;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.jboss.tools.project.examples.Messages;
+import org.jboss.tools.project.examples.ProjectExamplesActivator;
+import org.jboss.tools.project.examples.model.Category;
+import org.jboss.tools.project.examples.model.Project;
+import org.jboss.tools.project.examples.model.ProjectUtil;
+import org.jboss.tools.project.examples.wizard.NewProjectExamplesWizard;
+import org.jboss.tools.test.util.JobUtils;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ *
+ * @author snjeza
+ *
+ */
+public class ProjectTest {
+
+ @BeforeClass
+ public static void initRuntimes() throws Exception {
+ ProjectExamplesUtil.initRuntimes();
+ }
+
+ @AfterClass
+ public static void removeProjects() throws Exception {
+ ProjectExamplesUtil.removeProjects();
+ }
+
+ @Test
+ public void importNumberguess() throws Exception {
+ WorkspaceJob workspaceJob = new WorkspaceJob(Messages.NewProjectExamplesWizard_Downloading) {
+
+ public IStatus runInWorkspace(IProgressMonitor monitor)
+ throws CoreException {
+ try {
+ importProject(monitor);
+ } catch (Exception e) {
+ // ignore
+ }
+ return Status.OK_STATUS;
+ }
+
+ };
+ workspaceJob.setUser(true);
+ workspaceJob.schedule();
+ JobUtils.waitForIdle(ProjectExamplesUtil.IDLE_TIME);
+ }
+
+ private void importProject(IProgressMonitor monitor) throws MalformedURLException, Exception {
+ List<Category> projects = ProjectUtil.getProjects(monitor);
+ Category seamCategory = null;
+ for (Category category: projects) {
+ if ("Seam".equals(category.getName())) {
+ seamCategory = category;
+ break;
+ }
+ }
+ assertNotNull(seamCategory);
+ Project projectExample = null;
+ for (Project project: seamCategory.getProjects()) {
+ if ("numberguess".equals(project.getName())) {
+ projectExample = project;
+ break;
+ }
+ }
+ assertNotNull(projectExample);
+ String urlString = projectExample.getUrl();
+ String name = projectExample.getName();
+ URL url = null;
+ url = new URL(urlString);
+ File file = ProjectUtil.getProjectExamplesFile(
+ url, name, ".zip", monitor); //$NON-NLS-1$
+ assertNotNull(file);
+ NewProjectExamplesWizard.importProject(projectExample, file, monitor);
+ ProjectExamplesActivator.fix(projectExample, monitor);
+ }
+
+ @Test
+ public void testImportedProjects() {
+ projectExists("numberguess");
+ projectExists("numberguess-ejb");
+ projectExists("numberguess-ear");
+ }
+
+ private void projectExists(String projectName) {
+ IProject project = ResourcesPlugin.getWorkspace().getRoot()
+ .getProject(projectName);
+ assertTrue(project != null && project.isOpen());
+ }
+
+ @Test
+ public void testErrors() throws Exception {
+ checkErrors("numberguess");
+ checkErrors("numberguess-ejb");
+ checkErrors("numberguess-ear");
+ }
+
+ private void checkErrors(String projectName) throws CoreException {
+ List<IMarker> markers = new ArrayList<IMarker>();
+ IProject project = ResourcesPlugin.getWorkspace().getRoot()
+ .getProject(projectName);
+ IMarker[] projectMarkers = project.findMarkers(IMarker.PROBLEM, true,
+ IResource.DEPTH_INFINITE);
+ for (int i = 0; i < projectMarkers.length; i++) {
+ if (projectMarkers[i].getAttribute(IMarker.SEVERITY,
+ IMarker.SEVERITY_ERROR) == IMarker.SEVERITY_ERROR) {
+ markers.add(projectMarkers[i]);
+ }
+ }
+ assertTrue("The '" + projectName + "' contains errors.", markers.size() == 0);
+ }
+}
Added: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/SiteTest.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/SiteTest.java (rev 0)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/SiteTest.java 2011-03-23 00:04:53 UTC (rev 29964)
@@ -0,0 +1,46 @@
+/*************************************************************************************
+ * Copyright (c) 2011 JBoss by Red Hat and others.
+ * All rights reserved. This program and the accompanying materials
+ * are 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:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.project.examples.test;
+
+import static org.junit.Assert.assertTrue;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.jboss.tools.project.examples.model.ProjectExampleSite;
+import org.jboss.tools.project.examples.model.ProjectUtil;
+import org.junit.Test;
+
+/**
+ *
+ * @author snjeza
+ *
+ */
+public class SiteTest {
+
+ @Test
+ public void sitesPresent() {
+ Set<ProjectExampleSite> sites = new HashSet<ProjectExampleSite>();
+ sites.addAll(ProjectUtil.getPluginSites());
+ sites.addAll(ProjectUtil.getUserSites());
+ assertTrue(sites.size() > 0);
+ }
+
+ @Test
+ public void testInvalidSites() {
+ ProjectUtil.getProjects(new NullProgressMonitor());
+ HashSet<ProjectExampleSite> invalidSites = ProjectUtil.getInvalidSites();
+ assertTrue(invalidSites.size() <= 0);
+ }
+
+
+}
13 years, 9 months
JBoss Tools SVN: r29963 - trunk/examples/features/org.jboss.tools.project.examples.test.feature.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2011-03-22 20:04:18 -0400 (Tue, 22 Mar 2011)
New Revision: 29963
Added:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties
trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html
Modified:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml
trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml
Log:
JBIDE-8618 Add JUnit tests for Project Examples
Modified: trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties 2011-03-22 23:57:09 UTC (rev 29962)
+++ trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties 2011-03-23 00:04:18 UTC (rev 29963)
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties,\
+ license.html
Added: trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties (rev 0)
+++ trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties 2011-03-23 00:04:18 UTC (rev 29963)
@@ -0,0 +1,54 @@
+###############################################################################
+# Copyright (c) 2008-2010 JBoss by Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are 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:
+# JBoss by Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Project Examples Test Suite
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+# "description" property - description of the feature
+description=Project Examples Test Suite
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=Copyright (c) 2008-2011 JBoss by Red Hat and others.\nAll rights reserved. This program and the accompanying materials\n
+are made available under the terms of the Eclipse Public License v1.0\n\
+which accompanies this distribution, and is available at\n\
+http\://www.eclipse.org/legal/epl-v10.html\n\
+\n\
+Contributors\:\n\
+JBoss by Red Hat - Initial implementation.\n
+ ############### end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=Red Hat, Inc. licenses these features and plugins to you under \
+certain open source licenses (or aggregations of such licenses), which \
+in a particular case may include the Eclipse Public License, the GNU \
+Lesser General Public License, and/or certain other open source \
+licenses. For precise licensing details, consult the corresponding \
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive, \
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ##########################################
Modified: trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml 2011-03-22 23:57:09 UTC (rev 29962)
+++ trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml 2011-03-23 00:04:18 UTC (rev 29963)
@@ -1,26 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.project.examples.test.feature"
- label="Project Examples Test Suite Feature"
- version="1.1.0.qualifier">
-
- <description url="http://www.example.com/description">
- [Enter Feature Description here.]
- </description>
-
- <copyright url="http://www.example.com/copyright">
- [Enter Copyright Description here.]
- </copyright>
-
- <license url="http://www.example.com/license">
- [Enter License Description here.]
- </license>
-
- <plugin
- id="org.jboss.tools.project.examples.test"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.project.examples.test.feature"
+ label="Project Examples Test Suite Feature"
+ version="1.2.0.qualifier"
+ provider-name="JBoss by Red Hat">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <plugin
+ id="org.jboss.tools.project.examples.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Added: trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html (rev 0)
+++ trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html 2011-03-23 00:04:18 UTC (rev 29963)
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+
+<body>
+<p>Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+</p>
+</body>
+</html>
\ No newline at end of file
Modified: trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml 2011-03-22 23:57:09 UTC (rev 29962)
+++ trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml 2011-03-23 00:04:18 UTC (rev 29963)
@@ -8,6 +8,6 @@
</parent>
<groupId>org.jboss.tools.examples.features</groupId>
<artifactId>org.jboss.tools.project.examples.test.feature</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
\ No newline at end of file
13 years, 9 months
JBoss Tools SVN: r29962 - branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-03-22 19:57:09 -0400 (Tue, 22 Mar 2011)
New Revision: 29962
Added:
branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml
Log:
JBIDE-8608
https://issues.jboss.org/browse/JBIDE-8608
Added: branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml
===================================================================
--- branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml (rev 0)
+++ branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml 2011-03-22 23:57:09 UTC (rev 29962)
@@ -0,0 +1,25 @@
+<?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...">
+ <services>
+ <service category="c" description="d" name="s">
+ <actions>
+ <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>
+ </services>
+</jbossesb>
Property changes on: branches/jbosstools-3.2.x/esb/tests/org.jboss.tools.esb.core.test/projects/Test/esb-1.3/jboss-esb-cbr.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 9 months