Hey Dan, Using mvn clean install eclispe:eclipse works for me in all three major branches (trunk, 2.2.x, 2.1.x). BUT you have to be careful during the import of existing projects. Eclipses sees/creates some projects in xxx/target/xxx which you should not import since you get duplicated projects otherwise and some other projects. I've done it wrong the first time and get quite strange problems afterwards (wrong web project, ...) which creates a lot of "false errors" then.
Hope this helps, Kind regards, Andreas On Thu, Mar 31, 2011 at 1:48 AM, Dan Tran <[email protected]> wrote: > Must be something not right at my eclipse, where 'client project' > depends on karaf's console which depends on jline with provided scope. > So I am not sure why m2eclipse does not the import the transitive > provided scope jline to 'client' project > > -D > > > On Wed, Mar 30, 2011 at 3:36 PM, Achim Nierbeck <[email protected]> > wrote: >> Hi Dan, >> >> what usually helps me is to update dependencies via the maven menu. >> >> >> Regards, Achim >> >> Am 31.03.2011 00:33, schrieb Dan Tran: >>> I have no problem doing a clean from root directory ( I have to turn >>> off my mirror settings which is currently pointing our internal >>> corporate Nexus instance ) >>> >>> A typical problem is syntax error like karaf-client could not find >>> 'import jline.Terminal' due to jline.jar not imported , by m2eclipse >>> perhaps? >>> >>> -Dan >>> >>> On Wed, Mar 30, 2011 at 3:26 PM, Achim Nierbeck <[email protected]> >>> wrote: >>>> Try a clean install on the root project, after that all your maven >>>> dependencies should be visible to eclipse too >>>> >>>> regards, Achim >>>>> I am able to load Karaf into eclipse using m2eclipse. However, half of >>>>> the subjects show red marks. is It normal? >>>>> >>>>> -Dan >>>>> >>>>> On Wed, Mar 30, 2011 at 3:19 PM, Achim Nierbeck <[email protected]> >>>>> wrote: >>>>>> Yep, use m2e for working with eclipse. This way youre able to debug >>>>>> whithout any problems. >>>>>> >>>>>> regards, Achim >>>>>>> I don't use eclipse but I would expect using m2e is more likely to work. >>>>>>> >>>>>>> david jencks >>>>>>> >>>>>>> On Mar 30, 2011, at 3:04 PM, Dan Tran wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I need some advice how to load karaf ( from trunk ) source to Eclipse, >>>>>>>> but it fails big time when using eclipse:eclipse. >>>>>>>> >>>>>>>> How do you do it? >>>>>>>> >>>>>>>> -Dan >>>> >> >> >
