mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
Bug 458295 - Add SourceReferences to Remote Services plugins
This allows the user to clone and checkout the source code of Remote Services without knowing where the repository is. See: https://wiki.eclipse.org/PDE/UI/SourceReferences One use case is to right-click on a plug-in under the Plug-in dependencies in Package Explorer view and select Import from Repository. Note that for this EGit needs to be installed. What this patch does is to let Tycho generate the source references in the MANIFEST.MF of the built jars. So to test this patch, one can build the update site locally and inspect the manifests of the (non-source) jars. Change-Id: I9214bfc31c6d04a6945be398a2c7b10f9a30d204 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This commit is contained in:
parent
262b235b19
commit
e8f83ae762
1 changed files with 18 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
<eclipse-release>luna</eclipse-release>
|
||||
<tycho-version>0.20.0</tycho-version>
|
||||
<tycho-extras-version>${tycho-version}</tycho-extras-version>
|
||||
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/ptp/org.eclipse.remote.git</tycho.scmUrl>
|
||||
<platform-version>4.4</platform-version>
|
||||
<platform-site>http://download.eclipse.org/eclipse/updates/${platform-version}</platform-site>
|
||||
<cdt-version>8.4</cdt-version>
|
||||
|
@ -228,6 +229,23 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.tycho</groupId>
|
||||
<artifactId>tycho-packaging-plugin</artifactId>
|
||||
<version>${tycho-version}</version>
|
||||
<configuration>
|
||||
<sourceReferences>
|
||||
<generate>true</generate>
|
||||
</sourceReferences>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.tycho.extras</groupId>
|
||||
<artifactId>tycho-sourceref-jgit</artifactId>
|
||||
<version>${tycho-extras-version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
|
Loading…
Add table
Reference in a new issue