[
https://issues.apache.org/jira/browse/LABS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741871#action_12741871
]
Simone Gianni commented on LABS-398:
------------------------------------
One of the problems here is not easily resolvable : if in the pom a new
dependency has been added, there may be the need to download sources from the
maven repo, this is an async request that may be completed in the middle of a
build, in that case maven reports that a new source attachment is present,
Magma creates a new linked folder for those sources, and the build is fired
again. If this happens for a number of dependencies, then there are multiple
builds. It would be nice to catch the maven event "I have finished downloading
every possible source I can think of" and create linked folders only at that
point, or create a delayed job that creates linked folders only if Maven has
not reported the addition of another source attachment for X seconds, so that
these modifications are batched somehow.
> [eclipse] too many rebuilds are triggered
> -----------------------------------------
>
> Key: LABS-398
> URL: https://issues.apache.org/jira/browse/LABS-398
> Project: Labs
> Issue Type: Bug
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Assignee: Simone Gianni
> Fix For: Current
>
>
> When the pom is modified, it triggers a mavn update, which triggers a magma
> linked sources update, which triggers an aspectjbuild.
> Somehow, often this cycle is repeated multiple times, while in theory only
> once should be enough.
> Additionally AJDT often triggers a complete recompile, seeing a lot of files
> changed, even if they are not (magma has not reunzipped them).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]