Re: Eclipse workspace sorts 'test' before 'main'
OK. This should now be fixed. I've updated the eclipse plugin config to specify none which should turn off the plugins stupid/broken filtering that is causing the aspect stuff to be removed. Dan On Wed August 26 2009 7:17:05 am Sergey Beryozkin wrote: > I can't also run a JAXRS test in Eclipse which depends on AOP aspects, for > some reasons aspectj is not added to the list of libraries even though it's > in the list of dependencies in pom.xml... > > cheers, Sergey > - Original Message - > From: "Sergey Beryozkin" > To: > Sent: Wednesday, August 26, 2009 11:14 AM > Subject: Eclipse workspace sorts 'test' before 'main' > > > Hi > > After updating the source and rebuilding the workspace I can see 'src/test' > being sorted before 'src/main'. I'm wondering, what might've caused it ? > > cheers, Sergey -- Daniel Kulp dk...@apache.org http://www.dankulp.com/blog
Re: Eclipse workspace sorts 'test' before 'main'
I think some 's are needed On Wed, Aug 26, 2009 at 10:30 AM, Daniel Kulp wrote: > On Wed August 26 2009 6:14:24 am Sergey Beryozkin wrote: >> Hi >> >> After updating the source and rebuilding the workspace I can see 'src/test' >> being sorted before 'src/main'. I'm wondering, what might've caused it ? > > The new maven eclipse plugin did this. It's kind of on purpose to make it > closer match what surefire is doing when you run the tests. Surefire puts > the tests first on the classpath before the src dirs. Thus, with the old > plugin the ordering when run in eclipse was reverse of what surefire was doing > which caused some issues with tests not running properly in one or the other. > > > > -- > Daniel Kulp > dk...@apache.org > http://www.dankulp.com/blog >
Re: Eclipse workspace sorts 'test' before 'main'
On Wed August 26 2009 6:14:24 am Sergey Beryozkin wrote: > Hi > > After updating the source and rebuilding the workspace I can see 'src/test' > being sorted before 'src/main'. I'm wondering, what might've caused it ? The new maven eclipse plugin did this. It's kind of on purpose to make it closer match what surefire is doing when you run the tests. Surefire puts the tests first on the classpath before the src dirs. Thus, with the old plugin the ordering when run in eclipse was reverse of what surefire was doing which caused some issues with tests not running properly in one or the other. -- Daniel Kulp dk...@apache.org http://www.dankulp.com/blog
Re: Eclipse workspace sorts 'test' before 'main'
The jaxrs classpath is indeed ill in eclipse. On Wed, Aug 26, 2009 at 7:17 AM, Sergey Beryozkin wrote: > I can't also run a JAXRS test in Eclipse which depends on AOP aspects, for > some reasons aspectj is not added to the list of libraries even though it's > in the list of dependencies in pom.xml... > > cheers, Sergey > - Original Message - From: "Sergey Beryozkin" > > To: > Sent: Wednesday, August 26, 2009 11:14 AM > Subject: Eclipse workspace sorts 'test' before 'main' > > > Hi > > After updating the source and rebuilding the workspace I can see 'src/test' > being sorted before 'src/main'. I'm wondering, what might've caused it ? > > cheers, Sergey >
Re: Eclipse workspace sorts 'test' before 'main'
I can't also run a JAXRS test in Eclipse which depends on AOP aspects, for some reasons aspectj is not added to the list of libraries even though it's in the list of dependencies in pom.xml... cheers, Sergey - Original Message - From: "Sergey Beryozkin" To: Sent: Wednesday, August 26, 2009 11:14 AM Subject: Eclipse workspace sorts 'test' before 'main' Hi After updating the source and rebuilding the workspace I can see 'src/test' being sorted before 'src/main'. I'm wondering, what might've caused it ? cheers, Sergey
Eclipse workspace sorts 'test' before 'main'
Hi After updating the source and rebuilding the workspace I can see 'src/test' being sorted before 'src/main'. I'm wondering, what might've caused it ? cheers, Sergey