On 11/18/2011 02:23 PM, Scott Wilson wrote:
On 18 Nov 2011, at 13:18, Ate Douma wrote:
On 11/18/2011 01:59 PM, Ross Gardler wrote:
On 18 November 2011 12:54, Ate Douma<[email protected]> wrote:
I've just updated to the latest wookie trunk and ran
$ ant clean
$ ant run
I've build wookie last time for the 0.9.1 release candidate so I expect to
have most/all external dependencies in my local ivy cache (which is where?),
no?
However the ant run build took more than 15 minutes to complete!
Should I have some magic setting to speed this stuff up?
I always use ant run -Doffline=true which prevents a check of the
dependencies, but I wouldn't expect it to make 15 mins difference.
I've not done a clean build for some time, I wonder if the clean is
killing the downloaded artifacts? Even if it is 15 minutes seems
excessive
OK, thanks for the tip.
I've tried it again with
$ ant clean
$ ant -Doffline=true compile-test
But it still goes 'online' trying to resolve dependencies...
Have you updated recently? Dependencies set to "latest.integration" were
overriding the offline setting, so we changed them to fixed version numbers to stop it
trying to check online.
This is against latest trunk.
And I just did a full build before trying the above so my local maven repo is
all up to date as well.
It really seems to be ivy which takes ages 'resolving' (again) externally,
including (only?) fixed version numbers:
resolve:
[ivy:resolve] :: loading settings :: file =
/home/ate/workspace/wookie-trunk/ant/ivysettings.xml
[ivy:resolve] :: resolving dependencies ::
org.apache.wookie#wookie;0.9.2-incubating-SNAPSHOT
[ivy:resolve] confs: [deploy, database, runtime, dev, test, ddlutils,
deploy-with-src-and-docs, deploy-signed]
[ivy:resolve] found
org.apache.wookie#wookie-java-connector;0.9.2-incubating-SNAPSHOT in local
[ivy:resolve] found org.apache.wookie#wookie-parser;0.9.2-incubating-SNAPSHOT
in local
[ivy:resolve] found com.ibm.icu#icu4j;4.6.1 in public
[ivy:resolve] found org.apache.commons#commons-email;1.1 in public
[ivy:resolve] found javax.mail#mail;1.4 in public
[ivy:resolve] found javax.activation#activation;1.1 in public
[ivy:resolve] found commons-collections#commons-collections;3.2 in public
[ivy:resolve] found org.apache.commons#commons-compress;1.0 in public
[ivy:resolve] found commons-configuration#commons-configuration;1.7 in public
[ivy:resolve] found commons-collections#commons-collections;3.2.1 in public
[ivy:resolve] found commons-lang#commons-lang;2.6 in public
[ivy:resolve] found commons-logging#commons-logging;1.1.1 in public
[ivy:resolve] found commons-digester#commons-digester;1.8.1 in public
[ivy:resolve] found commons-beanutils#commons-beanutils;1.8.3 in public
[ivy:resolve] found commons-fileupload#commons-fileupload;1.2.1 in public
[ivy:resolve] found commons-httpclient#commons-httpclient;3.1 in public
[ivy:resolve] found commons-io#commons-io;1.4 in public
[ivy:resolve] found dom4j#dom4j;1.6.1 in public
[ivy:resolve] found xml-apis#xml-apis;1.0.b2 in public
[ivy:resolve] found net.sourceforge.htmlcleaner#htmlcleaner;2.2 in public
[ivy:resolve] found org.jdom#jdom;1.1 in public
[ivy:resolve] found org.apache.ant#ant;1.7.0 in public
[ivy:resolve] found org.apache.ant#ant-launcher;1.7.0 in public
[ivy:resolve] found org.directwebremoting#dwr;2.0.5 in wookie-local
[ivy:resolve] found org.slf4j#slf4j-log4j12;1.5.2 in public
[ivy:resolve] found org.slf4j#slf4j-api;1.5.2 in public
[ivy:resolve] found log4j#log4j;1.2.14 in public
[ivy:resolve] found org.apache.shindig#shindig-common;2.0.0 in public
[ivy:resolve] found com.google.collections#google-collections;1.0-rc2 in
public
[ivy:resolve] found commons-codec#commons-codec;1.5 in public
[ivy:resolve] found org.json#json;20080701 in public
[ivy:resolve] found org.apache.openjpa#openjpa-all;2.0.0 in public
[ivy:resolve] found commons-pool#commons-pool;1.3 in public
[ivy:resolve] found org.apache.derby#derby;10.4.2.0 in public
[ivy:resolve] found javax.servlet#servlet-api;2.5 in public
[ivy:resolve] found org.mortbay.jetty#jetty;6.1.3 in public
[ivy:resolve] found org.mortbay.jetty#jetty-util;6.1.3 in public
[ivy:resolve] found org.mortbay.jetty#servlet-api-2.5;6.1.3 in public
[ivy:resolve] found org.mortbay.jetty#jetty-plus;6.1.3 in public
[ivy:resolve] found geronimo-spec#geronimo-spec-jta;1.0.1B-rc4 in public
The above console 'snapshot' is taking ages to proceed (It's *still* running the
above compile-test build I emailed on before) with progress per line taking
multiple tens of seconds...
Either my system is 'screwed' or something else is weird. Note though I have no
problems like these when using maven builds.
Ross