checkout now gets only the sources, checkoutfull gets everything needed

for building.
This commit is contained in:
stefanp 2002-04-26 15:09:36 +00:00
parent 653de0713c
commit c0d7a163ba

View file

@ -18,7 +18,7 @@
<property name="home.dir" value=".."/> <property name="home.dir" value=".."/>
<!-- values for building a snapshot --> <!-- values for building a snapshot -->
<property name="snapshot.src" value="${home.dir}/src/hop"/> <property name="snapshot.src" value="${home.dir}/src"/>
<property name="snapshot.classes" value="${home.dir}/classes"/> <property name="snapshot.classes" value="${home.dir}/classes"/>
<property name="snapshot.lib" value="${home.dir}/lib"/> <property name="snapshot.lib" value="${home.dir}/lib"/>
@ -51,10 +51,18 @@
</target> </target>
<!-- =================================================================== --> <!-- =================================================================== -->
<!-- Copies the source code to the build directory and does filtering --> <!-- Copies the source code to the src directroy -->
<!-- =================================================================== --> <!-- =================================================================== -->
<target name="checkout" depends="init"> <target name="checkout" depends="init">
<mkdir dir="${build.src}"/> <mkdir dir="${snapshot.src}"/>
<cvs cvsRoot="${cvs.root}" package="hop" dest="${snapshot.src}"/>
</target>
<!-- =================================================================== -->
<!-- Copies the everything from cvs that's needed to build a full -->
<!-- helma distribution -->
<!-- =================================================================== -->
<target name="fullcheckout" depends="init">
<mkdir dir="${build.checkout}"/> <mkdir dir="${build.checkout}"/>
<cvs cvsRoot="${cvs.root}" package="hop" dest="${build.checkout}"/> <cvs cvsRoot="${cvs.root}" package="hop" dest="${build.checkout}"/>
<cvs cvsRoot="${cvs.root}" package="hopbuild" dest="${build.checkout}"/> <cvs cvsRoot="${cvs.root}" package="hopbuild" dest="${build.checkout}"/>
@ -170,7 +178,7 @@
<!-- =================================================================== --> <!-- =================================================================== -->
<!-- Package --> <!-- Package -->
<!-- =================================================================== --> <!-- =================================================================== -->
<target name="package" depends="init, checkout, jar, javadocs, helmadocs"> <target name="package" depends="init, fullcheckout, jar, javadocs, helmadocs">
<mkdir dir="${final.dir}"/> <mkdir dir="${final.dir}"/>
<mkdir dir="${final.dir}/src/hop"/> <mkdir dir="${final.dir}/src/hop"/>
@ -245,7 +253,7 @@
<!-- =================================================================== --> <!-- =================================================================== -->
<target name="snapshotcompile" depends="init"> <target name="snapshotcompile" depends="init">
<mkdir dir="${snapshot.classes}"/> <mkdir dir="${snapshot.classes}"/>
<javac srcdir="${snapshot.src}" <javac srcdir="${snapshot.src}/hop"
destdir="${snapshot.classes}" destdir="${snapshot.classes}"
debug="${debug}" debug="${debug}"
deprecation="${deprecation}" deprecation="${deprecation}"