Updated pom files of help plugins
diff --git a/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml
index 51426d8..9752fe4 100644
--- a/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.edit.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml
index 0c59b3f..41b0625 100644
--- a/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.editors.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml
index 06f10dd..2e8b3de 100644
--- a/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.import.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml
index c69ea30..136769d 100644
--- a/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.model.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml b/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml
index a1f1c6e..a473f87 100644
--- a/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.amalthea.workflow.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.help/README b/plugins/org.eclipse.app4mc.help/README
index 3614804..5f6feb1 100644
--- a/plugins/org.eclipse.app4mc.help/README
+++ b/plugins/org.eclipse.app4mc.help/README
@@ -1,37 +1,17 @@
-This project is used to generate an Eclipse help
-based on the Mylyn Wiki Text project.
-Therefore textile templates are used to write the content of the help,
-which are located in the docu folder.
-To generate the help or a pdf based on these templates,
-a build.xml is existent with the two relevant targets:
+This project is used to generate an Eclipse help based on the Mylyn Wiki Text project.
-generate-help (default)
-generate-pdf
+Input:
+ - the textile sources located in the docu folder
+ - the main table of contents (mainToc.xml)
+
+To generate the help based on these textile files, build-help.ant is executed.
-The result of the pdf build is then located in a new folder out.
+ Relevant target: generate-help (default)
+
The result of the help target is available after successful run in the help and toc folder.
-To get it run, the following step is neccessary:
-Download and extract the Mylyn Wiki Text standalone distribution from the Eclipse site (http://www.eclipse.org/mylyn/downloads/).
-Set the property lib.folder in the build.xml to target the folder.
-Note: all dependencies needed from Wikitext must be also available in this folder.
-Sample content of this folder can be the following list:
-avalon-framework-4.2.0.jar
-batik-all-1.7.jar
-commons-io-1.3.1.jar
-commons-logging-1.0.4.jar
-fop.jar
-info
-org.eclipse.mylyn.wikitext.confluence.core_1.8.0.I20130206-1602.jar
-org.eclipse.mylyn.wikitext.core_1.8.0.I20130206-1602.jar
-org.eclipse.mylyn.wikitext.mediawiki.core_1.8.0.I20130206-1602.jar
-org.eclipse.mylyn.wikitext.textile.core_1.8.0.I20130206-1602.jar
-org.eclipse.mylyn.wikitext.tracwiki.core_1.8.0.I20130206-1602.jar
-org.eclipse.mylyn.wikitext.twiki.core_1.8.0.I20130206-1602.jar
-serializer-2.7.0.jar
-xalan-2.7.0.jar
-xercesImpl-2.7.1.jar
-xml-apis-1.3.04.jar
-xml-apis-ext-1.3.04.jar
-xmlgraphics-commons-1.5.jar
+Note:
+All dependencies needed from Wikitext are available in the build-dependencies/docu-wikitext-lib folder.
+Styles are located in the build-dependencies/docu-styles folder.
+The main Ant file is build-dependencies/build-docu.txt
diff --git a/plugins/org.eclipse.app4mc.help/build-help-all.ant b/plugins/org.eclipse.app4mc.help/build-help-all.ant
index 0b1c8d7..0e25625 100644
--- a/plugins/org.eclipse.app4mc.help/build-help-all.ant
+++ b/plugins/org.eclipse.app4mc.help/build-help-all.ant
@@ -16,7 +16,7 @@
<target name="default">
<!-- Help structure, examples, release notes, faq, roadmap, ... -->
- <ant dir="../org.eclipse.app4mc.help/" antfile="../../build_dependencies/build-docu.xml" />
+ <ant dir="../org.eclipse.app4mc.help/" antfile="build-help.ant" />
<ant dir="../org.eclipse.app4mc.amalthea.model.help/" antfile="build-help.ant" />
<ant dir="../org.eclipse.app4mc.amalthea.model.help/" antfile="collectModelDefinitionFiles.ant" />
diff --git a/plugins/org.eclipse.app4mc.help/build-help.ant b/plugins/org.eclipse.app4mc.help/build-help.ant
new file mode 100644
index 0000000..1a27ffb
--- /dev/null
+++ b/plugins/org.eclipse.app4mc.help/build-help.ant
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ======================================================================
+
+ Build Eclipse Help of current plugin.
+ Start central Ant file "build_dependencies/build-docu.xml".
+
+ ====================================================================== -->
+
+
+<project name="Build Eclipse Help of current plugin." default="default">
+ <description>
+ Run central ant file to generate Eclipse Help of current plugin.
+ </description>
+
+
+ <target name="default" description="Run central Ant file.">
+
+ <ant antfile="../../build_dependencies/build-docu.xml" target="generate-help"/>
+
+ </target>
+
+</project>
diff --git a/plugins/org.eclipse.app4mc.help/build.xml b/plugins/org.eclipse.app4mc.help/build.xml
deleted file mode 100644
index 94b1ea6..0000000
--- a/plugins/org.eclipse.app4mc.help/build.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * *******************************************************************************
- * Copyright (c) 2013 Robert Bosch GmbH and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License 2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * Contributors:
- * Robert Bosch GmbH - initial implementation
- * *******************************************************************************
--->
-
-<!-- =================================
- Documentation Project
- Generates the documentation
- ================================= -->
-
-<project name="docuproject" default="generate-help">
-
- <description>
- Generates the documentation
- </description>
-
- <!-- path to wikitext standalone package -->
- <property name="lib.folder" value="${basedir}/../../build_dependencies/help_docu"/>
- <property name="docu.folder" value="${basedir}/docu"/>
- <property name="styles.folder" value="${basedir}/../org.eclipse.app4mc.help/styles"/>
- <property name="build.folder" value="${basedir}/build"/>
- <property name="target.folder.help" value="${basedir}/help"/>
- <property name="target.folder.toc" value="${basedir}/toc"/>
- <property name="index.file" value="${docu.folder}/_index.txt"/>
- <property name="dest.build.file" value="${build.folder}/documentation.textile"/>
-
- <path id="wikitext.classpath">
- <fileset dir="${lib.folder}">
- <include name="*.jar"/>
- </fileset>
- </path>
-
- <!-- - - - - - - - - - - - - - - - - -
- taskdefs
- - - - - - - - - - - - - - - - - - -->
- <taskdef classpathref="wikitext.classpath" resource="org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
-
- <!-- - - - - - - - - - - - - - - - - -
- target: init
- - - - - - - - - - - - - - - - - - -->
- <target name="init" depends="init-build">
- </target>
-
- <!-- - - - - - - - - - - - - - - - - -
- clean targets
- - - - - - - - - - - - - - - - - - -->
- <target name="init-build">
- <delete dir="${build.folder}"/>
- <mkdir dir="${build.folder}"/>
- </target>
-
- <!-- - - - - - - - - - - - - - - - - -
- assemble one file for processing
- - - - - - - - - - - - - - - - - - -->
- <target name="assemble">
- <loadfile srcfile="${index.file}" property="inputfiles">
- <filterchain>
- <tokenfilter>
- <replacestring from="\n" to=","/>
- </tokenfilter>
- </filterchain>
- </loadfile>
- <concat destfile="${dest.build.file}" append="false" fixlastline="yes">
- <filelist dir="${docu.folder}" files="${inputfiles}"/>
- </concat>
- </target>
-
- <!-- - - - - - - - - - - - - - - - - -
- generate targets
- - - - - - - - - - - - - - - - - - -->
- <target name="generate-help" description="Generate Eclipse help from textile source" depends="init-build">
- <copy todir="${build.folder}">
- <fileset dir="${docu.folder}" includes="**/*.textile" excludes="pdf-*.textile">
- </fileset>
- </copy>
- <wikitext-to-eclipse-help markupLanguage="Textile"
- multipleOutputFiles="true"
- navigationImages="true"
- helpPrefix="help"
- formatoutput="true">
- <fileset dir="${build.folder}">
- <include name="**/*.textile"/>
- </fileset>
- <stylesheet url="help.css" />
- </wikitext-to-eclipse-help>
-
- <copy todir="${target.folder.help}">
- <fileset dir="${build.folder}">
- <include name="**/*.html"/>
- </fileset>
- </copy>
- <copydir
- src="${styles.folder}"
- dest="${target.folder.help}">
- </copydir>
-
- <copy todir="${target.folder.toc}">
- <fileset dir="${build.folder}">
- <include name="**/*-toc.xml"/>
- </fileset>
- </copy>
-
-<!-- NOT NECESSARY
- Only the location of the PRIMARY toc file is relevant
-
- <replace dir="${target.folder.toc}"
- token="="help/"
- value="="../help/"/>
--->
- <delete dir="${build.folder}"/>
- </target>
-
-</project>
diff --git a/plugins/org.eclipse.app4mc.help/pom.xml b/plugins/org.eclipse.app4mc.help/pom.xml
index fafc889..25c68e5 100644
--- a/plugins/org.eclipse.app4mc.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.multicore.help/pom.xml b/plugins/org.eclipse.app4mc.multicore.help/pom.xml
index d7586a8..130929d 100644
--- a/plugins/org.eclipse.app4mc.multicore.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.multicore.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>
diff --git a/plugins/org.eclipse.app4mc.validation.help/pom.xml b/plugins/org.eclipse.app4mc.validation.help/pom.xml
index ab014aa..063785a 100644
--- a/plugins/org.eclipse.app4mc.validation.help/pom.xml
+++ b/plugins/org.eclipse.app4mc.validation.help/pom.xml
@@ -28,7 +28,7 @@
<configuration>
<target>
- <ant antfile="../org.eclipse.app4mc.help/build.xml" />
+ <ant antfile="build-help.ant" />
</target>
</configuration>