A question and problem a report

Dear list members,

I followed the process described in Quickstart (http://www.openehr.org/wiki/display/projects/Quick+start+guide+for+the+openEHR+Java+project )
and run into some trouble. The ADL-Parser would not compile when running the ‘mvn clean install’. Maven reported that adl-parser-1.0.5-SNAPSHOT.jar was missing.

I downloaded it from http://openehr.cambiosys.org/continuum/servlet/continuum/target/WorkingCopy.vm/view/WorkingCopy/id/16?userDirectory=target and installed it in my “.m2\repository\acode\adl-parser\1.0.5-SNAPSHOT”. Then run again mvn clean install and everything went fine.
I’m not very familiar with maven but it seems this file for some reason was not downloaded.

Now that everything is ok (at least up to step 6 of the quickstart) would you recommend any IDE to work with the code? in case you do, which one would you suggest I use?

thanks for your help

Hi Rodrigo,

Thanks for the report, I will look into this.

I use Eclipse (http://www.eclipse.org/). Just start a new Java project and point it to the directory where you checked out the code. After that, right click the project and enable maven support from the popup menu. Eclipse will fix all the dependency based on the pom file.

Cheers,
Rong

You'll most likely first need to install a maven2 plugin for Eclipse
to get that right-clicking to work (unless it was included with some
particular Eclipse installation bundle). We have noticed that both
maven2 itself and and sometimes buggy maven2-plugins can be a real
hassle for openEHR beginners (in our case students), so unless/until
they have special maven needs I often recommend getting prepackaged
jars from http://openehr.cambiosys.org/continuum/servlet/continuum
instead of using maven. For complex project management maven is great
though.

// Erik Sundvall

Erik, Rong, thanks for your help.
I first did what Rong suggested but when it did not work because of the missing JAR I decided to go to the quickstart.
I’ll go back to eclipse now.

thanks again

Erik Sundvall wrote: