From portal-commits at lists.jboss.org Mon Feb 18 19:14:15 2008 Content-Type: multipart/mixed; boundary="===============6636998277559098346==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r10020 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules. Date: Mon, 18 Feb 2008 19:12:35 -0500 Message-ID: --===============6636998277559098346== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mmcallis Date: 2008-02-18 19:12:35 -0500 (Mon, 18 Feb 2008) New Revision: 10020 Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorial= s.xml Log: revising and adding content to make consistent: 5.2.4.4. Building your Apache MyFaces JSF Porlet 5.2.4.5. Deploying your Apache MyFaces JSF Portlet 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-18 23:41:34 UTC (rev 10019) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutoria= ls.xml 2008-02-19 00:12:35 UTC (rev 10020) @@ -1547,16 +1547,30 @@ Deploying your Apache MyFaces JSF Portlet - - Deploying the portlet is as easy as copying/moving the helloworldjsfmyfacesportlet.war file - to the server deploy directory. We can t= hen see our portlet on the Portal default - page (http://l= ocalhost:8080/portal/): - - - - - - + + If you did not expand the helloworldjsfmyfacesportlet.war= file, copy the HelloWorldJSFMyFaces42Portlet/hellowor= ldjsfmyfacesportlet.war file into the correct JBoss AS or JBoss = EAP deploy/ directory. If you expanded the h= elloworldjsfmyfacesportlet.war file, copy the HelloWor= ldJSFMyFaces42Portlet/output/lib/exploded/helloworldjsfmyfacesportlet.war/<= /filename> directory into the correct JBoss AS or JBoss EAP deplo= y/ directory. For example, if you are using JBoss AS, copy the W= AR file or the expanded directory into the $JBOSS_HOME/server/def= ault/deploy/ directory. + + + Performing this step on a running instance of JBoss AS or JBoss EAP,= and JBoss Portal, will trigger a hot-deploy of the portlet. + + + To see the HelloWorldJSFMyFaces42Portlet, navigate to , or, if the default JBoss Portal pag= e is already open, refresh the page. HelloWorldJSFMyFaces42Portlet is added= to the bottom of the default JBoss Portal page: + + + + + + + + + + To re-deploy the portlet, for example, if you have made changes to an= y of the application descriptors, touch the $JBOSS_HOME/server/configuration/deploy/helloworldjsfmyfacesportlet.w= ar/WEB-INF/web.xml file. This will only work if you copied the <= filename>HelloWorldJSFMyFaces42Portlet/output/lib/exploded/helloworldjsfmyf= acesportlet.war/ directory into the JBoss AS or JBoss EAP deploy/ directory. On Linux, run the following command to re= -deploy the HelloWorldJSFMyFaces42Portlet: + + + +touch $JBOSS_HOME/server/configuration/deploy/h= elloworldjsfmyfacesportlet.war/WEB-INF/web.xml + = +