Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Build Features separately

I don't understand why the build fails because even if Feaure1 has been rebuild, the previous version should be available, no ?
Can you describe your archictecture, do you deploy the artifacts, do you work with multiple Jenkins jobs ?


On Wed, Dec 19, 2012 at 3:29 PM, Timo Lange <lange@xxxxxxxxxxx> wrote:
Hi all tycho-users,

my project contains several features, each of them has his own maven-build/jenkins-job.
I want to build separately because otherwise the build will take a long time to build but i want a fast feedback.
That's what jenkins/hudson (CI-Server) made for!!

The problem i'm facing is that i'm not able to build them separately, because of the Qualifier/SNAPSHOT.

For example:
I'm building Feature1 which contains Plugin1. Tycho will generate the qualifier "1219" for instance.
Now i'm building Feature2 which depends on Feature1! So tycho will generate a new qualifier (e.g. 1220) for Feature2 with the Qualifier of Feature1 (1219) in the feature.xml.
Now somebody change code in Plugin1 from Feature1. Feature1 will re-build -> new Qualifier -> 1921

Here it comes: I'm building Feature3 which uses Feature2! But Feature2 can't resolve his dependencies, because Feature1 has a new Qualifier! So the build fail!

So i'm always need to build in the right order (or remove the qualifier) but this can't be the solution. Do you guys making all full-builds? How do you deal with it?

Thanks alot in advance!
Timo L.


Batteriestrasse 52, 24939 Flensburg

Sitz der Gesellschaft / Place of business : Flensburg
Geschaeftsfuehrer / CEO : Peter Sierk
Handelregister / Commercial register : Amtsgericht Flensburg, HRA 3140
Steuer Nr. / Tax number: 1528040009
USt.-Id-Nr. / VAT no : DE 134633705
Amtsgericht / District court : Flensburg HRB 2036

The information contained in this email message may be privileged and
confidential. If you have received this communication in error, please
notify the sender immediately by telephoning (+49-461-49400) and return this
message to the above address. Thank you.

tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top