Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] source bundle generation issues.



On 12-05-24 1:58 PM, Eric Gwin wrote:
Hi,

In hopes some of you have solved these issues I'm posting them here.

-The eclipse 'reference card' page seems out-of-date as the example
doesn't generate appropriately named source bundles. I have to use the
following instead:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>plugin-source</id>
<phase>package</phase>
<goals>
<goal>plugin-source</goal>
</goals>
<configuration>
<finalName>${project.artifactId}.source_${release.version}.${build.qualifier}</finalName>

<sourceBundle>true</sourceBundle>
<sourceBundleSuffix>.source</sourceBundleSuffix>
<qualifier>${build.qualifier}</qualifier>
</configuration>
</execution>
</executions>
</plugin>
Even then the source bundle's names are post-pended with "-sources.jar".
Is there something else I can add to the above to fix this?

Is this about file names under target/ directory? Don't worry about
these names, source bundles will be named properly when aggregated in p2
repository.


- the about.html, readme, etc don't get included in the generated
bundles... what do I need to do to fix this?

I am not 100% sure, but I believe this is controlled by source.<blah>
entries of build.properties file.

- the manifest entries for the source bundles don't include
"bundle-name" or "provider-name". Can I fix?


This should be fixed in 0.15 now.

--
Regards,
Igor


Back to the top