ruper2 build.xml,1.6,1.7 buildx.xml,1.1,NONE
[email protected] Mon, 22 Sep 2003 10:56:19 -0700
Newsgroups
gmane.comp.krysalis.metamorphosis.cvs
Message-ID
<[email protected] >
Update of /cvsroot/metamorphosis/ruper2
In directory sc8-pr-cvs1:/tmp/cvs-serv17007
Modified Files:
build.xml
Removed Files:
buildx.xml
Log Message:
Index: build.xml
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** build.xml 16 Sep 2003 20:40:32 -0000 1.6
--- build.xml 22 Sep 2003 17:56:17 -0000 1.7
***************
*** 1,10 ****
<?xml version="1.0"?>
! <project name="ruper-synchronize-test" basedir="." default="all">
! <typedef resource="krysalis-ruper2-types"/>
! <taskdef resource="krysalis-ruper2-tasks"/>
!
! <target name="test1">
! <sync file="lib/test.jar" />
! </target>
!
! </project>
\ No newline at end of file
--- 1,235 ----
<?xml version="1.0"?>
!
! <!--
! ==============================================================================
!
! NOTE: This build file is meant for bootstrap only, for gump/others.
! Only the main project is built. Use centipede for the others.
!
! ==============================================================================
! -->
!
! <project name="krysalis-ruper" default="build" basedir=".">
!
! <!--
! The developer/user can override properties (optionnal)
! without editing this file. To do this, he define properties in files :
! - build.properties : common file to all developper, used to avoid edit build.xml
! - .ant.properties : properties specific to this project (not shared by developer)
! - ${user.home}/.ant.properties" : properties share by all project of the developer
! All properties can be overridden (name, version, build.compiler, ...)
! Somes are only defined in a complementary properties file :
! - webapps.home : destination directory where deploy web application (war...)
! -->
! <property file="build.properties"/>
! <property file=".ant.properties"/>
! <property file="${user.home}/.ant.properties"/>
!
! <property name="project.name" value="krysalis-ruper2-core"/>
! <property name="project.part" value="core"/>
!
! <property name="vendor" value="Krysalis"/>
! <property name="url" value="http://krysalis.org/ruper"/>
! <property name="version" value="0.6-dev1"/>
! <property name="year" value="2003"/>
! <property name="build.compiler.warnings" value="true"/>
! <property name="build.compiler.depend" value="true"/>
! <property name="build.compiler.fulldepend" value="true"/>
!
! <property name="debug" value="on"/>
! <property name="optimize" value="off"/>
! <property name="deprecation" value="on"/>
!
! <property name="src" value="src/java/${project.part}"/>
! <property name="src.test" value="src/test/${project.part}"/>
!
! <property name="lib" value="lib"/>
! <property name="build" value="build/ant-bootstrap/${project.name}"/>
! <property name="classes" value="${build}/classes"/>
!
! <property name="reports.test" value="${build}/reports/test"/>
!
!
! <property name="tool.home" value="${ant.home}"/>
! <property name="jdk.home" value="${java.home}/.."/>
!
!
! <fileset id="classes.run" dir="${lib}"/>
! <fileset id="classes.compile" dir="${lib}"/>
! <fileset id="classes.jdk" dir="${jdk.home}/lib"/>
!
! <fileset id="src.java.all" dir="${src}">
! <include name="java/**/*.java" />
! <include name="test/**/*.java" />
! </fileset>
!
! <path id="classpath.compile">
! <fileset refid="classes.compile"/>
! </path>
!
! <path id="classpath.run">
! <fileset refid="classes.run"/>
! <pathelement location="${classes}"/>
! </path>
!
! <path id="classpath.tool">
! <pathelement location="${tool.home}/classes"/>
! <fileset refid="classes.tool"/>
! <fileset refid="classes.jdk"/>
! </path>
!
!
! <target name="init" unless="initialize">
! <tstamp>
! <format property="year" pattern="yyyy" />
! </tstamp>
! <tstamp>
! <format property="DATE_STAMP" pattern="yyyyMMdd" timezone="GMT"/>
! </tstamp>
!
! <echo message="--------------------------------------------------------"/>
! <echo message=" ${project.name} ${version} ${DATE_STAMP} Build"/>
! <echo message=" Copyright ${year} ${vendor}"/>
! <echo message="--------------------------------------------------------"/>
! <echo message="Ant : ${ant.version}"/>
! <echo message="Ant File : ${ant.file}"/>
! <echo message="Ant Prj : ${ant.project.name}"/>
! <echo message="Ant Java : ${ant.java.version}"/>
! <echo message="Ant Home : ${ant.home}"/>
! <echo message="--------------------------------------------------------"/>
!
! <property name="initialize" value="ok"/>
! </target>
!
! <target name="libraryInit" depends="init">
! <get src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.jar"
! dest="${lib}/junit.jar"
! usetimestamp="true"
! verbose="true"/>
! <get src="http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0alpha1.jar"
! dest="${lib}/commons-httpclient.jar"
! usetimestamp="true"
! verbose="true"/>
! <get src="http://www.ibiblio.org/maven/regexp/jars/regexp-1.2.jar"
! dest="${lib}/jakarta-regexp.jar"
! usetimestamp="true"
! verbose="true"/>
! <get src="http://www.ibiblio.org/maven/commons-vfs/jars/commons-vfs-SNAPSHOT.jar"
! dest="${lib}/commons-vfs.jar"
! usetimestamp="true"
! verbose="true"/>
! </target>
!
! <!-- =================================================================== -->
! <!-- BUILD -->
! <!-- =================================================================== -->
!
! <target name="build-init" depends="init, libraryInit">
! <mkdir dir="${build}"/>
! <mkdir dir="${classes}"/>
! <mkdir dir="${reports.test}"/>
! </target>
!
! <!-- Compile java sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
! <target name="compile" depends="build-init">
! <javac srcdir="${src}"
! destdir="${classes}"
! debug="${debug}"
! optimize="${optimize}"
! deprecation="${deprecation}"
! >
! <classpath refid="classpath.compile"/>
! </javac>
! </target>
!
! <!-- Test the stuff .... -->
! <target name="test" depends="compile">
! <javac srcdir="${src.test}"
! destdir="${build}/classes"
! debug="${debug}"
! optimize="${optimize}"
! deprecation="${deprecation}"
! >
! <classpath refid="classpath.compile"/>
! </javac>
! <junit printsummary="withOutAndErr"
! haltonfailure="yes"
! showoutput="yes">
! <classpath refid="classpath.run"/>
!
! <formatter type="plain"/>
!
! <batchtest fork="yes" todir="${reports.test}">
! <fileset dir="${src.test}">
! <include name="**/*Test*.java"/>
! </fileset>
! </batchtest>
! </junit>
! </target>
!
! <!-- Build final jar = code + resources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
! <target name="jar" depends="compile">
! <!-- This copy is a bit of a hack for project.part="" (i.e. main) -->
! <property name="constraints" value="${src}/ruper.constraints" />
! <available property="constraints.available"
! file="${constraints}" />
! <echo message="Copy ${constraints} if ${constraints.available}"/>
! <copy file="${constraints}"
! failonerror="false"
! verbose="true"
! tofile="${build}/classes/ruper.constraints"/>
! <!-- This copy is a bit of a hack for project.part=ant -->
! <property name="descriptor" value="${src}/krysalis-ruper" />
! <available property="descriptor.available"
! file="${descriptor}" />
! <echo message="Copy ${descriptor} if ${descriptor.available}"/>
! <copy file="${descriptor}"
! failonerror="false"
! verbose="true"
! tofile="${build}/classes/krysalis-ruper"/>
! <!-- This copy is a bit of a hack for project.part=ant -->
! <property name="descriptor" value="${src}/krysalis-ruper-types" />
! <available property="descriptor.available"
! file="${descriptor}" />
! <echo message="Copy ${descriptor} if ${descriptor.available}"/>
! <copy file="${descriptor}"
! failonerror="false"
! verbose="true"
! tofile="${build}/classes/krysalis-ruper-types"/>
! <!-- Get all the classes -->
! <jar jarfile="${build}/${project.name}-${version}.jar"
! basedir="${build}/classes"
! >
! <exclude name="**/_index.txt"/>
! </jar>
! </target>
!
! <target name="build" depends="compile,jar"/>
!
! <target name="gump" depends="compile,jar">
! <property name="output.jar" value="${build}/${project.name}-${DATE_STAMP}.jar"/>
! <echo message="Gump output = ${output.jar}" />
! <copy file ="${build}/${project.name}-${version}.jar"
! tofile="${output.jar}"
! verbose="true"/>
! </target>
!
!
! <!-- =================================================================== -->
! <!-- CLEAN -->
! <!-- =================================================================== -->
! <target name="clean">
! <delete >
! <fileset dir="${build}" >
! <include name="**/*"/>
! <exclude name="ide/**"/>
! </fileset>
! </delete>
! </target>
!
! </project>
!
! <!--
! $Id$
! -->
!
--- buildx.xml DELETED ---
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf