Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 33694 invoked from network); 16 Mar 2006 17:16:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Mar 2006 17:16:23 -0000 Received: (qmail 23750 invoked by uid 500); 16 Mar 2006 17:16:18 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 23698 invoked by uid 500); 16 Mar 2006 17:16:18 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 23687 invoked by uid 99); 16 Mar 2006 17:16:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 09:16:18 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.162] (HELO web30909.mail.mud.yahoo.com) (68.142.200.162) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Mar 2006 09:16:16 -0800 Received: (qmail 21016 invoked by uid 60001); 16 Mar 2006 17:15:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kusvqGoothi0XEINFkMA7ferYMuyHAo58kijxGOWuaGw4Nt/B4tep8YSQMIT2SfQnLBxnh+ApjGAM9jVEJjS7FNGxqmV0bx60VRP0J1tDEl7FqKIvY6JC5Ln4ib0SItd3AZM1PUq7IK/k86cCnu+ADWx0/bxqm3gr26ms61Sg6c= ; Message-ID: <20060316171556.21014.qmail@web30909.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30909.mail.mud.yahoo.com via HTTP; Thu, 16 Mar 2006 09:15:56 PST Date: Thu, 16 Mar 2006 09:15:56 -0800 (PST) From: Matt Benson Subject: Re: downloading dependencies To: harmony-dev@incubator.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N again, guys, to be sure it's not missed: adding "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080" to the ANT_OPTS environment variable should be sufficient for command-line Ant without explicitly invoking . -Matt --- Vladimir Strigun wrote: > Thanks Tim, everything works fine. > > Thanks, > Vladimir. > > On 3/16/06, Tim Ellison > wrote: > > Exactly, thanks Vladimir. I've put that in at > repo revision 386377 > > (with slightly modified property names). > > > > Let me know if you need more. > > > > Thanks, > > Tim > > > > Vladimir Strigun wrote: > > > For instance, we can add set-proxy target to > depends.xml: > > > > > > Index: classlib/trunk/make/depends.xml > > > > =================================================================== > > > --- classlib/trunk/make/depends.xml > (revision 386350) > > > +++ classlib/trunk/make/depends.xml (working > copy) > > > @@ -59,6 +59,8 @@ > > > > > description="Download required jars"> > > > > > > + > > > + > > > > > > > > > > > > @@ -93,6 +95,10 @@ > > > usetimestamp="true" verbose="true" /> > > > > > > > > > + > > > + proxyport="${port}"/> > > > + > > > + > > > > > > property="${dest}.exists" /> > > > > > > > > > > > > So, if you use proxy you just need to pass proxy > parameters in command line: > > > ant -Dproxy=proxy -Dport=80 -f depends.xml > download > > > > > > Otherwise, it will try to download files without > proxy. > > > > > > Thanks, > > > Vladimir. > > > > > > On 3/16/06, Tim Ellison > wrote: > > >> Perhaps we can put the proxy properties into > the make/depends.properties > > >> file and people can override on the > command-line or edit that file to > > >> reflect their set-up. > > >> > > >> The builds now check for dependencies so you > can add them into the right > > >> structure manually and avoid all this. > > >> > > >> Regards, > > >> Tim > > >> > > >> Vladimir Strigun wrote: > > >>> Mikhail, > > >>> > > >>> You can use ant setproxy[1] task for resolving > the problem. It works > > >>> for me. On the other hand, I don't think we > should patch build files. > > >>> Perhaps, It will be useful to document this > somewhere. > > >>> > > >>> > > >>> Thanks, > > >>> Vladimir. > > >>> > > >>> [1] > http://ant.apache.org/manual/OptionalTasks/setproxy.html > > >>> On 3/16/06, Mikhail Loenko > wrote: > > >>>> Tim, Mark > > >>>> > > >>>> revisions 386087, 386171 of that file break > my build: > > >>>> > > >>>> prepare-depends: > > >>>> [get] Getting: > http://www.ibiblio.org/maven/xalan/jars/xalan-2.6.0.jar > > >>>> [get] To: > C:\harmony\depends\jars\xalan-j_2.6.0\xalan.jar > > >>>> [get] Error getting > > >>>> > http://www.ibiblio.org/maven/xalan/jars/xalan-2.6.0.jar > to C:\ > > >>>> depends\jars\xalan-j_2.6.0\xalan.jar > > >>>> > > >>>> BUILD FAILED > > >>>> C:\harmony\make\build.xml:36: The following > error occurred while > > >>>> executing this line: > > >>>> C:\harmony\make\build-java.xml:352: > java.net.NoRouteToHostException: > > >>>> Operation timed out > > >>>> > > >>>> The problem seems to be with proxy setting > > >>>> > > >>>> Thanks, > > >>>> Mikhail Loenko > > >>>> Intel Middleware Products Division > > >>>> > > >>>> > > >>>> 2006/3/16, Mark Hindess > : > > >>>>> Thanks Tim. I spotted that I'd missed that > one too. > > >>>>> > > >>>>> -Mark. > > >>>>> > > >>>>> On 3/15/06, tellison@apache.org > wrote: > > >>>>>> Author: tellison > > >>>>>> Date: Wed Mar 15 13:37:44 2006 > > >>>>>> New Revision: 386171 > > >>>>>> > > >>>>>> URL: > http://svn.apache.org/viewcvs?rev=386171&view=rev > > >>>>>> Log: > > >>>>>> Ensure the XML JARs go directly into the > boot dir > > >>>>>> > > >>>>>> Modified: > > >>>>>> > incubator/harmony/enhanced/classlib/trunk/make/build-java.xml > > >>>>>> > > >>>>>> Modified: > incubator/harmony/enhanced/classlib/trunk/make/build-java.xml > > >>>>>> URL: > http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/make/build-java.xml?rev=386171&r1=386170&r2=386171&view=diff > > >>>>>> > ============================================================================== > > >>>>>> --- > incubator/harmony/enhanced/classlib/trunk/make/build-java.xml > (original) > > >>>>>> +++ > incubator/harmony/enhanced/classlib/trunk/make/build-java.xml > Wed Mar 15 13:37:44 2006 > > >>>>>> @@ -282,7 +282,7 @@ > > >>>>>> > > >>>>>> > > >>>>>> todir="${target.output}/jre/lib/boot" > overwrite="yes" > > >>>>>> - verbose="yes"> > > >>>>>> + verbose="yes" flatten="yes"> > > >>>>>> dir="${depends.jars}"> > > >>>>>> includes="*.jar" /> > > >>>>>> includes="xerces_2.6.2/*.jar" /> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>> -- > > >>>>> Mark Hindess > > >>>>> IBM Java Technology Centre, UK. > > >>>>> > > >> -- > > >> > > >> Tim Ellison (t.p.ellison@gmail.com) > > >> IBM Java technology centre, UK. > > >> > > > > > > > -- > > > > Tim Ellison (t.p.ellison@gmail.com) > > IBM Java technology centre, UK. > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com