niallp 2004/09/02 17:30:55
Modified: . build.xml
Log:
Bug 31021 Create "legacy" tlds with jakarta URI - patch suppiled by Hal Deadman
Revision Changes Path
1.138 +9 -0 jakarta-struts/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/build.xml,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- build.xml 1 Sep 2004 05:22:28 -0000 1.137
+++ build.xml 3 Sep 2004 00:30:55 -0000 1.138
@@ -324,6 +324,15 @@
<copy todir="${build.home}/library/classes/META-INF/tlds">
<fileset dir="${build.home}/library" includes="struts-*.tld"/>
</copy>
+ <copy todir="${build.home}/library/classes/META-INF/tlds" overwrite="true">
+ <fileset dir="${build.home}/library" includes="struts-*.tld"/>
+ <mapper type="regexp" from="^(.*)\.tld$$" to="\1-1.1.tld"/>
+ </copy>
+ <replace dir="${build.home}/library/classes/META-INF/tlds" >
+ <include name="*-1.1.tld"/>
+ <replacefilter token="http://struts.apache.org/tags"
+ value="http://jakarta.apache.org/struts/tags"/>
+ </replace>
<jar jarfile="${build.home}/library/${app.name}.jar"
manifest="${conf.share.dir}/MANIFEST.MF"
basedir="${build.home}/library/classes"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]