Re: Maven - Property files Question

2009-07-07 Thread David Weintraub
On Mon, Jul 6, 2009 at 5:03 PM, mavenusrsundarva...@gmail.com wrote: Thanks. Yes. My property files aren't part of the JAR. so again my question is, if i change the property files, will the JAR automically pickup the change without the need for rebuilding it? No. If none of the files that

Re: Maven - Property files Question

2009-07-07 Thread mavenusr
make any changes to the property. currently i need to package again whenever a small change is made. please help. Thanks, Sundar -- View this message in context: http://www.nabble.com/Maven---Property-files-Question-tp24214839p24376326.html Sent from the Maven - Users mailing list

Re: Maven - Property files Question

2009-07-06 Thread mavenusr
: http://www.nabble.com/Maven---Property-files-Question-tp24214839p24361473.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands

Re: Maven - Property files Question

2009-07-06 Thread David Weintraub
On Mon, Jul 6, 2009 at 3:29 PM, mavenusrsundarva...@gmail.com wrote: one last question. If i want to update the property files, will my jar file picksup the updates automatically or do i need to build it again? Um... I thought the properties file wasn't in your JAR. If you put the properties

Re: Maven - Property files Question

2009-07-06 Thread mavenusr
, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://www.nabble.com/Maven---Property-files-Question-tp24214839p24362768.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Maven - Property files Question

2009-06-29 Thread David Weintraub
There are two issues I addressed in my previous email: Issue #1: How do you prevent those properties files from being packaged inside your jarfile, and Issue #2: How to make those properties files available as a release product. Let's start with Issue #1: Preventing your jar file from containing

Re: Maven - Property files Question

2009-06-26 Thread sundarvarad
any changes to the property. currently i need to package again whenever a small change is made. please help. Thanks, Sundar -- View this message in context: http://n2.nabble.com/Maven---Property-files-Question-tp3159654p3162714.html Sent from the maven users mailing list archive

Re: Maven - Property files Question

2009-06-26 Thread David Weintraub
By default, the resources:resources lifecycle automatically copies everything in the resources folder over to the target/classes folder when it builds the war or jar. In order to avoid this, you need to move your property files to another folder, or if that's not possible, configure the

Re: Maven - Property files Question

2009-06-26 Thread sundar varadarajan
Hi Dave, Thanks for your reply. I m not trying to place resources folder outside the jar. I m trying to place the properties file that reside in resources folder outside the jar so that my application can pickup. What should i modify in my pom.xml? Thanks, Sundar On 6/25/09, sundar varadarajan

Re: Maven - Property files Question

2009-06-26 Thread John Prystash
: Maven - Property files Question By default, the resources:resources lifecycle automatically copies everything in the resources folder over to the target/classes folder when it builds the war or jar. In order to avoid this, you need to move your property files to another folder, or if that's

Maven - Property files Question

2009-06-25 Thread sundar varadarajan
Hello, I m new to Maven and I m trying to place property and config.xml files outside the Jar files. Here is my current directory Src main java resources test java resources under java, i have all the java class files and in resources folder i have the properties and springbatch xml