Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho and root.folder

Hello Jan !

> in your example, using
> root=root/
> should do the job.

Exactly ! thank you !

> BTW you don't need to add root/ to bin.includes.
> This will additionally add the root content to your features/my.feature/ folder which is probably not
> what you intended.

That's correct, a bad habit of mine...

BTW, I just found out that if my feature id (in feature.xml) does not match my artifact id (in pom.xml) then, the root advices are not picked up...
Funny thing since it is the first time that it causes me trouble :-/


Thanks again Jan !
Best regards,
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.
 

De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Sievers, Jan
Envoyé : 4 juillet 2011 06:04
À : Tycho user list
Objet : Re: [tycho-user] tycho and root.folder

root.folder key notation is not supported [1] as you can always find an equivalent root notation without .folder.

in your example, using

root=root/

should do the job.

BTW you don't need to add root/ to bin.includes.
This will additionally add the root content to your features/my.feature/ folder which is probably not what you intended.

Regards,
Jan

[1] https://github.com/sonatype/sonatype-tycho/blob/master/tycho-p2-resolver/tycho-p2-resolver-impl/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/rootfiles/FeatureRootAdvice.java#L33



-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Dahanne, Anthony
Sent: Donnerstag, 30. Juni 2011 16:16
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] tycho and root.folder

Hello everyone,
Trying to copy some content (a broker configuration) from my feature to
my osgi.instance.area , I've been doing the following, in my feature :

/my.feature
   root/data/myDir/broker.xml
   feature.xml
   build.properties
   pom.xml

and, in my build.properties :

bin.includes = feature.xml,\
               root/

root.folder.data=root/data/

but when I mvn clean install, I have the following error, when Tycho
tries to build the feature :

Execution default-p2-metadata of goal
org.eclipse.tycho:tycho-p2-plugin:0.12.0:p2-metadata failed:
root.folder.<subfolder> and root.<config>.folder.<subfolder> are not yet
supported in build.properties -> [Help 1]

The expected result is to find in my product :

/eclipse
   data/myDir/broker.xml


I tried to find an associated bug in https://bugs.eclipse.org/bugs/ but
could not find any...
I found the following bug in jira
https://issues.sonatype.org/browse/TYCHO-465 but it should be fixed...

Is there a known workaround ? I know it works in PDE, since I got it
working for features built by PDE...

Thank you very much in advance !

Anthony Dahanne
Software Developer
Compuware Montreal
75 Rue Queen, Suite 6500
Montreal, QC, Canada H3C 2N6
+1-514-798-8949


 
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.
 

_______________________________________________
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