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

version 1.15, 2005/06/03 18:09:36 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.7.9"/>  <!-- 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 70 Line 67
     <copy todir="${staging.dir}" overwrite="true">      <copy todir="${staging.dir}" overwrite="true">
       <fileset dir="${src.dir}">        <fileset dir="${src.dir}">
         <exclude name="**/images/**"/>          <exclude name="**/images/**"/>
           <exclude name="**/locale/*/*/*.dtd"/>
         </fileset>
         <filterset begintoken="#" endtoken="#">
           <filter token="VERSION" value="${app.version}"/>
           <filter token="BUILD" value="${app.build}"/>
           <filter token="GUID" value="${app.guid}"/>
         </filterset>      
       </copy>
           
       <!-- replace version and locale strings in UTF-8 files -->
       <copy todir="${staging.dir}" overwrite="true" encoding="utf-8">
         <fileset dir="${src.dir}">
           <include name="**/locale/*/*/*.dtd"/>
       </fileset>        </fileset>
       <filterset begintoken="#" endtoken="#">        <filterset begintoken="#" endtoken="#">
         <filter token="VERSION" value="${app.version}"/>          <filter token="VERSION" value="${app.version}"/>
Line 140 Line 150
       <fileset dir="${staging.dir}">        <fileset dir="${staging.dir}">
         <exclude name="chrome/**"/>          <exclude name="chrome/**"/>
         <exclude name="components/*.idl"/>          <exclude name="components/*.idl"/>
         <exclude name="components/ffDisk.*"/>  
       </fileset>        </fileset>
     </copy>      </copy>
   </target>    </target>
           
   <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.15  
changed lines
  Added in v.1.21


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