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]

