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
webinfelement specifies aFileSet.
All files included in thisfilesetwill end up in theWEB-INFdirectory of thewarfile.
If thisfilesetincludes a file namedweb.xml, the file is ignored and you will get a warning.
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论