Diff for /forecastfox/Attic/build.xml between versions 1.1 and 1.7

version 1.1, 2004/11/16 15:10:39 version 1.7, 2004/12/04 20:54:25
Line 1 Line 1
 <?xml version="1.0"?>  <?xml version="1.0"?>
 <project name="forecastfox" default="xpi">  
   
   <!-- project used to build xpi -->
   <project name="forecastfox" default="dist">
         <property name="build"      location="build"/>          <property name="build"      location="build"/>
        <property name="chrome"     location="src/chrome"/>  <property name="src"        location="src"/>
  <property name="components" location="src/components"/> 
  <property name="defaults"   location="src/defaults"/> 
   <property name="downloads"  location="downloads"/>    <property name="downloads"  location="downloads"/>
        <property name="version"    value="0.5.8"/>  <property name="comp"       value="nsForecastfox"/>
            <property name="version"    value="testing"/>
        <target name="init"> 
                <!-- Create the time stamp --> 
                <tstamp/> 
           
                <!-- Create the build directory structure used by compile --> 
                <mkdir dir="${build}"/> 
        </target> 
   
  <!-- zip chrome directory -->        <target name="init">  
  <target name="chrome" depends="init">                <!-- create the build directory structure used by compile -->
     <mkdir dir="${downloads}"/>   
                 <mkdir dir="${build}"/>
     <mkdir dir="${build}/chrome"/>      <mkdir dir="${build}/chrome"/>
                 <zip destfile="${build}/chrome/${ant.project.name}.jar" basedir="${chrome}"/>  
   </target>  
       
   <!-- copy components -->  
   <target name="components" depends="chrome">  
     <mkdir dir="${build}/components"/>      <mkdir dir="${build}/components"/>
                 <copy todir="${build}/components">  
                   <fileset dir="${components}">  
                     <exclude name="*.idl"/>  
                   </fileset>  
     </copy>  
   </target>  
     
   <!-- copy defaults -->  
   <target name="defaults" depends="components">  
     <mkdir dir="${build}/defaults"/>      <mkdir dir="${build}/defaults"/>
                <copy todir="${build}/defaults">        </target>
                  <fileset dir="${defaults}"/>        
    </copy>  <target name="compile" depends="init">
  </target>    <!-- zip chrome directory -->  
                 <zip destfile="${build}/chrome/${ant.project.name}.jar" basedir="${src}/chrome" compress="false"/> 
     
     <!-- execute component build -->
     <ant antfile="component.xml"/>
     
     <!-- copy components -->
     <copy todir="${build}/components">
       <fileset dir="${src}/components">
         <include name="${comp}.*"/>
         <exclude name="${comp}.idl"/>        
       </fileset>
     </copy> 
      
     <!-- copy defaults -->
     <copy todir="${build}/defaults">
       <fileset dir="${src}/defaults"/>
     </copy>  
     
     <!-- copy install -->
     <copy todir="${build}">
       <fileset dir="${src}">
         <include name="install.*"/>        
       </fileset>
     </copy>      
         </target>
       
  <!-- copy install -->  <target name="dist" depends="compile">
  <target name="install" depends="defaults">    <!-- create XPI in donwloads directory -->
                <copy todir="${build}">                <zip destfile="downloads/${ant.project.name}-${version}.xpi" basedir="${build}" compress="true"/>
                  <fileset dir="src"> 
                    <include name="install.*"/> 
                  </fileset> 
    </copy> 
  </target> 
           
  <target name="xpi" depends="install">    <!-- cleanup build directory -->    
                <zip destfile="${downloads}/${ant.project.name}-${version}.xpi" basedir="${build}"/>    <ant target="clean"/>
                <delete dir="${build}"/> 
         </target>          </target>
   
     <target name="clean">
                   <delete dir="${build}"/>    
       <delete dir="${mozilla}/base"/>
     </target>
 </project>  </project>
   

Removed from v.1.1  
changed lines
  Added in v.1.7


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