Building from Github


#1

Hi,
I tried the following steps:
git clone git://github.com/OpenGamma/OG-Platform.git
cd OG-Platform
ant init
ant clone-or-pull

these all appear to have run successfully - however, when I run the next step:
ant clean publish-all-local

I see the following error:

[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] [NOT FOUND ] org.springframework#spring;3.0.4!spring-test.jar (1ms)
[ivy:resolve] ==== shared: tried
[ivy:resolve] O:/OG-PrivateIvy/public_html/org.springframework/spring/3.0.4/spring-test-3.0.4.jar
[ivy:resolve] O:/OG-PrivateIvy/public_html/org.springframework/spring/3.0.4/spring-test-src-3.0.4.jar
[ivy:resolve] O:/OG-PrivateIvy/public_html/org.springframework/spring/3.0.4/spring-test-javadoc-3.0.4.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: FAILED DOWNLOADS ::
[ivy:resolve] :: ^ see resolution messages for details ^ ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.springframework#spring;3.0.4!spring-test.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
E:\dev\OG-Platform\build.xml:110: The following error occurred while executing this line:
E:\dev\OG-Platform\build.xml:99: The following error occurred while executing this line:
E:\dev\OG-Platform\common\common-ivy.xml:57: impossible to resolve dependencies:
resolve failed - see output for details

Being quite new to Ivy, I can’t see where this is going wrong - I would be grateful if someone would please point out what I am missing / doing wrong.

Thanks in advance


#2

I had similar trouble,

http://forums.opengamma.com/forum/discussion/42/1.0.0pre1-branch-now-available-via-git

i think it might have been related to my internet connection.
Jim suggested
ant clean-ivy-cache
to help clear out the cache when this happens.


#3

Dave, let us know if Gary’s suggestion helps.


#4

Perfect - it has worked, although there did not appear to be a wholesale problem with my internet connection as I also had an my broker’s live market feed coming through without any problem. If it happens again, I’ll debug further with a tracert to see if it’s an ISP issue. Any other suggestions for debugging it would be welcome.

Once again, thanks for your help