You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ni...@apache.org on 2004/09/03 02:30:55 UTC

cvs commit: jakarta-struts build.xml

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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org