开发者

svn ant build and patches

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 a FileSet.
All files included in this fileset will end up in the WEB-INF directory of the war file.
If this fileset includes a file named web.xml, the file is ignored and you will get a warning.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜