Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Root files pulled in from wrong feature

Will do! So I can recover by removing the build.outputDirectory parameter?

Thanks for helping,

Wim 


On Fri, Feb 8, 2013 at 10:44 AM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote:

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)

bundle

product

master

 

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,

 

Best regards,

 

Wim 

 

 

 

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

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Wim Jongman
Sent: Mittwoch, 6. Februar 2013 15:17


To: Tycho user list
Subject: Re: [tycho-user] Root files pulled in from wrong feature

 

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:

I will prepare one.

 

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

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Wim Jongman
Sent: Mittwoch, 6. Februar 2013 13:18
To: Tycho user list
Subject: Re: [tycho-user] Root files pulled in from wrong feature

 

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.

 

Regards,

 

Wim

 

 

 

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

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Wim Jongman
Sent: Montag, 4. Februar 2013 11:29
To: Tycho user list
Subject: [tycho-user] Root files pulled in from wrong feature

 

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?

 

Thanks,

 

Wim

 

 

 

 


_______________________________________________
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

 


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



Back to the top