~ubuntu-branches/ubuntu/vivid/eclipse-linuxtools/vivid-proposed

« back to all changes in this revision

Viewing changes to valgrind/org.eclipse.linuxtools.valgrind.doc/build-helper.xml

  • Committer: Package Import Robot
  • Author(s): Jakub Adam, Jakub Adam, tony mancill
  • Date: 2014-10-11 11:44:05 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20141011114405-yazjvxfzzhmi5sgj
Tags: 3.1.0-1
[ Jakub Adam ]
* New upstream release (Closes: #761524).
* Refreshed d/patches.
* Don't build removed feature org.eclipse.linuxtools.tools.launch
  - merged into org.eclipse.linuxtools.profiling.
* Use javac target 1.7.
* Build new feature org.eclipse.linuxtools.dataviewers.feature
  - required by Valgrind integration.
* Build-depend on eclipse-remote-services-api and eclipse-cdt-autotools.
* Bump Standards-Version to 3.9.6.
* Override incompatible-java-bytecode-format - linuxtools needs Java 7.
* Remove unused codeless-jar override.

[ tony mancill ]
* Tweak short package description to make lintian happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<project name="org.eclipse.linuxtools.valgrind.doc" default="all">
3
 
        <description>
 
3
    <description>
4
4
            Generate Eclipse help content for the Linux Tools Valgrind user guide
5
5
    </description>
6
6
 
7
 
        <property name="help.doc.url.base" value="http://wiki.eclipse.org" />
8
 
 
9
 
        <path id="wikitext.tasks.classpath">
10
 
                <!-- Replace dir with the dir you have wikitext installed into.-->
11
 
                <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
12
 
                        <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
13
 
                </fileset>
14
 
        </path>
15
 
 
16
 
        <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
17
 
        <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
18
 
 
19
 
        <target name="all" description="Generate Eclipse help content for the Linux Tools Valgrind user guide">
20
 
                <mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Valgrind User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*, Infobox">
21
 
 
22
 
                        <path name="Linux_Tools_Project/Valgrind/User_Guide" title="Valgrind User Guide" generateToc="false" />
23
 
                        <stylesheet url="book.css" />
24
 
                        <pageAppendum>
25
 
        = Updating This Document =
26
 
 
27
 
        This document is maintained in a collaborative wiki.  If you wish to update or modify this document please visit 
28
 
        http://wiki.eclipse.org/Linux_Tools_Project/Valgrind/User_Guide .
29
 
                                                 </pageAppendum>
30
 
                </mediawiki-to-eclipse-help>
31
 
                <antcall target="test" />
32
 
        </target>
33
 
 
34
 
        <target name="test" description="verify that all of the HTML files are well-formed XML">
35
 
                <echo level="info">
 
7
    <property name="help.doc.url.base" value="http://wiki.eclipse.org" />
 
8
 
 
9
    <path id="wikitext.tasks.classpath">
 
10
        <!-- Replace dir with the dir you have wikitext installed into.-->
 
11
        <fileset dir="/usr/share/eclipse/dropins/mylyn/eclipse/plugins">
 
12
            <include name="org.eclipse.mylyn.wikitext.*core*.jar" />
 
13
        </fileset>
 
14
    </path>
 
15
 
 
16
    <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
 
17
    <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
 
18
 
 
19
    <target name="all" description="Generate Eclipse help content for the Linux Tools Valgrind user guide">
 
20
        <mediawiki-to-eclipse-help wikiBaseUrl="${help.doc.url.base}" title="Valgrind User Guide" formatoutput="true" dest="." templateExcludes="*eclipseproject*, Infobox">
 
21
 
 
22
            <path name="Linux_Tools_Project/Valgrind/User_Guide" title="Valgrind User Guide" generateToc="false" />
 
23
            <stylesheet url="book.css" />
 
24
            <pageAppendum>
 
25
    = Updating This Document =
 
26
 
 
27
    This document is maintained in a collaborative wiki.  If you wish to update or modify this document please visit
 
28
    http://wiki.eclipse.org/Linux_Tools_Project/Valgrind/User_Guide .
 
29
                                     </pageAppendum>
 
30
        </mediawiki-to-eclipse-help>
 
31
        <antcall target="test" />
 
32
    </target>
 
33
 
 
34
    <target name="test" description="verify that all of the HTML files are well-formed XML">
 
35
        <echo level="info">
36
36
Validating help content XML and HTML files: The Eclipse help system expects well-formed XML
37
 
                        
 
37
 
38
38
If validation fails it is because either:
39
 
                        
 
39
 
40
40
* the userguide source code is poorly formed, or
41
41
* the WikiText MediaWiki parser has a bug
42
 
                        
 
42
 
43
43
Problems with userguide source are usually caused by improper use of HTML markup in the MediaWiki source,
44
44
or inadvertently starting a line with a space character (in MediaWiki this starts a preformatted block)
45
 
                </echo>
 
45
        </echo>
46
46
 
47
 
                <!-- 
48
 
                Don't bother with DTD validation: we only care if the files are well-formed.
49
 
                We therefore provide an empty DTD 
50
 
                -->
51
 
                <echo file="tmp/__empty.dtd" message="" />
52
 
                <xmlvalidate lenient="true">
53
 
                        <fileset dir="Linux_Tools_Project">
54
 
                                <include name="**/*.html" />
55
 
                        </fileset>
56
 
                        <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location="${basedir}/tmp/__empty.dtd" />
57
 
                </xmlvalidate>
58
 
                <delete dir="tmp" />
59
 
        </target>
 
47
        <!--
 
48
        Don't bother with DTD validation: we only care if the files are well-formed.
 
49
        We therefore provide an empty DTD
 
50
        -->
 
51
        <echo file="tmp/__empty.dtd" message="" />
 
52
        <xmlvalidate lenient="true">
 
53
            <fileset dir="Linux_Tools_Project">
 
54
                <include name="**/*.html" />
 
55
            </fileset>
 
56
            <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location="${basedir}/tmp/__empty.dtd" />
 
57
        </xmlvalidate>
 
58
        <delete dir="tmp" />
 
59
    </target>
60
60
</project>