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

Title: Change of Registered Address - Action Required

No, there is no support for automatic incremental builds. I have heard that the Maven guys are looking into this, so you could talk to them and find out what it would take to apply their ideas to Tycho.

 

However what should work is a rebuild of individual projects once you have built the rest once with “mvn install”. Tycho allows projects to reference everything that has been built and installed locally exactly for this use case. (You can see what has been built locally in the file .m2/repository/.meta/p2-local-metadata.properties).

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Luchesar Cekov
Sent: 01 August 2011 17:08
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Incremental build with Tycho

 

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?

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

 

 

 

 

.


Back to the top