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

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]

Reply via email to