You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Francis ANDRE <fr...@easynet.fr> on 2008/03/02 19:52:27 UTC
[general][build]: InvocationTargetException
Hi Harmony Team
When running ant, I got this error
:\DEV\Harmony\working_classlib\make\build-java.xml:120:
java.lang.reflect.InvocationTargetException
here are the traces:
Z:\DEV\Harmony\working_classlib\depends\jars\bcprov-jdk15-138\bcprov.noide
a.jar to Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\ext\bcprov.jar
[copy] Copying 1 file to Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib
[copy] Copying 1 file to
Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\boot
[copy] Copying 2 files to
Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\security
[copy] Copying 1 file to Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib
[copy] Copying 1 file to Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib
[mkdir] Created dir: Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\fonts
[copy] Copying 8 files to
Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\fonts
-compile:
[mkdir] Created dir: Z:\DEV\Harmony\working_classlib\build\classes
[hy.javac] Compiling 3622 source files to
Z:\DEV\Harmony\working_classlib\build\classes
BUILD FAILED
Z:\DEV\Harmony\build.xml:349: The following error occurred while executing this
line:
Z:\DEV\Harmony\working_classlib\build.xml:113: The following error occurred
while executing th
is line:
Z:\DEV\Harmony\working_classlib\make\build-java.xml:120:
java.lang.reflect.InvocationTargetException
Any idea how to solve this??
Rgds
Francis
Re: [general][build]: InvocationTargetException
Posted by Tim Ellison <t....@gmail.com>.
Francis,
You need to increase the default heap size in the hosting Java
environment in order to compile all those 3622 classes in one go.
See the first question in our very brief technical FAQ here
http://harmony.apache.org/faq.html
Hope things work this time for you!
Regards,
Tim
Francis ANDRE wrote:
> Hi Harmony Team
>
>
> When running ant, I got this error
> :\DEV\Harmony\working_classlib\make\build-java.xml:120:
> java.lang.reflect.InvocationTargetException
>
>
> here are the traces:
>
> Z:\DEV\Harmony\working_classlib\depends\jars\bcprov-jdk15-138\bcprov.noide
> a.jar to Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\ext\bcprov.jar
> [copy] Copying 1 file to
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib
> [copy] Copying 1 file to
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\boot
> [copy] Copying 2 files to
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\security
> [copy] Copying 1 file to
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib
> [copy] Copying 1 file to
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib
> [mkdir] Created dir:
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\fonts
> [copy] Copying 8 files to
> Z:\DEV\Harmony\working_classlib\deploy\jdk\jre\lib\fonts
>
> -compile:
> [mkdir] Created dir: Z:\DEV\Harmony\working_classlib\build\classes
> [hy.javac] Compiling 3622 source files to
>
>
> Z:\DEV\Harmony\working_classlib\build\classes
> BUILD FAILED
>
> Z:\DEV\Harmony\build.xml:349: The following error occurred while
> executing this line:
>
> Z:\DEV\Harmony\working_classlib\build.xml:113: The following error
> occurred while executing th
> is line:
>
> Z:\DEV\Harmony\working_classlib\make\build-java.xml:120:
> java.lang.reflect.InvocationTargetException
>
>
>
> Any idea how to solve this??
>
> Rgds
>
> Francis
>