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:07:23 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.
  
+ 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
+ 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.
+ As for others, the second option would be to copy the affected jars simply into the library
dir used by the plugin for deployment or have them added via an ant build.
+ After that an automatic deployment of one of the example projects upon the MyFaces codebase
should work as well.
+ 

Mime
View raw message