diff options
author | Alexander Kurtakov | 2012-02-22 19:58:12 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2012-02-22 20:08:00 +0000 |
commit | 49bbaff444542e6c514dcd48cfdd70566220149e (patch) | |
tree | d717d5105cb6d76b46e75e5dc058421def2a45cb /gprof | |
parent | 6eaf07faad9723798f68fbd7e0529f62644e8afc (diff) | |
download | org.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 'gprof')
-rw-r--r-- | gprof/org.eclipse.linuxtools.gprof-feature/pom.xml | 37 | ||||
-rw-r--r-- | gprof/org.eclipse.linuxtools.gprof-feature/sourceTemplateFeature/feature.properties | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/gprof/org.eclipse.linuxtools.gprof-feature/pom.xml b/gprof/org.eclipse.linuxtools.gprof-feature/pom.xml index efdad9f4b6..6e605227cf 100644 --- a/gprof/org.eclipse.linuxtools.gprof-feature/pom.xml +++ b/gprof/org.eclipse.linuxtools.gprof-feature/pom.xml @@ -22,5 +22,42 @@ <packaging>eclipse-feature</packaging> <name>Linux Tools GProf Integration 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.gprof.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/gprof/org.eclipse.linuxtools.gprof-feature/sourceTemplateFeature/feature.properties b/gprof/org.eclipse.linuxtools.gprof-feature/sourceTemplateFeature/feature.properties new file mode 100644 index 0000000000..8d1c8b69c3 --- /dev/null +++ b/gprof/org.eclipse.linuxtools.gprof-feature/sourceTemplateFeature/feature.properties @@ -0,0 +1 @@ + |