QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eugeny N Dzhurinsky
Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as a JAR file and place it into WEB-INF/lib/? Also I need to include some external resources

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Richard Kirby
Put your java classes into a separate Maven project, and include it as a dependency in your WAR project. Cheers Richard Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Ian Springer
Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as a JAR file and place it into WEB-INF/lib/?

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eugeny N Dzhurinsky
On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eugeny N Dzhurinsky
On Tue, Jul 31, 2007 at 05:38:53PM +0300, Eugeny N Dzhurinsky wrote: On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Wayne Fay
Did you run mvn clean package to delete the *.class files, or simply mvn package? Wayne On 7/31/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Wayne Fay
No, in all likelihood, version 2.0 of the war plugin did not have this feature. It must have been added in a version greater than 2.0. Wayne On 7/31/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Tue, Jul 31, 2007 at 05:38:53PM +0300, Eugeny N Dzhurinsky wrote: On Tue, Jul 31, 2007 at

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eric Redmond
Yeah, it was added in 2.0.1, iirc. So he could specify version 2.0.1 if he wants to stick to a defined version (which I like to do). -- Eric Redmond http://blog.propellors.net On 7/31/07, Wayne Fay [EMAIL PROTECTED] wrote: No, in all likelihood, version 2.0 of the war plugin did not have this