[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] why tycho tries to reach repos on offline mode?

Well, in this case, I just made my vote on it and lets just wait :-)

thanks again for the clarification.

cheers

Cristiano

On 21/05/11 22:28, Igor Fedorenko wrote:
This is a bug/feature in p2, there is nothing we can do in tycho to
prevent this. I've opened a feature request against p2 [1] to provide
Tycho with proper repository update policy API, but unfortunately it
does not look like it made it in 3.7/Indigo. Let's hope for the next
year or the year after.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=337022

--
Regards,
Igor

On 11-05-21 01:39 PM, Cristiano Gavião wrote:
Hi,

I was trying to build in offline mode with tycho. it seams to work.

But when I used -X to trace some build error that I'm getting I could
see that tycho is trying to reach each configured server even on offline
mode:
[DEBUG] Offline mode, using local cache only for repository helios
(http://download.eclipse.org/releases/helios)

!ENTRY org.eclipse.equinox.p2.repository 2 0 2011-05-21 14:10:25.661
!MESSAGE Connection to
http://download.eclipse.org/releases/helios/p2.index failed on
download.eclipse.org. Retry attempt 0 started
!STACK 0
java.net.UnknownHostException: download.eclipse.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)



[INFO] Adding repository http://download.eclipse.org/releases/helios

!ENTRY org.eclipse.equinox.p2.repository 2 0 2011-05-21 14:10:25.883
!MESSAGE Connection to
http://download.eclipse.org/technology/epp/packages/helios/p2.index
failed on download.eclipse.org. Retry attempt 0 started
!STACK 0
java.net.UnknownHostException: download.eclipse.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)



!ENTRY org.eclipse.equinox.p2.repository 2 0 2011-05-21 14:10:26.089
!MESSAGE Connection to
http://download.eclipse.org/technology/epp/packages/helios/R/p2.index
failed on download.eclipse.org. Retry attempt 0 started
!STACK 0
java.net.UnknownHostException: download.eclipse.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at
org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)




Why is this necessary ?

thanks

Cristiano
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user