Update of /cvsroot/firebug/firebug/project/zaurus
In directory sc8-pr-cvs1:/tmp/cvs-serv8485
Added Files:
build.xml
Log Message:
ant build file for java stuff.
--- NEW FILE: build.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<project basedir="." default="jar" name="firebug">
<!--
For this build.xml file to work, the build.properties
file or the environment variables need to point at
wherever comm.jar is located, and wherever the root
of the tinyos java tools (net.tinyos.*) are located.
The build.properties file is system dependent, DO NOT
add and commit it to the cvs archive. Newer versions
of ant may allow the same information to be defined in
an .antrc file, which is the preferable method if it
is possible to do.
-->
<property file="build.properties"/>
<property name="firebug" value="firebug"/>
<property name="build" value="classes"/>
<property name="lib" value="classes/lib"/>
<property name="dist" value="dist"/>
<property name="javadoc" value="doc"/>
<property name="servletlib" value="./jar/jsdk22.jar"/>
<property name="dblib" value="./jar/mm.mysql-2.0.4-bin.jar"/>
<property name="messagepath" value="c:\\tinyos-1.x\\tools\\java"/>
<target name="prepare">
<tstamp/>
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
</target>
<!-- This stuff doesn't seem to work at all. -->
<!--
<path id="firebugpath">
<pathelement path="${classpath}" />
<pathelement location="d:\jdk1.3.1_07\lib\comm.jar" />
<pathelement location=".\dist\firebug.jar" />
<pathelement location=".\jar\xerces.jar" />
<pathelement location=".\jar\jsdk22.jar" />
</path>
-->
<target name="compile" depends="prepare">
<javac srcdir="src"
classpath="${servletlib}"
destdir="${build}" />
</target>
<target name="jar" depends="compile">
<jar basedir="${build}" jarfile="${dist}/firebug.jar"/>
</target>
<target name="clean" description="Delete old build and dist directories">
<delete verbose="true" file="*~"/>
<delete verbose="true" dir="${build}"/>
<delete verbose="true" dir="${dist}"/>
</target>
<target name="javadoc">
<mkdir dir="doc/api"/>
<javadoc sourcepath="./src" packagenames="org.firebug.*" destdir="doc/api"/>
</target>
<target name="run" depends="jar">
<echo message="Running Listener: java -classpath ${classpath} org.firebug.ListenRawFB"/>
<!--
<java classpath="${dist}/firebug.jar" classname="org.firebug.ListenRawFB" fork="yes"/>
-->
<java classpath=".\dist\firebug.jar;C:\jdk1.3.1_01\lib\comm.jar" classname="org.firebug.ListenRawFB" fork="yes">
<arg value="COM1"/>
</java>
</target>
</project>
|