Apache Cayenne Website > Index > Developer Guide > Eclipse

Using Eclipse with Mavenized Cayenne

(starting with version 3.0)

  • Get code from Subversion and build it from command line to seed the local repository. Do not use "mvn eclipse:eclipse" – the .project and .classpath files for eclipse are already in svn.
  • Create a workspace outside of the main checkout folder. Make sure the default JRE in Eclipse is 1.5.
  • Import modules into the eclipse workspace. You don't have to import all modules, only those that you are planning to work on, as the projects do not have Eclipse-level dependencies on each other (dependencies are resolved via the Maven2 plugin and maven repository jars).
Module Maven Module jdk description
Cayenne Runtime cayenne-jdk1.5-unpublished 1.5  
  cayenne-jpa-unpublished 1.5 jpa runtime
  cayenne-agent 1.5 POJO enhancement agent
       
Cayenne Modeler cayenne-modeler 1.5  
       
Maven Support cayenne-maven-plugin 1.5  
  maven-cayenne-build-plugin 1.5  
  maven-cayenne-doc-plugin 1.5  
       
Testing itest-common 1.5 integration testing
  cayenne-regression-profiler 1.5 regression testing – currently broken
  jpa-chapter2 1.5  
  jpa-chapter3 1.5  
  jpa-chapter5 1.5  
  jpa-chapter9 1.5  
  pojo 1.5  
       
Tutorials cayenne-tutorial 1.5 currently broken
  cayenne-rop-client-tutorial 1.5 currently broken
  cayenne-rop-server-tutorial 1.5 currently broken