JBoss Tools SVN: r9045 - trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-07-02 09:30:17 -0400 (Wed, 02 Jul 2008)
New Revision: 9045
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PageImpl.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1189
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PageImpl.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PageImpl.java 2008-07-02 12:04:44 UTC (rev 9044)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PageImpl.java 2008-07-02 13:30:17 UTC (rev 9045)
@@ -20,6 +20,7 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.seam.pages.xml.model.helpers.SeamPagesDiagramStructureHelper;
import org.jboss.tools.seam.ui.pages.editor.ecore.pages.Page;
+import org.jboss.tools.seam.ui.pages.editor.ecore.pages.PagesElement;
import org.jboss.tools.seam.ui.pages.editor.ecore.pages.PagesFactory;
import org.jboss.tools.seam.ui.pages.editor.ecore.pages.PagesPackage;
import org.jboss.tools.seam.ui.pages.editor.ecore.pages.Param;
@@ -242,7 +243,10 @@
*/
List<Param> getParams() {
List<Param> ps = new ArrayList<Param>();
-
+ for(PagesElement p:getChildren()){
+ if(p instanceof Param)
+ ps.add((Param)p);
+ }
return ps;
}
16 years, 6 months
JBoss Tools SVN: r9044 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-07-02 08:04:44 -0400 (Wed, 02 Jul 2008)
New Revision: 9044
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2435
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java 2008-07-02 12:04:15 UTC (rev 9043)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java 2008-07-02 12:04:44 UTC (rev 9044)
@@ -140,15 +140,18 @@
}
+ /**
+ * @param root
+ * @param forUpdate - shows whether physical removal necessary
+ */
public void configurationRemoved(ConsoleConfiguration root, boolean forUpdate) {
- try {
- removeConfiguration(root.getName());
- } catch (CoreException e) {
- if(!forUpdate) {
+ if(!forUpdate) {
+ try {
+ removeConfiguration(root.getName());
+ } catch (CoreException e) {
logErrorMessage(HibernateConsoleMessages.HibernateConsolePlugin_could_not_delete_launch_config_for + root.getName(), e);
}
}
-
}
public void configurationAdded(ConsoleConfiguration root) {
@@ -176,7 +179,8 @@
public void launchConfigurationRemoved(ILaunchConfiguration configuration) {
ConsoleConfiguration cfg = KnownConfigurations.getInstance().find( configuration.getName() );
if(cfg!=null) {
- KnownConfigurations.getInstance().removeConfiguration( cfg, false );
+ // file system removal have been made already.
+ KnownConfigurations.getInstance().removeConfiguration( cfg, true );
}
}
@@ -258,7 +262,11 @@
}
}
-
+ /**
+ * Remove configuration from the file system.
+ * @param name
+ * @throws CoreException
+ */
private void removeConfiguration(String name) throws CoreException {
ILaunchConfiguration findLaunchConfig = findLaunchConfig(name);
if (findLaunchConfig != null) {
16 years, 6 months
JBoss Tools SVN: r9043 - branches/jbosstools-2.1.x/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-07-02 08:04:15 -0400 (Wed, 02 Jul 2008)
New Revision: 9043
Modified:
branches/jbosstools-2.1.x/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2435
Modified: branches/jbosstools-2.1.x/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java
===================================================================
--- branches/jbosstools-2.1.x/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java 2008-07-02 11:52:25 UTC (rev 9042)
+++ branches/jbosstools-2.1.x/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsolePlugin.java 2008-07-02 12:04:15 UTC (rev 9043)
@@ -139,16 +139,19 @@
// TODO Auto-generated method stub
}
-
+
+ /**
+ * @param root
+ * @param forUpdate - shows whether physical removal necessary
+ */
public void configurationRemoved(ConsoleConfiguration root, boolean forUpdate) {
- try {
- removeConfiguration(root.getName());
- } catch (CoreException e) {
- if(!forUpdate) {
- logErrorMessage("Could not delete launch configuration for: " + root.getName(), e);
+ if(!forUpdate) {
+ try {
+ removeConfiguration(root.getName());
+ } catch (CoreException e) {
+ logErrorMessage("Could not delete launch configuration for: " + root.getName(), e);
}
}
-
}
public void configurationAdded(ConsoleConfiguration root) {
@@ -176,7 +179,8 @@
public void launchConfigurationRemoved(ILaunchConfiguration configuration) {
ConsoleConfiguration cfg = KnownConfigurations.getInstance().find( configuration.getName() );
if(cfg!=null) {
- KnownConfigurations.getInstance().removeConfiguration( cfg, false );
+ // file system removal have been made already.
+ KnownConfigurations.getInstance().removeConfiguration( cfg, true );
}
}
@@ -258,7 +262,11 @@
}
}
-
+ /**
+ * Remove configuration from the file system.
+ * @param name
+ * @throws CoreException
+ */
private void removeConfiguration(String name) throws CoreException {
ILaunchConfiguration findLaunchConfig = findLaunchConfig(name);
if (findLaunchConfig != null) {
16 years, 6 months
JBoss Tools SVN: r9042 - in trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor: figures and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-07-02 07:52:25 -0400 (Wed, 02 Jul 2008)
New Revision: 9042
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamEditPart.java
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1189
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamEditPart.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamEditPart.java 2008-07-02 08:56:54 UTC (rev 9041)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ParamEditPart.java 2008-07-02 11:52:25 UTC (rev 9042)
@@ -152,10 +152,7 @@
protected void refreshVisuals() {
Point loc = new Point(1,1);
- String text = getExceptionModel().getName();
- if(text == null) text="Param";
- int width = getIconWidth()+FigureUtilities.getTextExtents(text, NodeFigure.nodeLabelFont).width;
- size = new Dimension(width, getVisualHeight());
+ size = new Dimension(200, getVisualHeight());
adjustForGrid(loc);
Rectangle r = new Rectangle(loc, size);
@@ -168,10 +165,6 @@
return 21;
}
- private int getIconWidth() {
- return 30;
- }
-
public ConnectionAnchor getTargetConnectionAnchor(
ConnectionEditPart connEditPart) {
ConnectionAnchor anc = getNodeFigure().getConnectionAnchor("1_IN");
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java 2008-07-02 08:56:54 UTC (rev 9041)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/figures/ParamFigure.java 2008-07-02 11:52:25 UTC (rev 9042)
@@ -48,6 +48,14 @@
public Dimension getPreferredSize(int wHint, int hHint) {
return SIZE;
}
+
+ private int getTextWidth(){
+ return 90;
+ }
+
+ private int getTextInset(){
+ return 5;
+ }
/**
* @see org.eclipse.draw2d.Figure#paintFigure(Graphics)
@@ -55,19 +63,26 @@
protected void paintFigure(Graphics g) {
Rectangle r = getBounds().getCopy();
g.translate(r.getLocation());
+
+ String name;
+ if(exc.getName() != null){
+ name = dottedString(exc.getName(), getTextWidth()-getTextInset(), nameParamFont);
+ name += ":";
+ }else
+ name = "Param:";
+
+ String value;
+ if(exc.getValue() != null){
+ value = dottedString(exc.getValue(), getTextWidth()-getTextInset(), valueParamFont);
+ }else
+ value = "value";
if(exc != null){
g.setFont(nameParamFont);
- if(exc.getName() != null)
- g.drawString(exc.getName()+":", 5, 1);
- else
- g.drawString("Param:", 5, 1);
+ g.drawString(name, getTextInset(), 1);
g.setFont(valueParamFont);
- if(exc.getValue() != null)
- g.drawString(exc.getValue(), 105, 1);
- else
- g.drawString("value", 105, 1);
+ g.drawString(value, getTextWidth()+3*getTextInset(), 1);
}
16 years, 6 months
JBoss Tools SVN: r9041 - in trunk/ws/docs/reference/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2008-07-02 04:56:54 -0400 (Wed, 02 Jul 2008)
New Revision: 9041
Modified:
trunk/ws/docs/reference/en/master.xml
trunk/ws/docs/reference/en/modules/bottomup.xml
trunk/ws/docs/reference/en/modules/client.xml
trunk/ws/docs/reference/en/modules/preference.xml
trunk/ws/docs/reference/en/modules/webproject.xml
Log:
JBIDE-2469: add documents for ws
Modified: trunk/ws/docs/reference/en/master.xml
===================================================================
--- trunk/ws/docs/reference/en/master.xml 2008-07-02 04:23:16 UTC (rev 9040)
+++ trunk/ws/docs/reference/en/master.xml 2008-07-02 08:56:54 UTC (rev 9041)
@@ -13,9 +13,9 @@
<book>
<bookinfo>
- <title>JBoss WS User Guide</title>
- <author><firstname>Grid</firstname><surname>Qian</surname><email>fqian(a)redhat.com</email></author>
- <author><firstname>Denny</firstname><surname>Xu</surname><email>dxu(a)redhat.com</email></author>
+ <title>JBoss WS User Guide</title>
+ <author><firstname>Denny</firstname><surname>Xu</surname><email>dxu(a)redhat.com</email></author>
+ <author><firstname>Grid</firstname><surname>Qian</surname><email>fqian(a)redhat.com</email></author>
<pubdate>July 2008</pubdate>
<copyright>
<year>2008</year>
@@ -34,4 +34,4 @@
&bottomup;
&topdown;
&client;
-</book>
\ No newline at end of file
+</book>
Modified: trunk/ws/docs/reference/en/modules/bottomup.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/bottomup.xml 2008-07-02 04:23:16 UTC (rev 9040)
+++ trunk/ws/docs/reference/en/modules/bottomup.xml 2008-07-02 08:56:54 UTC (rev 9041)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="bottomup" revisionflag="added">
+ <title>Creating a Web service from a Java bean using JBoss WS</title>
+ <para>The Web Service wizard assists you in creating a new Web service, configuring it for deployment, and deploying the Web service to a server.</para>
+ <para>To create a Web service from a bean using JBoss WS:</para>
+ <para>Setup <link linkend="preference">JBoss WS and development environment</link>.</para>
+ <para><link linkend="webproject">Creating a Dynamic Web project</link>.</para>
+ <para><link linkend="facet">Add JBossWS facet to web project</link>.</para>
+ <para>Create a Web Service from a java bean: </para>
+ <itemizedlist>
+ <listitem>
+ <para>Switch to the Java EE perspective <emphasis><property>Window > Open Perspective > Java EE</property></emphasis>.</para>
+ </listitem>
+ <listitem>
+ <para>In the Project Explorer view, select the bean that you created or imported into the source folder of your Web project.</para>
+ </listitem>
+ <listitem>
+ <para>Click <emphasis><property>File > New > Other</property></emphasis>.Select Web Services in order to display the various Web service wizards. Select the Web Service wizard. Click <property>Next</property> button.</para>
+ </listitem>
+ <listitem>
+ <para>In the first Web Service wizard page: select <property>Bottom up Java bean Web service</property> as your Web service type, and select the Java bean from which the service will be created.</para>
+ <itemizedlist>
+ <listitem>
+ <para>Select the stages of Web service development that you want to complete using the slider: </para>
+ <itemizedlist>
+ <listitem>
+ <para>Develop: this will develop the WSDL definition and implementation of the Web service. This includes such tasks as creating the modules which will contain the generated code, WSDL files, deployment descriptors, and Java files when appropriate.</para>>
+ </listitem>
+ <listitem>
+ <para>Assemble: this ensures the project that will host the Web service or client gets associated to an EAR when required by the target application server.</para>>
+ </listitem>
+ <listitem>
+ <para>Deploy: this will create the deployment code for the service.</para>>
+ </listitem>
+ <listitem>
+ <para>Install: this will install and configure the Web module and EARs on the target server.</para>>
+ </listitem>
+ <listitem>
+ <para>Start: this will start the server once the service has been installed on it. The server-config.wsdd file will be generated.</para>>
+ </listitem>
+ <listitem>
+ <para>Test: this will provide various options for testing the service, such as using the Web Service Explorer or sample JSPs</para>>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>Select your server: the default server is displayed. If you want to deploy your service to a different server click the link to specify a different server.</listitem>
+ <listitem>Select your runtime: ensure the JBoss WS runtime is selected.</listitem>
+ <listitem>Select the service project: the project selected in your workspace is displayed. To select a different project click on the project link. If you are deploying to JBoss Application Server you will also be asked to select the EAR associated with the project. Ensure that the project selected as the Client Web Project is different from the Service Web Project, or the service will be overwritten by the client's generated artifacts.</listitem>
+ <listitem>If you want to create a client, select the type of proxy to be generated and repeat the above steps for the client. The better way is to create a web service client project seperately.</listitem>
+ </itemizedlist>
+ <para>Click <property>Next</property> button.</para>
+ </listitem>
+ <listitem>
+ <para>In the JBoss Web Service Code Generation Configuration page, you set values:</para>
+ <itemizedlist>
+ <listitem>
+ <para>Generate WSDL file: select it, you will get a generated WSDL file in your project. But this wsdl's services' address location values are not real address. </para>
+ </listitem>
+ <listitem>After the Web service has been created, the following may occur depending on the options you selected:
+ <para>Update the default web.xml: select it, you may test the web service by Explorer.</para>
+ </listitem>
+ </itemizedlist>
+ <para>Click <property>Next</property> button.</para>
+ </listitem>
+ <listitem>
+ <para>In this page, the project is deployed to the server. you can start server and test the web service. If you want to publish the web service to a UDDI registry, you may click <property>Next</property> button to publish it. If not, you may click <property>Finish</property> button.</para>
+ </listitem>
+ </itemizedlist>
+ <para>After the Web Service has been created, the following may occur depending on the options you selected:</para>
+ <itemizedlist>
+ <listitem>
+ <para> the generated web services codes</para>
+ </listitem>
+ <listitem>
+ <para>If have selected to generate WSDL file, you will get the file in your project's WebContent > wsdl folder.</para>
+ </listitem>
+ <listitem>
+ <para>If have selected to update the default web.xml, you will test the web service in browser.Open the Explorer, input the url for the web service according to web.xml plus <property>?wsdl.</property>, you will get the WSDL file from Explorer. </para>
+ </listitem>
+ </itemizedlist>
+</chapter>
Modified: trunk/ws/docs/reference/en/modules/client.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/client.xml 2008-07-02 04:23:16 UTC (rev 9040)
+++ trunk/ws/docs/reference/en/modules/client.xml 2008-07-02 08:56:54 UTC (rev 9041)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="client" revisionflag="added">
+ <title>Creating a Web service Client from a WSDL file using JBoss WS</title>
+ <para>To create a Web service Client from a WSDL file using JBoss WS:</para>
+ <para>Setup <link linkend="preference">JBoss WS and development environment</link>.</para>
+ <para><link linkend="webproject">Creating a Dynamic Web project</link>.</para>
+ <para><link linkend="facet">Add JBossWS facet to web project</link>.</para>
+ <para>Create a Web Service Client from a WSDL file: </para>
+ <itemizedlist>
+ <listitem>
+ <para>Switch to the Java EE perspective <emphasis><property>Window > Open Perspective > Java EE</property></emphasis>.</para>
+ </listitem>
+ <listitem>
+ <para>In the Project Explorer view, select the bean that you created or imported into the source folder of your Web project.</para>
+ </listitem>
+ <listitem>
+ <para>Click <emphasis><property>File > New > Other</property></emphasis>.Select Web Services in order to display the various Web service wizards. Select the Web Service Client wizard. Click <property>Next</property> button.</para>
+ </listitem>
+ <listitem>
+ <para>The first and second Web Service Client wizard page are same to <link linkend="topdown">Web Service from a WSDL document</link>.</para>
+ <para>The differences are:</para>
+ <itemizedlist>
+ <listitem>
+ <para><property>Client Type:</property> Now only support Java Proxy.</para>
+ </listitem>
+ </itemizedlist>
+ <para>Click <property>Finish</property> button.</para>
+ </listitem>
+ </itemizedlist>
+ <para>After the Web Service Client has been created, the following may occur depending on the options you selected:</para>
+ <itemizedlist>
+ <listitem>
+ <para> the generated web service and client codes</para>
+ </listitem>
+ <listitem>
+ <para>a client sample class.</para>
+ </listitem>
+ </itemizedlist>
+ <para>JBoss WS support Java class test for Web Service. A client sample class will be generated, you may run this client as a java application to call the web service.</para>
+</chapter>
Modified: trunk/ws/docs/reference/en/modules/preference.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/preference.xml 2008-07-02 04:23:16 UTC (rev 9040)
+++ trunk/ws/docs/reference/en/modules/preference.xml 2008-07-02 08:56:54 UTC (rev 9041)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<chapter id="preference" revisionflag="added">
- <title>JBoss WS and development enviroment</title>
+ <title>JBoss WS and development environment</title>
<section id="overview">
<title>JBoss WS Overview</title>
@@ -11,18 +11,34 @@
<section id="jbosswspreference">
<title>Set JBossWS Runtime Location</title>
-
- <para>Open Window->Preferences->Web Services-> JBossWS Preferences. In this Page , you can set JBossWS Runtime.</para>
- <para>Now only support JBoss EAP or JBoss AS as JBossWS Runtime.</para>
- <para>After you set JBoss WS Runtime, click 'OK' Button.</para>
+ <para>Open
+ <emphasis><property>Window > Preferences > Web Services > JBossWS Preferences</property></emphasis>. In this Page , you can set JBossWS Runtime.</para>
+ <para>Now JBoss Tools only support JBoss EAP or JBoss AS as JBossWS Runtime.</para>
+ <para>After set JBoss WS Runtime, click <property>OK</property> button to save the JBoss WS Runtime location.</para>
+ <figure>
+ <title></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/"></imagedata>
+ </imageobject>
+ </mediaobject>
+ </figure>
</section>
<section id="serverruntime">
-
<title>Set default Server and Runtime</title>
- <para>Open Window->Preferences->Web Services-> Server and Runtime. In this page, you can set default server and runtime.</para>
+ <para>Open
+ <emphasis><property>Window > Preferences > Web Services > Server and Runtime</property></emphasis>. In this page, you can set default server and runtime.</para>
<para>For ease of use, the better way is to set runtime = JBoss WS.</para>
-
+ <para>After set server and runtime, click <property>Aplly</property> button to save the value.</para>
+ <figure>
+ <title></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
</section>
</chapter>
Modified: trunk/ws/docs/reference/en/modules/webproject.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/webproject.xml 2008-07-02 04:23:16 UTC (rev 9040)
+++ trunk/ws/docs/reference/en/modules/webproject.xml 2008-07-02 08:56:54 UTC (rev 9041)
@@ -1,8 +1,17 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<chapter id="webproject" revisionflag="added">
- <title>Creating a Web project</title>
+ <title>Creating a Dynamic Web project</title>
<para>Before create a web service, you must have a Dynamic Web Project</para>
-
- <para>Create the service Web project by selecting New > Dynamic Web project. Enter the following information: </para>
+ <para>Create the service Web project by selecting
+ <emphasis><property>New > Project... > Dynamic Web project</property></emphasis>. Enter the following information: </para>
+ <itemizedlist>
+ <listitem>
+ <para>Project Name: enter a project name</para>
+ </listitem>
+ <listitem>
+ <para>Target runtime: any server depending on you installed. If it is not listed, click New and browse to the location where it is installed. You may choose none of server.In this case, you must choose a JBoss WS runtime when you add a JBoss WS facet to this project.</para>
+ </listitem>
+ </itemizedlist>
+ <para>Click <property>Finish</property> button.</para>
</chapter>
\ No newline at end of file
16 years, 6 months
JBoss Tools SVN: r9040 - trunk/ws/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2008-07-02 00:23:16 -0400 (Wed, 02 Jul 2008)
New Revision: 9040
Modified:
trunk/ws/docs/reference/en/modules/preference.xml
trunk/ws/docs/reference/en/modules/webproject.xml
Log:
JBIDE-2469:add documents
Modified: trunk/ws/docs/reference/en/modules/preference.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/preference.xml 2008-07-01 19:42:01 UTC (rev 9039)
+++ trunk/ws/docs/reference/en/modules/preference.xml 2008-07-02 04:23:16 UTC (rev 9040)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="preference" revisionflag="added">
+ <title>JBoss WS and development enviroment</title>
+
+ <section id="overview">
+ <title>JBoss WS Overview</title>
+
+ <para>JBossWS is a web service framework developed as part of the JBoss Application Server. It implements the JAX-WS specification that defines a programming model and run-time architecture for implementing web services in Java, targeted at the Java Platform, Enterprise Edition 5 (Java EE 5)</para>
+
+ </section>
+
+ <section id="jbosswspreference">
+ <title>Set JBossWS Runtime Location</title>
+
+ <para>Open Window->Preferences->Web Services-> JBossWS Preferences. In this Page , you can set JBossWS Runtime.</para>
+ <para>Now only support JBoss EAP or JBoss AS as JBossWS Runtime.</para>
+ <para>After you set JBoss WS Runtime, click 'OK' Button.</para>
+ </section>
+
+ <section id="serverruntime">
+
+ <title>Set default Server and Runtime</title>
+ <para>Open Window->Preferences->Web Services-> Server and Runtime. In this page, you can set default server and runtime.</para>
+ <para>For ease of use, the better way is to set runtime = JBoss WS.</para>
+
+ </section>
+
+</chapter>
Modified: trunk/ws/docs/reference/en/modules/webproject.xml
===================================================================
--- trunk/ws/docs/reference/en/modules/webproject.xml 2008-07-01 19:42:01 UTC (rev 9039)
+++ trunk/ws/docs/reference/en/modules/webproject.xml 2008-07-02 04:23:16 UTC (rev 9040)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="webproject" revisionflag="added">
+ <title>Creating a Web project</title>
+
+ <para>Before create a web service, you must have a Dynamic Web Project</para>
+
+ <para>Create the service Web project by selecting New > Dynamic Web project. Enter the following information: </para>
+</chapter>
\ No newline at end of file
16 years, 6 months
JBoss Tools SVN: r9039 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: src/org/jboss/tools/jsf/vpe/jsf/test/jbide and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-07-01 15:42:01 -0400 (Tue, 01 Jul 2008)
New Revision: 9039
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/788/testCAforXHTML.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-2444
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/788/testCAforXHTML.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/788/testCAforXHTML.xhtml 2008-07-01 19:18:15 UTC (rev 9038)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/788/testCAforXHTML.xhtml 2008-07-01 19:42:01 UTC (rev 9039)
@@ -12,11 +12,11 @@
<head>
<title></title>
</head>
- <body>
+ <body><
<f:view>
<H1>Test of CA XHTML</H1>
CA Test
- <h:outputText value="Test" />
+ <h:outputText value="Test" /><
</f:view>
</body>
</html>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2008-07-01 19:18:15 UTC (rev 9038)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2008-07-01 19:42:01 UTC (rev 9039)
@@ -12,6 +12,7 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.text.ITextViewer;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
import org.eclipse.jface.text.contentassist.IContentAssistant;
@@ -53,9 +54,9 @@
setException(null);
// Tests CA
- checkOfCAByStartString(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml","s:validateFormat",359); //$NON-NLS-1$//$NON-NLS-2$
- checkOfCAByStartString(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml","rich:validateA", 427); //$NON-NLS-1$ //$NON-NLS-2$
- checkOfCAByStartString(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml","c:otherwi",493); //$NON-NLS-1$//$NON-NLS-2$
+ checkOfCAByStartString(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml","s:validateFormat",11,2); //$NON-NLS-1$//$NON-NLS-2$
+ checkOfCAByStartString(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml","rich:validateA", 14,14); //$NON-NLS-1$ //$NON-NLS-2$
+ checkOfCAByStartString(CA_NAME, "JBIDE/788/TestChangeUriInInnerNodes.xhtml","c:otherwi",18,6); //$NON-NLS-1$//$NON-NLS-2$
// check exception
if (getException() != null) {
@@ -74,7 +75,7 @@
setException(null);
// Tests CA
- ICompletionProposal[] results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAMessageBundlesAndEL.xhtml","",545,false); //$NON-NLS-1$ //$NON-NLS-2$
+ ICompletionProposal[] results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAMessageBundlesAndEL.xhtml","",11,31,false); //$NON-NLS-1$ //$NON-NLS-2$
assertNotNull(results);
assertTrue("The lenft should be more than 0",results.length>0); //$NON-NLS-1$
boolean isMatches=true;
@@ -87,8 +88,8 @@
}
assertTrue("String not matches", isMatches); //$NON-NLS-1$
-
- results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAPathProposals.xhtml","",511,false); //$NON-NLS-1$//$NON-NLS-2$
+ //TODO Max Areshkau This functionality doesn't works now,
+ results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAPathProposals.xhtml","",11,41,false); //$NON-NLS-1$//$NON-NLS-2$
assertNotNull(results);
isMatches = false;
for(ICompletionProposal completionProposal : results) {
@@ -139,7 +140,7 @@
// set exception
setException(null);
// Tests CA
- ICompletionProposal[] results =checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforHtml.html", "", 42,false); //$NON-NLS-1$//$NON-NLS-2$
+ ICompletionProposal[] results =checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforHtml.html", "", 5, 13,false); //$NON-NLS-1$//$NON-NLS-2$
assertNotNull(results);
assertTrue("The lenft should be more than 0",results.length>0); //$NON-NLS-1$
@@ -174,7 +175,7 @@
// Tests CA
// cursor will set after "outputText" tag
- ICompletionProposal[] results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforJSP.jsp", "h:outp",1139,false); //$NON-NLS-1$ //$NON-NLS-2$
+ ICompletionProposal[] results = checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforJSP.jsp", "h:outp",26,14,false); //$NON-NLS-1$ //$NON-NLS-2$
for (ICompletionProposal completionProposal : results) {
@@ -205,11 +206,11 @@
// cursor will set after "<" simbol
checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforXHTML.xhtml", "c", //$NON-NLS-1$ //$NON-NLS-2$
- 687);
+ 15,12);
// cursor will set after "outputText" tag
checkOfCAByStartString(CA_NAME, "JBIDE/788/testCAforXHTML.xhtml", "s", //$NON-NLS-1$//$NON-NLS-2$
- 778);
+ 19,43);
// check exception
if (getException() != null) {
@@ -223,13 +224,14 @@
* @param caName
* @param testPagePath
* @param partOfString
- * @param position
- * @param numberOfProposals
+ * @param lineIndex
+ * @param linePosition
+ * @return
* @throws CoreException
*/
private ICompletionProposal[] checkOfCAByStartString(String caName, String testPagePath,
- String partOfString, int position) throws CoreException {
- return this.checkOfCAByStartString(caName, testPagePath, partOfString, position,true);
+ String partOfString, int lineIndex, int linePosition) throws CoreException {
+ return this.checkOfCAByStartString(caName, testPagePath, partOfString, lineIndex, linePosition,true);
}
/**
@@ -237,14 +239,15 @@
* @param caName
* @param testPagePath
* @param partOfString
- * @param position
+ * @param lineIndex
+ * @param linePosition
* @param isCheck
* @return
* @throws CoreException
*/
private ICompletionProposal[] checkOfCAByStartString(String caName, String testPagePath,
- String partOfString, int position,boolean isCheck) throws CoreException {
+ String partOfString, int lineIndex, int linePosition,boolean isCheck) throws CoreException {
// get test page path
IFile file = (IFile) TestUtil.getComponentPath(testPagePath,
IMPORT_PROJECT_NAME);
@@ -257,6 +260,8 @@
// open and get editor
JSPMultiPageEditor part = openEditor(input);
+
+ int position = getLinePositionOffcet(part.getSourceEditor().getTextViewer(), lineIndex, linePosition);
// insert string
part.getSourceEditor().getTextViewer().getTextWidget()
@@ -267,6 +272,7 @@
// sets cursor position
part.getSourceEditor().getTextViewer().getTextWidget().setCaretOffset(
newPosition);
+
TestUtil.waitForJobs();
TestUtil.delay(1000);
SourceViewerConfiguration sourceViewerConfiguration = ((JSPTextEditor) part
@@ -289,7 +295,6 @@
// remove inserted string
part.getSourceEditor().getTextViewer().getTextWidget()
.replaceTextRange(position, partOfString.length(), ""); //$NON-NLS-1$
-
assertNotNull(results);
assertTrue("Number of ca proposals shouldn't be a null",results.length>0); //$NON-NLS-1$
if (isCheck) {
@@ -305,5 +310,46 @@
TestUtil.delay(1000L);
return results;
}
-
+ /**
+ * Utility function which is used to calculate offcet in document by line number and character position
+ *
+ * @param textViewer
+ * @param lineIndex
+ * @param linePosition
+ * @return offcet in document
+ * @throws IllegalArgumentException
+ */
+ private static final int getLinePositionOffcet(ITextViewer textViewer, int lineIndex, int linePosition) throws IllegalArgumentException {
+
+ int resultOffcet = 0;
+
+ if(textViewer==null) {
+
+ throw new IllegalArgumentException("Text viewer shouldn't be a null"); //$NON-NLS-1$
+ }
+ //lineIndex-1 becose calculating of line begibns in eclipse from one, but should be form zero
+ resultOffcet=textViewer.getTextWidget().getOffsetAtLine(lineIndex-1);
+ //here we get's tabs length
+ //for more example you can see code org.eclipse.ui.texteditor.AbstractTextEditor@getCursorPosition() and class $PositionLabelValue
+ int tabWidth = textViewer.getTextWidget().getTabs();
+ int characterOffset=0;
+ String currentString = textViewer.getTextWidget().getLine(lineIndex-1);
+ int pos=1;
+ for (int i= 0; (i < currentString.length())&&(pos<linePosition); i++) {
+ if ('\t' == currentString.charAt(i)) {
+
+ characterOffset += (tabWidth == 0 ? 0 : 1);
+ pos+=tabWidth;
+ }else{
+ pos++;
+ characterOffset++;
+ }
+ }
+ resultOffcet+=characterOffset;
+ if(textViewer.getTextWidget().getLineAtOffset(resultOffcet)!=(lineIndex-1)) {
+
+ throw new IllegalArgumentException("Incorrect character position in line"); //$NON-NLS-1$
+ }
+ return resultOffcet;
+ }
}
16 years, 6 months
JBoss Tools SVN: r9038 - in trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core: model/other/internal and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-01 15:18:15 -0400 (Tue, 01 Jul 2008)
New Revision: 9038
Added:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java
Removed:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVariables.java
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/WorkspaceArchivesCore.java
Log:
class rename
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/WorkspaceArchivesCore.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/WorkspaceArchivesCore.java 2008-07-01 15:18:36 UTC (rev 9037)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/WorkspaceArchivesCore.java 2008-07-01 19:18:15 UTC (rev 9038)
@@ -11,7 +11,7 @@
import org.jboss.ide.eclipse.archives.core.model.other.internal.ArchivesWorkspaceLogger;
import org.jboss.ide.eclipse.archives.core.model.other.internal.WorkspaceExtensionManager;
import org.jboss.ide.eclipse.archives.core.model.other.internal.WorkspacePreferenceManager;
-import org.jboss.ide.eclipse.archives.core.model.other.internal.WorkspaceVariables;
+import org.jboss.ide.eclipse.archives.core.model.other.internal.WorkspaceVFS;
import org.jboss.ide.eclipse.archives.core.project.ProjectUtils;
public class WorkspaceArchivesCore extends ArchivesCore {
@@ -32,7 +32,7 @@
}
protected IArchivesVFS createVFS() {
- return new WorkspaceVariables();
+ return new WorkspaceVFS();
}
public void preRegisterProject(IPath project) {
Copied: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java (from rev 9034, trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVariables.java)
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java (rev 0)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java 2008-07-01 19:18:15 UTC (rev 9038)
@@ -0,0 +1,54 @@
+package org.jboss.ide.eclipse.archives.core.model.other.internal;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.variables.VariablesPlugin;
+import org.jboss.ide.eclipse.archives.core.model.IArchivesVFS;
+
+public class WorkspaceVFS implements IArchivesVFS {
+
+ public String performStringSubstitution(String expression,
+ boolean reportUndefinedVariables) throws CoreException {
+ return VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(expression, reportUndefinedVariables);
+ }
+
+ public IPath[] getWorkspaceChildren(IPath path) {
+ IResource res = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
+ if( res != null || !(res instanceof IContainer)) {
+ try {
+ IResource[] resources = ((IContainer)res).members();
+ IPath[] paths = new IPath[resources.length];
+ for( int i = 0; i < resources.length; i++ )
+ paths[i] = resources[i].getFullPath();
+ return paths;
+ } catch( CoreException ce ) {
+ return new IPath[0];
+ }
+ }
+ return new IPath[0];
+ }
+
+ public IPath workspacePathToAbsolutePath(IPath path) {
+ IResource r = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
+ IPath append = new Path("");
+ while( r == null && path.segmentCount() > 0) {
+ append = new Path(path.lastSegment()).append(append);
+ path = path.removeLastSegments(1);
+ r = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
+ }
+ if( r != null )
+ return r.getLocation().append(append);
+ return null;
+ }
+
+ public IPath[] workspacePathToAbsolutePath(IPath[] paths) {
+ IPath[] results = new IPath[paths.length];
+ for( int i = 0; i < paths.length; i++ )
+ results[i] = workspacePathToAbsolutePath(paths[i]);
+ return results;
+ }
+}
Deleted: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVariables.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVariables.java 2008-07-01 15:18:36 UTC (rev 9037)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVariables.java 2008-07-01 19:18:15 UTC (rev 9038)
@@ -1,81 +0,0 @@
-package org.jboss.ide.eclipse.archives.core.model.other.internal;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.variables.VariablesPlugin;
-import org.jboss.ide.eclipse.archives.core.model.IArchivesVFS;
-
-public class WorkspaceVariables implements IArchivesVFS {
-//
-// public IPath getProjectPath (String projectName) {
-// IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
-//
-// if (project.exists() && project.isAccessible())
-// {
-// IPath location = project.getRawLocation();
-// if (location == null) return project.getLocation();
-//
-// return location;
-// }
-//
-// return null;
-// }
-
-// public boolean isDebugging(String option) {
-// return ArchivesCorePlugin.getDefault().isDebugging()
-// && "true".equalsIgnoreCase(Platform.getDebugOption(option));
-// }
-//
-// public String getProjectName(IPath path) {
-// IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
-// for( int i = 0; i < projects.length; i++ )
-// if( projects[i].getLocation().equals(path))
-// return projects[i].getName();
-// return null;
-// }
-//
- public String performStringSubstitution(String expression,
- boolean reportUndefinedVariables) throws CoreException {
- return VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(expression, reportUndefinedVariables);
- }
-
- public IPath[] getWorkspaceChildren(IPath path) {
- IResource res = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
- if( res != null || !(res instanceof IContainer)) {
- try {
- IResource[] resources = ((IContainer)res).members();
- IPath[] paths = new IPath[resources.length];
- for( int i = 0; i < resources.length; i++ )
- paths[i] = resources[i].getFullPath();
- return paths;
- } catch( CoreException ce ) {
- return new IPath[0];
- }
- }
- return new IPath[0];
- }
-
- public IPath workspacePathToAbsolutePath(IPath path) {
- IResource r = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
- IPath append = new Path("");
- while( r == null && path.segmentCount() > 0) {
- append = new Path(path.lastSegment()).append(append);
- path = path.removeLastSegments(1);
- r = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
- }
- if( r != null )
- return r.getLocation().append(append);
- return null;
- }
-
- public IPath[] workspacePathToAbsolutePath(IPath[] paths) {
- IPath[] results = new IPath[paths.length];
- for( int i = 0; i < paths.length; i++ )
- results[i] = workspacePathToAbsolutePath(paths[i]);
- return results;
- }
-}
16 years, 6 months
JBoss Tools SVN: r9037 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-07-01 11:18:36 -0400 (Tue, 01 Jul 2008)
New Revision: 9037
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectSelectionDialog.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2473 Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectSelectionDialog.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectSelectionDialog.java 2008-07-01 06:27:50 UTC (rev 9036)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectSelectionDialog.java 2008-07-01 15:18:36 UTC (rev 9037)
@@ -61,12 +61,13 @@
ArrayList<IProject> seamProjects = new ArrayList<IProject>();
for (IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
try {
- if((allowAllProjects || (check != null && check.getSelection()))
+ if(project.isAccessible() && (
+ (allowAllProjects || (check != null && check.getSelection()))
|| (project.hasNature(ISeamProject.NATURE_ID)
&& SeamCorePlugin.getSeamPreferences(project)!=null
&& project.getAdapter(IFacetedProject.class)!=null
&& ((IFacetedProject)project.getAdapter(IFacetedProject.class)).hasProjectFacet(ProjectFacetsManager.getProjectFacet("jst.web"))
- && !"".equals(SeamCorePlugin.getSeamPreferences(project).get(ISeamFacetDataModelProperties.JBOSS_AS_DEPLOY_AS, "")))) { //$NON-NLS-1$
+ && !"".equals(SeamCorePlugin.getSeamPreferences(project).get(ISeamFacetDataModelProperties.JBOSS_AS_DEPLOY_AS, ""))))) { //$NON-NLS-1$
seamProjects.add(project);
}
} catch (CoreException e) {
16 years, 6 months
JBoss Tools SVN: r9036 - in trunk/ws/docs: reference and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2008-07-01 02:27:50 -0400 (Tue, 01 Jul 2008)
New Revision: 9036
Added:
trunk/ws/docs/reference/
trunk/ws/docs/reference/en/
trunk/ws/docs/reference/en/images/
trunk/ws/docs/reference/en/master.xml
trunk/ws/docs/reference/en/modules/
trunk/ws/docs/reference/en/modules/bottomup.xml
trunk/ws/docs/reference/en/modules/client.xml
trunk/ws/docs/reference/en/modules/facet.xml
trunk/ws/docs/reference/en/modules/preference.xml
trunk/ws/docs/reference/en/modules/topdown.xml
trunk/ws/docs/reference/en/modules/webproject.xml
Log:
JBIDE-2469: add docs for jboss ws
Added: trunk/ws/docs/reference/en/master.xml
===================================================================
--- trunk/ws/docs/reference/en/master.xml (rev 0)
+++ trunk/ws/docs/reference/en/master.xml 2008-07-01 06:27:50 UTC (rev 9036)
@@ -0,0 +1,37 @@
+<?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 preference SYSTEM "modules/preference.xml">
+<!ENTITY facet SYSTEM "modules/facet.xml">
+<!ENTITY webproject SYSTEM "modules/webproject.xml">
+<!ENTITY bottomup SYSTEM "modules/bottomup.xml">
+<!ENTITY topdown SYSTEM "modules/topdown.xml">
+<!ENTITY client SYSTEM "modules/client.xml">
+]>
+
+<book>
+
+ <bookinfo>
+ <title>JBoss WS User Guide</title>
+ <author><firstname>Grid</firstname><surname>Qian</surname><email>fqian(a)redhat.com</email></author>
+ <author><firstname>Denny</firstname><surname>Xu</surname><email>dxu(a)redhat.com</email></author>
+ <pubdate>July 2008</pubdate>
+ <copyright>
+ <year>2008</year>
+ <holder>JBoss, a division of Red Hat Inc.</holder>
+ </copyright>
+ <releaseinfo>
+ Version: 3.0.GA
+ </releaseinfo>
+ </bookinfo>
+
+
+ <toc/>
+ &preference;
+ &facet;
+ &webproject;
+ &bottomup;
+ &topdown;
+ &client;
+</book>
\ No newline at end of file
Added: trunk/ws/docs/reference/en/modules/bottomup.xml
===================================================================
Added: trunk/ws/docs/reference/en/modules/client.xml
===================================================================
Added: trunk/ws/docs/reference/en/modules/facet.xml
===================================================================
Added: trunk/ws/docs/reference/en/modules/preference.xml
===================================================================
Added: trunk/ws/docs/reference/en/modules/topdown.xml
===================================================================
Added: trunk/ws/docs/reference/en/modules/webproject.xml
===================================================================
16 years, 6 months