You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by 周晓强 <xi...@gmail.com> on 2007/12/07 05:39:30 UTC

md5 checksum of mx4j.zip doesn't match when doing ant build

Buildfile: build.xml

svn-prop:

init:

show_props:
     [echo]
     [echo]                    Apache Harmony Federated Build
     [echo]             ==========================================
     [echo]             svn rev          :  601342
     [echo]             operating system :  windows
     [echo]             architecture     :  x86-32
     [echo]             ant os name/arch :  Windows XP/x86
     [echo]             hosting Java     :  1.5.0_08 (Sun Microsystems Inc.)
     [echo]             build mode       :  release
     [echo]             output location  :  target
     [echo]             DRLVM classlib   :  ../../../working_classlib
     [echo]             SVN root         :  http://svn.apache.org/repos/asf
     [echo]

setup:
   [delete] Deleting directory d:\workspace\harmony\trunk\target
    [mkdir] Created dir: d:\workspace\harmony\trunk\target

switch_svn_vm:
     [exec] At revision 601342.

switch_svn_classlib:
     [exec] At revision 601342.

switch_svn_jdktools:
     [exec] At revision 601342.

switch_svn_commonresources:
     [exec] At revision 601342.

populate_source:

auto_fetch_classlib_libs:

fetch_classlib_libs:
Trying to override old definition of task chksum

fetch-depends:

-download:
     [echo] Checking depends/jars/yoko_M2-20070130/yoko.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/yoko_M2-20070130/yoko-core.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-impl.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-spec.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/bcel-5.2/bcel-5.2.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/xalan-j_2.7.0/xalan.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/xerces_2.9.1/xerces.zip

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/junit_3.8.2/junit.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/bcprov-jdk15-138/bcprov.jar

-really-download:

-remove-file-if-bad:
     [echo] Checksum verified (true)
     [echo] Checking depends/jars/mx4j_3.0.2/mx4j.zip

-really-download:

-remove-file-if-bad:

BUILD FAILED
d:\workspace\harmony\trunk\build.xml:334: The following error occurred while
executing this line:
d:\workspace\harmony\trunk\build.xml:344: The following error occurred while
executing this line:
d:\workspace\harmony\trunk\working_classlib\build.xml:282: The following
error occurred while executing this line:
d:\workspace\harmony\trunk\working_classlib\make\depends.xml:371: The
following error occurred while executing this line:
d:\workspace\harmony\trunk\working_classlib\make\depends.xml:432: ...

File depends/jars/mx4j_3.0.2/mx4j.zip has incorrect md5 checksum.
    Expected: 443bd83ee36414de4b8fc5722b038b02 (or )
    Found:    24b1d55503ead1f7aaab37ec343263f7

Total time: 20 seconds

Re: md5 checksum of mx4j.zip doesn't match when doing ant build

Posted by 周晓强 <xi...@gmail.com>.
You guys are right. That works!

Thanks.

On Dec 7, 2007 1:31 PM, Jimmy,Jing Lv <fi...@gmail.com> wrote:

> Hi,
>
>     I've meet such problems as well. That must be network issues, you
> can download mx4j.zip directly (by browser etc. ) instead of automatic
> by svn.  Good Luck :)
>
> 2007/12/7, 周晓强 <xi...@gmail.com>:
> > Buildfile: build.xml
> >
> > svn-prop:
> >
> > init:
> >
> > show_props:
> >      [echo]
> >      [echo]                    Apache Harmony Federated Build
> >      [echo]             ==========================================
> >      [echo]             svn rev          :  601342
> >      [echo]             operating system :  windows
> >      [echo]             architecture     :  x86-32
> >      [echo]             ant os name/arch :  Windows XP/x86
> >      [echo]             hosting Java     :  1.5.0_08 (Sun Microsystems
> Inc.)
> >      [echo]             build mode       :  release
> >      [echo]             output location  :  target
> >      [echo]             DRLVM classlib   :  ../../../working_classlib
> >      [echo]             SVN root         :
> http://svn.apache.org/repos/asf
> >      [echo]
> >
> > setup:
> >    [delete] Deleting directory d:\workspace\harmony\trunk\target
> >     [mkdir] Created dir: d:\workspace\harmony\trunk\target
> >
> > switch_svn_vm:
> >      [exec] At revision 601342.
> >
> > switch_svn_classlib:
> >      [exec] At revision 601342.
> >
> > switch_svn_jdktools:
> >      [exec] At revision 601342.
> >
> > switch_svn_commonresources:
> >      [exec] At revision 601342.
> >
> > populate_source:
> >
> > auto_fetch_classlib_libs:
> >
> > fetch_classlib_libs:
> > Trying to override old definition of task chksum
> >
> > fetch-depends:
> >
> > -download:
> >      [echo] Checking depends/jars/yoko_M2-20070130/yoko.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/yoko_M2-20070130/yoko-core.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-impl.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-spec.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/bcel-5.2/bcel-5.2.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/xalan-j_2.7.0/xalan.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/xerces_2.9.1/xerces.zip
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/junit_3.8.2/junit.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/bcprov-jdk15-138/bcprov.jar
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >      [echo] Checksum verified (true)
> >      [echo] Checking depends/jars/mx4j_3.0.2/mx4j.zip
> >
> > -really-download:
> >
> > -remove-file-if-bad:
> >
> > BUILD FAILED
> > d:\workspace\harmony\trunk\build.xml:334: The following error occurred
> while
> > executing this line:
> > d:\workspace\harmony\trunk\build.xml:344: The following error occurred
> while
> > executing this line:
> > d:\workspace\harmony\trunk\working_classlib\build.xml:282: The following
> > error occurred while executing this line:
> > d:\workspace\harmony\trunk\working_classlib\make\depends.xml:371: The
> > following error occurred while executing this line:
> > d:\workspace\harmony\trunk\working_classlib\make\depends.xml:432: ...
> >
> > File depends/jars/mx4j_3.0.2/mx4j.zip has incorrect md5 checksum.
> >     Expected: 443bd83ee36414de4b8fc5722b038b02 (or )
> >     Found:    24b1d55503ead1f7aaab37ec343263f7
> >
> > Total time: 20 seconds
> >
>
>
> --
>
> Best Regards!
>
> Jimmy, Jing Lv
> China Software Development Lab, IBM
>

Re: md5 checksum of mx4j.zip doesn't match when doing ant build

Posted by "Jimmy,Jing Lv" <fi...@gmail.com>.
Hi,

     I've meet such problems as well. That must be network issues, you
can download mx4j.zip directly (by browser etc. ) instead of automatic
by svn.  Good Luck :)

2007/12/7, 周晓强 <xi...@gmail.com>:
> Buildfile: build.xml
>
> svn-prop:
>
> init:
>
> show_props:
>      [echo]
>      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  601342
>      [echo]             operating system :  windows
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Windows XP/x86
>      [echo]             hosting Java     :  1.5.0_08 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>      [echo]
>
> setup:
>    [delete] Deleting directory d:\workspace\harmony\trunk\target
>     [mkdir] Created dir: d:\workspace\harmony\trunk\target
>
> switch_svn_vm:
>      [exec] At revision 601342.
>
> switch_svn_classlib:
>      [exec] At revision 601342.
>
> switch_svn_jdktools:
>      [exec] At revision 601342.
>
> switch_svn_commonresources:
>      [exec] At revision 601342.
>
> populate_source:
>
> auto_fetch_classlib_libs:
>
> fetch_classlib_libs:
> Trying to override old definition of task chksum
>
> fetch-depends:
>
> -download:
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko-core.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-impl.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-spec.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/bcel-5.2/bcel-5.2.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/xalan-j_2.7.0/xalan.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/xerces_2.9.1/xerces.zip
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/junit_3.8.2/junit.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/bcprov-jdk15-138/bcprov.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/mx4j_3.0.2/mx4j.zip
>
> -really-download:
>
> -remove-file-if-bad:
>
> BUILD FAILED
> d:\workspace\harmony\trunk\build.xml:334: The following error occurred while
> executing this line:
> d:\workspace\harmony\trunk\build.xml:344: The following error occurred while
> executing this line:
> d:\workspace\harmony\trunk\working_classlib\build.xml:282: The following
> error occurred while executing this line:
> d:\workspace\harmony\trunk\working_classlib\make\depends.xml:371: The
> following error occurred while executing this line:
> d:\workspace\harmony\trunk\working_classlib\make\depends.xml:432: ...
>
> File depends/jars/mx4j_3.0.2/mx4j.zip has incorrect md5 checksum.
>     Expected: 443bd83ee36414de4b8fc5722b038b02 (or )
>     Found:    24b1d55503ead1f7aaab37ec343263f7
>
> Total time: 20 seconds
>


-- 

Best Regards!

Jimmy, Jing Lv
China Software Development Lab, IBM

Re: md5 checksum of mx4j.zip doesn't match when doing ant build

Posted by Spark Shen <sm...@gmail.com>.
Hi, xiaoqiang

I calculated md5 for mx4j.zip in my workspace, and the number is
443bd83ee36414de4b8fc5722b038b02.

Is it possible that the zip file is not completely downloaded? Would you try
to delete it and download again?
Just a guess :-)

2007/12/7, 周晓强 <xi...@gmail.com>:
>
> Buildfile: build.xml
>
> svn-prop:
>
> init:
>
> show_props:
>      [echo]
>      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  601342
>      [echo]             operating system :  windows
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Windows XP/x86
>      [echo]             hosting Java     :  1.5.0_08 (Sun Microsystems
> Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :
> http://svn.apache.org/repos/asf
>      [echo]
>
> setup:
>    [delete] Deleting directory d:\workspace\harmony\trunk\target
>     [mkdir] Created dir: d:\workspace\harmony\trunk\target
>
> switch_svn_vm:
>      [exec] At revision 601342.
>
> switch_svn_classlib:
>      [exec] At revision 601342.
>
> switch_svn_jdktools:
>      [exec] At revision 601342.
>
> switch_svn_commonresources:
>      [exec] At revision 601342.
>
> populate_source:
>
> auto_fetch_classlib_libs:
>
> fetch_classlib_libs:
> Trying to override old definition of task chksum
>
> fetch-depends:
>
> -download:
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko-core.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-impl.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/yoko_M2-20070130/yoko-rmi-spec.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/bcel-5.2/bcel-5.2.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/xalan-j_2.7.0/xalan.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/xerces_2.9.1/xerces.zip
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/junit_3.8.2/junit.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/bcprov-jdk15-138/bcprov.jar
>
> -really-download:
>
> -remove-file-if-bad:
>      [echo] Checksum verified (true)
>      [echo] Checking depends/jars/mx4j_3.0.2/mx4j.zip
>
> -really-download:
>
> -remove-file-if-bad:
>
> BUILD FAILED
> d:\workspace\harmony\trunk\build.xml:334: The following error occurred
> while
> executing this line:
> d:\workspace\harmony\trunk\build.xml:344: The following error occurred
> while
> executing this line:
> d:\workspace\harmony\trunk\working_classlib\build.xml:282: The following
> error occurred while executing this line:
> d:\workspace\harmony\trunk\working_classlib\make\depends.xml:371: The
> following error occurred while executing this line:
> d:\workspace\harmony\trunk\working_classlib\make\depends.xml:432: ...
>
> File depends/jars/mx4j_3.0.2/mx4j.zip has incorrect md5 checksum.
>     Expected: 443bd83ee36414de4b8fc5722b038b02 (or )
>     Found:    24b1d55503ead1f7aaab37ec343263f7
>
> Total time: 20 seconds
>



-- 
Spark Shen
China Software Development Lab, IBM