myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Building With Maven" by WernerPunz
Date Wed, 08 Mar 2006 09:09:54 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by WernerPunz:
http://wiki.apache.org/myfaces/Building_With_Maven

------------------------------------------------------------------------------
   * Select the "myfaces-shared-tomahawk" project, right-click to properties, choose "Java
Build Path" and the "Libraries" tab. Add JAR "myfaces-shared-tomahawk" and attach the "myfaces-shared-tomahawk...-source.jar"
to it.
   * Select the "tomahawk-sandbox" project, right-click to properties, choose "Java Build
Path" and the "Libraries" tab.  Add JAR "myfaces-shared-tomahawk" and attach the "myfaces-shared-tomahawk...-source.jar"
to it.
  
+ === Example Webapps autodeployment ===
+ 
  Additionally if you want to have auto deployment of the examples projects via an eclipse
plugin (WTP, MyFaces etc...) you need to 
  add those jars to the deployment of your webapp. I will skip the details of adding webapp
capabilities to the examples projects here.
  Because depending on the plugin this is different.
  
- The key is to get the jars automatically into the WEB-INF/lib
+ The key is to get the jars automatically into the WEB-INF/lib and the classes into the WEB-INF/classes
+ 
+ As for the classes you simply have to change the target according to your plugins needs,
so that the classes are put 
+ into the dir which is picked up for deployment.
+ 
+ The Libraries
  Eclipse has a rather unknown facility to enable this, the export facility which is hidden
under order and export in the library settings of your project. Simply open one of the dependent
projects (tomahawk for instance) settings go to the last tab of your java build path category
and then check the checkbox of the ...-shared.jar (not the source this one is only needed
for debugging) 
  the plugin then should pickup the jars automatically and should add it for deployment.
  This has been tested with MyEclipse and it probably will work for the WTP and Exadel similarily
as well.

Mime
View raw message