From portal-commits at lists.jboss.org Thu Feb 7 22:56:42 2008 Content-Type: multipart/mixed; boundary="===============4995344156058328623==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r9857 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules. Date: Thu, 07 Feb 2008 22:56:42 -0500 Message-ID: --===============4995344156058328623== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mmcallis Date: 2008-02-07 22:56:42 -0500 (Thu, 07 Feb 2008) New Revision: 9857 Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/installa= tion.xml docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorial= s.xml Log: fixing up references to directories, eg install directory / source directory Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/i= nstallation.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/install= ation.xml 2008-02-08 03:53:46 UTC (rev 9856) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/install= ation.xml 2008-02-08 03:56:42 UTC (rev 9857) @@ -348,7 +348,7 @@ Replace proxy-hostname with the proxy server= 's hostname, and proxy-port with the correct pro= xy server port number. - To build and deploy JBoss Portal from the sources, change into the= JBOSS_PORTAL_HOME_DIRECTORY/build/ directory. Then, = Microsoft Windows users need to run the build.bat deploy= command, and Linux users need to run the ./build.sh deploy command. + To build and deploy JBoss Portal from the sources, change into the = JBOSS_PORTAL_SOURCE_DIRECTORY/build/ directory, where= JBOSS_PORTAL_SOURCE_DIRECTORY directory is the direct= ory where the JBoss Portal source code was downloaded to. Then, Microsoft W= indows users need to run the build.bat deploy command, a= nd Linux users need to run the ./build.sh deploy command. At the end of the build process, the jboss-portal.sar file is copied into the $JBOSS_HOME/server/default/deploy/ directory: @@ -375,7 +375,7 @@ - Change into the JBOSS_PORTAL_HOME_DIRECTORY/build/ directory, and run the following command: + Change into the JBOSS_PORTAL_SOURCE_DIRECTORY/build/ directory, and run the following command: @@ -385,7 +385,7 @@ - Change into the JBOSS_PORTAL_HOME_DIRECTORY/core/ directory, and run the following command: + Change into the JBOSS_PORTAL_SOURCE_DIRECTORY/core/ directory, and run the following command: Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/t= utorials.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutoria= ls.xml 2008-02-08 03:53:46 UTC (rev 9856) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutoria= ls.xml 2008-02-08 03:56:42 UTC (rev 9857) @@ -149,7 +149,7 @@ Package Structure Like other Java EE applications, portlets are packaged in W= AR files. A typical portlet WAR file can also - include servlets, resource bundles, images, HTML, JSPs, and= other static or dynamic files. The following is an example of the director= y structure of the HelloWorldPorlet portlet: + include servlets, resource bundles, images, HTML, JSPs, and= other static or dynamic files. The following is an example of the director= y structure of the HelloWorldPortlet portlet: @@ -162,7 +162,7 @@ Portlet Class - The following is the HelloWorldPortlet\src\main\org\jboss\= portlet\hello\HelloWorldPortlet.java java source file, which com= es bundled with the HelloWorldPortlet/src/main/org/jboss/= portlet/hello/HelloWorldPortlet.java java source file, which com= es bundled with the HelloWorldPortlet: @@ -170,39 +170,25 @@ = package org.jboss.portlet.hello; = - import javax.portlet.GenericPortlet; - import javax.portlet.PortletException; - import javax.portlet.RenderRequest; - import javax.portlet.RenderResponse; - import javax.portlet.UnavailableException; - import java.io.IOException; - import java.io.PrintWriter; = - public class HelloWorldPortlet extends GenericPortlet = { - protected void doView(RenderRequest rRequest, RenderResponse rResponse) = throws PortletException, IOException, UnavailableException = { - rResponse.setContentType("text/html"); - PrintWriter writer =3D rResponse.getWriter(); - writer.write("Hello World!"); - writer.close(); - } = } ]]> --===============4995344156058328623==--