Diff for /forecastfox/Attic/build.xml between versions 1.18 and 1.21

version 1.18, 2005/06/06 23:16:59 version 1.21, 2005/06/28 23:13:21
Line 39 Line 39
   
 <!-- project used to build xpi -->  <!-- project used to build xpi -->
 <project name="forecastfox" default="dist">  <project name="forecastfox" default="dist">
  <property name="app.version"     value="0.8"/>  <!-- check if properties file exists -->
  <property name="app.guid"        value="{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}"/>  <available file="build.properties" property="has.props"/>
  <property name="build.dir"       location="build"/>  <fail unless="has.props" message="You need to create a build.properties file. Please see build-dist.properties for an example."/>
  <property name="staging.dir"     location="staging"/>
  <property name="downloads.dir"   location="downloads"/>  <property file="build.properties"/>
  <property name="src.dir"         location="src"/> 
  <property name="xpidl.dir"       location="xpidl"/> 
  <property name="moz.dir"         location="c:\program files\mozilla\firefox\"/> 
       
   <!-- create build directories -->    <!-- create build directories -->
   <target name="init" description="Create build environment">    <target name="init" description="Create build environment">
Line 74 Line 71
       </fileset>        </fileset>
       <filterset begintoken="#" endtoken="#">        <filterset begintoken="#" endtoken="#">
         <filter token="VERSION" value="${app.version}"/>          <filter token="VERSION" value="${app.version}"/>
           <filter token="BUILD" value="${app.build}"/>
         <filter token="GUID" value="${app.guid}"/>          <filter token="GUID" value="${app.guid}"/>
       </filterset>              </filterset>      
     </copy>      </copy>
Line 158 Line 156
           
   <target name="dist" depends="clean, init, staging, xpt, build" description="Create distribution files">    <target name="dist" depends="clean, init, staging, xpt, build" description="Create distribution files">
     <zip destfile="${build.dir}/chrome/${ant.project.name}.jar" basedir="${staging.dir}/chrome" compress="false"/>          <zip destfile="${build.dir}/chrome/${ant.project.name}.jar" basedir="${staging.dir}/chrome" compress="false"/>    
          <zip destfile="${downloads.dir}/${ant.project.name}-${app.version}.xpi" basedir="${build.dir}" compress="true"/>              <zip destfile="${downloads.dir}/${xpi.name}" basedir="${build.dir}" compress="true"/>    
   
     <!-- cleanup when done -->      <!-- cleanup when done -->
     <ant target="clean"/>      <ant target="clean"/>

Removed from v.1.18  
changed lines
  Added in v.1.21


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>