You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Justin Zheng <zz...@gmail.com> on 2006/10/13 15:54:27 UTC

Ant get error

Hi all,

I receive this error when I begin to fetch working_vm's dependencies:

BUILD FAILED
C:\Harmony\trunk\working_vm\build\make\build.xml:240: The following error
occurr
ed while executing this line:
C:\Harmony\trunk\working_vm\build\make\setup.xml:268: The following error
occurr
ed while executing this line:
C:\Harmony\trunk\working_vm\build\make\setup.xml:270: The following error
occurr
ed while executing this line:
C:\Harmony\trunk\working_vm\build\make\setup.xml:444: Can't get
http://www.rever
se.net/pub/apache/apr/apr-1.2.6.zip to
C:\Harmony\trunk\working_vm\build\pre-cop
ied\archives\win\APR\apr-1.2.6.zip

It is Ant get error and I can not resolve it. Can anyone help?

Thanks.

My platform is Windows.

Justinz

Re: Ant get error

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.

Justin Zheng wrote:
> Finally, I built Harmony sucessfully. :) However the test suite has a 
> lot of
> failures. Is that expected?
> 
> And when I type Java -version, the result is:
> 
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundatio
> n or its licensors, as applicable.
> JVMJ9VM007E 无法识别命令行选项(unable to read command line option):- 
> version
> HMYEXEL062E 内部 VM 错误:未能创建 (internal VM error, cannot create ) 
> Java VM
> FAILED to invoke JVM.
> 
> which is different with quickhelp document.

Sure, because you are sing IBM J9 :) which doesn't support -version as
we have the launcher pass it through.

We'll fix this ASAP.

> 
> Is that my configuration error?

Try running a HellowWorld with -showversion

> 
> Thanks.
> 
> Best Regards,
> 
> Justinz
> 
> On 10/15/06, Alexey Petrenko <al...@gmail.com> wrote:
>>
>> 2006/10/14, Paulex Yang <pa...@gmail.com>:
>> > Alexey Petrenko wrote:
>> > > This error simply means that ant can not finad a compiler. Because
>> > > Harmony does not have a compiler.. yet...
>> > > Somewhere (in the READMEs or on the Harmony site) was an instruction
>> > > on using Eclipse compiler for Harmony build.
>> > >
>> > > You should look for this info.
>> > The other solution is, if you have JDK installed, point your JAVA_HOME
>> > to that directory.
>> Looks like Justin is trying to build Harmony using Harmony....
>>
>>
>> > > 2006/10/14, Justin Zheng <zz...@gmail.com>:
>> > >> Thanks for your help. Ant get issue had been resolved and solution
>> > >> had been
>> > >> updated to the wiki page, please help to check.
>> > >>
>> > >> However, another issue occoured.
>> > >>
>> > >> I received this error when I executed build.bat after the update:
>> > >>
>> > >> BUILD FAILED
>> > >> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following
>> > >> error
>> > >> occurr
>> > >> ed while executing this line:
>> > >> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following
>> > >> error
>> > >> occurr
>> > >> ed while executing this line:
>> > >> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The
>> > >> following
>> > >> err
>> > >> or occurred while executing this line:
>> > >>
>> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build. 
>>
>> > >>
>> > >> java.xml:10: Unable to find a javac compiler;
>> > >> com.sun.tools.javac.Main is not on the classpath.
>> > >> Perhaps JAVA_HOME does not point to the JDK
>> > >>
>> > >> Some System Variables setting:
>> > >>
>> > >> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
>> > >> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
>> > >>
>> > >> Can any one help?
>> > >>
>> > >> Thanks a lot!
>> > >>
>> > >> Best Regards,
>> > >>
>> > >> Justinz
>> > >>
>> > >>
>> > >> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
>> > >> >
>> > >> > Paulex Yang <pa...@gmail.com> wrote:
>> > >> > >> Can you access
>> > >> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
>> > >> > >> browser?
>> > >> >
>> > >> > Justin Zheng wrote:
>> > >> > >  I do cannot access that url. How can I get the access
>> permission?
>> > >> >
>> > >> > The site is one of public Apache mirrors, so it must be some
>> network
>> > >> > availability problem that you cannot access it.
>> > >> > I've just tried and file is accessible.
>> > >> > Could you please check your internet connection is okay?
>> > >> >
>> > >> > Meanwhile, you can try using some other Apache mirror, for 
>> example,
>> > >> the
>> > >> > main one,
>> > >> > by making the following change and running 'build.bat update'
>> again.
>> > >> >
>> > >> > --- build/make/win.properties
>> > >> > +++ build/make/win.properties
>> > >> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
>> > >> >
>> > >> > # Apache Portable Runtime, version 1.1 or above
>> > >> > # http://apr.apache.org/download.cgi
>> > >> >
>> > >> -
>> remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
>> > >> > +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
>> > >> >
>> > >> > # APR-util, version 1.2.2 or above
>> > >> > # http://apr.apache.org/download.cgi
>> > >> >
>> > >> >
>> > >> >
>> ---------------------------------------------------------------------
>> > >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > >> > To unsubscribe, e-mail:
>> harmony-dev-unsubscribe@incubator.apache.org
>> > >> > For additional commands, e-mail:
>> harmony-dev-help@incubator.apache.org
>> > >> >
>> > >> >
>> > >>
>> > >>
>> > >
>> > >
>> >
>> >
>> > --
>> > Paulex Yang
>> > China Software Development Lab
>> > IBM
>> >
>> >
>> > ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>> >
>> >
>>
>>
>> -- 
>> Alexey A. Petrenko
>> Intel Middleware Products Division
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: Ant get error

Posted by Justin Zheng <zz...@gmail.com>.
Helloworld works well. Thanks.

Best Regards,

Justinz


On 10/17/06, Sergey Soldatov <se...@gmail.com> wrote:
>
> It's a know feature that J9 doesn't show version. Nevermind, just try to
> run
> a simple application like HelloWorld
>
> On 10/16/06, Justin Zheng <zz...@gmail.com> wrote:
> >
> > Finally, I built Harmony sucessfully. :) However the test suite has a
> lot
> > of
> > failures. Is that expected?
> >
> > And when I type Java -version, the result is:
> >
> > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> > Foundatio
> > n or its licensors, as applicable.
> > JVMJ9VM007E 无法识别命令行选项(unable to read command line option):-version
> > HMYEXEL062E 内部 VM 错误:未能创建 (internal VM error, cannot create ) Java VM
> > FAILED to invoke JVM.
> >
> > which is different with quickhelp document.
> >
> > Is that my configuration error?
> >
> > Thanks.
> >
> > Best Regards,
> >
> > Justinz
> >
> > On 10/15/06, Alexey Petrenko <al...@gmail.com> wrote:
> > >
> > > 2006/10/14, Paulex Yang <pa...@gmail.com>:
> > > > Alexey Petrenko wrote:
> > > > > This error simply means that ant can not finad a compiler. Because
> > > > > Harmony does not have a compiler.. yet...
> > > > > Somewhere (in the READMEs or on the Harmony site) was an
> instruction
> > > > > on using Eclipse compiler for Harmony build.
> > > > >
> > > > > You should look for this info.
> > > > The other solution is, if you have JDK installed, point your
> JAVA_HOME
> > > > to that directory.
> > > Looks like Justin is trying to build Harmony using Harmony....
> > >
> > >
> > > > > 2006/10/14, Justin Zheng <zz...@gmail.com>:
> > > > >> Thanks for your help. Ant get issue had been resolved and
> solution
> > > > >> had been
> > > > >> updated to the wiki page, please help to check.
> > > > >>
> > > > >> However, another issue occoured.
> > > > >>
> > > > >> I received this error when I executed build.bat after the update:
> > > > >>
> > > > >> BUILD FAILED
> > > > >> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The
> following
> > > > >> error
> > > > >> occurr
> > > > >> ed while executing this line:
> > > > >> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The
> following
> > > > >> error
> > > > >> occurr
> > > > >> ed while executing this line:
> > > > >> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72:
> The
> > > > >> following
> > > > >> err
> > > > >> or occurred while executing this line:
> > > > >>
> > >
> >
> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
> > > > >>
> > > > >> java.xml:10: Unable to find a javac compiler;
> > > > >> com.sun.tools.javac.Main is not on the classpath.
> > > > >> Perhaps JAVA_HOME does not point to the JDK
> > > > >>
> > > > >> Some System Variables setting:
> > > > >>
> > > > >> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
> > > > >> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
> > > > >>
> > > > >> Can any one help?
> > > > >>
> > > > >> Thanks a lot!
> > > > >>
> > > > >> Best Regards,
> > > > >>
> > > > >> Justinz
> > > > >>
> > > > >>
> > > > >> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
> > > > >> >
> > > > >> > Paulex Yang <pa...@gmail.com> wrote:
> > > > >> > >> Can you access
> > > > >> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> > > > >> > >> browser?
> > > > >> >
> > > > >> > Justin Zheng wrote:
> > > > >> > >  I do cannot access that url. How can I get the access
> > > permission?
> > > > >> >
> > > > >> > The site is one of public Apache mirrors, so it must be some
> > > network
> > > > >> > availability problem that you cannot access it.
> > > > >> > I've just tried and file is accessible.
> > > > >> > Could you please check your internet connection is okay?
> > > > >> >
> > > > >> > Meanwhile, you can try using some other Apache mirror, for
> > example,
> > > > >> the
> > > > >> > main one,
> > > > >> > by making the following change and running 'build.bat update'
> > > again.
> > > > >> >
> > > > >> > --- build/make/win.properties
> > > > >> > +++ build/make/win.properties
> > > > >> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
> > > > >> >
> > > > >> > # Apache Portable Runtime, version 1.1 or above
> > > > >> > # http://apr.apache.org/download.cgi
> > > > >> >
> > > > >> -
> > > remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> > > > >> > +remote.APR.archive=
> http://www.apache.org/dist/apr/apr-1.2.6.zip
> > > > >> >
> > > > >> > # APR-util, version 1.2.2 or above
> > > > >> > # http://apr.apache.org/download.cgi
> > > > >> >
> > > > >> >
> > > > >> >
> > > ---------------------------------------------------------------------
> > > > >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > >> > To unsubscribe, e-mail:
> > > harmony-dev-unsubscribe@incubator.apache.org
> > > > >> > For additional commands, e-mail:
> > > harmony-dev-help@incubator.apache.org
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Paulex Yang
> > > > China Software Development Lab
> > > > IBM
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail:
> harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexey A. Petrenko
> > > Intel Middleware Products Division
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
>
>
>
> --
> Sergey Soldatov
> Intel Middleware Products Division
>

Re: Ant get error

Posted by Sergey Soldatov <se...@gmail.com>.
It's a know feature that J9 doesn't show version. Nevermind, just try to run
a simple application like HelloWorld

On 10/16/06, Justin Zheng <zz...@gmail.com> wrote:
>
> Finally, I built Harmony sucessfully. :) However the test suite has a lot
> of
> failures. Is that expected?
>
> And when I type Java -version, the result is:
>
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundatio
> n or its licensors, as applicable.
> JVMJ9VM007E 无法识别命令行选项(unable to read command line option):-version
> HMYEXEL062E 内部 VM 错误:未能创建 (internal VM error, cannot create ) Java VM
> FAILED to invoke JVM.
>
> which is different with quickhelp document.
>
> Is that my configuration error?
>
> Thanks.
>
> Best Regards,
>
> Justinz
>
> On 10/15/06, Alexey Petrenko <al...@gmail.com> wrote:
> >
> > 2006/10/14, Paulex Yang <pa...@gmail.com>:
> > > Alexey Petrenko wrote:
> > > > This error simply means that ant can not finad a compiler. Because
> > > > Harmony does not have a compiler.. yet...
> > > > Somewhere (in the READMEs or on the Harmony site) was an instruction
> > > > on using Eclipse compiler for Harmony build.
> > > >
> > > > You should look for this info.
> > > The other solution is, if you have JDK installed, point your JAVA_HOME
> > > to that directory.
> > Looks like Justin is trying to build Harmony using Harmony....
> >
> >
> > > > 2006/10/14, Justin Zheng <zz...@gmail.com>:
> > > >> Thanks for your help. Ant get issue had been resolved and solution
> > > >> had been
> > > >> updated to the wiki page, please help to check.
> > > >>
> > > >> However, another issue occoured.
> > > >>
> > > >> I received this error when I executed build.bat after the update:
> > > >>
> > > >> BUILD FAILED
> > > >> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following
> > > >> error
> > > >> occurr
> > > >> ed while executing this line:
> > > >> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following
> > > >> error
> > > >> occurr
> > > >> ed while executing this line:
> > > >> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The
> > > >> following
> > > >> err
> > > >> or occurred while executing this line:
> > > >>
> >
> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
> > > >>
> > > >> java.xml:10: Unable to find a javac compiler;
> > > >> com.sun.tools.javac.Main is not on the classpath.
> > > >> Perhaps JAVA_HOME does not point to the JDK
> > > >>
> > > >> Some System Variables setting:
> > > >>
> > > >> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
> > > >> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
> > > >>
> > > >> Can any one help?
> > > >>
> > > >> Thanks a lot!
> > > >>
> > > >> Best Regards,
> > > >>
> > > >> Justinz
> > > >>
> > > >>
> > > >> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
> > > >> >
> > > >> > Paulex Yang <pa...@gmail.com> wrote:
> > > >> > >> Can you access
> > > >> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> > > >> > >> browser?
> > > >> >
> > > >> > Justin Zheng wrote:
> > > >> > >  I do cannot access that url. How can I get the access
> > permission?
> > > >> >
> > > >> > The site is one of public Apache mirrors, so it must be some
> > network
> > > >> > availability problem that you cannot access it.
> > > >> > I've just tried and file is accessible.
> > > >> > Could you please check your internet connection is okay?
> > > >> >
> > > >> > Meanwhile, you can try using some other Apache mirror, for
> example,
> > > >> the
> > > >> > main one,
> > > >> > by making the following change and running 'build.bat update'
> > again.
> > > >> >
> > > >> > --- build/make/win.properties
> > > >> > +++ build/make/win.properties
> > > >> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
> > > >> >
> > > >> > # Apache Portable Runtime, version 1.1 or above
> > > >> > # http://apr.apache.org/download.cgi
> > > >> >
> > > >> -
> > remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> > > >> > +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
> > > >> >
> > > >> > # APR-util, version 1.2.2 or above
> > > >> > # http://apr.apache.org/download.cgi
> > > >> >
> > > >> >
> > > >> >
> > ---------------------------------------------------------------------
> > > >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >> > To unsubscribe, e-mail:
> > harmony-dev-unsubscribe@incubator.apache.org
> > > >> > For additional commands, e-mail:
> > harmony-dev-help@incubator.apache.org
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > > >
> > >
> > >
> > > --
> > > Paulex Yang
> > > China Software Development Lab
> > > IBM
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>



-- 
Sergey Soldatov
Intel Middleware Products Division

Re: Ant get error

Posted by Justin Zheng <zz...@gmail.com>.
Finally, I built Harmony sucessfully. :) However the test suite has a lot of
failures. Is that expected?

And when I type Java -version, the result is:

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundatio
n or its licensors, as applicable.
JVMJ9VM007E 无法识别命令行选项(unable to read command line option):-version
HMYEXEL062E 内部 VM 错误:未能创建 (internal VM error, cannot create ) Java VM
FAILED to invoke JVM.

which is different with quickhelp document.

Is that my configuration error?

Thanks.

Best Regards,

Justinz

On 10/15/06, Alexey Petrenko <al...@gmail.com> wrote:
>
> 2006/10/14, Paulex Yang <pa...@gmail.com>:
> > Alexey Petrenko wrote:
> > > This error simply means that ant can not finad a compiler. Because
> > > Harmony does not have a compiler.. yet...
> > > Somewhere (in the READMEs or on the Harmony site) was an instruction
> > > on using Eclipse compiler for Harmony build.
> > >
> > > You should look for this info.
> > The other solution is, if you have JDK installed, point your JAVA_HOME
> > to that directory.
> Looks like Justin is trying to build Harmony using Harmony....
>
>
> > > 2006/10/14, Justin Zheng <zz...@gmail.com>:
> > >> Thanks for your help. Ant get issue had been resolved and solution
> > >> had been
> > >> updated to the wiki page, please help to check.
> > >>
> > >> However, another issue occoured.
> > >>
> > >> I received this error when I executed build.bat after the update:
> > >>
> > >> BUILD FAILED
> > >> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following
> > >> error
> > >> occurr
> > >> ed while executing this line:
> > >> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following
> > >> error
> > >> occurr
> > >> ed while executing this line:
> > >> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The
> > >> following
> > >> err
> > >> or occurred while executing this line:
> > >>
> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
> > >>
> > >> java.xml:10: Unable to find a javac compiler;
> > >> com.sun.tools.javac.Main is not on the classpath.
> > >> Perhaps JAVA_HOME does not point to the JDK
> > >>
> > >> Some System Variables setting:
> > >>
> > >> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
> > >> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
> > >>
> > >> Can any one help?
> > >>
> > >> Thanks a lot!
> > >>
> > >> Best Regards,
> > >>
> > >> Justinz
> > >>
> > >>
> > >> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
> > >> >
> > >> > Paulex Yang <pa...@gmail.com> wrote:
> > >> > >> Can you access
> > >> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> > >> > >> browser?
> > >> >
> > >> > Justin Zheng wrote:
> > >> > >  I do cannot access that url. How can I get the access
> permission?
> > >> >
> > >> > The site is one of public Apache mirrors, so it must be some
> network
> > >> > availability problem that you cannot access it.
> > >> > I've just tried and file is accessible.
> > >> > Could you please check your internet connection is okay?
> > >> >
> > >> > Meanwhile, you can try using some other Apache mirror, for example,
> > >> the
> > >> > main one,
> > >> > by making the following change and running 'build.bat update'
> again.
> > >> >
> > >> > --- build/make/win.properties
> > >> > +++ build/make/win.properties
> > >> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
> > >> >
> > >> > # Apache Portable Runtime, version 1.1 or above
> > >> > # http://apr.apache.org/download.cgi
> > >> >
> > >> -
> remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> > >> > +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
> > >> >
> > >> > # APR-util, version 1.2.2 or above
> > >> > # http://apr.apache.org/download.cgi
> > >> >
> > >> >
> > >> >
> ---------------------------------------------------------------------
> > >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > >> > To unsubscribe, e-mail:
> harmony-dev-unsubscribe@incubator.apache.org
> > >> > For additional commands, e-mail:
> harmony-dev-help@incubator.apache.org
> > >> >
> > >> >
> > >>
> > >>
> > >
> > >
> >
> >
> > --
> > Paulex Yang
> > China Software Development Lab
> > IBM
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
> --
> Alexey A. Petrenko
> Intel Middleware Products Division
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

Re: Ant get error

Posted by Alexey Petrenko <al...@gmail.com>.
2006/10/14, Paulex Yang <pa...@gmail.com>:
> Alexey Petrenko wrote:
> > This error simply means that ant can not finad a compiler. Because
> > Harmony does not have a compiler.. yet...
> > Somewhere (in the READMEs or on the Harmony site) was an instruction
> > on using Eclipse compiler for Harmony build.
> >
> > You should look for this info.
> The other solution is, if you have JDK installed, point your JAVA_HOME
> to that directory.
Looks like Justin is trying to build Harmony using Harmony....


> > 2006/10/14, Justin Zheng <zz...@gmail.com>:
> >> Thanks for your help. Ant get issue had been resolved and solution
> >> had been
> >> updated to the wiki page, please help to check.
> >>
> >> However, another issue occoured.
> >>
> >> I received this error when I executed build.bat after the update:
> >>
> >> BUILD FAILED
> >> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following
> >> error
> >> occurr
> >> ed while executing this line:
> >> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following
> >> error
> >> occurr
> >> ed while executing this line:
> >> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The
> >> following
> >> err
> >> or occurred while executing this line:
> >> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
> >>
> >> java.xml:10: Unable to find a javac compiler;
> >> com.sun.tools.javac.Main is not on the classpath.
> >> Perhaps JAVA_HOME does not point to the JDK
> >>
> >> Some System Variables setting:
> >>
> >> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
> >> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
> >>
> >> Can any one help?
> >>
> >> Thanks a lot!
> >>
> >> Best Regards,
> >>
> >> Justinz
> >>
> >>
> >> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
> >> >
> >> > Paulex Yang <pa...@gmail.com> wrote:
> >> > >> Can you access
> >> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> >> > >> browser?
> >> >
> >> > Justin Zheng wrote:
> >> > >  I do cannot access that url. How can I get the access permission?
> >> >
> >> > The site is one of public Apache mirrors, so it must be some network
> >> > availability problem that you cannot access it.
> >> > I've just tried and file is accessible.
> >> > Could you please check your internet connection is okay?
> >> >
> >> > Meanwhile, you can try using some other Apache mirror, for example,
> >> the
> >> > main one,
> >> > by making the following change and running 'build.bat update' again.
> >> >
> >> > --- build/make/win.properties
> >> > +++ build/make/win.properties
> >> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
> >> >
> >> > # Apache Portable Runtime, version 1.1 or above
> >> > # http://apr.apache.org/download.cgi
> >> >
> >> -remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> >> > +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
> >> >
> >> > # APR-util, version 1.2.2 or above
> >> > # http://apr.apache.org/download.cgi
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >> >
> >> >
> >>
> >>
> >
> >
>
>
> --
> Paulex Yang
> China Software Development Lab
> IBM
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: Ant get error

Posted by Paulex Yang <pa...@gmail.com>.
Alexey Petrenko wrote:
> This error simply means that ant can not finad a compiler. Because
> Harmony does not have a compiler.. yet...
> Somewhere (in the READMEs or on the Harmony site) was an instruction
> on using Eclipse compiler for Harmony build.
>
> You should look for this info.
The other solution is, if you have JDK installed, point your JAVA_HOME 
to that directory.
>
> SY, Alexey
>
> 2006/10/14, Justin Zheng <zz...@gmail.com>:
>> Thanks for your help. Ant get issue had been resolved and solution 
>> had been
>> updated to the wiki page, please help to check.
>>
>> However, another issue occoured.
>>
>> I received this error when I executed build.bat after the update:
>>
>> BUILD FAILED
>> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following 
>> error
>> occurr
>> ed while executing this line:
>> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following 
>> error
>> occurr
>> ed while executing this line:
>> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The 
>> following
>> err
>> or occurred while executing this line:
>> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build. 
>>
>> java.xml:10: Unable to find a javac compiler;
>> com.sun.tools.javac.Main is not on the classpath.
>> Perhaps JAVA_HOME does not point to the JDK
>>
>> Some System Variables setting:
>>
>> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
>> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
>>
>> Can any one help?
>>
>> Thanks a lot!
>>
>> Best Regards,
>>
>> Justinz
>>
>>
>> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
>> >
>> > Paulex Yang <pa...@gmail.com> wrote:
>> > >> Can you access 
>> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
>> > >> browser?
>> >
>> > Justin Zheng wrote:
>> > >  I do cannot access that url. How can I get the access permission?
>> >
>> > The site is one of public Apache mirrors, so it must be some network
>> > availability problem that you cannot access it.
>> > I've just tried and file is accessible.
>> > Could you please check your internet connection is okay?
>> >
>> > Meanwhile, you can try using some other Apache mirror, for example, 
>> the
>> > main one,
>> > by making the following change and running 'build.bat update' again.
>> >
>> > --- build/make/win.properties
>> > +++ build/make/win.properties
>> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
>> >
>> > # Apache Portable Runtime, version 1.1 or above
>> > # http://apr.apache.org/download.cgi
>> > 
>> -remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
>> > +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
>> >
>> > # APR-util, version 1.2.2 or above
>> > # http://apr.apache.org/download.cgi
>> >
>> >
>> > ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>> >
>> >
>>
>>
>
>


-- 
Paulex Yang
China Software Development Lab
IBM


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: Ant get error

Posted by Alexey Petrenko <al...@gmail.com>.
This error simply means that ant can not finad a compiler. Because
Harmony does not have a compiler.. yet...
Somewhere (in the READMEs or on the Harmony site) was an instruction
on using Eclipse compiler for Harmony build.

You should look for this info.

SY, Alexey

2006/10/14, Justin Zheng <zz...@gmail.com>:
> Thanks for your help. Ant get issue had been resolved and solution had been
> updated to the wiki page, please help to check.
>
> However, another issue occoured.
>
> I received this error when I executed build.bat after the update:
>
> BUILD FAILED
> C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following error
> occurr
> ed while executing this line:
> C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following error
> occurr
> ed while executing this line:
> C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The following
> err
> or occurred while executing this line:
> C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
> java.xml:10: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>
> Some System Variables setting:
>
> ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
> JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre
>
> Can any one help?
>
> Thanks a lot!
>
> Best Regards,
>
> Justinz
>
>
> On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
> >
> > Paulex Yang <pa...@gmail.com> wrote:
> > >> Can you access http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> > >> browser?
> >
> > Justin Zheng wrote:
> > >  I do cannot access that url. How can I get the access permission?
> >
> > The site is one of public Apache mirrors, so it must be some network
> > availability problem that you cannot access it.
> > I've just tried and file is accessible.
> > Could you please check your internet connection is okay?
> >
> > Meanwhile, you can try using some other Apache mirror, for example, the
> > main one,
> > by making the following change and running 'build.bat update' again.
> >
> > --- build/make/win.properties
> > +++ build/make/win.properties
> > @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
> >
> > # Apache Portable Runtime, version 1.1 or above
> > # http://apr.apache.org/download.cgi
> > -remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> > +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
> >
> > # APR-util, version 1.2.2 or above
> > # http://apr.apache.org/download.cgi
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: Ant get error

Posted by Justin Zheng <zz...@gmail.com>.
Thanks for your help. Ant get issue had been resolved and solution had been
updated to the wiki page, please help to check.

However, another issue occoured.

I received this error when I executed build.bat after the update:

BUILD FAILED
C:\Harmony\trunk\working_vm\build\make\build.xml:406: The following error
occurr
ed while executing this line:
C:\Harmony\trunk\working_vm\build\make\build.xml:413: The following error
occurr
ed while executing this line:
C:\Harmony\trunk\working_vm\build\make\build_component.xml:72: The following
err
or occurred while executing this line:
C:\Harmony\trunk\working_vm\build\win_ia32_msvc_debug\semis\build\targets\build.
java.xml:10: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Some System Variables setting:

ANT_HOME=C:\Downloads\apache-ant-1.6.5-bin\apache-ant-1.6.5
JAVA_HOME=C:\Harmony\trunk\working_classlib\deploy\jdk\jre

Can any one help?

Thanks a lot!

Best Regards,

Justinz


On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
>
> Paulex Yang <pa...@gmail.com> wrote:
> >> Can you access http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> >> browser?
>
> Justin Zheng wrote:
> >  I do cannot access that url. How can I get the access permission?
>
> The site is one of public Apache mirrors, so it must be some network
> availability problem that you cannot access it.
> I've just tried and file is accessible.
> Could you please check your internet connection is okay?
>
> Meanwhile, you can try using some other Apache mirror, for example, the
> main one,
> by making the following change and running 'build.bat update' again.
>
> --- build/make/win.properties
> +++ build/make/win.properties
> @@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
>
> # Apache Portable Runtime, version 1.1 or above
> # http://apr.apache.org/download.cgi
> -remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
> +remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
>
> # APR-util, version 1.2.2 or above
> # http://apr.apache.org/download.cgi
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

Re: Ant get error

Posted by Salikh Zakirov <Sa...@Intel.com>.
Paulex Yang <pa...@gmail.com> wrote:
>> Can you access http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
>> browser?

Justin Zheng wrote:
>  I do cannot access that url. How can I get the access permission?

The site is one of public Apache mirrors, so it must be some network
availability problem that you cannot access it.
I've just tried and file is accessible.
Could you please check your internet connection is okay?

Meanwhile, you can try using some other Apache mirror, for example, the main one,
by making the following change and running 'build.bat update' again.

--- build/make/win.properties
+++ build/make/win.properties
@@ -50,7 +50,7 @@ CLASSLIB_HOME=../../../classlib/trunk/
 
 # Apache Portable Runtime, version 1.1 or above
 # http://apr.apache.org/download.cgi
-remote.APR.archive=http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip
+remote.APR.archive=http://www.apache.org/dist/apr/apr-1.2.6.zip
 
 # APR-util, version 1.2.2 or above
 # http://apr.apache.org/download.cgi


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: Ant get error

Posted by Justin Zheng <zz...@gmail.com>.
Thanks for your information. I do cannot access that url. How can I get the
access permission?

Thanks.

Best Regards,

Justinz


On 10/13/06, Paulex Yang <pa...@gmail.com> wrote:
>
> Can you access http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in
> browser?
>
> Justin Zheng wrote:
> > Hi all,
> >
> > I receive this error when I begin to fetch working_vm's dependencies:
> >
> > BUILD FAILED
> > C:\Harmony\trunk\working_vm\build\make\build.xml:240: The following
> error
> > occurr
> > ed while executing this line:
> > C:\Harmony\trunk\working_vm\build\make\setup.xml:268: The following
> error
> > occurr
> > ed while executing this line:
> > C:\Harmony\trunk\working_vm\build\make\setup.xml:270: The following
> error
> > occurr
> > ed while executing this line:
> > C:\Harmony\trunk\working_vm\build\make\setup.xml:444: Can't get
> > http://www.rever
> > se.net/pub/apache/apr/apr-1.2.6.zip to
> > C:\Harmony\trunk\working_vm\build\pre-cop
> > ied\archives\win\APR\apr-1.2.6.zip
> >
> > It is Ant get error and I can not resolve it. Can anyone help?
> >
> > Thanks.
> >
> > My platform is Windows.
> >
> > Justinz
> >
>
>
> --
> Paulex Yang
> China Software Development Lab
> IBM
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

Re: Ant get error

Posted by Paulex Yang <pa...@gmail.com>.
Can you access http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip in 
browser?

Justin Zheng wrote:
> Hi all,
>
> I receive this error when I begin to fetch working_vm's dependencies:
>
> BUILD FAILED
> C:\Harmony\trunk\working_vm\build\make\build.xml:240: The following error
> occurr
> ed while executing this line:
> C:\Harmony\trunk\working_vm\build\make\setup.xml:268: The following error
> occurr
> ed while executing this line:
> C:\Harmony\trunk\working_vm\build\make\setup.xml:270: The following error
> occurr
> ed while executing this line:
> C:\Harmony\trunk\working_vm\build\make\setup.xml:444: Can't get
> http://www.rever
> se.net/pub/apache/apr/apr-1.2.6.zip to
> C:\Harmony\trunk\working_vm\build\pre-cop
> ied\archives\win\APR\apr-1.2.6.zip
>
> It is Ant get error and I can not resolve it. Can anyone help?
>
> Thanks.
>
> My platform is Windows.
>
> Justinz
>


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: Ant get error

Posted by Justin Zheng <zz...@gmail.com>.
I am glad to update the solution to the wiki if I can resolve it. :)

On 10/13/06, Salikh Zakirov <Sa...@intel.com> wrote:
>
> Justin Zheng wrote:
> > C:\Harmony\trunk\working_vm\build\make\setup.xml:444: Can't get
> > http://www.rever
> > se.net/pub/apache/apr/apr-1.2.6.zip to
> > C:\Harmony\trunk\working_vm\build\pre-cop
> > ied\archives\win\APR\apr-1.2.6.zip
> >
> > It is Ant get error and I can not resolve it. Can anyone help?
>
> It is likely that you can't get the resource or are behind a proxy.
>
> 1) Can you verify that getting the specified resource is possible at all?
> i.e. it is not a site availability issue. Looking from your log, the url
> is
> http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip, try downloading it
> from a browser, if it is fails, then the problem is not in DRLVM build.
>
> 2) You may need to configure HTTP proxy by modifying
> trunk/working_vm/build/win.properties
>
> (or even use the internal java properties, like
>    set ANT_OPTS='-Dhttp.proxyPort=<proxy-port> -Dhttp.proxyHost=
> <proxy-host>'
>    build.bat update
> )
>
> put appropriate values instead of <proxy-port> and <proxy-host>.
>
> BTW, there is a wiki page with DRLVM troubleshooting tips,
> would you mind sharing your experience after solving the problem?
>
> http://wiki.apache.org/harmony/DrlvmBuildTroubleshooting
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

Re: Ant get error

Posted by Salikh Zakirov <Sa...@Intel.com>.
Justin Zheng wrote:
> C:\Harmony\trunk\working_vm\build\make\setup.xml:444: Can't get
> http://www.rever
> se.net/pub/apache/apr/apr-1.2.6.zip to
> C:\Harmony\trunk\working_vm\build\pre-cop
> ied\archives\win\APR\apr-1.2.6.zip
> 
> It is Ant get error and I can not resolve it. Can anyone help?

It is likely that you can't get the resource or are behind a proxy.

1) Can you verify that getting the specified resource is possible at all?
i.e. it is not a site availability issue. Looking from your log, the url is
http://www.reverse.net/pub/apache/apr/apr-1.2.6.zip, try downloading it
from a browser, if it is fails, then the problem is not in DRLVM build.

2) You may need to configure HTTP proxy by modifying trunk/working_vm/build/win.properties

(or even use the internal java properties, like
    set ANT_OPTS='-Dhttp.proxyPort=<proxy-port> -Dhttp.proxyHost=<proxy-host>'
    build.bat update
)

put appropriate values instead of <proxy-port> and <proxy-host>.

BTW, there is a wiki page with DRLVM troubleshooting tips, 
would you mind sharing your experience after solving the problem?

http://wiki.apache.org/harmony/DrlvmBuildTroubleshooting


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org