ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/proposal/sandbox/clearcase build.sh build.xml
Date Mon, 07 Jan 2002 12:01:28 GMT
sbailliez    02/01/07 04:01:28

  Added:       proposal/sandbox/clearcase build.sh build.xml
  Log:
  Make it easy for people interested to compile.
  
  Revision  Changes    Path
  1.1                  jakarta-ant/proposal/sandbox/clearcase/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  cygwin=false;
  case "`uname`" in
    CYGWIN*) cygwin=true ;;
  esac
  
  PWD=`pwd`
  if $cygwin ; then
      PWD=`cygpath --windows "$PWD"`
  fi
  
  cd ../../..
  /bin/sh ./build.sh -buildfile $PWD/build.xml $*
  cd $PWD
  
  
  
  
  1.1                  jakarta-ant/proposal/sandbox/clearcase/build.xml
  
  Index: build.xml
  ===================================================================
  <project name="clearcase-proposal" basedir="." default="compile">
    <property file=".ant.properties"/>
    <property file="${user.home}/.ant.properties"/>
    
    <!--property name="build.sysclasspath" value="ignore"/-->
    <property name="build.compiler" value="jikes"/>
    <!--property name="build.compiler.emacs" value="on"/-->
    <property name="build.compiler.pedantic" 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="build.dir" value="build"/>
    <property name="build.lib" value="${build.dir}/lib"/>
    <property name="build.src" value="${build.dir}/src"/>
    <property name="build.classes" value="${build.dir}/classes"/>
  
    <property name="java.dir" value="src/java"/>
    <property name="tests.dir" value="src/testcases"/>
    <property name="ant.base.dir" location="../../.."/>
    <property name="lib.dir" location="${ant.base.dir}/lib"/>
    <property name="bootstrap.dir" location="${ant.base.dir}/bootstrap"/>
    
    <path id="project.class.path">
      <pathelement path="${build.classes}" />
      <fileset dir="${lib.dir}" includes="**/*.jar"/>
      <fileset dir="${bootstrap.dir}/lib" includes="ant.jar"/>
    </path>
  
  
    <target name="compile"
            description="--> compile the source code">
      <mkdir dir="${build.classes}"/>
      <javac srcdir="src/main"
             destdir="${build.classes}"
             debug="${debug}"
             optimize="${optimize}"
             deprecation="${deprecation}"
             includeantruntime="no">
        <classpath refid="project.class.path"/>
      </javac>
    </target>
    
  
    <target name="clean"
            description="--> cleans up build and dist directories">
      <delete dir="${build.dir}" />
      <delete>
        <fileset dir="." includes="**/*.bak" defaultexcludes="no"/>
      </delete>
    </target>
  
  </project>
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message