Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] publish-product errors when using release qualifiers

Oh, I think now I get it: The PDE editors copies the "qualifier" literal in versions when including things from the Eclipse workspace. So "qualifier" in a reference should be replaced by the qualifier of the actual version available in the reactor.

This should work for both snapshot and release builds (where the qualifier could be considered to be an empty string). So your problem could be worth a bug report.

Fixing this bug could also help: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382482 "Allow auto-qualified OSGi versions in releases"
Possibly related: https://bugs.eclipse.org/bugs/show_bug.cgi?id=373817 "Handling of ".qualifier" for dependencies from outside of the current reactor"

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Beat Strasser
> Sent: Freitag, 18. Januar 2013 16:59
> To: Tycho user list
> Subject: Re: [tycho-user] publish-product errors when using release
> qualifiers
> 
> Hi Tobias
> 
> > This is not an exact version - AFAIK, you cannot expect a "qualifier"
> > in a reference to be replaced. This means that you specify a broken
> > dependency, and with the p2 publisher included in Tycho 0.16.0, this
> > is noticed and reported with the message:
> >
> > "Included element example-feature.feature.group 0.1.0 is missing.
> > Cannot determine filter for requirement to this element."
> 
> Hmm, everywhere else I'm able to specify such references
> (1.0.0.qualifier), e.g. in a feature.xml, category.xml - except in
> product files, this doesn't work anymore. This doesn't seem reasonable
> for me.
> 
> I cannot specify the exact qualifier (the timestamp string) because I
> don't know it.
> 
> During a snapshot build, specifying "0.1.0.qualifier" in a product file
> works, but not in a release build. Why? What's the difference?
> 
> --
> Beat Strasser
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top