Thanks for the example project, this clarified the problem: 
Your root file configuration in the feature is ignored because you use a non-standard build.outputDirectory. 
  
AFAIK, this problem was not known yet – it would be good if you could
file a bug report (with severity minor) for this. The bug is in a part of the code that needs cleanup anyway, so the bug report would be a useful reminder to also test this setup. 
  
You can re-use your example project for the bug report. You can strip down the example even further by
 
·     
removing all repositories/dependencies other than the Indigo p2 repository. 
·     
removing the 42k binary from the server.feature/rootfiles folder 
·     
removing the eclipse-plugin module. 
  
Regards 
Tobias 
  
  
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Wim Jongman 
Sent: Mittwoch, 6. Februar 2013 17:48 
To: Tycho user list 
Subject: Re: [tycho-user] Root files pulled in from wrong feature 
 
 
  
Well, I need to create a number or projects: 
feature (contains the rootfiles) 
 
They are all in the attached zip file. 
 
Go to the command line of the master pom and "mvn clean install"  
 
There will be a directory bin/target/products in the product project that contains the final product with the wrong rootfiles. 
 
You will find that the rootfiles of the final product are not the ones of the feature, but the ones of the equinox servletbridge feature which is also in the product. 
 
Thanks for looking at it, 
 
 
  
On Wed, Feb 6, 2013 at 4:58 PM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote: 
52k doesn’t seem to be a minimal example… but I guess that sending it to the list should
 be okay. 
  
Regards 
Tobias 
  
  
I have prepared a 52kb example. Send it to the list or file a bug and post it there? 
 
  
On Wed, Feb 6, 2013 at 1:50 PM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote: 
  
On Wed, Feb 6, 2013 at 1:36 PM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote: 
This is all very obscure... Do you have a standalone, small example that reproduces
 the problem. 
  
Regards 
Tobias 
  
  
Hi, 
I guess the problem is that there are two features containing the rootfiles directory. One of mine and the second one is the servletbridge from equinox which I also include in my
 product. For some reason not my rootfiles are copied to the root but the rootfiles from the equinox servlet bridge feature. 
 
 
  
On Wed, Feb 6, 2013 at 10:30 AM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote: 
I don’t see what you expect to happen with renaming the source folder for the root files.
 root=root_files means that the content of that folder should be placed in the root of an RCP installation including this feature. 
  
Regards 
Tobias 
  
  
Hi, 
I build a server product and want to add some files to the root. I have a rootfiles folder in one of my features and that build.properties file says root=rootfiles. The feature
 is placed in the product file. 
 
However, the product also contains the servletbridge feature from equinox which also contains a rootfiles directory. For some reason its rootfile directory is used instead of my
 directory. 
 
I have changed my rootfiles folder to root_files and changed the build.properties to root=root_files but still in the product the servlet bridge rootfiles are placed. 
 
Any idea what I am doing wrong? 
 
 
 
 
 
 
 
 
_______________________________________________ 
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 
 
  
 
 
 
 |