[build] reduce the AspectJ scope to speed up build.
---------------------------------------------------
Key: LABS-467
URL: https://issues.apache.org/jira/browse/LABS-467
Project: Labs
Issue Type: Improvement
Components: Magma
Affects Versions: Current
Reporter: Simone Gianni
Fix For: Next
Currently in Magma AspectJ is applied to all packages. This is often a waste of
time, because not all dependencies really need to be weaved.
The scope of inpath and aspectpath could be reduced applying some euristics :
- org.apache.magma packages are always both on inpath and aspectpath
- each package containing an aspect is always on aspectpath (this is already
done, if it contains ajc-aop.xml)
- each package containing specific types is on inpath
... Such types are subclasses of WebHandler, of have @MagmaBean etc... will
need build support
- each package can specify (in the pom?) which packages it needs to be added to
the inpath or aspectpath
--
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]