Home » Archived » IAM (Eclipse Integration for Apache Maven) » Extremely slow "Updating classpath" on Eclipse startup
| | |
Re: Extremely slow "Updating classpath" on Eclipse startup [message #512653 is a reply to message #512481] |
Fri, 05 February 2010 19:08 |
Carlos Sanchez Messages: 114 Registered: July 2009 |
Senior Member |
|
|
are they jars/wars/...?
the progress view is telling you "updating classpath of project X" ?
what kind of project is that?
do you have all the dependencies in your local repo?
I would need a lot more details, I have projects open, with wars, war
overlays,... and it's not taking that long at all
On 2/5/10 1:32 AM, Marc Ban wrote:
> Hello Carlos,
>
> Thank you for responding,
>
> Yes, I've done a fresh install with the last 0.11.0. ( Eclipse IAM
> 0.11.0.201001181900).
>
> For the moment I only open 7 of my modules in Eclipse. (there
> are 15 modules in the full project, and it's a wtp project). All mdules
> are in a snapshot state.
>
> the full update process take 20-30 mn.
> The maven events view doesn't show any event.
|
|
|
Re: Extremely slow "Updating classpath" on Eclipse startup [message #512767 is a reply to message #512653] |
Sun, 07 February 2010 07:10 |
Marc Schlegel Messages: 92 Registered: July 2009 |
Member |
|
|
Am 05.02.2010 20:08, schrieb Carlos Sanchez:
> are they jars/wars/...?
> the progress view is telling you "updating classpath of project X" ?
> what kind of project is that?
> do you have all the dependencies in your local repo?
>
> I would need a lot more details, I have projects open, with wars, war
> overlays,... and it's not taking that long at all
>
>
> On 2/5/10 1:32 AM, Marc Ban wrote:
>> Hello Carlos,
>>
>> Thank you for responding,
>>
>> Yes, I've done a fresh install with the last 0.11.0. ( Eclipse IAM
>> 0.11.0.201001181900).
>>
>> For the moment I only open 7 of my modules in Eclipse. (there
>> are 15 modules in the full project, and it's a wtp project). All mdules
>> are in a snapshot state.
>>
>> the full update process take 20-30 mn.
>> The maven events view doesn't show any event.
>
Hello Everyone
I was just about to write about the same problem, so I add it here.
I also have a multi project pom with 4 modules (1 war, 3 jar). Its not
taking 10 Minutes on my setup, but still rather long (maybe one or two
minutes).
I was thinking if it wouldnt make more sense to just skip the whole step
of preparing each project on startup again...usually when you leave the
workspace the setup is correct and if I want IAM to prepare the project
(paren pom changes) I can just call "Project -> Clean".
Anyway, I installed Netbeans 6.8 just to try how this handles Maven and
on the same project the it is setup much faster. Of course, when
libraries need to be downloaded it takes a while, I am asuming that
everything is in the lokal Repo already.
regards
-- Marc
|
|
| | | | |
Re: Extremely slow "Updating classpath" on Eclipse startup [message #513321 is a reply to message #513200] |
Tue, 09 February 2010 13:26 |
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 #572094 is a reply to message #572065] |
Fri, 05 February 2010 19:08 |
Carlos Sanchez Messages: 114 Registered: July 2009 |
Senior Member |
|
|
are they jars/wars/...?
the progress view is telling you "updating classpath of project X" ?
what kind of project is that?
do you have all the dependencies in your local repo?
I would need a lot more details, I have projects open, with wars, war
overlays,... and it's not taking that long at all
On 2/5/10 1:32 AM, Marc Ban wrote:
> Hello Carlos,
>
> Thank you for responding,
>
> Yes, I've done a fresh install with the last 0.11.0. ( Eclipse IAM
> 0.11.0.201001181900).
>
> For the moment I only open 7 of my modules in Eclipse. (there
> are 15 modules in the full project, and it's a wtp project). All mdules
> are in a snapshot state.
>
> the full update process take 20-30 mn.
> The maven events view doesn't show any event.
|
|
|
Re: Extremely slow "Updating classpath" on Eclipse startup [message #572132 is a reply to message #512653] |
Sun, 07 February 2010 12:04 |
Marc Schlegel Messages: 92 Registered: July 2009 |
Member |
|
|
Am 05.02.2010 20:08, schrieb Carlos Sanchez:
> are they jars/wars/...?
> the progress view is telling you "updating classpath of project X" ?
> what kind of project is that?
> do you have all the dependencies in your local repo?
>
> I would need a lot more details, I have projects open, with wars, war
> overlays,... and it's not taking that long at all
>
>
> On 2/5/10 1:32 AM, Marc Ban wrote:
>> Hello Carlos,
>>
>> Thank you for responding,
>>
>> Yes, I've done a fresh install with the last 0.11.0. ( Eclipse IAM
>> 0.11.0.201001181900).
>>
>> For the moment I only open 7 of my modules in Eclipse. (there
>> are 15 modules in the full project, and it's a wtp project). All mdules
>> are in a snapshot state.
>>
>> the full update process take 20-30 mn.
>> The maven events view doesn't show any event.
>
Hello Everyone
I was just about to write about the same problem, so I add it here.
I also have a multi project pom with 4 modules (1 war, 3 jar). Its not
taking 10 Minutes on my setup, but still rather long (maybe one or two
minutes).
I was thinking if it wouldnt make more sense to just skip the whole step
of preparing each project on startup again...usually when you leave the
workspace the setup is correct and if I want IAM to prepare the project
(paren pom changes) I can just call "Project -> Clean".
Anyway, I installed Netbeans 6.8 just to try how this handles Maven and
on the same project the it is setup much faster. Of course, when
libraries need to be downloaded it takes a while, I am asuming that
everything is in the lokal Repo already.
regards
-- Marc
|
|
| | | |
Goto Forum:
Current Time: Sat Sep 21 03:57:27 GMT 2024
Powered by FUDForum. Page generated in 0.05198 seconds
|