|[tycho-user] Target platform composition and/or inheritance|
Hello all, I'm wondering whether it would make sense or not to be able to define inheritance or composition of Target Platform definitions, (.target, TP) I have currently the following situation : My project is a set of bundles and features that uses a target platform definition , tp1.target But I also have a product definition (.product tycho module), that includes elements from tp1.target, but also some artifacts found in other p2 repositories. What I currently can do is : * create another TP, tp1+other.target that my product module could rely on, but I would have to maintain 2 similar TPs (tp1.target and tp1+other.target) * or pollute tp1.target with stuff only needed by the product What I would like to do is : * specify in my product module 2 TPs : tp1.target, and another one, other.target, that Tycho would merge at resolution time : <configuration> <resolver>p2</resolver> <targets> <target> <artifact> <groupId>group</groupId> <artifactId>parent</artifactId> <version>0.0.1-SNAPSHOT</version> <classifier>tp1</classifier> </artifact> </target> <target> <artifact> <groupId>group</groupId> <artifactId>product</artifactId> <version>0.0.1-SNAPSHOT</version> <classifier>other</classifier> </artifact> </target> </targets> </configuration> * or create a new TP, which inherits from tp1.target and adds some locations and references it from my product module I hope you understand what I actually mean, if my request makes some sense, I'd be happy to start working on a patch for solution 1 : merge targets. Thanks, Anthony Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant être confidentielle. Vous ne devez ni le copier ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le destinataire ou une personne désignée autorisée. Si vous le receviez par erreur, veuillez nous aviser immédiatement et le détruire. The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Back to the top