Extremely slow "Updating classpath" on Eclipse startup [message #571982] |
Thu, 04 February 2010 12:21  |
Eclipse User |
|
|
|
In my multi-module application, at each eclipse startup, there is
an "updating classpath" phase launched by IAM for each module. Each phase lasts for 2 to 10 minutes, resulting in an extremely slow startup.
The event view does'nt show any event.
Any idea ? I know there has been a lot of discussions on the subject, but I coul'ndt find a tutorial for getting rid of this.
|
|
|
|
|
Re: Extremely slow "Updating classpath" on Eclipse startup [message #572245 is a reply to message #572217] |
Tue, 09 February 2010 13:19   |
Eclipse User |
|
|
|
you dont have internet connectivity from that machine, or use a proxy?
at startup it'll try to download the sources, but if they are not
present it will just take the time it takes to ping a remote server. I
think the issue is that instead your http requests are timing out, which
may mean 30 seconds or more for each missing source
even with "download sources" unchecked you can right click on the
project and in the Maven menu there's a download sources command
On 2/9/10 3:01 AM, Marc Ban wrote:
> Carlos,
>
> I found a solution !
>
> The event view was already open, but I hadn't seen the filter options.
> I set the filter to "debug", and saw a message : maven was stuck in
> trying to download sources for jars in all repositories, and not
> founding them anywhere.
>
> I deactivated the "download sources" option in maven preferences, and
> starting time is now OK .
>
> The only problem remaining is that the option is not very useful, as I
> can't activate it.
> I don't know if it is a bug, but I think there should be at least a
> serious warning on that option.
>
>
> Thanks anyway for your responses. I hope this discussion will help other
> IAM users too.
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03218 seconds