You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2001/01/18 21:09:10 UTC

cvs commit: xml-batik build.xml

hillion     01/01/18 12:09:10

  Modified:    .        build.xml
  Log:
  Updated build.xml to be in sync with the doc (added a 'svgrasterizer' rule).
  
  Revision  Changes    Path
  1.35      +33 -18    xml-batik/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-batik/build.xml,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- build.xml	2001/01/08 13:19:50	1.34
  +++ build.xml	2001/01/18 20:09:09	1.35
  @@ -45,7 +45,7 @@
     [win32] .\build.bat help
   
    
  - $Id: build.xml,v 1.34 2001/01/08 13:19:50 hillion Exp $
  + $Id: build.xml,v 1.35 2001/01/18 20:09:09 hillion Exp $
   
   -->
   
  @@ -53,8 +53,7 @@
   
     <!-- Initializations .................................................... -->
     <target name="init-args" unless="args">
  -    <property name="args"
  -              value="resources/org/apache/batik/apps/svgviewer/resources/usage.svg"/>
  +    <property name="args" value=""/>
     </target>
   
     <target name="init" depends="init-args">
  @@ -116,21 +115,23 @@
       <echo message=""/>
       <echo message=" Available targets are:"/>
       <echo message=""/>
  -    <echo message="   dist-zip   --> build the zip distributions"/>
  -    <echo message="   dist-tgz   --> build the tgz distributions"/>
  -    <echo message="   compile    --> compiles the source code"/>
  -    <echo message="   svgviewer  --> runs the SVG viewer"/>
  -    <echo message="   regard     --> runs the regard regression utility"/>
  -    <echo message="   javadoc    --> generates the API documentation"/>
  -    <echo message="   site       --> generates the site documentation"/>
  -    <echo message="   sitedoc    --> generates the site documentation without"/>
  -    <echo message="                  the Javadoc"/>
  -    <echo message="   html       --> generates the site documentation in ${build}/docs/"/>
  -    <echo message="   htmldoc    --> generates the site documentation in ${build}/docs/"/>
  -    <echo message="                  without the Javadoc"/>
  -    <echo message="   printerdoc --> generates the printable documentation in"/>
  -    <echo message="                  ${build}/docs/print"/>
  -    <echo message="   clean      --> cleans up the directory"/>
  +    <echo message="   dist-zip      --> build the zip distributions"/>
  +    <echo message="   dist-tgz      --> build the tgz distributions"/>
  +    <echo message="   compile       --> compiles the source code"/>
  +    <echo message="   svgviewer     --> runs the SVG viewer"/>
  +    <echo message="   svgrasterizer --> runs the SVG viewer"/>
  +    <echo message="   regard        --> runs the regard regression utility"/>
  +    <echo message="   javadoc       --> generates the API documentation"/>
  +    <echo message="   site          --> generates the site documentation"/>
  +    <echo message="   sitedoc       --> generates the site documentation without"/>
  +    <echo message="                     the Javadoc"/>
  +    <echo message="   html          --> generates the site documentation in"/>
  +    <echo message="                     ${build}/docs/"/>
  +    <echo message="   htmldoc       --> generates the site documentation in"/>
  +    <echo message="                     ${build}/docs/ without the Javadoc"/>
  +    <echo message="   printerdoc    --> generates the printable documentation in"/>
  +    <echo message="                     ${build}/docs/print"/>
  +    <echo message="   clean         --> cleans up the directory"/>
       <echo message=""/>
       <echo message=" See the comments in the build.xml file for more details."/>
       <echo message=""/>
  @@ -515,6 +516,20 @@
             description="Runs the SVG viewer">
       <java fork="yes"
             classname="${class-prefix}.apps.svgviewer.Main">
  +      <classpath>
  +        <pathelement location="${dest}" />
  +        <path refid="libs-classpath"/>
  +        <pathelement location="resources" />
  +      </classpath>
  +      <arg value="${args}"/>
  +    </java>
  +  </target>
  +
  +  <target name="svgrasterizer"
  +          depends="compile"
  +          description="Runs the SVG rasterizer">
  +    <java fork="yes"
  +          classname="${class-prefix}.apps.rasterizer.Main">
         <classpath>
           <pathelement location="${dest}" />
           <path refid="libs-classpath"/>