You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2006/06/22 05:25:00 UTC

build problems

1) the dependency on ecj_3.2RC5 is not checked:
....
     [copy] Copying
C:\harmony\trunk_0427\depends\jars\bcprov-jdk14-133\bcprov.jar to
C:\harmony\trunk_0427\deploy\jdk\jre\lib\ext\bcprov.jar
BUILD FAILED
C:\harmony\trunk_0427\build.xml:83: The following error occurred while
executing this line:
C:\harmony\trunk_0427\make\build-java.xml:161:
C:\harmony\trunk_0427\depends\jars\ecj_3.2RC5 not found.

Total time: 2 minutes 31 seconds
...

2) the build failed on java-compilation on the WinXP with 1Gb RAM (650Mb
free) as:
...
compile:
    [mkdir] Created dir: C:\users\TCKTeam\ws\trunk\build
    [javac] Compiling 2895 source files to C:\users\TCKTeam\ws\trunk\build

    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: Java heap space

BUILD FAILED
C:\users\TCKTeam\ws\trunk\build.xml:83: The following error occurred while
executing this line:
C:\users\TCKTeam\ws\trunk\make\build-java.xml:84: Compile failed; see the
compiler error output for details.

Total time: 1 minute 8 seconds

 To fix it the build-java.xml was updated (locally) as:
<javac fork="yes" memoryInitialSize="512M" memoryMaximumSize="600M"
destdir="${build.output}" source="${hy.javac.source}" target="${
hy.javac.target}" debug="on">

 Thanks, Vladimir