[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] tycho-source-feature-plugin - no source generated
- From: Craig Foote <craigfoote@xxxxxxxxx>
- Date: Wed, 2 May 2012 17:15:51 -0400
- Delivered-to: firstname.lastname@example.org
My bad, we had a typo in the category.xml :(
We now have a generated , properly-named source feature published in our repo. The only problems I see now are:
Thanks for all your help so far and what do you think about these last two issues?
- it's missing a "label" attribute so shows up as "[project].source.feature.feature.group" - pretty nasty for our consumers.
- it's missing a "plugin" attribute identifying the branding plugin so it's not grouped with the rest of our plugins in the Help > About dialog. Certainly less but still important to us.
On Wed, May 2, 2012 at 1:35 PM, Craig Foote <craigfoote@xxxxxxxxx>
Oh yeah, I forgot to add that the generated source feature is not being added to the built site. I tried duplicating the existing feature in the category.xml and appending -sources-feature but it had no effect. How can we add the generated source feature to our site?
On Wed, May 2, 2012 at 1:27 PM, Craig Foote <craigfoote@xxxxxxxxx>
Hi again Mickael,
When you said "files such as
feature,properties if" did you mean "features.properties" or "feature.xml. build.properties"? Though we're getting farther, the source feature generated still has problems.
The generated source feature is named "[project.artifactId]-sources-feature", no timestamp. Can we change this to [project.artifactId].sdk_[version_with_timestamp]? I read https://issues.sonatype.org/browse/TYCHO-192 but this seems to be ignored:
Also the feature.xml is missing "provider-name" and "label" attributes which I would have expected to be copied over from the binary feature. It also would be nice to have a reference to the branding plugin though that may be affected by it not having any actual source and us having to specify it in the excludes block in the pom.
What do you think?
On Wed, May 2, 2012 at 12:01 PM, Craig Foote <craigfoote@xxxxxxxxx>
Great, thanks again.
No, this patch was not applied. I'm now Ok with having to create a
folder, but a more explicit message and documentation on it could be
just an empty folder named "sourceTemplateFeature" at the root of
the feature that's required?
Yes, but it is also meant to include there files such as
feature,properties if you want to add content to the generated