Tim Ellison wrote:

Jean-frederic Clere wrote:
Tim Ellison wrote:

Jean-frederic Clere wrote:


Mark Hindess wrote:

Using "touch .now; sleep 2; (cd make; ant) ; find depends ... \!
-anewer .now" on both builds shows that the only files that aren't
accessed by either build are the README files and:

depends/files/java.security

That probably isn't needed since the build uses:

modules/security/src/java.home/lib/security/java.security

instead.

But that's the only one that's obviously redundant.


Yep... I would prefer to classlib depends directory a readme that tells
classlib depends on:
CU4C version 3.4 (how to get and install it).
ICU4JNI
FDLIBM
zlib
Like this?
http://svn.apache.org/viewcvs.cgi/incubator/harmony/enhanced/classlib/trunk/depends/oss/README.txt?view=markup



Well I am complaining the svn contains binary files that could be
"easly" rebuild... Should I propose an additional ant target to build
those components?

Sure - send it along.
Done... (for Linux for the moment), please comment

Cheers

Jean-Frederic

Thanks
Tim

On 04/03/06, Jean-frederic Clere <[EMAIL PROTECTED]> wrote:


Hi,

There are a lot of objects in this repos directory, do we really need
them?

Cheers
Jean-Frederic

--
Mark Hindess <[EMAIL PROTECTED]>
IBM Java Technology Centre, UK.







<?xml version="1.0" encoding="UTF-8"?>

<!-- http://www.apache.org/licenses/LICENSE-2.0 -->

<project name="build-depends" default="build" basedir=".">
  <target name="build">

    <!-- ICU4C version 3.4 -->
    <get src="ftp://ftp.software.ibm.com/software/globalization/icu/3.4.1/icu-3.4.1.tgz"; dest="file.tar.gz" />
    <gunzip src="file.tar.gz" dest="file.tar"/>
    <untar src="file.tar" dest="icu4c"/>
    <exec dir="icu4c/icu/source" executable="chmod">
      <arg value="+x" />
      <arg value="runConfigureICU" />
      <arg value="configure" />
      <arg value="install-sh" />
    </exec>
    <exec dir="icu4c/icu/source" executable="${basedir}/icu4c/icu/source/runConfigureICU" output="runConfigureICU.txt">
      <arg value="Linux" />
    </exec>
    <exec dir="icu4c/icu/source" executable="gmake" />
    <exec dir="icu4c/icu/source" executable="sudo">
      <arg value="gmake" />
      <arg value="install" />
    </exec>

    <!-- ICU4JNI version 3.4 with Patch 01 -->
    <get src="ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/icu4jni/3.4/icu4jni_3_4.zip"; dest="file.zip" />
    <unzip src="file.zip" dest="icu4jni" />
    <!-- Add something to apply the patch -->
    <fixcrlf srcdir="icu4jni/icu4jni"
       eol="lf" 
       eof="remove"
       includes="**/config*"
    />
    <exec dir="icu4jni/icu4jni" executable="chmod">
      <arg value="+x" />
      <arg value="configure" />
    </exec>
    <property environment="env"/>
    <exec dir="icu4jni/icu4jni" executable="${basedir}/icu4jni/icu4jni/configure">
    <!-- xxx icu-config is installed somewhere -->
    <env key="PATH" path="${env.PATH}:${basedir}/icu4c/icu/source/config"/>
    </exec>
    <exec dir="icu4jni/icu4jni" executable="gmake">
      <arg value="check" />
    </exec>

    <!-- FDLIBM version 5.2 (There is a 5.3!) -->
    <get src="http://www.validlab.com/software/fdlibm52.tar.gz"; dest="file.tar.gz" />
    <gunzip src="file.tar.gz" dest="file.tar"/>
    <untar src="file.tar" dest="fdlibm"/>
    <exec dir="fdlibm/fdlibm52" executable="gmake">
    </exec>

  </target>
  <target name="toto">
    <!-- ZLIB version 1.2.3 -->
    <get src="http://www.zlib.net/zlib-1.2.3.tar.gz"; dest="file.tar.gz" />
    <gunzip src="file.tar.gz" dest="file.tar"/>
    <untar src="file.tar" dest="zip"/>
    <fixcrlf srcdir="zip"
       eol="lf" 
       eof="remove"
       includes="**/configure"
    />
    <exec dir="zip" executable="chmod">
      <arg value="+x" />
      <arg value="configure" />
    </exec>
    <exec dir="zip" executable="${basedir}/zip/configure"/>
    <exec dir="zip" executable="gmake"/>
    <!-- the zip file is broken [at least configure is broken) -->
    <!--
    <unzip src="oss/zlib_1.2.3.zip" dest="zip"/>
    <exec dir="zip" executable="configure"/>
    -->

  </target>
</project>

Reply via email to