You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Rajiv Mordani <Ra...@eng.sun.com> on 2000/05/26 07:54:49 UTC

Re: cvs commit: xml-xerces/java build.xml

Finally nice to see the effort going towards Ant on this project also..

- Rajiv

--
:wq

On 25 May 2000 abagchi@locus.apache.org wrote:

> abagchi     00/05/25 16:34:38
> 
>   Modified:    java     build.xml
>   Log:
>   Added target 'all' and fixed a couple of bugs
>   
>   Revision  Changes    Path
>   1.9       +15 -7     xml-xerces/java/build.xml
>   
>   Index: build.xml
>   ===================================================================
>   RCS file: /home/cvs/xml-xerces/java/build.xml,v
>   retrieving revision 1.8
>   retrieving revision 1.9
>   diff -u -r1.8 -r1.9
>   --- build.xml	2000/05/25 19:17:14	1.8
>   +++ build.xml	2000/05/25 23:34:37	1.9
>   @@ -51,7 +51,7 @@
>    Copyright:
>      Copyright (c) 2000 The Apache Software Foundation.
>    
>   -   $Id: build.xml,v 1.8 2000/05/25 19:17:14 abagchi Exp $
>   +   $Id: build.xml,v 1.9 2000/05/25 23:34:37 abagchi Exp $
>    
>    ==================================================================== -->
>    
>   @@ -123,6 +123,7 @@
>        <echo message="   javadocs --> generates the API documentation (needs Java 1.2 or higher)"/>
>        <echo message="   pack-src --> generates the source distributions of Xerces-Java (zip and tar.gz)"/>
>        <echo message="   pack-bin --> generates the binary distributions of Xerces-Java (zip and tar.gz)"/>
>   +    <echo message="   all      --> generates the binary and source distributions of Xerces-Java"/>
>        <echo message="   test     --> runs a sanity test on the sample files"/>
>        <echo message="   clean    --> cleans up all generated files and directories"/>
>        <echo message="   usage    --> provides help on using the build tool (default)"/>
>   @@ -149,11 +150,11 @@
>        <mkdir dir="${build.dest}"/>
>    
>        <!-- copy src files -->
>   -    <copydir src="${src.dir}" dest="${build.src}"
>   -             excludes="**/Makefile **/Makefile.incl **/classfiles_updated **/CVS* **/*#*
>   +    <copydir src="${src.dir}" dest="${build.src}" includes="**/Makefile, **/Makefile.incl, javax/**, org/**"
>   +             excludes="**/classfiles_updated **/CVS* **/.#*
>                           **/DatatypeValidatorFactory.java **/SchemaImporter.java
>                           **/RevalidatingDOMParser.java **/DatatypeContentModel.java
>   -                       **/TraverseSchema.java **/ComplexTypeInfo.java **/DTDImporter.java "/>
>   +                       **/ComplexTypeInfo.java **/DTDImporter.java "/>
>    	<deltree dir="${build.src}/whiteboard"/>
>    
>        <!-- substitute tokens as needed -->
>   @@ -186,7 +187,7 @@
>      <!-- =================================================================== -->
>      <target name="samples" depends="jar">
>        <mkdir dir="${build.samples}"/>
>   -    <copydir src="${samples.dir}" dest="${build.samples}" excludes="**/Makefile"/>
>   +    <copydir src="${samples.dir}" dest="${build.samples}" />
>        <javac srcdir="${build.samples}"
>               destdir="${build.dest}"
>               classpath="${build.dir}/${name}.jar"
>   @@ -247,8 +248,9 @@
>        <mkdir dir="${distsrc.dir}/docs"/>
>        <mkdir dir="${distsrc.dir}/samples"/>
>    
>   -    <copydir src="${src.dir}" dest="${distsrc.dir}/src" excludes="**/CVS*, **/*.#*" includes="org/**"/>
>   -    <copydir src="${data.dir}" dest="${distsrc.dir}/data" excludes="**/CVS*, **/*.#*"/>
>   +    <copydir src="${src.dir}" dest="${distsrc.dir}/src" excludes="**/CVS*, **/.#*"
>   +             includes="**/Makefile, **/Makefile.incl, org/**"/>
>   +    <copydir src="${data.dir}" dest="${distsrc.dir}/data" excludes="**/CVS*, **/.#*"/>
>        <copydir src="${docs.dir}" dest="${distsrc.dir}/docs"
>                 excludes="**/CVS*, **/*.#*, pdf/**, html/**, **/apiDocs*"/>
>        <copydir src="${samples.dir}" dest="${distsrc.dir}/samples" excludes="**/CVS*, **/*.#*"/>
>   @@ -348,6 +350,12 @@
>              classname="dom.TreeViewer"
>              args="${data.dir}/personal.xml"/>
>         -->
>   +  </target>
>   +
>   +  <!-- =================================================================== -->
>   +  <!-- Builds and packages sources and binary distributions                -->
>   +  <!-- =================================================================== -->
>   +  <target name="all" depends="pack-src, pack-bin">
>      </target>
>    
>      <!-- =================================================================== -->
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-cvs-help@xml.apache.org
>