[Idrs-commit] CVS: Idrs/dev build.xml,1.7,1.8
Brought to you by:
bigman921
|
From: Marc B. <big...@us...> - 2002-02-27 23:56:33
|
Update of /cvsroot/idrs/Idrs/dev
In directory usw-pr-cvs1:/tmp/cvs-serv12455/dev
Modified Files:
build.xml
Log Message:
Added upload support! Thanks to Dane Foster and Equity Technology Group for posting their code on sourceforge!
Index: build.xml
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** build.xml 23 Jan 2002 22:33:03 -0000 1.7
--- build.xml 27 Feb 2002 23:56:30 -0000 1.8
***************
*** 1,47 ****
! <project name="idrs" default="build" basedir=".">
! <target name="init" description="Initializes properties">
! <property name="src" value="src" />
! <property name="classes" value="classes" />
! <property name="jars" value="bin" />
! <property name="lib" value="lib" />
! <property name="docsdir" value="docs" />
</target>
! <target name="build" depends="init" description="Compiles updated sources into into classes directory based on the libraries in the lib directory except idrs.jar" >
! <javac srcdir="${src}" destdir="${classes}" includes="net/sourceforge/**">
<classpath>
! <pathelement location="${lib}/servlet.jar" />
! <pathelement location="${lib}/xerces.jar" />
! <pathelement location="${lib}/xalan.jar" />
! <pathelement location="${lib}/jython.jar" />
! <pathelement location="${lib}/bsh-core-1.2b3.jar" />
</classpath>
</javac>
</target>
! <target name="jar" depends="init" description="jars the classes into the bin directory and copys the jar to the lib directory" >
! <delete file="${jars}/idrs.jar" />
! <delete file="${lib}/idrs.jar" />
! <jar jarfile="${jars}/idrs.jar" >
! <fileset dir="${classes}" includes="**/*.class" />
</jar>
! <copy file="${jars}/idrs.jar" todir="${lib}" />
</target>
! <target name="build-jar" depends="init,build,jar" description="performs both a build and jar"/>
! <target name="doc" depends="init" description="executes javadoc on the sources in src and places the docs in docs">
! <mkdir dir="tmp" />
! <copy todir="tmp" >
! <fileset dir="src" />
</copy>
! <javadoc packagenames="net.sourceforge.idrs.*"
! author="true"
! Private="true"
! sourcepath="tmp"
! destdir="${docsdir}" >
</javadoc>
! <delete dir="tmp" />
</target>
! </project>
\ No newline at end of file
--- 1,45 ----
! <?xml version="1.0" encoding="UTF-8"?>
! <project basedir="." default="build" name="idrs">
! <target description="Initializes properties" name="init">
! <property name="src" value="src"/>
! <property name="classes" value="classes"/>
! <property name="jars" value="bin"/>
! <property name="lib" value="lib"/>
! <property name="docsdir" value="docs"/>
!
</target>
! <target depends="init" description="Compiles updated sources into into classes directory based on the libraries in the lib directory except idrs.jar" name="build">
! <javac destdir="${classes}" includes="net/sourceforge/**" srcdir="${src}">
<classpath>
! <pathelement location="${lib}/servlet.jar"/>
! <pathelement location="${lib}/xerces.jar"/>
! <pathelement location="${lib}/xalan.jar"/>
! <pathelement location="${lib}/jython.jar"/>
! <pathelement location="${lib}/bsh-core-1.2b3.jar"/>
</classpath>
</javac>
</target>
! <target depends="init" description="jars the classes into the bin directory and copys the jar to the lib directory" name="jar">
! <delete file="${jars}/idrs.jar"/>
! <delete file="${lib}/idrs.jar"/>
! <jar jarfile="${jars}/idrs.jar">
! <fileset dir="${classes}" includes="**/*.class"/>
</jar>
! <copy file="${jars}/idrs.jar" todir="${lib}"/>
</target>
! <target depends="init,build,jar" description="performs both a build and jar" name="build-jar"/>
! <target depends="init" description="executes javadoc on the sources in src and places the docs in docs" name="doc">
! <mkdir dir="tmp"/>
! <copy todir="tmp">
! <fileset dir="src"/>
</copy>
! <javadoc Private="true" author="true" destdir="${docsdir}" packagenames="net.sourceforge.idrs.*" sourcepath="tmp">
</javadoc>
! <delete dir="tmp"/>
</target>
! </project>
|