Maven / eclipse / SVN

classic Classic list List threaded Threaded
1 message Options
Rowan Seymour Rowan Seymour
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Maven / eclipse / SVN

This is how I create a Maven project and get it setup in eclipse and committed to an SVN repo. I figure I must be doing the whole Maven / SVN / eclipse thing wrong because it's so complicated:
  1. Generate module using module-wizard
  2. Build it with Maven as eclipse won't import the api/omod modules properly as Java projects unless I do this first
  3. Import it into eclipse as an existing Maven project
  4. From eclipse share it as an SVN project
  5. Add source files to SVN and commit, carefully deselecting all eclipse specific files and Maven target directory contents
  6. Use eclipse navigator view to add eclipse specific files and Maven target directories to svn:ignore
  7. Commit again to get svn:ignore changes saved
  8. But api/omod subprojects aren't picked up as SVN projects so don't have indicator icons. Rename projects to something and then back so that eclipse detects them as SVN projects
There must be an easier way? Subversive? Another IDE? I'm also finding that projects regularly stop showing as SVN projects or get random SVN icons.

Rowan

[hidden email] from OpenMRS Developers' mailing list
Loading...