[Bprocessor-commit] model build.xml,1.1.1.1,1.2
Status: Pre-Alpha
Brought to you by:
henryml
From: Jesper P. <je...@us...> - 2005-07-18 09:19:32
|
Update of /cvsroot/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16476 Modified Files: build.xml Log Message: Depend on kernel and JAXB Index: build.xml =================================================================== RCS file: /cvsroot/bprocessor/model/build.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** build.xml 27 Jun 2005 09:31:13 -0000 1.1.1.1 --- build.xml 18 Jul 2005 09:19:15 -0000 1.2 *************** *** 6,9 **** --- 6,10 ---- <property name="tools.dir" value="${basedir}/../tools"/> + <property name="kernel.dir" value="${basedir}/../kernel"/> <property name="build.dir" value="${basedir}/build"/> *************** *** 52,55 **** --- 53,93 ---- </fileset> </copy> + <copy todir="${lib.dir}"> + <fileset dir="${tools.dir}/jaxb"> + <include name="**/jaxb.jar"/> + </fileset> + </copy> + <copy todir="${lib.dir}"> + <fileset dir="${kernel.dir}/dist"> + <include name="**/kernel.jar"/> + </fileset> + </copy> + </target> + + <target name="compile-xml" depends="copylib"> + <taskdef name="xjc" + classname="com.sun.tools.xjc.XJCTask"> + <classpath> + <pathelement location="${tools.dir}/jaxb/jaxb-xjc.jar"/> + <pathelement location="${lib.dir}/jaxb.jar"/> + </classpath> + </taskdef> + <xjc schema="${conf.dir}/bprocessor.xsd" + target="${build.dir}" + package="net.sourceforge.bprocessor.model.xml"> + <arg value="-nv"/> + </xjc> + <javac srcdir="${build.dir}" destdir="${build.dir}" deprecation="yes" + debug="yes" + includes="net/**"> + <classpath> + <pathelement location="${lib.dir}/jaxb.jar"/> + </classpath> + </javac> + <delete> + <fileset dir="${build.dir}"> + <include name="**/*.java"/> + </fileset> + </delete> </target> *************** *** 66,70 **** </target> ! <target name="compile" depends="checkstyle,copylib"> <ant dir="src" target="compile"/> </target> --- 104,108 ---- </target> ! <target name="compile" depends="checkstyle,copylib,compile-xml"> <ant dir="src" target="compile"/> </target> |