bodewig 02/03/15 02:18:55
Modified: proposal/gump/site build.xml
Log:
(1) the property is site2.dir not site.dir in build.properties
(2) rasterizer.jar is in a subdirectory of xml-batik
(3) if you fork for batik, you should include it in the classpath for
the forked VM.
Revision Changes Path
1.6 +5 -4 jakarta-alexandria/proposal/gump/site/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.xml 1 Oct 2001 11:41:41 -0000 1.5
+++ build.xml 15 Mar 2002 10:18:55 -0000 1.6
@@ -15,7 +15,7 @@
<property name="docs.src" location="xdocs"/>
<property name="docs.dest" location="docs"/>
<property name="project.file" value="stylesheets/project.xml" />
- <property name="site.dir" location="../jakarta-site2" />
+ <property name="site2.dir" location="../jakarta-site2" />
<property name="batik.dir" location="../xml-batik" />
<property name="templ.path" location="${docs.src}/stylesheets" />
<property name="velocity.props" location="${docs.src}/velocity.properties"/>
@@ -23,11 +23,11 @@
<!-- Add jakarta-site2 and batik jars to the classpath -->
<path id="classpath">
<pathelement path="${java.class.path}" />
- <fileset dir="${site.dir}/lib">
+ <fileset dir="${site2.dir}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${batik.dir}">
- <include name="batik-rasterizer.jar"/>
+ <include name="**/batik-rasterizer.jar"/>
</fileset>
</path>
@@ -71,7 +71,7 @@
<classpath refid="classpath"/>
</taskdef>
- <copy file="${site.dir}/xdocs/stylesheets/site.vsl"
+ <copy file="${site2.dir}/xdocs/stylesheets/site.vsl"
todir="${docs.src}/stylesheets"/>
<anakia basedir="${docs.src}" destdir="${docs.dest}/"
@@ -92,6 +92,7 @@
<java fork="yes" classname="org.apache.batik.apps.rasterizer.Main">
<arg value="${docs.src}/bench.svg"/>
<arg value="-d"/> <arg value="${docs.dest}/images"/>
+ <classpath refid="classpath" />
</java>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>