maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mavenusr <sundarva...@gmail.com>
Subject Re: Maven - Property files Question
Date Mon, 06 Jul 2009 21:03:16 GMT

Thanks. Yes. My property files are n'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?


David Weintraub wrote:
> 
> On Mon, Jul 6, 2009 at 3:29 PM, mavenusr<sundarvarad@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 file in another directory besides the
> resources directory, or if you exclude the properties files from the
> jar, but the properties files are still in the /src/main/resources
> directory, then your JAR will not rebuild if someone changes the
> properties files.
> 
> HOWEVER, if the properties files are included in your jarfile. Yes,
> your jarfile will rebuild.
> 
> Basically, whether your jar file rebuilds or not depends if any of the
> files inside the jar are changed. I've found Maven pretty good at
> keeping track of those types of things.
> 
> -- 
> David Weintraub
> qazwart@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message