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 /changelog
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
Diffstat (limited to 'changelog')
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.doc/build-helper.xml9
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.doc/pom.xml21
2 files changed, 20 insertions, 10 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>

Back to the top