You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2005/07/16 15:13:15 UTC

[Myfaces Wiki] Update of "MyFaces Forrest" by WernerPunz

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/MyFaces_Forrest

The comment on the change is:
added the needed info for eclipse to the build process

------------------------------------------------------------------------------
   * see http://forrest.apache.org/docs_0_60/your-project.html#installing for additional infos
  
  == Preparing Forrest for Ant ==
-  * if you are using Ant from the command line:
+   *Ant from the command line:
    copy (forrest)/lib/core/xml-commons-resolver-1.1.jar to $ANT_HOME/lib
+ 
-  * IntelliJ IDEA Users:
+   *IntelliJ IDEA Users:
    Add (myfaces)/forrest/build/build.xml as ant build file.
    Under "Properties(right mouse on myfaces-forrest ant build)/Additional Classpath" add (forrest)/lib/core/xml-commons-resolver-1.1.jar
+ 
+  *Eclipse Users:
+  Add myfaces)/forrest/build/build.xml as ant build file to the ant view.
+  Right click the root of the build entry of the forrest build file select Run As -> External tools.
+  A window similar to eclipse run configuration window should pop open.
+  Add following files via external jars to your run configuration classpath:
+ 
+   1. (forrest)/lib/core/xml-commons-resolver-1.1.jar
+   2. (forrest)/lib/endorsed/xercesImpl*.jar from 
+  
+  The second jar is important, otherwise you will get errors, because Eclipse normally uses a different xml parser implementation than Apache Forrest and that one will be provided automatically. 
+  
+  Alternatively you can add both jar files to the ant classpath in the window->settings of Eclipse itself.
+  After that you should be able to run the build via double click or the run configuration from the ant view.
  
  == Building the Homepage ==
   * run the "dist" ant target of the myfaces-forrest build file