Hello, Here [1] is an advise to export ANT_OPTS="-Xms256m -Xmx512m" to avoid this exception. Please let me know if this helps for your case.
Thanks! [1] http://mail-archives.apache.org/mod_mbox/harmony-dev/200709.mbox/[EMAIL PROTECTED] On Fri, Mar 14, 2008 at 9:44 PM, Tharindu Mathew <[EMAIL PROTECTED]> wrote: > Hey, > > I'm still failing to build. I sorted the issue xerces. That location gives a > corrupted version of the xerces zip. The mirror gives the proper zip. > I've created a jir and attached a patch ( > https://issues.apache.org/jira/browse/HARMONY-5609). Then it asked for > ecj.jar in the ANT_HOME/lib which also I sorted out. I"m stuck at this > failure now. > > check: > > -layout: > [mkdir] Created dir: > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/boot > [mkdir] Created dir: > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/security > [copy] Copying 1 file to /home/mackie/harmony/working_classlib/deploy > [copy] Copying /home/mackie/harmony/working_classlib/LICENSE to > /home/mackie/harmony/working_classlib/deploy/LICENSE > [copy] Copying 1 file to /home/mackie/harmony/working_classlib/deploy > [copy] Copying /home/mackie/harmony/working_classlib/NOTICE to > /home/mackie/harmony/working_classlib/deploy/NOTICE > [copy] Copying 17 files to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/boot > [copy] Copying 1 file to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/ext > [copy] Copying > > /home/mackie/harmony/working_classlib/depends/jars/bcprov-jdk15-138/bcprov.noidea.jar > to /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/ext/bcprov.jar > [copy] Copying 1 file to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib > [copy] Copying 1 file to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/boot > [copy] Copying 2 files to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/security > [copy] Copying 1 file to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib > [copy] Copying 1 file to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib > [mkdir] Created dir: > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/fonts > [copy] Copying 8 files to > /home/mackie/harmony/working_classlib/deploy/jdk/jre/lib/fonts > > -compile: > [mkdir] Created dir: /home/mackie/harmony/working_classlib/build/classes > [hy.javac] Compiling 3598 source files to > /home/mackie/harmony/working_classlib/build/classes > > BUILD FAILED > /home/mackie/harmony/build.xml:349: The following error occurred while > executing this line: > /home/mackie/harmony/working_classlib/build.xml:113: The following error > > occurred while executing this line: > /home/mackie/harmony/working_classlib/make/build-java.xml:120: > java.lang.reflect.InvocationTargetException > > > What should I do now? > > > > On Fri, Mar 14, 2008 at 10:06 PM, Tim Ellison <[EMAIL PROTECTED]> wrote: > > > Tharindu Mathew wrote: > > > -remove-file-if-bad: > > > > > > BUILD FAILED > > > /home/mackie/harmony/build.xml:358: The following error occurred while > > > executing this line: > > > /home/mackie/harmony/build.xml:366: The following error occurred while > > > executing this line: > > > /home/mackie/harmony/working_classlib/build.xml:282: The following error > > > occurred while executing this line: > > > /home/mackie/harmony/working_classlib/make/depends.xml:363: The > > following > > > error occurred while executing this line: > > > /home/mackie/harmony/working_classlib/make/depends.xml:442: ... > > > > > > File depends/jars/xerces_2.9.1/xerces.zip has incorrect md5 checksum. > > > Expected: a0e07ede1c3bd5231fe15eae24032b2e (or ) > > > Found: 4cdbc6358cb289bb2feea38090406d1c > > > > > > I installed ant-optional libraries. Now this is the error I get. Since > > this > > > jar is already in your repos you are not getting the error. What can I > > do to > > > overcome this. > > > > Your previous download may have failed to get the entire file. Either > > delete the partial download and try again, or manually download [1] that > > file and put it in the depends/jars/xerces_2.9.1 directory. > > > > [1] The build script tries to download it from > > http://www.apache.org/dist/xml/xerces-j/Xerces-J-bin.2.9.1.zip > > if you have a local mirror you can change the URL in > > working_classlib/make/depends.xml > > > > Regards, > > Tim > > > > > > -- > Regards, > > Tharindu > -- With best regards, Alexei
