Jetty and using src/test/webapp

2008-09-22 Thread Andrew Robinson
I have a war project that was built that also has a "src/test/webapp" directory. The idea was that test pages could be made in this directory that would not be included in the normal war. I have got it mostly working except for the classes. I need to have both target/classes and target/test-classe

Re: Jetty and using src/test/webapp

2009-05-01 Thread Todd Orr
This is not so unusual. Consider that I have a similar issue. I have spring configs that are only used for integration testing. These reside in src/test/resource. When firing up jetty:run it cannot read those resources as defined in my web.xml via classpath:resource. Furthermore, the jetty plugin c

RE: Jetty and using src/test/webapp

2009-05-01 Thread Edelson, Justin
The useTestClasspath configuration option adds test classes and resources to the classpath used by jetty:run. Justin -Original Message- From: Todd Orr [mailto:torr0...@gmail.com] Sent: Friday, May 01, 2009 11:39 AM To: Maven Users List Subject: Re: Jetty and using src/test/webapp This

Re: Jetty and using src/test/webapp

2008-09-22 Thread Brett Porter
I think you'd have to copy the files all to one directory and use that instead, but that would prevent the automatic recompilation. You might be able to add a profile that adds the test directory as an additional source directory, but be careful here that it will pollute target/classes for an even