I perform ant builds with a SVN source code control syste开发者_C百科ms. Every build process creates a War file- which is a package of individual jar files.
My development team wants to create a patch for the resources properties file (not included in the build- but included in the source code control SVN).
Any thoughts of how I can incorporate this patch and create a new build - without having to rerun my build process?
It depends where your property file must be located within the war, but you can considered one of the nested elements of the war ant
task and try using one of those (based on a FileSet
).
For instance webinf
.
The nested
webinf
element specifies aFileSet
.
All files included in thisfileset
will end up in theWEB-INF
directory of thewar
file.
If thisfileset
includes a file namedweb.xml
, the file is ignored and you will get a warning.
精彩评论