deweese 01/12/06 07:30:09
Modified: . build.xml
Log:
1) Build options now controlled by properties.
2) Now reads a build.properties file to override standard settings.
Example build.properties file:
debug=on
optimize=off
Revision Changes Path
1.97 +12 -3 xml-batik/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-batik/build.xml,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- build.xml 2001/12/06 09:03:59 1.96
+++ build.xml 2001/12/06 15:30:09 1.97
@@ -17,6 +17,9 @@
The only thing that you have to make sure, is the "JAVA_HOME" environment
property should be set to match the JVM you want to use.
+If you are going to be doing development you may want to create a file
+called 'build.properties' with the line 'debug=on' in it. This will
+turn on the generation of debugging information when compiling Batik.
Building Instructions
..............................................................................
@@ -44,7 +47,7 @@
[win32] .\build.bat help
- $Id: build.xml,v 1.96 2001/12/06 09:03:59 vhardy Exp $
+ $Id: build.xml,v 1.97 2001/12/06 15:30:09 deweese Exp $
-->
@@ -62,6 +65,11 @@
<property name="year" value="2001"/>
<property name="version" value="1.1"/>
+ <property file="build.properties"/>
+ <property name="debug" value="off"/>
+ <property name="optimize" value="on"/>
+ <property name="deprecation" value="on"/>
+
<property name="src" value="sources"/>
<property name="resources" value="resources"/>
<property name="testsrc" value="test-sources"/>
@@ -237,8 +245,9 @@
depends ="init"
description="Compiles the source files">
<mkdir dir="${dest}"/>
-
- <javac srcdir="${src}" destdir="${dest}" deprecation="on" debug="off">
+ <echo message="debug ${debug}, optimize ${optimize}, deprecation
${deprecation}"/>
+ <javac srcdir="${src}" destdir="${dest}" deprecation="${deprecation}"
+ debug="${debug}" optimize="${optimize}">
<classpath refid="libs-classpath"/>
<exclude name="**/*.html"/>
<exclude name="**/rhino/*" unless="rhino.present"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]