commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/pool build.xml
Date Thu, 31 Oct 2002 16:14:06 GMT
rwaldhoff    2002/10/31 08:14:06

  Modified:    pool     build.xml
  Log:
  make javac settings property driven
  
  Revision  Changes    Path
  1.18      +12 -19    jakarta-commons/pool/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/pool/build.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- build.xml	30 Oct 2002 23:55:34 -0000	1.17
  +++ build.xml	31 Oct 2002 16:14:06 -0000	1.18
  @@ -90,6 +90,10 @@
           <exclude name="**/${src.name}.tar.gz"/>
           <exclude name="**/${src.name}.zip"/>
         </patternset>
  +
  +      <property name="javac.optimize" value="false"/>
  +      <property name="javac.debug" value="true"/>
  +      <property name="javac.deprecation" value="true"/>
         
         <!-- set the cvs.root property in the build.properties file -->
         <property name="cvs.tag" value="POOL_1_0"/>      
  @@ -204,35 +208,24 @@
         <javac destdir="${dest.classes}"
                srcdir="${source.src.java}"
                classpath="${classpath}"
  -             debug="false"
  -             deprecation="true"
  -             optimize="true"/>
  +             debug="${javac.debug}"
  +             deprecation="${javac.deprecation}"
  +             optimize="${javac.optimize}"/>
      </target>
  -
  +   
      <target name="build-test" depends="init,build-java" if="available-src-test">
         <mkdir dir="${dest.classes}"/>
         <javac destdir="${dest.classes}"
                srcdir="${source.src.test}"
                classpath="${classpath}"
  -             debug="false"
  -             deprecation="true"
  -             optimize="true"/>
  +             debug="${javac.debug}"
  +             deprecation="${javac.deprecation}"
  +             optimize="${javac.optimize}"/>
      </target>
   
      <!-- ######################################################### -->
   
      <target name="test" depends="build-test" if="test.entry" description="runs (junit)
unit tests">
  -      <!--
  -      <junit printsummary="yes" fork="on" haltonfailure="yes">
  -      	<formatter type="plain" usefile="false"/>
  -      	<test name="${test.entry}"/>
  -      	<classpath>
  -      		<pathelement location="${dest.classes}" />
  -      		<pathelement path="${classpath}" />
  -      		<pathelement path="${java.class.path}" />
  -      	</classpath>
  -      </junit>
  -      -->
         <echo message="Because we need to sleep to test the eviction threads, this takes
a little while (around 35 seconds)..."/>
         <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
           <arg value="${test.entry}"/> 
  
  
  

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


Mime
View raw message