Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Incremental build with Tycho

Hi Luchesar,

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?

Try http://harshana05.blogspot.com/2011/05/apache-maven-incremental-build-support.html

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.


--
 

Luchesar Cekov
Software Engineer
+44 (0)20 7239 4949

Ontology Systems
www.ontology.com

cid:image001.gif@01CB28DC.799AB7D0       

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




--
Thanks and Regards,
Harshana Martin
--
Harshana Eranga Martin
Software Engineer,
WSO2 Inc.
Web: http://wso2.com 
           http://wso2.org

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05


Back to the top