From jbosstools-commits at lists.jboss.org Thu Feb 26 11:57:27 2009 Content-Type: multipart/mixed; boundary="===============0968049176933038282==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r13845 - trunk/portlet/docs/reference/en/modules. Date: Thu, 26 Feb 2009 11:57:26 -0500 Message-ID: --===============0968049176933038282== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2009-02-26 11:57:26 -0500 (Thu, 26 Feb 2009) New Revision: 13845 Modified: trunk/portlet/docs/reference/en/modules/starting_project.xml Log: https://jira.jboss.org/jira/browse/JBDS-552, https://jira.jboss.org/jira/br= owse/JBDS-577 - updating the "Creating a Dynamic Web Project" section; Modified: trunk/portlet/docs/reference/en/modules/starting_project.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 --- trunk/portlet/docs/reference/en/modules/starting_project.xml 2009-02-26= 16:56:10 UTC (rev 13844) +++ trunk/portlet/docs/reference/en/modules/starting_project.xml 2009-02-26= 16:57:26 UTC (rev 13845) @@ -30,9 +30,11 @@ New button in the Target Runtime - section to specify a new Target Runtime. Click - JBoss 4.2 Runtime - and press + section to specify a new Target Runtime. Choose + JBoss Community > JBoss 4.2 Runtime + and select the + Create a new local server + checkbox. Click Next. =
@@ -49,6 +51,15 @@ , and then point it to the location of your JBoss A= S + Portal installation. = +
+ New Server Runtime Environment + + + + + +
+ Note: = @@ -57,8 +68,13 @@ version 2.0 (JSR-268), you have to choose JBoss Portal 2.7= . = + At this point a new JBoss Server instance will be created. H= ere you can verify the + defined runtime information. If something is incorrect, press = + Back + to return on the previous wizard page. +
- Target Runtime + Target Server @@ -74,12 +90,6 @@ button next to the Configuration section to enable Portlet Facets for the project. = - -
Setting the Project Configuration @@ -104,10 +114,33 @@
= - The last wizard page is for configuring web modules. Here al= l values are set, so you - can leave everything as it is. + + Note: + If the portlet libraries aren't available in the ru= ntime you targeted, + JBoss Portlet facets will be hidden on this page. + To made portal functionality always visible no matter wh= at the runtime support, + you should go to + Window > Preferences + and then + JBoss Tools > JBoss Portlet + and deselect + Check runtimes for Portlet Components + checkbox (see figure below). + =
+ JBoss Runtime Preferences + + + + + +
+ + The next page is for configuring web modules. Here all value= s are set, so you can + leave everything as it is. + +
The Project Web Modules @@ -116,9 +149,96 @@
= - Press - Finish. + Finally, the last wizard page will ask you to add JBoss Port= let capabilities to your + project. Here you can choose whether to set up user libraries,= libraries provided by + server runtime or not include libraries at all. + = + + To set up server runtime libraries, you need t= o select + Libraries provided by server runtime<= /emphasis> in the list box. + + + = +
+ Including Server Runtime Libraries + + + + + +
+ + + + For setting up user libraries, select + User library in the list b= ox and then press + Add in the + User Library secti= on. + + + = +
+ Adding User Library + + + + + +
+ = + Then press + New and type the user library = name in the appeared dialog. + = +
+ Adding User Library + + + + + +
+ = + Next add necessary jar's. + = +
+ Adding the Portlet API Jar + + + + + +
+ = + Hit + OK. The user library will = be added. + = +
+ User Library Added + + + + + +
+ = + + If you don't need to include libraries at= all, just deselect the + Enable implementation library checkbox. + + + = +
+ Disabling Implementation Libraries + + + + + +
+ = + After setting JBoss Portlet capabilities press + Finish. = That's it! Our base project is done. = --===============0968049176933038282==--