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] _________________________________________ 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]

