sebb        2003/10/02 15:23:26

  Modified:    .        build.xml
  Log:
  Moved VERSION to separate file
  
  Revision  Changes    Path
  1.114     +8 -4      jakarta-jmeter/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/build.xml,v
  retrieving revision 1.113
  retrieving revision 1.114
  diff -u -r1.113 -r1.114
  --- build.xml 5 Sep 2003 22:37:43 -0000       1.113
  +++ build.xml 2 Oct 2003 22:23:26 -0000       1.114
  @@ -191,11 +191,8 @@
       </echo>
     </target>
   
  -  <target name="compile-core" depends="compile-jorphan" description="Compile JMeter 
core classes.">
  +  <target name="compile-core" depends="compile-jorphan,update-version" 
description="Compile JMeter core classes.">
       <mkdir dir="${build.core}"/>
  -    <replaceregexp file="${src.core}/org/apache/jmeter/util/JMeterUtils.java"
  -     match="VERSION = &quot;.*?&quot;"
  -     replace="VERSION = &quot;${version}&quot;"/>
       <javac srcdir="${src.core}" destdir="${build.core}" optimize="${optimize}" 
debug="on" target="${target.java.version}" deprecation="${deprecation}" 
encoding="${encoding}">
         <include name="**/*.java"/>
         <exclude name="org/apache/jmeter/util/JsseSSLManager.java" 
unless="jsse.present"/>
  @@ -206,6 +203,13 @@
           <pathelement location="${build.jorphan}"/>
         </classpath>
       </javac>
  +  </target>
  +
  +  <target name="update-version">
  +    <echo>Updating version string</echo>
  +    <replaceregexp file="${src.core}/org/apache/jmeter/util/JMeterVersion.java"
  +     match="VERSION = &quot;.*?&quot;"
  +     replace="VERSION = &quot;${version}&quot;"/>
     </target>
   
     <target name="compile-components" depends="compile-jorphan,compile-core" 
description="Compile generic (protocol-independent) components.">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to