Changeset 13211


Ignore:
Timestamp:
02/11/11 06:43:21 (11 years ago)
Author:
Mark Evenson
Message:

'abcl.source.jar' now produces a source archive intended for Maven.

Refactored UNIX/Windows EOL fixes into separate target. The
'abcl.source.jar' target currently uses UNIX EOL conventions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r13199 r13211  
    626626    </patternset>
    627627
    628     <target name="abcl.source.tar" depends="abcl.source.prepare">
     628    <target name="abcl.source.unix" depends="abcl.source.prepare">
    629629      <fixcrlf srcdir="${abcl.build.src.dir}"
    630630               preservelastmodified="true"
     
    643643          <patternset refid="abcl.dist.lf"/>
    644644      </fixcrlf>
    645 
     645    </target>
     646
     647    <target name="abcl.source.tar" depends="abcl.source.unix">
    646648      <mkdir dir="${dist.dir}"/>
    647649      <tar destfile="${dist.dir}/abcl-src-${abcl.version}.tar.gz"
     
    653655    </target>
    654656
    655     <target name="abcl.source.zip" depends="abcl.source.prepare">
     657    <target name="abcl.source.windows" depends="abcl.source.prepare">
    656658      <fixcrlf srcdir="${abcl.build.src.dir}"
    657659               preservelastmodified="true"
     
    670672          <patternset refid="abcl.dist.lf"/>
    671673      </fixcrlf>
    672 
     674    </target>
     675
     676    <target name="abcl.source.zip" depends="abcl.source.windows">
    673677      <mkdir dir="${dist.dir}"/>
    674678      <zip destfile="${dist.dir}/abcl-src-${abcl.version}.zip"
     
    677681      </zip>
    678682    </target>
    679    
     683
     684    <target name="abcl.source.jar" depends="abcl.source.unix">
     685      <mkdir dir="${dist.dir}"/>
     686      <jar destfile="${dist.dir}/abcl-${abcl.version}-sources.jar">
     687        <metainf dir="${abcl.build.src.dir}">
     688          <include name="COPYING"/>
     689        </metainf>
     690        <fileset dir="${abcl.build.src.dir}/src">
     691          <include name="**/*.java"/>
     692          <include name="**/*.lisp"/>
     693        </fileset>
     694      </jar>
     695    </target>
     696
    680697    <target name="abcl.binary.prepare" depends="abcl.jar,abcl.stamp.version">
    681698      <property name="abcl.build.binary.dir"
Note: See TracChangeset for help on using the changeset viewer.