Quickstart EJPT development environment
- Date de modification : 28/04/2014
Quickstart EJPT development environment
1. Install your development environment
- Download the package Eclipse for RCP and RAP Developers
- Install and configure JDK 1.7+
- Install and configure Maven 3+
1.1 Sync project
- Source : https://github.com/jalios/eclipse-jcms-plugin-tools/tree/master/sync
- Launch
mvn package
to build - Get the
sync-2.0-jar-with-dependencies.jar
and copy it to the view project
To contribute to this project :
- Code your idea
- Test your idea (with JUnit)
- Launch ALL tests
- If it's OK, submit your idea
1.2 View project
- Source https://github.com/jalios/eclipse-jcms-plugin-tools/tree/master/view
- Right-click on the project : Run or Debug as Eclipse Application
Note
: Hot debug is only available for existing method. For new method / class, build the last sync-2.0-jar-with-dependencies.jar
and copy it into the project
1.3 Feature project
This project groups other components and build. To build (manually for now) :
- Right-click on the project > Export
- Plug-in Developement > Deployable features
- Choose a directory
- Options > Only check Check "Allow for binary cycles in target platform"
- You'll have a
features
and aplugins
directory. - Now deploy thoses directories into the
dropins
Eclipse directory for real test
2. Install on the real Eclipse
- Go to the
dropins
directory - Backup everything about EJPT
- Push the new version