...
- Install maven, details on Developer Tools
- Create ~/.m2/settings.xml with content similar to sodo:/work/platform/SageCommonsWorkflow/settings.xml but changing "mecham" to your unix username.
- Install eclipse, details on Developer Tools
- Check out PLFM/trunk
- Build everything as described in "Care and Feeding"
- In eclipse File -> Import -> Existing Projects Into Workspace
- FIXME att Add M2_REPO variable to eclipse, its value should be something like /Users/deflaux/.m2/repository
- click on "services-repository" to highlight it in the left panel - then got to File -> Properties
- click on Libraries tab - click on Add Variable - add M2_REPO (see screenshot below)
- Get your encrypted password
mvn exec:java -Dexec.mainClass=
"org.sagebionetworks.StringEncrypter"
-Dexec.args=
"<database_password> <your_encryption_key>"
if this is clear as mud, as someone on the platform team to help with this
Add -javaagent:/Users/deflaux/Downloads/aws-java-sdk-1.3.3/third-party/aspectj-1.6/aspectjweaver.jar to the JVM args for test SageCommonsWorkflowTest
Care and Feeding
Occasionally you'll want to get a refresh copy of all the code and rebuild everything. You might confirm that the build is green before you do this: https://sagebionetworks.jira.com/builds/browse/PLFM-TRUNK/
Code Block |
---|
cd trunk svn up mvn clean install eclipse:eclipse -Dmaven.test.skip=true |
Common Problems
...
Eclipse has red X's
Things to try:
...