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<[email protected]> 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 > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- 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: [email protected] For additional commands, e-mail: [email protected]
