Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » Extremely slow "Updating classpath" on Eclipse startup
Extremely slow "Updating classpath" on Eclipse startup [message #571982] Thu, 04 February 2010 12:21 Go to next message
Marc Ban is currently offline Marc Ban
Messages: 10
Registered: February 2010
Junior Member
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 #572044 is a reply to message #571982] Thu, 04 February 2010 14:59 Go to previous messageGo to next message
Carlos Sanchez is currently offline Carlos Sanchez
Messages: 114
Registered: July 2009
Senior Member
are you using the last 0.11.0 ?

how many projects do you have opened?

the maven event view is the one you are checking?

On 2/4/10 9:21 AM, Marc Ban wrote:
> 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 #572217 is a reply to message #571982] Tue, 09 February 2010 06:01 Go to previous messageGo to next message
Marc Ban is currently offline Marc Ban
Messages: 10
Registered: February 2010
Junior Member
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.
Re: Extremely slow "Updating classpath" on Eclipse startup [message #572245 is a reply to message #572217] Tue, 09 February 2010 13:19 Go to previous messageGo to next message
Carlos Sanchez is currently offline Carlos Sanchez
Messages: 114
Registered: July 2009
Senior Member
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.
>
Re: Extremely slow "Updating classpath" on Eclipse startup [message #572275 is a reply to message #572217] Wed, 10 February 2010 05:34 Go to previous messageGo to next message
Marc Ban is currently offline Marc Ban
Messages: 10
Registered: February 2010
Junior Member
I use the proxy of my company, but can"t say what impact it has on Internet search performance.
Re: Extremely slow "Updating classpath" on Eclipse startup [message #572304 is a reply to message #572275] Wed, 10 February 2010 18:39 Go to previous message
Carlos Sanchez is currently offline Carlos Sanchez
Messages: 114
Registered: July 2009
Senior Member
probably is not properly configured in your $HOME/.m2/settings.xml
and/or Eclipse Proxy preferences, and that causes the requests to time out


On 2/10/10 2:34 AM, Marc Ban wrote:
> I use the proxy of my company, but can"t say what impact it has on
> Internet search performance.
Previous Topic:Extremely slow "Updating classpath" on Eclipse startup
Next Topic:is the project dead?
Goto Forum:
  


Current Time: Wed Apr 16 15:58:22 EDT 2014

Powered by FUDForum. Page generated in 0.01557 seconds