ICU-3263 jar release task added.
X-SVN-Rev: 13124
This commit is contained in:
parent
379b4f9c8e
commit
321d0caa71
@ -6,8 +6,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $
|
||||
* $Date: 2003/08/27 03:11:27 $
|
||||
* $Revision: 1.77 $
|
||||
* $Date: 2003/09/17 20:36:51 $
|
||||
* $Revision: 1.78 $
|
||||
*
|
||||
*******************************************************************************
|
||||
* This is the ant build file for ICU4J. See readme.html for more information.
|
||||
@ -81,6 +81,8 @@
|
||||
<property name="build.dir" value="classes"/>
|
||||
<property name="doc.dir" value="doc"/>
|
||||
<property name="jar.file" value="icu4j.jar"/>
|
||||
<property name="jarSrc.file" value="icu4jsrc.jar"/>
|
||||
<property name="jarDocs.file" value="icu4jdocs.jar"/>
|
||||
<property name="icu4j.manifest" value="${src.dir}/com/ibm/icu/manifest.stub"/>
|
||||
<property name="icu4j.module.manifest" value="${src.dir}/com/ibm/icu/manifest.module.stub"/>
|
||||
<property name="zip.file" value="../icu4j${DSTAMP}.zip"/>
|
||||
@ -225,6 +227,9 @@
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- Creates the 3 release jar archives for distribution -->
|
||||
<target name="jarRelease" depends="jar,jarSrc,jarDocs"/>
|
||||
|
||||
<target name="jar" depends="core">
|
||||
<jar jarfile="${jar.file}"
|
||||
compress="true"
|
||||
@ -233,6 +238,27 @@
|
||||
manifest="${icu4j.manifest}"/>
|
||||
</target>
|
||||
|
||||
<target name="jarSrc" depends="init">
|
||||
<!--Create a jar archive of just the source for distribution. The
|
||||
zip file will be created in the directory above the root ICU4J
|
||||
directory. The exclude pattern ${src.dir}/com/ibm/icu/dev/data/unicode/UnicodeData-*.txt
|
||||
and ${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt
|
||||
eliminates old archive copies like SpecialCasing-2.txt and
|
||||
UnicodeData-2.1.8.txt -->
|
||||
<jar jarfile="${jarSrc.file}"
|
||||
compress="true"
|
||||
basedir="."
|
||||
excludes="${richedit.dir}/**/*,test_*,${src.dir}/com/ibm/icu/dev/data/unicode//UnicodeData-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/CompositionExclusions-*.txt,${obsolete.dir}/**,**/*~,${src.dir}/**/*.class,${build.dir}/**,**/CVS/**/*,${doc.dir}/**,${jar.file}"
|
||||
manifest="${icu4j.manifest}"/>
|
||||
</target>
|
||||
|
||||
<target name="jarDocs" depends="docs">
|
||||
<jar jarfile="${jarDocs.file}"
|
||||
compress="true"
|
||||
basedir="${doc.dir}"
|
||||
manifest="${icu4j.manifest}"/>
|
||||
</target>
|
||||
|
||||
<!-- jars up richedit but without tests -->
|
||||
<target name="richeditJar" depends="richedit">
|
||||
<mkdir dir="${richedit.dir}"/>
|
||||
@ -274,30 +300,6 @@
|
||||
includes="doc/**/*,richedit.jar,license.html"/>
|
||||
</target>
|
||||
|
||||
<target name="zip" depends="docs,jar">
|
||||
<!--Create a zip archive of the source, docs, and jar file for
|
||||
distribution. The zip file will be created in the directory above
|
||||
the root ICU4J directory. The exclude pattern ${src.dir}/com/ibm/icu/dev/data/unicode/UnicodeData-*.txt
|
||||
and ${src.dir}/data/unicode/SpecialCasing-*.txt
|
||||
eliminates old archive copies like SpecialCasing-2.txt and
|
||||
UnicodeData-2.1.8.txt etc -->
|
||||
<zip zipfile="${zip.file}"
|
||||
basedir="."
|
||||
excludes="${richedit.dir}/**/*,test_*,${src.dir}/com/ibm/icu/dev/data/unicode/UnicodeData-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/CompositionExclusions-*.txt,${obsolete.dir}/**,**/*~,${src.dir}/**/*.class,${build.dir}/**,**/CVS/**/*"/>
|
||||
</target>
|
||||
|
||||
<target name="zipSrc" depends="init">
|
||||
<!--Create a zip archive of just the source for distribution. The
|
||||
zip file will be created in the directory above the root ICU4J
|
||||
directory. The exclude pattern ${src.dir}/com/ibm/icu/dev/data/unicode/UnicodeData-*.txt
|
||||
and ${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt
|
||||
eliminates old archive copies like SpecialCasing-2.txt and
|
||||
UnicodeData-2.1.8.txt -->
|
||||
<zip zipfile="${zipSrc.file}"
|
||||
basedir="."
|
||||
excludes="${richedit.dir}/**/*,test_*,${src.dir}/com/ibm/icu/dev/data/unicode//UnicodeData-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/SpecialCasing-*.txt,${src.dir}/com/ibm/icu/dev/data/unicode/CompositionExclusions-*.txt,${obsolete.dir}/**,**/*~,${src.dir}/**/*.class,${build.dir}/**,**/CVS/**/*,${doc.dir}/**,${jar.file}"/>
|
||||
</target>
|
||||
|
||||
<target name="check" depends="tests">
|
||||
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes">
|
||||
<classpath>
|
||||
|
Loading…
Reference in New Issue
Block a user