Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Replace property in feature.xml

Hi Milan,

you could use the Eclipse shared license feature [1]. Tycho supports that and copies the license text from the shared license feature to the feature(s) you are building. There was a bug [2] in Tycho which was fixed in version 1.0.0. So make sure you do have Tycho Version >=1.0.0. The bug also contains a sample project which you could use for reference.



-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Milan Kubec
Gesendet: Mittwoch, 14. März 2018 09:33
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: [tycho-user] Replace property in feature.xml

I'm building RCP Application using Tycho and there are number of features with own feature.xml file, where the license is supposed to be defined for given feature. I don't want to have license copy in each feature.xml, so I would use some token or property to be replaced with the license string during build, but cannot figure out how to do it in Maven/Tycho. Resource filtering can be used for resources in regular project, but it doesn't work for feature.xml in feature project. Any ideas?



---This email was virus checked by HighTec mail gateway--- _______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top