Diff for /forecastfox/Attic/build.xml between versions 1.5 and 1.6

version 1.5, 2004/11/17 19:13:26 version 1.6, 2004/12/03 14:48:56
Line 1 Line 1
 <?xml version="1.0"?>  <?xml version="1.0"?>
 <project name="forecastfox" default="dist">  
   <!-- project used to build xpi -->
   <project name="forecastfox" default="dist">
         <property name="build"      location="build"/>          <property name="build"      location="build"/>
   <property name="src"        location="src"/>    <property name="src"        location="src"/>
   <property name="downloads"  location="downloads"/>    <property name="downloads"  location="downloads"/>
        <property name="mozilla"    location="/program files/mozilla/firefox/"/>  <property name="version"    value="testing"/>
        <property name="xpidl"      location="xpidl"/>
  <property name="comp"       value="nsForecastfox"/>        <target name="init">  
        <target name="init"> 
                <!-- create the time stamp --> 
                 <!-- create the build directory structure used by compile -->                  <!-- create the build directory structure used by compile -->
     <mkdir dir="${downloads}"/>         <mkdir dir="${downloads}"/>   
                 <mkdir dir="${build}"/>                  <mkdir dir="${build}"/>
Line 24 Line 20
     <!-- zip chrome directory -->        <!-- zip chrome directory -->  
                 <zip destfile="${build}/chrome/${ant.project.name}.jar" basedir="${src}/chrome" compress="false"/>                   <zip destfile="${build}/chrome/${ant.project.name}.jar" basedir="${src}/chrome" compress="false"/> 
     <!-- unzip base.zip used in component build -->  
     <unzip src="${xpidl}/base.zip" dest="${mozilla}"/>  
     <copy todir="${mozilla}/base">  
       <fileset dir="${src}/components">  
         <exclude name="*.xpt"/>  
     <!-- execute component build -->      <!-- execute component build -->
    <exec dir="${mozilla}/base" executable="${mozilla}/base/xpidl.exe">    <ant antfile="component.xml"/>
      <arg line="-m typelib -w -v -I -o nsForecastfox.idl"/> 
     <!-- copy components -->      <!-- copy components -->
     <copy todir="${build}/components">      <copy todir="${build}/components">
      <fileset dir="${mozilla}/base">      <fileset dir="${src}/components">
         <include name="${comp}.*"/>          <include name="${comp}.*"/>
         <exclude name="${comp}.idl"/>                  <exclude name="${comp}.idl"/>        
       </fileset>        </fileset>
Line 60 Line 46
   <target name="dist" depends="compile">    <target name="dist" depends="compile">
     <!-- create XPI in donwloads directory -->      <!-- create XPI in donwloads directory -->
                <zip destfile="downloads/${ant.project.name}-${DSTAMP}${TSTAMP}.xpi" basedir="${build}" compress="true"/>                <zip destfile="downloads/${ant.project.name}-${version}.xpi" basedir="${build}" compress="true"/>
     <!-- cleanup build directory -->          <!-- cleanup build directory -->    
     <ant target="clean"/>      <ant target="clean"/>

Removed from v.1.5  
changed lines
  Added in v.1.6

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