]
Rob Stryker resolved JBIDE-3638.
--------------------------------
Resolution: Done
The model change listener now checks if the archives builder is enabled and also if
automatic building is enabled. Even if it is enabled, the model-change build will execute
in a job so as not to slow down the view from displaying the metadata.
Avoid full build when listing project archive metadata
------------------------------------------------------
Key: JBIDE-3638
URL:
https://jira.jboss.org/jira/browse/JBIDE-3638
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.0.0.cr1
Reporter: Galder Zamarreno
Assignee: Rob Stryker
Fix For: 3.0.0.GA
Re:
http://galder.zamarreno.com/?p=256
After going through all this, stopping Eclipse and restarting it, I'm getting a
noticeable slow down when
going to the "Project Archives" view and trying to list the archives associated
with the openjdk project.
The slow down is around 1-2 minutes and the progress bar says: "Register
Projet..."
Anyway this waiting time could be reduced?
Galder Zamarreño
------
I talked to Rob earlier and he said that the slow down is due to a full build that is
executed so that
incremental builds can be executed later.
Hmmmm, I have some doubts whether this is the right place to do it. In other words, a
full build should
only be executed if:
1.- I do a build (Ctrl + B).
2.- Or if I request one by right click "Build Archive (Full).".
Doing a preemptive build when trying to see the list of project archives of a project
does not seem to
be the right timing for it.
Thoughts?
Galder Zamarreño
----
To reiterate my point, before doing an incremental build, build must be invoked somehow,
either via
1 or 2. I don't see why there's a need to have a full build executed when
checking what archives a
project creates.
Galder Zamarreño
----
I agree - a view of the project archives metadata should not require a build. That makes
no sense.
/max
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: