On 1 August 2011 20:38, Luchesar Cekov
<luchesar.cekov@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hello Tycho enthusiasts,
I am trying to setup Tycho to build my project incrementally. This
means make the build go as fast as less changes I have made to the
source tree.
When I am building I can distinguish few phases:
1. Scanning from projects - takes about 2m30s for my project with
hundreds of bundles.
2. Resolving the projects - reads the defined repositories and
resolves each project - takes about 4m15s
3. Compiling projects - takes about 2m40s for a clean build and
about a minute for incremental build
4. Running the test - takes 20 minutes and even more because we have
enormous amount of unit tests
If I run incremental build $> mvn install 1, 2 and 4 takes the
same time even if there are no modifications and 3 takes 30% of the
time.
Is there a way to resolve, compile and test ONLY the plugins with
modifications and plugins dependant on them?
This explains how to set up incremental build for your multi module maven project.
Thanks and Regards,
Harshana
Thanks in advance,
Luchesar
P.S. Is there a way to make the scanning for projects phase faster
as well? A find . -name pom.xml takes only a fraction of the time
for scanning the projects.
--
Registered
Office: Ontology-Partners Limited, Dalton House, 60 Windsor
Avenue,
London SW19
2RR, UK
Company
Registration No. 5794201
.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user