Re: Resources from classpath in JAR

2008-01-16 Thread Simon Kitching
dddzzz <[EMAIL PROTECTED]> schrieb: > > > > Heinrich Nirschl wrote: > > > > > > Put them into src/main/resources. > > > > > > I want them to be in same folder that classes are. That's a reasonable way to structure your code I think. I always used to put resources together with the co

Re: Resources from classpath in JAR

2008-01-15 Thread Heinrich Nirschl
On Jan 15, 2008 7:31 PM, dddzzz <[EMAIL PROTECTED]> wrote: > > > > Heinrich Nirschl wrote: > > > > > > Put them into src/main/resources. > > > > > > I want them to be in same folder that classes are. Which folder do you mean, the one with the .class files or with the .java files? The final jar wil

Re: Resources from classpath in JAR

2008-01-15 Thread dddzzz
Heinrich Nirschl wrote: > > > Put them into src/main/resources. > > I want them to be in same folder that classes are. -- View this message in context: http://www.nabble.com/Resources-from-classpath-in-JAR-tp14814993s177p14844214.html Sent from the Maven - Users mailing

Re: Resources from classpath in JAR

2008-01-14 Thread Heinrich Nirschl
On Jan 14, 2008 10:24 PM, dddzzz <[EMAIL PROTECTED]> wrote: > > How can I make maven2 to include files (like .xml and .property) in JAR > without adding resource include in POM. Put them into src/main/resources. - To unsubscribe,

Resources from classpath in JAR

2008-01-14 Thread dddzzz
How can I make maven2 to include files (like .xml and .property) in JAR without adding resource include in POM. -- View this message in context: http://www.nabble.com/Resources-from-classpath-in-JAR-tp14814993s177p14814993.html Sent from the Maven - Users mailing list archive at Nabble.com