Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/gcov
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-02-22 19:58:12 +0000
committerAlexander Kurtakov2012-02-22 20:08:00 +0000
commit49bbaff444542e6c514dcd48cfdd70566220149e (patch)
treed717d5105cb6d76b46e75e5dc058421def2a45cb /gcov
parent6eaf07faad9723798f68fbd7e0529f62644e8afc (diff)
downloadorg.eclipse.linuxtools-49bbaff444542e6c514dcd48cfdd70566220149e.tar.gz
org.eclipse.linuxtools-49bbaff444542e6c514dcd48cfdd70566220149e.tar.xz
org.eclipse.linuxtools-49bbaff444542e6c514dcd48cfdd70566220149e.zip
Enable source features and bundles generation.
Source feature generation is activated if there is sourceTemplateFeature directory in the feature. For the sake of git not caring about empty directories I put empty feature.properties in these directories. Also a p2 plugin instruction is added to the poms in order to get the generated source features visible for p2. New category for the sources is added to the repository category.xml and source features are added to it.
Diffstat (limited to 'gcov')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov-feature/pom.xml37
-rw-r--r--gcov/org.eclipse.linuxtools.gcov-feature/sourceTemplateFeature/feature.properties1
2 files changed, 38 insertions, 0 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov-feature/pom.xml b/gcov/org.eclipse.linuxtools.gcov-feature/pom.xml
index 1a239d1a41..aa0b1c605b 100644
--- a/gcov/org.eclipse.linuxtools.gcov-feature/pom.xml
+++ b/gcov/org.eclipse.linuxtools.gcov-feature/pom.xml
@@ -22,5 +22,42 @@
<packaging>eclipse-feature</packaging>
<name>Linux Tools GCov Feature</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-source-feature-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>source-feature</id>
+ <phase>package</phase>
+ <goals>
+ <goal>source-feature</goal>
+ </goals>
+ <configuration>
+ <excludes>
+ <plugin id="org.eclipse.linuxtools.gcov.docs"/>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>attached-p2-metadata</id>
+ <phase>package</phase>
+ <goals>
+ <goal>p2-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/gcov/org.eclipse.linuxtools.gcov-feature/sourceTemplateFeature/feature.properties b/gcov/org.eclipse.linuxtools.gcov-feature/sourceTemplateFeature/feature.properties
new file mode 100644
index 0000000000..8d1c8b69c3
--- /dev/null
+++ b/gcov/org.eclipse.linuxtools.gcov-feature/sourceTemplateFeature/feature.properties
@@ -0,0 +1 @@
+

Back to the top