Project

General

Profile

« Previous | Next » 

Revision 1312

Added by Jing Tao about 22 years ago

Get rid of source file from dist target.

View differences:

build.xml
113 113
      <property name="eml-version" value="2.0.0beta6" />
114 114
      <property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6_REV1" />
115 115
      <property name="cvsroot"
116
                value=":ext:jones@cvs.ecoinformatics.org:/cvs" />
116
                value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
117 117

  
118 118
      <property name="cpath"
119 119
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}"/>
......
401 401
      <delete dir="./${ver.dir}/${build.dir}"/>
402 402
      <delete dir="./${ver.dir}/dist"/>
403 403
      <delete file="./${name}-${release}.zip"/>
404
      <zip zipfile="./${name}-${release}.zip" basedir="${dist.dir}"/>
404
      <zip zipfile="./${name}-${release}.zip" basedir="${dist.dir}" excludes="${name}-${release}/src/**, ${name}-${release}/build/src/**"/>
405 405
      <delete file="./${name}-${release}.tar.gz" />
406
      <tar tarfile="./${name}-${release}.tar" basedir="${dist.dir}"/>
406
      <tar tarfile="./${name}-${release}.tar" basedir="${dist.dir}" excludes="${name}-${release}/src/**, ${name}-${release}/build/src/**"/>
407 407
      <gzip zipfile="./${name}-${release}.tar.gz"
408 408
                src="./${name}-${release}.tar"/>
409 409
      <delete file="./${name}-${release}.tar" />

Also available in: Unified diff