I don't think all the issues are openmrs correctable. I had a difficult time getting maven up and going on my mac (suranga helped me). In the end the eclipse plugins didn't work correctly - I always got strange build errors.
But maven worked great on the command line … perhaps the problem was nothing to do with the maven setup of openmrs. Glen On 2011-09-01, at 10:48 AM, Burke Mamlin wrote: > +1000 > > Getting our development environment humming – including sorting out the best > way to configure Maven so that things just work – is effort that will pay off > a thousand-fold. Perhaps we could have someone spike on the issues & > potential solutions around our development setup (Eclipse/Maven/etc) from the > perspective of a developer that just wants to concentrate on coding? > > It doesn't help that our development environment is a moving target – > installation instructions are changing substantively… at least recently. > > -Burke > > On Thu, Sep 1, 2011 at 12:52 PM, Dave Thomas <[email protected]> wrote: > I ran into all kinds of crazy stuff including everything resolving correctly > besides java.lang.enum. And package problems, but everything is fine now - > its all about the classpaths. > > why don't our mavenized projects include the classpaths and java natures? it > seems like the marginal productivity gains to be had from using maven are > going to be lost messing around with eclipse. And the stuff I did yesterday > for a junior programmer looking up error messages at less than 5k/sec for a > whom english is a second language is going to be a very real barrier to > openmrs coding... > > I'm all for easy unit tests, but I'm not going to get those hours back > either... > > On Sep 1, 2011 6:15 PM, "Mark Goodrich" <[email protected]> wrote: > > Thanks Wyclif... this seemed to work for me. I just need to make sure I'm > > working on the sync or sync-api projects, not the sync-parent project. > > > > @Dave-did this fix the problem for you? > > > > Mark > > > > From: [email protected] [mailto:[email protected]] On Behalf Of Wyclif Luyima > > Sent: Wednesday, August 31, 2011 2:45 PM > > To: [email protected] > > Subject: Re: [OPENMRS-DEV] eclipse and maven > > > > Hi Dave, have you tried this; > > > > right click on project -> maven -> update project configuration > > > > That should add JavaNature to your natures tag in the .project file. > > > > If the above doesn't work, add this > > <nature>org.eclipse.jdt.core.javanature</nature> to the natures tag in the > > .project file > > > > Wyclif > > On Wed, Aug 31, 2011 at 1:56 PM, Dave Thomas > > <[email protected]<mailto:[email protected]>> wrote: > > Hi. I just checked out the new mavenized sync module, and i got it to > > compile fine. But, now i can't write code in the project. When I > > type in a java class, for example, 'Context.', rather than getting a > > suggestion for methods in the openmrs Context object, i get an eclipse > > error -- > > > > This compilation unit is not on the build path of a java project > > > > Does anyone know how to get the eclipse editor to use the dependencies > > as a classpath essentially, so i can get back to writing code? > > > > thanks, dave > > > > _________________________________________ > > > > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to > > [email protected]<mailto:[email protected]> with > > "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. > > > > [mailto:[email protected]<mailto:[email protected]>?body=SIGNOFF%20openmrs-devel-l] > > > > ________________________________ > > Click here to > > unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> > > from OpenMRS Developers' mailing list > > > > > _________________________________________ > > > > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to > > [email protected] with "SIGNOFF openmrs-devel-l" in the body (not > > the subject) of your e-mail. > > > > [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l] > Click here to unsubscribe from OpenMRS Developers' mailing list > > Click here to unsubscribe from OpenMRS Developers' mailing list _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

