You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by ne...@apache.org on 2003/02/12 21:20:22 UTC

cvs commit: xml-commons/java/external build.xml

neilg       2003/02/12 12:20:22

  Modified:    java/external build.xml
  Log:
  Since Xerces now needs a zipped version of the API source, because CVS seems to corrupt .tar.gz files on some platforms, porting code to build such a file to the main branch.  This way, it will not get lost when the trunk is forked in the future.
  
  Revision  Changes    Path
  1.8       +18 -1     xml-commons/java/external/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-commons/java/external/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	30 Apr 2002 01:47:45 -0000	1.7
  +++ build.xml	12 Feb 2003 20:20:22 -0000	1.8
  @@ -135,8 +135,25 @@
           <patternset refid="licenses.asf"/>
         </tarfileset>
       </tar>
  +
  +    <!-- Xerces would like a zipped version instead for various reasons
  +        principally involving CVS limitations.  -->
       <gzip src="${build.dir}/${name.external}-${impl.version}-src.tar" zipfile="${build.dir}/${name.external}-${impl.version}-src.tar.gz"/>
       <delete file="${build.dir}/${name.external}-${impl.version}-src.tar" />
  +    <zip zipfile="${build.dir}/${name.external}-${impl.version}-src.zip" >
  +      <zipfileset dir="${src.dir}">
  +        <patternset refid="external-srcs"/>
  +      </zipfileset>
  +      <zipfileset dir="${build.dir}">
  +        <include name="manifest.commons"/>
  +      </zipfileset>
  +      <zipfileset dir="${licenses.external.dir}">
  +        <patternset refid="licenses.external"/>
  +      </zipfileset>
  +      <zipfileset dir="${licenses.asf.dir}">
  +        <patternset refid="licenses.asf"/>
  +      </zipfileset>
  +    </zip>
     </target>
   
     <target name="clean"