niallp 2004/09/02 18:33:17
Modified: contrib/struts-el build.xml
Log:
Bug 31021 Create "legacy" tlds with jakarta URI - patch suppiled by Hal Deadman
Revision Changes Path
1.23 +10 -1 jakarta-struts/contrib/struts-el/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/contrib/struts-el/build.xml,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- build.xml 29 Feb 2004 22:55:45 -0000 1.22
+++ build.xml 3 Sep 2004 01:33:17 -0000 1.23
@@ -242,8 +242,17 @@
extension=".tld" style="${doc.dir}/stylesheets/tld.xsl"
includes="struts-*.xml"/>
<copy todir="${build.home}/library/classes/META-INF/tlds">
- <fileset dir="${build.home}/library" includes="struts-*.tld"/>
+ <fileset dir="${build.home}/library" includes="struts-*-el.tld"/>
</copy>
+ <copy todir="${build.home}/library/classes/META-INF/tlds" overwrite="true">
+ <fileset dir="${build.home}/library" includes="struts-*-el.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"
basedir="${build.home}/library/classes" includes="**"/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]