[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invalid dependencies in build.xml
On Wed, 23 Aug 2000, Andreas Kasparz wrote:
> The 'build.xml' contains invalid dependencies, so misc. affected files
> will not be build correctly. Especially I have this found in the Section:
>
> <target name="blob" depends="prepare">
> <delete file="${src.dir}/org/ozoneDB/blob/BLOBContainerImpl_Proxy.java" />
> <delete file="${src.dir}/org/ozoneDB/blob/BLOBPageImpl_Proxy.java" />
> <javac srcdir="${src.dir}" destdir="${build.dir}" classpath="${classpath}" includes="org/ozoneDB/blob/*.java" />
> <java classname="org.ozoneDB.tools.OPP.OPP" args="${opp.options} -o${build.dir}/org/ozoneDB/blob org.ozoneDB.blob.BLOBContainerImpl org.ozoneDB.blob.BLOBPageImpl" fork="yes" jvmargs="-Dozone.javac=${opp.compiler} -classpath ${classpath}" />
> </target>
>
> which should be correctly:
>
> <target name="blob-proxy">
> <delete file="${src.dir}/org/ozoneDB/blob/BLOBContainerImpl_Proxy.java"/>
> <delete file="${src.dir}/org/ozoneDB/blob/BLOBPageImpl_Proxy.java"/>
> <java classname="org.ozoneDB.tools.OPP.OPP"
> args="${opp.options} -o${build.dir}/org/ozoneDB/blob org.ozoneDB.blob.BLOBContainerImpl org.ozoneDB.blob.BLOBPageImpl"
> fork="yes"
> jvmargs="-Dozone.javac=${opp.compiler} -classpath ${classpath}"
> />
> </target>
>
> <target name="blob" depends="prepare,blob-proxy">
> <javac srcdir="${src.dir}"
> destdir="${build.dir}"
> classpath="${classpath}"
> includes="org/ozoneDB/blob/*.java"
> />
> </target>
Thanks, andy! It's in CVS.
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com