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.
Build like described in Building ADF With Maven using the project directories.
"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.