Differences between revisions 4 and 5
Revision 4 as of 2007-06-03 05:49:23
Size: 1972
Editor: JohnRyan
Comment: Updated SVN repo location.
Revision 5 as of 2009-09-20 23:00:41
Size: 1972
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
  * Build like described in ["Building ADF With Maven"] using the project directories.   * Build like described in [[Building ADF With Maven]] using the project directories.

Setup

(Tested on WinXP)

  • Install Java 5, Eclipse 3.2
  • Install Subversion plugin: http://subclipse.tigris.org/

  • Install Maven plugin: http://m2eclipse.codehaus.org/

  • Open perspective "SVN Repository" and add new repository: https://svn.apache.org/repos/asf/myfaces/trinidad/trunk

  • Check out subdirectory "plugins", use option "Check out as project in the workspace"
  • Check out subdirectory "trinidad", use option "Check out as project in the workspace"
  • Open Java perspective
  • Right-click on the "plugins" project, choose "Maven2" -> "Enable"

  • Right-click on the "plugins" project, choose "Maven2" -> "Update Source Folders"

  • Remove "maven-javascript-plugin/target/maven-javacc-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/javascript/obfuscator/javascript15parser" from buildpath.
  • Add "maven-javascript-plugin/target/maven-javacc-plugin/src/main/java" to buildpath.
  • "plugins" should compile by now.
  • Right-click on the "trinidad" project, choose "Maven2" -> "Enable"

  • Right-click on the "trinidad" project, choose "Maven2" -> "Update Source Folders"

  • Add to buildpath:
    • "trinidad-api/target/maven-faces-plugin/main/java"
    • "trinidad-api/target/maven-i18n-plugin/main/java"
    • "trinidad-api/target/maven-xrts-plugin/main/java"
    • "trinidad-impl/target/maven-faces-plugin/main/java"
    • "trinidad-impl/target/maven-i18n-plugin/main/java"
    • "trinidad-impl/target/maven-xrts-plugin/main/java"
  • "trinidad" should compile by now.

Problems

  • Building targets like "install" and "site" does not seem to work.
  • "Team" -> "Create patch" in the projects context menue: The created diff contains the absolute path to the changed files, not relative to the project's root-folder.

    • Use an external tool like TortoiseSVN to create the patch.

Trinidad/involved/eclipse (last edited 2009-09-20 23:00:41 by localhost)