Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-05-10 06:40:31 -0400
committerAlexander Kurtakov2017-05-10 07:20:23 -0400
commit12e9e01df77961f002d6b617280e0e7d272db7cb (patch)
tree9fe1fe7ace7b6a17a5bbfe19747c75c88b154a81
parent72199622bd4e0a8042e7a48703e07ed972d65f38 (diff)
downloadorg.eclipse.linuxtools-12e9e01df77961f002d6b617280e0e7d272db7cb.tar.gz
org.eclipse.linuxtools-12e9e01df77961f002d6b617280e0e7d272db7cb.tar.xz
org.eclipse.linuxtools-12e9e01df77961f002d6b617280e0e7d272db7cb.zip
releng: Automate regeneration of help content from wiki.
Calling mvn with -PregenHelp will regenerate all the help docs content. Change-Id: Ib3361133c33ef306d5f82e9bf88a62e772c8cac0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/96717 Tested-by: Hudson CI
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.doc/build-helper.xml9
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.doc/pom.xml21
-rw-r--r--containers/org.eclipse.linuxtools.docker.docs/build-helper.xml9
-rw-r--r--containers/org.eclipse.linuxtools.docker.docs/pom.xml21
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/build-helper.xml9
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.docs/pom.xml20
-rw-r--r--gprof/org.eclipse.linuxtools.gprof.docs/build-helper.xml (renamed from gprof/org.eclipse.linuxtools.gprof.docs/build-doc.xml)10
-rw-r--r--gprof/org.eclipse.linuxtools.gprof.docs/build.properties2
-rw-r--r--gprof/org.eclipse.linuxtools.gprof.docs/pom.xml21
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/build-helper.xml10
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/pom.xml19
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.doc/build-helper.xml10
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.doc/pom.xml21
-rw-r--r--perf/org.eclipse.linuxtools.perf.doc/build-helper.xml10
-rw-r--r--perf/org.eclipse.linuxtools.perf.doc/pom.xml19
-rw-r--r--pom.xml36
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.docs/build-helper.xml10
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.docs/pom.xml18
-rw-r--r--rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/pom.xml19
-rw-r--r--systemtap/org.eclipse.linuxtools.callgraph.docs/build-helper.xml (renamed from systemtap/org.eclipse.linuxtools.callgraph.docs/build-doc.xml)10
-rw-r--r--systemtap/org.eclipse.linuxtools.callgraph.docs/pom.xml21
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.doc/build-helper.xml10
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.doc/pom.xml21
-rw-r--r--vagrant/org.eclipse.linuxtools.vagrant.docs/build-helper.xml9
-rw-r--r--vagrant/org.eclipse.linuxtools.vagrant.docs/pom.xml21
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.doc/build-helper.xml10
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.doc/pom.xml21
27 files changed, 272 insertions, 145 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.doc/build-helper.xml b/changelog/org.eclipse.linuxtools.changelog.doc/build-helper.xml
index 0062c117ce..524630693b 100644
--- a/changelog/org.eclipse.linuxtools.changelog.doc/build-helper.xml
+++ b/changelog/org.eclipse.linuxtools.changelog.doc/build-helper.xml
@@ -7,15 +7,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
<path id="tasks.classpath" path="bin" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
<target name="all" description="Generate Eclipse help content for the Linux Tools changelog user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="ChangeLog Editor User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*,Linux_Tools">
diff --git a/changelog/org.eclipse.linuxtools.changelog.doc/pom.xml b/changelog/org.eclipse.linuxtools.changelog.doc/pom.xml
index 6f2753258d..bd13421ce5 100644
--- a/changelog/org.eclipse.linuxtools.changelog.doc/pom.xml
+++ b/changelog/org.eclipse.linuxtools.changelog.doc/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc.
+ Copyright (C) 2011, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -22,4 +22,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools ChangeLog Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/containers/org.eclipse.linuxtools.docker.docs/build-helper.xml b/containers/org.eclipse.linuxtools.docker.docs/build-helper.xml
index 672ce0ccf3..b443584bdb 100644
--- a/containers/org.eclipse.linuxtools.docker.docs/build-helper.xml
+++ b/containers/org.eclipse.linuxtools.docker.docs/build-helper.xml
@@ -7,15 +7,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
<path id="tasks.classpath" path="bin" />
- <path id="wikitext.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/droplets/mylyn-docs/eclipse/plugins">
- <include name="*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.classpath" resource="org/eclipse/mylyn/wikitext/mediawiki/core/ant/tasks.properties" />
- <!-- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" /> -->
<target name="all" description="Generate Eclipse help content for the Linux Tools Docker Tooling user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Docker Tooling User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*,Linux_Tools">
diff --git a/containers/org.eclipse.linuxtools.docker.docs/pom.xml b/containers/org.eclipse.linuxtools.docker.docs/pom.xml
index f763804006..a93cf5d38d 100644
--- a/containers/org.eclipse.linuxtools.docker.docs/pom.xml
+++ b/containers/org.eclipse.linuxtools.docker.docs/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2015, Red Hat, Inc.
+ Copyright (C) 2015, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -22,4 +22,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Docker Tooling Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/build-helper.xml b/gcov/org.eclipse.linuxtools.gcov.docs/build-helper.xml
index 73561c4eaf..ef9a834fbc 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/build-helper.xml
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/build-helper.xml
@@ -18,15 +18,6 @@
<property name="gcov.wiki.url.base" value="${gcov.help.doc.url.base}/Linux_Tools_Project/GCov"/>
<property name="imageFolder" value="images"/>
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools gcov user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${gcov.help.doc.url.base}" title="GCov User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/gcov/org.eclipse.linuxtools.gcov.docs/pom.xml b/gcov/org.eclipse.linuxtools.gcov.docs/pom.xml
index f3279c2d0d..7a30cb5792 100644
--- a/gcov/org.eclipse.linuxtools.gcov.docs/pom.xml
+++ b/gcov/org.eclipse.linuxtools.gcov.docs/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc. and others
+ Copyright (C) 2011, 2017 Red Hat, Inc. and others
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -27,5 +27,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools GCov Documentation Plug-in</name>
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/gprof/org.eclipse.linuxtools.gprof.docs/build-doc.xml b/gprof/org.eclipse.linuxtools.gprof.docs/build-helper.xml
index 90901296eb..6a6dd6497f 100644
--- a/gprof/org.eclipse.linuxtools.gprof.docs/build-doc.xml
+++ b/gprof/org.eclipse.linuxtools.gprof.docs/build-helper.xml
@@ -19,16 +19,6 @@
<property name="gprof.wiki.url.base" value="${gprof.help.doc.url.base}/Linux_Tools_Project/GProf"/>
<property name="imageFolder" value="images"/>
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools Gprof user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${gprof.help.doc.url.base}" title="GProf User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/gprof/org.eclipse.linuxtools.gprof.docs/build.properties b/gprof/org.eclipse.linuxtools.gprof.docs/build.properties
index 25571bcc80..f2ca5d8e9c 100644
--- a/gprof/org.eclipse.linuxtools.gprof.docs/build.properties
+++ b/gprof/org.eclipse.linuxtools.gprof.docs/build.properties
@@ -6,7 +6,7 @@ bin.includes = META-INF/,\
Linux_Tools_Project/,\
images/,\
plugin.xml,\
- build-doc.xml,\
+ build-helper.xml,\
toc.xml,\
book.css
src.includes = about.html
diff --git a/gprof/org.eclipse.linuxtools.gprof.docs/pom.xml b/gprof/org.eclipse.linuxtools.gprof.docs/pom.xml
index 0852629974..26bb40ddc8 100644
--- a/gprof/org.eclipse.linuxtools.gprof.docs/pom.xml
+++ b/gprof/org.eclipse.linuxtools.gprof.docs/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc.
+ Copyright (C) 2011, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -21,4 +21,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Gprof Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/build-helper.xml b/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/build-helper.xml
index 7774fb6fe8..5c2c271eeb 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/build-helper.xml
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/build-helper.xml
@@ -7,16 +7,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
<path id="tasks.classpath" path="bin" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/notnfs/jjohnstn/helios/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools changelog user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Libhover Developer's Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/pom.xml b/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/pom.xml
index db41832ee2..aac42db924 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/pom.xml
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover.library.docs/pom.xml
@@ -22,4 +22,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Libhover Library Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.doc/build-helper.xml b/oprofile/org.eclipse.linuxtools.oprofile.doc/build-helper.xml
index 7604d9c157..e2131a089d 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.doc/build-helper.xml
+++ b/oprofile/org.eclipse.linuxtools.oprofile.doc/build-helper.xml
@@ -6,16 +6,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools OProfile user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="OProfile User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.doc/pom.xml b/oprofile/org.eclipse.linuxtools.oprofile.doc/pom.xml
index f026e32f5c..5ce46c7158 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.doc/pom.xml
+++ b/oprofile/org.eclipse.linuxtools.oprofile.doc/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc.
+ Copyright (C) 2011,2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -22,5 +22,24 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools OProfile Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/perf/org.eclipse.linuxtools.perf.doc/build-helper.xml b/perf/org.eclipse.linuxtools.perf.doc/build-helper.xml
index da12bdcb29..f1f01531cd 100644
--- a/perf/org.eclipse.linuxtools.perf.doc/build-helper.xml
+++ b/perf/org.eclipse.linuxtools.perf.doc/build-helper.xml
@@ -6,16 +6,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools Perf user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Perf User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/perf/org.eclipse.linuxtools.perf.doc/pom.xml b/perf/org.eclipse.linuxtools.perf.doc/pom.xml
index 58e39dcfe9..47dc40b008 100644
--- a/perf/org.eclipse.linuxtools.perf.doc/pom.xml
+++ b/perf/org.eclipse.linuxtools.perf.doc/pom.xml
@@ -23,5 +23,24 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Perf Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/pom.xml b/pom.xml
index a9df0d4888..40ace04058 100644
--- a/pom.xml
+++ b/pom.xml
@@ -230,6 +230,42 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <configuration>
+ <target>
+ <taskdef classpathref="maven.plugin.classpath"
+ resource="org/eclipse/mylyn/wikitext/mediawiki/ant/tasks.properties" />
+ <taskdef classpathref="maven.plugin.classpath"
+ resource="org/eclipse/mylyn/wikitext/ant/tasks.properties" />
+ <ant antfile="build-helper.xml" target="all" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.mylyn.docs</groupId>
+ <artifactId>org.eclipse.mylyn.wikitext.mediawiki.ant</artifactId>
+ <version>3.0.8</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
</profiles>
diff --git a/profiling/org.eclipse.linuxtools.profiling.docs/build-helper.xml b/profiling/org.eclipse.linuxtools.profiling.docs/build-helper.xml
index fc43286b4c..d9ca93b609 100644
--- a/profiling/org.eclipse.linuxtools.profiling.docs/build-helper.xml
+++ b/profiling/org.eclipse.linuxtools.profiling.docs/build-helper.xml
@@ -16,16 +16,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org"/>
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/notnfs/jjohnstn/eclipse-4.2/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools profiling user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Profiling Framework User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/profiling/org.eclipse.linuxtools.profiling.docs/pom.xml b/profiling/org.eclipse.linuxtools.profiling.docs/pom.xml
index e598ea14a3..64c8cad142 100644
--- a/profiling/org.eclipse.linuxtools.profiling.docs/pom.xml
+++ b/profiling/org.eclipse.linuxtools.profiling.docs/pom.xml
@@ -28,4 +28,22 @@
<name>Linux Tools Profiling Framework Documentation Plug-in</name>
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/pom.xml b/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/pom.xml
index 3a6906a0c7..c161b73172 100644
--- a/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/pom.xml
+++ b/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/pom.xml
@@ -34,27 +34,8 @@
<execution>
<id>helpdocs</id>
<phase>generate-resources</phase>
- <configuration>
- <target>
- <taskdef classpathref="maven.plugin.classpath"
- resource="org/eclipse/mylyn/wikitext/mediawiki/ant/tasks.properties" />
- <taskdef classpathref="maven.plugin.classpath"
- resource="org/eclipse/mylyn/wikitext/ant/tasks.properties" />
- <ant antfile="build-helper.xml" target="all" />
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
</execution>
</executions>
- <dependencies>
- <dependency>
- <groupId>org.eclipse.mylyn.docs</groupId>
- <artifactId>org.eclipse.mylyn.wikitext.mediawiki.ant</artifactId>
- <version>3.0.7</version>
- </dependency>
- </dependencies>
</plugin>
</plugins>
</build>
diff --git a/systemtap/org.eclipse.linuxtools.callgraph.docs/build-doc.xml b/systemtap/org.eclipse.linuxtools.callgraph.docs/build-helper.xml
index 4b6161bf65..fc6bb52ec2 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph.docs/build-doc.xml
+++ b/systemtap/org.eclipse.linuxtools.callgraph.docs/build-helper.xml
@@ -18,16 +18,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
<property name="imageFolder" value="images" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools Callgraph user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Callgraph User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*">
diff --git a/systemtap/org.eclipse.linuxtools.callgraph.docs/pom.xml b/systemtap/org.eclipse.linuxtools.callgraph.docs/pom.xml
index 33f2b19401..cb6d1f81ed 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph.docs/pom.xml
+++ b/systemtap/org.eclipse.linuxtools.callgraph.docs/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc.
+ Copyright (C) 2011, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -21,4 +21,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Callgraph Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/build-helper.xml b/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/build-helper.xml
index 8f165e5267..590bdb8ba3 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/build-helper.xml
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/build-helper.xml
@@ -6,16 +6,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools SystemTap user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="SystemTap User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*, Infobox">
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/pom.xml b/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/pom.xml
index 3e45e456ac..959d21792b 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/pom.xml
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.doc/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc.
+ Copyright (C) 2011, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -22,4 +22,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools SystemTap GUI Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/vagrant/org.eclipse.linuxtools.vagrant.docs/build-helper.xml b/vagrant/org.eclipse.linuxtools.vagrant.docs/build-helper.xml
index 628cdfe240..19a3908163 100644
--- a/vagrant/org.eclipse.linuxtools.vagrant.docs/build-helper.xml
+++ b/vagrant/org.eclipse.linuxtools.vagrant.docs/build-helper.xml
@@ -7,15 +7,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
<path id="tasks.classpath" path="bin" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/home/cygnus/jjohnstn/tmp/wikitext/usr/share/eclipse/droplets/mylyn-docs/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/mediawiki/core/ant/tasks.properties" />
<target name="all" description="Generate Eclipse help content for the Linux Tools Vagrant Tooling user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Vagrant Tooling User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*,Linux_Tools">
diff --git a/vagrant/org.eclipse.linuxtools.vagrant.docs/pom.xml b/vagrant/org.eclipse.linuxtools.vagrant.docs/pom.xml
index 9b45b9cdbd..7603eceb31 100644
--- a/vagrant/org.eclipse.linuxtools.vagrant.docs/pom.xml
+++ b/vagrant/org.eclipse.linuxtools.vagrant.docs/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2015, Red Hat, Inc.
+ Copyright (C) 2015, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -22,4 +22,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Vagrant Tooling Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.doc/build-helper.xml b/valgrind/org.eclipse.linuxtools.valgrind.doc/build-helper.xml
index 63fc91e522..77b33712fc 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.doc/build-helper.xml
+++ b/valgrind/org.eclipse.linuxtools.valgrind.doc/build-helper.xml
@@ -6,16 +6,6 @@
<property name="help.doc.url.base" value="http://wiki.eclipse.org" />
- <path id="wikitext.tasks.classpath">
- <!-- Replace dir with the dir you have wikitext installed into.-->
- <fileset dir="/usr/share/eclipse/droplets/mylyn-docs/eclipse/plugins">
- <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
- </fileset>
- </path>
-
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
- <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-
<target name="all" description="Generate Eclipse help content for the Linux Tools Valgrind user guide">
<mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Valgrind User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*, Infobox">
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.doc/pom.xml b/valgrind/org.eclipse.linuxtools.valgrind.doc/pom.xml
index dc5700c0ad..56661007ce 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.doc/pom.xml
+++ b/valgrind/org.eclipse.linuxtools.valgrind.doc/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2011, Red Hat, Inc.
+ Copyright (C) 2011, 2017 Red Hat, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
@@ -22,4 +22,23 @@
<packaging>eclipse-plugin</packaging>
<name>Linux Tools Valgrind Documentation Plug-in</name>
+
+ <profiles>
+ <profile>
+ <id>regenHelp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>helpdocs</id>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

Back to the top