Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] rootFolder not working with Tycho 0.19 ?

OK Jan, I will do the test again.

But I repeat that I have grapped the TYCHO188P2EnabledRcp project, built it, and there was no root folder either.


2014/1/24 Sievers, Jan <jan.sievers@xxxxxxx>
most probably the problem with

https://github.com/laurentpetit/rootFolder-issue/blob/master/product/pom.xml

is that you are configuring the rootFolder inside the <execution> element of the archive goal instead of on plugin level.
That's too late as the root folder is created during product installation, not when archiving it.

As I said earlier, just look at the working example

http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-its/projects/TYCHO188P2EnabledRcp/eclipse-repository/pom.xml

and spot the differences.

Jan


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Laurent PETIT
Sent: Donnerstag, 23. Januar 2014 21:06
To: Tycho user list
Subject: Re: [tycho-user] rootFolder not working with Tycho 0.19 ?

Beyond the project in tycho-its mentioned by Jan, I have also derived a smallish project where I can reproduce the problem : https://github.com/laurentpetit/rootFolder-issue

Please note that I know it should work: I have followed where rootFolder / getRootFolder, etc. is used in the source code of the director plugin. I have not been able to re-build tycho myself to do more tests.

Cheers,

-- 
Laurent


2014/1/23 Laurent PETIT <laurent.petit@xxxxxxxxx>
sorry, but I have downloaded tycho, gone to the tycho-its/projects/TYCHO188P2EnabledRcp folder, fixed the tycho version to 0.19.0, run mvn clean verify on it, and I don't see any zip artifact with the right rootFolder.

2014/1/20 Sievers, Jan <jan.sievers@xxxxxxx>

the IT covering the scenario is successful
https://hudson.eclipse.org/tycho/job/tycho-its-linux-nightly/lastCompletedBuild/testReport/org.eclipse.tycho.test.TYCHO188P2EnabledRcp/Tycho188P2EnabledRcpTest/
 
Take it and go from there
 
Jan
 
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Laurent PETIT
Sent: Montag, 20. Januar 2014 09:52

To: Tycho user list
Subject: Re: [tycho-user] rootFolder not working with Tycho 0.19 ?
 
 
2014/1/20 Sievers, Jan <jan.sievers@xxxxxxx>
http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-its/src/test/java/org/eclipse/tycho/test/TYCHO188P2EnabledRcp/Tycho188P2EnabledRcpTest.java#n133
 
Thanks for the link, but I'm unable to interpret it.
Does that test the usage of the rootFolder attribute set through a real pom.xml file, as I would do as a regular user, or does that only prove that no tests fail (which may or may not help me at all, I don't know what the tests take as inputs and produce as outputs).
Regards,

--
Laurent
 
 
 
 
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Laurent PETIT
Sent: Sonntag, 19. Januar 2014 11:57
To: Tycho user list
Subject: Re: [tycho-user] rootFolder not working with Tycho 0.19 ?
 
Hello,
 
Am I the only one trying to use rootFolder attribute ? I'm interested in both success / failure feedbacks with this feature.
 
Thanks in advance,
 
-- 
Laurent
 
 
2014/1/17 Laurent PETIT <laurent.petit@xxxxxxxxx>
Hello,
 
I'm using tycho 0.19.
 
I have configured rootFolder / rootFolders as per http://wiki.eclipse.org/Tycho/Packaging_Types#Creating_Product_Zip_Files
 
You can check my product's pom.xml here:
https://github.com/laurentpetit/ccw/blob/master/ccw.product/pom.xml#L370
 
when I launch mvn clean verify in my parent pom, wait for the product to be built, and then check it, there's still no root folder, even though I'm defining one.
 
Is there a problem with this with tycho 0.19 ?
 
Cheers,
 
-- 
Laurent
 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top