Hi Chris, Thanks for your contributions on this.
I'm also using Eclipse and I also see all those errors. What I do is that I ignore those errors. I choose "Ignore in Eclipse preferences (experimental)" in quick fixes for those kinds of error in pom.xml. We must fix those and those are inherited from Carbon. Could you please create a JIRA to fix those errors in project. I will be able to look in to that as soon as I get some time. Thanks! Best Regards, On Sun, Jun 22, 2014 at 2:24 AM, chris snow <[email protected]> wrote: > I've made some changes to [1] and have included both methods (simple > and advanced) for setting up the IDE. > > I'll test and refine the steps with Dale. > > --- > [1] > https://cwiki.apache.org/confluence/display/STRATOS/Setting+Up+a+Development+Environment > > On Sun, Jun 22, 2014 at 8:40 AM, chris snow <[email protected]> wrote: > > Cool - thanks for the info! > > > > For the long term, I agree that the warnings (and errors) need to be > fixed. > > > > In the short term, I think new users will want to import the whole > > source tree, so we should change the wiki to use the workflow 'mvn > > eclipse:eclipse' and then from Eclipse: 'Import -> General -> Existing > > Projects into workspace'. > > > > Does anyone have any objections to me changing the wiki page to > > describe the 'mvn eclipse:eclipse' workflow? > > > > > > > > > > On Sun, Jun 22, 2014 at 7:49 AM, Nirmal Fernando <[email protected]> > wrote: > >> > >> > >> > >> On Sun, Jun 22, 2014 at 11:39 AM, chris snow <[email protected]> > wrote: > >>> > >>> Does anyone else have an idea on this? > >>> > >>> Who uses the eclipse maven plug to import the stratos source as maven > >>> projects? Do you import the whole stratos source as described on the > wiki > >>> page [1], or do you just import a few projects at a time? > >> > >> I normally import only few, not all. And yes, we need to fix those > warnings > >> related to plugins. > >>> > >>> Who uses 'mvn eclipse:eclipse' and imports stratos source as Java > >>> projects? > >>> > >>> --- > >>> > >>> [1] > >>> > https://cwiki.apache.org/confluence/display/STRATOS/Setting+Up+a+Development+Environment > >>> > >>> > >>> On 21 Jun 2014 22:23, "chris snow" <[email protected]> wrote: > >>>> > >>>> Hi Nirmal, > >>>> > >>>> I'm using Eclipse Kepler JEE SR2. > >>>> > >>>> During import of the projects (Import -> Maven -> Existing Maven > >>>> Project), I see the errors in the image: m2e_import.png > >>>> > >>>> After importing the projects, I see the errors in the image: > >>>> m2e_errors.png. > >>>> > >>>> Many thanks, > >>>> > >>>> Chris > >>>> > >>>> On Sat, Jun 21, 2014 at 9:39 PM, Nirmal Fernando < > [email protected]> > >>>> wrote: > >>>> > I'm using Eclipse and I have a plugin installed. Probably it's > >>>> > something to > >>>> > do with the version of Eclipse, you are using. What are the errors > you > >>>> > are > >>>> > getting? > >>>> > > >>>> > > >>>> > On Sun, Jun 22, 2014 at 1:48 AM, chris snow <[email protected]> > >>>> > wrote: > >>>> >> > >>>> >> Hi Nirmal, > >>>> >> > >>>> >> I wanted to make sure the instructions were robust before pointing > new > >>>> >> developers at them, but I got a load of build errors when using > m2e. > >>>> >> > >>>> >> If other devs are using m2e successfully with Stratos, then I'll > try > >>>> >> and figure out what I'm doing wrong. Otherwise, I'd prefer to give > >>>> >> new developers instructions to use 'mvn eclipse:eclipse' as it > seems > >>>> >> much more robust. > >>>> >> > >>>> >> WDYT? > >>>> >> > >>>> >> Cheers, > >>>> >> > >>>> >> Chris > >>>> >> > >>>> >> On Sat, Jun 21, 2014 at 9:03 PM, Nirmal Fernando > >>>> >> <[email protected]> > >>>> >> wrote: > >>>> >> > > >>>> >> > > >>>> >> > > >>>> >> > On Sun, Jun 22, 2014 at 1:15 AM, chris snow <[email protected] > > > >>>> >> > wrote: > >>>> >> >> > >>>> >> >> Hi Devs, > >>>> >> >> > >>>> >> >> I just noticed the wiki page for setting up a development > >>>> >> >> environment > >>>> >> >> [1]. Until now, I had been using 'mvn eclipse:eclipse' and then > >>>> >> >> importing projects into eclipse as standard java projects. > >>>> >> > > >>>> >> > > >>>> >> > This should work Chris. And we can't enforce any method IMO. > >>>> >> >> > >>>> >> >> > >>>> >> >> Is importing the projects as 'maven projects' as described on > [1], > >>>> >> >> the > >>>> >> >> preferred way for working with Stratos code? > >>>> >> >> > >>>> >> >> When I follow the instructions on [1] to import using eclipse > maven > >>>> >> >> project import, there are a number of build errors. Is it > normal > >>>> >> >> to > >>>> >> >> see these errors? > >>>> >> >> > >>>> >> >> Many thanks, > >>>> >> >> > >>>> >> >> Chris > >>>> >> >> > >>>> >> >> --- > >>>> >> >> [1] > >>>> >> >> > >>>> >> >> > >>>> >> >> > https://cwiki.apache.org/confluence/display/STRATOS/Setting+Up+a+Development+Environment > >>>> >> > > >>>> >> > > >>>> >> > > >>>> >> > > >>>> >> > -- > >>>> >> > Best Regards, > >>>> >> > Nirmal > >>>> >> > > >>>> >> > Nirmal Fernando. > >>>> >> > PPMC Member & Committer of Apache Stratos, > >>>> >> > Senior Software Engineer, WSO2 Inc. > >>>> >> > > >>>> >> > Blog: http://nirmalfdo.blogspot.com/ > >>>> >> > >>>> >> > >>>> >> > >>>> >> -- > >>>> >> Check out my professional profile and connect with me on LinkedIn. > >>>> >> http://lnkd.in/cw5k69 > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > -- > >>>> > Best Regards, > >>>> > Nirmal > >>>> > > >>>> > Nirmal Fernando. > >>>> > PPMC Member & Committer of Apache Stratos, > >>>> > Senior Software Engineer, WSO2 Inc. > >>>> > > >>>> > Blog: http://nirmalfdo.blogspot.com/ > >>>> > >>>> > >>>> > >>>> -- > >>>> Check out my professional profile and connect with me on LinkedIn. > >>>> http://lnkd.in/cw5k69 > >> > >> > >> > >> > >> -- > >> Best Regards, > >> Nirmal > >> > >> Nirmal Fernando. > >> PPMC Member & Committer of Apache Stratos, > >> Senior Software Engineer, WSO2 Inc. > >> > >> Blog: http://nirmalfdo.blogspot.com/ > -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha
