JBoss Tools SVN: r2027 - trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-05-11 12:37:20 -0400 (Fri, 11 May 2007)
New Revision: 2027
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforCreatingaStrutsApplication.xml
Log:
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml 2007-05-11 16:34:48 UTC (rev 2026)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml 2007-05-11 16:37:20 UTC (rev 2027)
@@ -181,7 +181,7 @@
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/"/>
+ <imagedata fileref="images/visual.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -248,7 +248,7 @@
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/visual2.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -326,13 +326,13 @@
<?dbhtml filename="RunningTheApplicationJSF.html"?>
<title>Running the Application</title>
<para>Everything is now ready for running our application without having to leave Red Hat Developer Studio
-by using the Tomcat engine that comes with the Red Hat Developer Studio plug-in. For controlling
-Tomcat within Red Hat Developer Studio, the toolbar contains a special panel</para>
+by using the JBoss engine that comes with the Red Hat Developer Studio plug-in. For controlling
+JBoss server within Red Hat Developer Studio, the toolbar contains a special panel</para>
<figure>
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/running.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -348,7 +348,7 @@
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/run.png"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforCreatingaStrutsApplication.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforCreatingaStrutsApplication.xml 2007-05-11 16:34:48 UTC (rev 2026)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforCreatingaStrutsApplication.xml 2007-05-11 16:37:20 UTC (rev 2027)
@@ -9,16 +9,15 @@
the way demonstrating some of the powerful features of Red Hat Developer Studio. You will design the
application, generate stub code for the application, fill in the stub coding, compile the application,
and run the application all from inside Red Hat Developer Studio.</para>
-<para>Well assume that you have already launched Eclipse with Exadel Studio or Exadel Studio
-Pro installed and also that the Red Hat Developer Studio perspective is the current perspective. (If not,
-make it active by selecting Window/Open Perspective/Red Hat Developer Studio from the menu bar.)</para>
+<para>Well assume that you have already launched Eclipse with Red Hat Developer Studio installed and also that the Red Hat Developer Studio perspective is the current perspective. (If not,
+make it active by selecting Window/Open Perspective/Other/Red Hat Developer Studio from the menu bar.)</para>
<section id="StartingUp">
<title>Starting Up</title>
<para>We are first going to create a new project for the application.</para>
<orderedlist>
<listitem><para>Go to the menu bar and select File/New/Project... .</para></listitem>
-<listitem><para>Select Exadel Studio/Struts/Struts Project in the New Project dialog box.</para></listitem>
+<listitem><para>Select Red Hat Developer Studio/Struts/Struts Project in the New Project dialog box.</para></listitem>
<listitem><para>Click Next >.</para></listitem>
<listitem><para>Enter StrutsHello as the project name.</para></listitem>
<listitem><para>Leave everything else as is, and click Next >.</para></listitem>
@@ -55,7 +54,7 @@
<listitem><para>We will keep our presentation files in this folder.</para></listitem>
<listitem><para>Right-click the pages folder and select New/File/JSP... .</para></listitem>
- <listitem><para>16. For Name type in inputname (the JSP extension will be automatically added to the file), for Template select StrutsForm, and then click on the Finish button.</para></listitem>
+ <listitem><para>For Name type in inputname (the JSP extension will be automatically added to the file), for Template select StrutsForm, and then click on the Finish button.</para></listitem>
<listitem><para>Right-click the pages folder again and select New/File/JSP... .</para></listitem>
<listitem><para>For Name type in greeting , for Template leave as Blank, and then click on the Finish button.</para></listitem>
</orderedlist>
@@ -82,11 +81,11 @@
</orderedlist>
<table>
<tgroup cols="2">
- <row>
- <entry>path</entry>
- <entry>/greeting</entry>
- </row>
<row>
+ <entry>path</entry>
+ <entry>/greeting</entry>
+ </row>
+ <row>
<entry>name</entry>
<entry>GetNameForm</entry>
</row>
@@ -117,7 +116,7 @@
<para>Lets now create a link from the inputname.jsp page to the action.</para>
<orderedlist continuation="continues">
<listitem><para>On the left-hand side of the diagram in the column of icons, click on this icon:</para></listitem>
- <listitem><para>26. In the connect-the-components mode you are in now, click on the /pages/inputname.jsp icon in the diagram and then click on the /greeting action.</para></listitem>
+ <listitem><para>In the connect-the-components mode you are in now, click on the /pages/inputname.jsp icon in the diagram and then click on the /greeting action.</para></listitem>
</orderedlist>
<para>A link will be created from the page to the action.</para>
</section>
@@ -173,7 +172,7 @@
<title>Generating Stub Coding</title>
<para>We are done with designing the application through the diagram. Now we need to write
code for the action component. We also need to write an action class for the /greeting mapping
- along with a FormBean. To aid in the coding phase, Exadel Studio can generate Java class
+ along with a FormBean. To aid in the coding phase, Red Hat Developer Studio can generate Java class
stubs for all of the components shown in the diagram.</para>
<orderedlist continuation="continues">
<listitem><para>Switch back to the diagram, by selecting the Diagram tab at the bottom of the editor window.</para></listitem>
@@ -205,7 +204,7 @@
<orderedlist continuation="continues">
<listitem><para>Double-click GetNameForm.java for editing.</para></listitem>
-<listitem><para>You are looking at a Java stub class that was generated by Exadel Studio. Now we are going to edit the file.</para></listitem>
+<listitem><para>You are looking at a Java stub class that was generated by Red Hat Developer Studio. Now we are going to edit the file.</para></listitem>
<listitem><para>Add the following attributes at the beginning of the class:</para></listitem>
</orderedlist>
@@ -228,39 +227,44 @@
<para>The final GetNameForm.java file should look like this:</para>
<programlisting role="JAVA"><![CDATA[
package sample;
+
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
+
public class GetNameForm extends org.apache.struts.action.ActionForm {
-private String name = "";
-private String greetName = "";
-public String getName() {
-return name;
+
+ private String name = "";
+ private String greetName = "";
+
+ public String getName() {
+ return name;
+ }
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getGreetName() {
+ return greetName;
+ }
+
+ public void setGreetName(String greetName) {
+ this.greetName = greetName;
+ }
+
+ public GetNameForm() {
+ }
+
+ public void reset(ActionMapping actionMapping, HttpServletRequest request) {
+ this.name = "";
+ this.greetName = "";
+ }
+
+ public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest request) {
+ ActionErrors errors = new ActionErrors();
+ return errors;
+ }
}
-public void setName(String name) {
-this.name = name;
-}
-public String getGreetName() {
-return greetName;
-}
-public void setGreetName(String greetName) {
-this.greetName = greetName;
-}
-public GetNameForm() {
-}
-public void reset(ActionMapping actionMapping, HttpServletRequest
-request) {
-this.name = "";
-this.greetName = "";
-}
-public ActionErrors validate(ActionMapping actionMapping,
-Exadel Studio: Getting Started Guide for Creating a Struts Application
-page 7 of 11
-HttpServletRequest request) {
-ActionErrors errors = new ActionErrors();
-return errors;
-}
-}
]]></programlisting>
<orderedlist continuation="continues">
@@ -279,29 +283,34 @@
String greeting = "Hello, "+name+"!";
((GetNameForm)form).setGreetName(greeting);
return mapping.findForward(FORWARD_sayHello);
+
The final version of GreetingAction.java should look like this:
package sample;
+
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
+
public class GreetingAction extends org.apache.struts.action.Action {
-// Global Forwards
-public static final String GLOBAL_FORWARD_getName = "getName";
-// Local Forwards
-public static final String FORWARD_sayHello = "sayHello";
-public GreetingAction() {
+
+ // Global Forwards
+ public static final String GLOBAL_FORWARD_getName = "getName";
+
+ // Local Forwards
+ public static final String FORWARD_sayHello = "sayHello";
+
+ public GreetingAction() {
+ }
+ public ActionForward execute(ActionMapping mapping, ActionForm form,
+ HttpServletRequest request, HttpServletResponse response) throws Exception {
+ String name = ((GetNameForm)form).getName();
+ String greeting = "Hello, "+name+"!";
+ ((GetNameForm)form).setGreetName(greeting);
+ return mapping.findForward(FORWARD_sayHello);
+ }
}
-public ActionForward execute(ActionMapping mapping, ActionForm form,
-HttpServletRequest request, HttpServletResponse response) throws
-Exception {
-String name = ((GetNameForm)form).getName();
-String greeting = "Hello, "+name+"!";
-((GetNameForm)form).setGreetName(greeting);
-return mapping.findForward(FORWARD_sayHello);
-}
-}
]]></programlisting>
<orderedlist continuation="continues">
<listitem><para>Save the file.</para></listitem>
@@ -324,9 +333,9 @@
<listitem><para>Input name:</para></listitem>
<listitem><para>Select the Visual pane of the editor.</para></listitem>
-<listitem><para>Then, in the Exadel Palette, expand the Struts Form library, select text, and drag it onto the box.</para></listitem>
+<listitem><para>Then, in the Red Hat Palette, expand the Struts Form library, select text, and drag it onto the box.</para></listitem>
<listitem><para>In the Insert Tag dialog box, type in name for property and select Finish.</para></listitem>
-<listitem><para>In the Struts Form library in the Exadel Palette, select submit, and drag it to right after the the text box in the Visual pane of the editor.</para></listitem>
+<listitem><para>In the Struts Form library in the Red Hat Palette, select submit, and drag it to right after the the text box in the Visual pane of the editor.</para></listitem>
<listitem><para>Right-click the submit button and select <html:submit> Attributes from the context menu.</para></listitem>
<listitem><para>In the Attributes dialog box, select the value field and type in Say Hello! for its value.</para></listitem>
</orderedlist>
@@ -342,28 +351,28 @@
<programlisting role="XML"><![CDATA[
<html>
<head>
-<title>Greeting</title>
+ <title>Greeting</title>
</head>
-<body>
-<p>
-</p>
-</body>
+ <body>
+ <p>
+ </p>
+ </body>
</html>
]]></programlisting>
-<para>To complete editing of this file, we will use macros from the Exadel Palette. This palette is a view that should be available to the right of the editing area.</para>
+<para>To complete editing of this file, we will use macros from the Red Hat Palette. This palette is a view that should be available to the right of the editing area.</para>
<orderedlist continuation="continues">
-<listitem><para>Click on the Struts Common folder in the Exadel Palette to open it.</para></listitem>
-<listitem><para>Position the cursor at the beginning of the greeting.jsp file in the Source pane and then click on bean taglib in the Exadel Palette.</para></listitem>
+<listitem><para>Click on the Struts Common folder in the Red Hat Palette to open it.</para></listitem>
+<listitem><para>Position the cursor at the beginning of the greeting.jsp file in the Source pane and then click on bean taglib in the Red Hat Palette.</para></listitem>
</orderedlist>
<para>This will insert the following line at the top of the file:</para>
<programlisting role="JAVA"><![CDATA[
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
]]></programlisting>
<orderedlist continuation="continues">
-<listitem><para>Click on the Struts Bean folder in the Exadel Palette to open it.</para></listitem>
+<listitem><para>Click on the Struts Bean folder in the Red Hat Palette to open it.</para></listitem>
<listitem><para>Position the cursor inside the p element.</para></listitem>
-<listitem><para>Click on write in the Exadel Palette.</para></listitem>
+<listitem><para>Click on write in the Red Hat Palette.</para></listitem>
<listitem><para>Type in GetNameForm for the name attribute and add a property attribute with greetName as its value.</para></listitem>
</orderedlist>
<para>The editor should should now look like this:</para>
@@ -376,7 +385,7 @@
<para>node and select New/File/JSP... .</para>
</listitem>
<listitem><para>Type index for Name and click on the Finish button.</para></listitem>
-<listitem><para>On the Exadel Palette, select the Struts Common folder of macros by clicking on it in the palette.</para></listitem>
+<listitem><para>On the Red Hat Palette, select the Struts Common folder of macros by clicking on it in the palette.</para></listitem>
<listitem><para>Click on the logic taglib icon.</para></listitem>
<listitem><para>Press the Enter key in the editor to go to the next line.</para></listitem>
<listitem><para>Back on the palette, select the Struts Logic folder of macros.</para></listitem>
@@ -404,14 +413,14 @@
<?dbhtml filename="RunningtheApplication.html"?>
<title>Running the Application</title>
<para>Everything is now ready for running our applicationwithout having to leave Red Hat Developer Studio
- by using the Tomcat engine that comes with the Red Hat Developer Studio plug-in. For controlling
- Tomcat within Red Hat Developer Studio, the toolbar contains a panel.</para>
+ by using the JBoss Application Server engine that comes with the Red Hat Developer Studio plug-in. For controlling
+ JBoss AS within Red Hat Developer Studio, the toolbar contains a panel.</para>
<orderedlist continuation="continues">
-<listitem>Start up Tomcat by clicking on the first icon from left in this panel. (If Tomcat is
+<listitem>Start up JBoss AS by clicking on the first icon from left in this panel. (If JBoss AS is
already running, stop it by clicking on the third icon from the left and then start it
again. Remember, the Struts run-time requires restarting the servlet engine when
any changes have been made.)</listitem>
-<listitem>After the messages in the Console tabbed view stop scrolling, Tomcat is available.
+<listitem>After the messages in the Console tabbed view stop scrolling, JBoss AS is available.
At this point, right-click on the getName global forward in the struts-config.xml
diagram view and select Run on Server.</listitem>
</orderedlist>
17 years, 8 months
JBoss Tools SVN: r2026 - trunk/documentation/GettingStartedGuide/docs/userguide/en/images.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-05-11 12:34:48 -0400 (Fri, 11 May 2007)
New Revision: 2026
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ArrowButton.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Diagram.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/RH_Palette.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/run.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/running.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/visual2.png
Log:
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ArrowButton.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ArrowButton.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Diagram.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Diagram.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/RH_Palette.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/RH_Palette.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/run.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/run.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/running.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/running.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/visual2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/visual2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 8 months
JBoss Tools SVN: r2025 - trunk/documentation/GettingStartedGuide/docs/userguide/en/images.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-05-11 11:45:31 -0400 (Fri, 11 May 2007)
New Revision: 2025
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/visual.png
Log:
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/visual.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/visual.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 8 months
JBoss Tools SVN: r2024 - trunk/core/plugins/org.jboss.ide.eclipse.archives.core/META-INF.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-05-10 23:49:03 -0400 (Thu, 10 May 2007)
New Revision: 2024
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF
Log:
changed ant dependencies
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF 2007-05-11 03:49:01 UTC (rev 2023)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/META-INF/MANIFEST.MF 2007-05-11 03:49:03 UTC (rev 2024)
@@ -9,11 +9,9 @@
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.filesystem,
- org.apache.ant;visibility:=reexport,
- org.eclipse.ant.core,
- org.apache.jakarta_log4j,
org.eclipse.core.commands,
- org.eclipse.jdt.core
+ org.eclipse.jdt.core,
+ org.apache.ant
Eclipse-LazyStart: true
Export-Package: org.jboss.ide.eclipse.archives.core,
org.jboss.ide.eclipse.archives.core.model,
17 years, 8 months
JBoss Tools SVN: r2023 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/META-INF.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-05-10 23:49:01 -0400 (Thu, 10 May 2007)
New Revision: 2023
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF
Log:
changed ant dependencies
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF 2007-05-10 18:04:15 UTC (rev 2022)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/META-INF/MANIFEST.MF 2007-05-11 03:49:01 UTC (rev 2023)
@@ -18,7 +18,8 @@
org.eclipse.wst.common.project.facet.core,
org.eclipse.jst.common.project.facet.core,
org.eclipse.wst.xml.core,
- org.jboss.ide.eclipse.archives.core
+ org.jboss.ide.eclipse.archives.core,
+ org.apache.ant
Eclipse-LazyStart: true
Export-Package: org.jboss.ide.eclipse.as.core,
org.jboss.ide.eclipse.as.core.model,
17 years, 8 months
JBoss Tools SVN: r2022 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/packages.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-05-10 14:04:15 -0400 (Thu, 10 May 2007)
New Revision: 2022
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/packages/PublishAction.java
Log:
entire description wasn't showing
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/packages/PublishAction.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/packages/PublishAction.java 2007-05-10 14:22:05 UTC (rev 2021)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/packages/PublishAction.java 2007-05-10 18:04:15 UTC (rev 2022)
@@ -105,10 +105,7 @@
protected SelectServerWizardPage(IArchive pack) {
super("Select Server Wizard");
- setDescription("Select the server to publish the archive to.\n"
- + "If you would like the publish action on this archive\n"
- + "to always target these servers, check the first checkbox.\n"
- + "If you want to enable automatic publishing on builds, check both boxes.");
+ setDescription("Select the server to publish the archive to.");
setTitle("Publish archive to a server");
this.pack = pack;
}
@@ -121,6 +118,7 @@
fillComposite(mainComposite);
addListeners();
setControl(mainComposite);
+ getContainer().updateTitleBar();
}
protected void fillComposite(Composite mainComposite) {
17 years, 8 months
JBoss Tools SVN: r2021 - trunk/documentation/GettingStartedGuide/docs/userguide/en/images.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-05-10 10:22:05 -0400 (Thu, 10 May 2007)
New Revision: 2021
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConfigEditor.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConfigEditor2.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/RHDSpalette.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/arrow.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connection.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/pev.png
Log:
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConfigEditor.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConfigEditor.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConfigEditor2.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConfigEditor2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/RHDSpalette.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/RHDSpalette.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/arrow.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/arrow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connection.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/pev.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/pev.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 8 months
JBoss Tools SVN: r2020 - trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-05-10 10:21:28 -0400 (Thu, 10 May 2007)
New Revision: 2020
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml
Log:
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml 2007-05-09 17:23:39 UTC (rev 2019)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedForCreatingaJSFApplication.xml 2007-05-10 14:21:28 UTC (rev 2020)
@@ -22,7 +22,7 @@
JSF application and then run the application from inside Red Hat Developer Studio.
We'll assume that you have already launched Eclipse with Red Hat Developer Studio installed and
also that the Red Hat Developer Studio perspective is the current perspective. (If not, make it active by
-selecting Window/Open Perspective/Red Hat Developer Studio from the menu bar or by selecting Window/
+selecting Window > Open Perspective > Red Hat Developer Studio from the menu bar or by selecting Window/
Open Perspective/Other... from the menu bar and then selecting Red Hat Developer Studio from
the Select Perspective dialog box.)</para>
</section>
@@ -31,8 +31,8 @@
<title>Setting Up the Project</title>
<para>We are first going to create a new project for the application.</para>
<orderedlist>
-<listitem><para>Go to the menu bar and select File/New/Project... .</para></listitem>
-<listitem><para>Select Red Hat Developer Studio/JSF Project in the New Project dialog box.</para></listitem>
+<listitem><para>Go to the menu bar and select File > New > Project... .</para></listitem>
+<listitem><para>Select Red Hat Developer Studio > JSF > JSF Project in the New Project dialog box.</para></listitem>
<listitem><para>Click Next</para></listitem>
<listitem><para>Enter jsfHello as the project name.</para></listitem>
<listitem><para>Leave everything else as is, and click Finish.</para></listitem>
@@ -43,21 +43,30 @@
<?dbhtml filename="TheJSFApplicationConfigurationFile.html"?>
<title>The JSF Application Configuration File</title>
<para>A jsfHello node should appear in the upper-left Package Explorer view.</para>
+ <figure>
+ <title>Package Explorer View</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/pev.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
<orderedlist continuation="continues">
<listitem><para>Click the plus sign next to jsfHello to reveal the child nodes.</para></listitem>
<listitem><para>Click the plus sign next to WebContent under jsfHello.</para></listitem>
<listitem><para>Click the plus sign next to WEB-INF under WebContent.</para></listitem>
<listitem><para>Then double-click on the faces-config.xml node to display the JSF application configuration file editor.</para></listitem>
+</orderedlist>
<figure>
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/ConfigEditor.png"/>
</imageobject>
</mediaobject>
</figure>
-</orderedlist>
+
</section>
<section id="AddingNavigationToTheApplication">
<?dbhtml filename="AddingNavigationToTheApplication.html"?>
@@ -93,14 +102,13 @@
side of the diagram</para></listitem>
</orderedlist>
<figure>
-<title></title>
+ <title>Connection icon</title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/arrow.png"/>
</imageobject>
</mediaobject>
</figure>
-
<para>to get an arrow cursor with a two-pronged plug at the arrow's bottom.</para>
<orderedlist continuation="continues">
<listitem><para>Click on the pages/inputname page icon and then click on the pages/greeting page icon</para></listitem>
@@ -108,10 +116,10 @@
</orderedlist>
<para>A transition should appear between the two icons.</para>
<figure>
-<title></title>
+<title>Transition between two icons</title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/connection.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -142,10 +150,10 @@
</orderedlist>
<para>You should see this now:</para>
<figure>
-<title></title>
+<title>Tree view in Config Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/ConfigEditor2.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -173,7 +181,7 @@
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/"/>
</imageobject>
</mediaobject>
</figure>
@@ -181,19 +189,19 @@
<orderedlist continuation="continues">
<listitem><para>Select the Visual tab, so we can work with the editor completely in its WYSIWYG
mode</para></listitem>
-<listitem><para>To the right of the editor, in the Exadel Palette, expand the JSF HTML palette folder
+<listitem><para>To the right of the editor, in the Red Hat Palette, expand the JSF HTML palette folder
by selecting it</para></listitem>
</orderedlist>
<figure>
<title></title>
<mediaobject>
<imageobject>
- <imagedata fileref="img/"/>
+ <imagedata fileref="images/RHDSpalette.png"/>
</imageobject>
</mediaobject>
</figure>
<orderedlist continuation="continues">
-<listitem><para>34. Click on form within this folder, drag the cursor over to the editor,
+<listitem><para>Click on form within this folder, drag the cursor over to the editor,
and drop it inside the red box in the editor</para></listitem>
<listitem><para>Another red box will appear inside the first red box.</para></listitem>
17 years, 8 months
JBoss Tools SVN: r2019 - in trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui: wizards and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-05-09 13:23:39 -0400 (Wed, 09 May 2007)
New Revision: 2019
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/FilesetWizard.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java
Log:
big errors in fileset getting paths such as c:\eclipse\install\workspacename\eclipse\install\workspacename\relativepath
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java 2007-05-09 16:47:07 UTC (rev 2018)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java 2007-05-09 17:23:39 UTC (rev 2019)
@@ -113,7 +113,7 @@
protected void openDestinationDialog ()
{
- ArchiveNodeDestinationDialog dialog = new ArchiveNodeDestinationDialog(getShell(), nodeDestination, true, true);
+ ArchiveNodeDestinationDialog dialog = new ArchiveNodeDestinationDialog(getShell(), nodeDestination, false, true);
if (nodeDestination != null)
dialog.setInitialSelection(nodeDestination);
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/FilesetWizard.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/FilesetWizard.java 2007-05-09 16:47:07 UTC (rev 2018)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/FilesetWizard.java 2007-05-09 17:23:39 UTC (rev 2019)
@@ -2,6 +2,7 @@
import java.lang.reflect.InvocationTargetException;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.operation.IRunnableWithProgress;
@@ -56,8 +57,13 @@
private void fillFilesetFromPage (IArchiveFileSet fileset) {
fileset.setExcludesPattern(page1.getExcludes());
fileset.setIncludesPattern(page1.getIncludes());
- fileset.setSourcePath(new Path(page1.getRootDir()));
- fileset.setInWorkspace(page1.isRootDirWorkspaceRelative());
+ if( page1.isRootDirWorkspaceRelative()) {
+ int workspaceLength = ResourcesPlugin.getWorkspace().getRoot().getLocation().toOSString().length();
+ fileset.setSourcePath(new Path(page1.getRootDir().substring(workspaceLength)));
+ } else {
+ fileset.setSourcePath(new Path(page1.getRootDir()));
+ fileset.setInWorkspace(false);
+ }
}
public void addPages() {
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java 2007-05-09 16:47:07 UTC (rev 2018)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java 2007-05-09 17:23:39 UTC (rev 2019)
@@ -49,7 +49,7 @@
* This variable must at all times be global. ALWAYS
*/
private IPath rootDir;
- private boolean rootDirIsWorkspaceRelative, fileIsWorkspaceRelative;
+ private boolean rootDirIsWorkspaceRelative;
private FilesetPreviewComposite previewComposite;
private Composite mainComposite;
@@ -277,10 +277,6 @@
return rootDirIsWorkspaceRelative;
}
- public boolean isFileWorkspaceRelative () {
- return fileIsWorkspaceRelative;
- }
-
private void fillDefaults () {
if (fileset != null) {
if (fileset.getIncludesPattern() != null)
@@ -295,7 +291,6 @@
}
} else {
rootProjectLabel.setText(parentNode.getProject().getName());
- fileIsWorkspaceRelative = true;
rootDirIsWorkspaceRelative = true;
rootDir = ResourcesPlugin.getWorkspace().getRoot().getProject(parentNode.getProject().getName()).getLocation();
}
17 years, 8 months
JBoss Tools SVN: r2018 - in trunk/as/docs/reference/en: images and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-05-09 12:47:07 -0400 (Wed, 09 May 2007)
New Revision: 2018
Added:
trunk/as/docs/reference/en/images/archives/
trunk/as/docs/reference/en/images/archives/archivesViewOverview.jpg
trunk/as/docs/reference/en/images/archives/newJAR.jpg
trunk/as/docs/reference/en/modules/archives.xml
Modified:
trunk/as/docs/reference/en/images/asPerspective/Thumbs.db
trunk/as/docs/reference/en/master.xml
Log:
next chapter
Added: trunk/as/docs/reference/en/images/archives/archivesViewOverview.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/archives/archivesViewOverview.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/docs/reference/en/images/archives/newJAR.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/as/docs/reference/en/images/archives/newJAR.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/as/docs/reference/en/images/asPerspective/Thumbs.db
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/master.xml
===================================================================
--- trunk/as/docs/reference/en/master.xml 2007-05-08 21:48:11 UTC (rev 2017)
+++ trunk/as/docs/reference/en/master.xml 2007-05-09 16:47:07 UTC (rev 2018)
@@ -5,7 +5,7 @@
<!ENTITY runtimesAndServers SYSTEM "modules/runtimesAndServers.xml">
<!ENTITY asPerspective SYSTEM "modules/thePerspective.xml">
-
+<!ENTITY archives SYSTEM "modules/archives.xml">
]>
@@ -22,6 +22,6 @@
&runtimesAndServers;
&asPerspective;
-
+&archives;
</book>
Added: trunk/as/docs/reference/en/modules/archives.xml
===================================================================
--- trunk/as/docs/reference/en/modules/archives.xml (rev 0)
+++ trunk/as/docs/reference/en/modules/archives.xml 2007-05-09 16:47:07 UTC (rev 2018)
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<chapter id="archives">
+ <title>Archives: Packaging Your Projects</title>
+
+ <para>
+ Every application, whether plain old Java, J2EE, or
+ some other language altogether, needs to be packaged in some way.
+ In Java-related projects, many people use ANT.
+ RHDS comes with our own archives tool with a bit
+ easier and less-verbose XML and a handy user interface.</para>
+
+ <section><title>Overview</title>
+ <para> The Project Archives plugin consists primarily of
+ a view to set up each packaging configuration.
+ Each project can enable or disable its builder, or
+ depend on the global setting. </para>
+ <para> The packaging configuration for each project is stored
+ in that project's root folder, and is in a file named
+ .packages, which has a fairly simple XML structure.
+ Modifying the file by hand is neither required nor
+ reccommended, and using the UI is the official
+ way of modifying your packaging structure. </para>
+ <para> Aside from the builder, the other preferences
+ for the plugin are mostly cosmetic, allowing you
+ to show full or truncated paths, show the project
+ at the root, etc. None of these have any
+ effect on the functionality of the packaging plugin,</para>
+ </section>
+ <section><title>The View</title>
+ <figure id="archivesView"> <title>Project Archives View</title>
+ <mediaobject>
+ <alt>Project Archives View</alt>
+ <imageobject>
+ <imagedata
+ fileref="..\..\..\..\reference\en\images\archives\archivesViewOverview.jpg"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>
+ As shown in the figure above, a project's configuration
+ contains archives. In the image shown, only one archive is there,
+ but a project can contain many.
+ Located inside the archive can be folders (testFolder),
+ filesets (such as the one shown), or other internal archives.
+ Internal archives and Filesets may be directly inside of an archive,
+ or in some sub-folder of that archive. In the above image,
+ the inner archive <emphasis>inner.jar</emphasis> is located
+ inside <emphasis>SomeProject.jar/testFolder</emphasis>.</para>
+ <para>
+ If the project has no declared archives, or more accurately
+ does not contain a .packages file, then the view will suggest you
+ create an archive, and list all available archive types.</para>
+ <para>
+ In the upper right corner of the view, you will also see an icon
+ which, when clicked, will build the selected top-level archive.
+ </para>
+ <para>
+ An addition not shown in the image is if a project
+ is selected in the Packages View, for example, you can select
+ <emphasis>Project -> Build Packages</emphasis>, which
+ will build all declared packages in that project's
+ .packages file. This will execute a full build on all
+ declared archives. </para>
+
+ <section><title>Creating an archive</title>
+ <para>
+ When creating a new archive, you have some different
+ options at your disposal. As was said above, if the
+ project has no .packages file, your options will be presented
+ to you all at once for you to choose from (as above).
+ Otherwise you will right-click inside the view and select
+ <emphasis>New Archive</emphasis> to see your archive
+ type options.</para>
+ <para>
+ JAR is the standard archive type, and does very little
+ configuration, leaving most of the work up to you.
+ You can customize the name, add folders, filesets, and
+ inner jars to it. </para>
+ <para> The other types, for the most part, simply start off with
+ a default setting, usually the jar with some
+ specific children based on an expected structure of
+ the project. For example, if the project
+ is a dynamic web project, and you create a WAR archive,
+ the archive will be created with a few filesets
+ relevant to the known structure of the project. </para>
+ <section><title>New JAR</title>
+ <para>
+ Because the first page of all new archive wizards
+ are the same, and it is also the only page in the
+ New Jar Wizard, that page is shown below.</para>
+ <figure id="newJARPage"> <title>New JAR Page</title>
+ <mediaobject>
+ <alt>New JAR Page</alt>
+ <imageobject>
+ <imagedata fileref="..\..\..\..\reference\en\images\archives\newJAR.jpg"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The page is pretty simple. All it asks is for the name of your new
+ archive, a <emphasis>destination</emphasis>, which we'll get to in a moment,
+ and whether the archive is exploded or packaged up.</para>
+ <para>
+ The destination of an archive can be anywhere on the filesystem,
+ anywhere in the workspace, inside some other archive, or inside
+ a folder declared inside an archive. You can browse to workspace or filesystem
+ destinations by clicking on their respective buttons. To select a destination inside
+ some other archive, you'll need to press the <emphasis>Workspace...</emphasis> button.
+ At the bottom of the list, you'll see archives that have been declared in the workspace.
+ </para>
+ </section>
+ <section><title>Creating a Folder</title>
+ <para>Creating a folder is much easier. You simply
+ right-click on an archive or folder you want your new
+ folder to be a child under. The only piece of required
+ information is naming the file.</para>
+ </section>
+ <section><title>Creating a FileSet</title>
+ <para>To create a new fileset, you click on an available target location such as an
+ archive, a nested archive, or a folder within an archive, and select
+ <emphasis>New Fileset</emphasis>. The New Fileset Wizard requires
+ a destination (where the files will go), and a root directory (or where
+ the files are coming from). The source can be anywhere in the workspace
+ or from the filesystem at large.
+ </para>
+ <para>
+ Below that, the fileset requires only an includes pattern and
+ an excludes pattern. As you type in either of these fields,
+ the preview viewer should update itself with which files are matched.</para>
+ </section>
+ <section><title>View Actions</title>
+ <para>
+ The context menu on the items in the view is extendable, but there are
+ several that come standard. The first is the <emphasis>Build Archive</emphasis>
+ action, enabled only on top-level archives, which initiates a full build on that
+ archive. Editing and deleting nodes are also standard actions, with deletion
+ not needing an explanation. The edit action brings up the wizard associated
+ with that particular node type and allows the details to be changed. The final
+ action contribution here is the ability to publish to a declared server.</para>
+ <section><title>Publishing to a server</title>
+
+ </section>
+ </section>
+ </section>
+
+
+ </section>
+
+
+
+ <!--
+ <figure id="viewMain"> <title>JBoss Servers View: Main Section</title>
+ <mediaobject>
+ <alt>JBoss Servers View Main Section</alt>
+ <imageobject>
+ <imagedata
+ fileref="..\..\..\..\reference\en\images\asPerspective\viewMain.jpg"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ -->
+ </chapter>
17 years, 8 months