tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject cvs commit: jakarta-tomcat-5 build.xml
Date Fri, 11 Oct 2002 19:31:59 GMT
bobh        2002/10/11 12:31:58

  Modified:    .        build.xml
  Log:
  - This changes the "release" target to only copy the *.exe if running
  on a windows platform.  I may not have done this in the most elegant
  way possible.  Remmy, please review.
  
  Revision  Changes    Path
  1.42      +5 -3      jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- build.xml	11 Oct 2002 10:56:55 -0000	1.41
  +++ build.xml	11 Oct 2002 19:31:58 -0000	1.42
  @@ -418,7 +418,7 @@
   
   
     <!-- ==================== RELEASE: Create Release ======================= -->
  -  <target name="release" depends="prepare-release,clean,dist,dist-source,installer,package-zip,package-tgz,package-src-zip,package-src-tgz"
  +  <target name="release" depends="prepare-release,clean,dist,dist-source,installer,package-zip,package-tgz,package-src-zip,package-src-tgz,win32-release"
      description="Create a Tomcat 5 packaged distribution">
   
       <mkdir dir="${tomcat.release}"/>
  @@ -430,8 +430,6 @@
            todir="${tomcat.release}/v${version}/bin"/>
       <move file="${tomcat.dist}/${final.name}.zip" 
            todir="${tomcat.release}/v${version}/bin"/>
  -    <move file="${tomcat.dist}/${final.name}.exe" 
  -         todir="${tomcat.release}/v${version}/bin"/>
   
       <move file="${tomcat.dist}/${final-src.name}.tar.gz" 
            todir="${tomcat.release}/v${version}/src"/>
  @@ -453,7 +451,11 @@
       <copy file="resources/welcome.bin.html" 
           tofile="${tomcat.release}/v${version}/bin/README.html"
        filtering="true"/>
  +  </target>
   
  +  <target name="win32-release" if="execute.installer" >
  +    <move file="${tomcat.dist}/${final.name}.exe" 
  +         todir="${tomcat.release}/v${version}/bin"/>
     </target>
   
     <target name="package-zip">
  
  
  

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


Mime
View raw message