File: common-ant-tasks-doc.ant-inc.xml

package info (click to toggle)
libgroboutils-java 5-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,396 kB
  • ctags: 11,186
  • sloc: java: 59,748; xml: 12,762; sh: 377; perl: 104; makefile: 20
file content (148 lines) | stat: -rw-r--r-- 5,522 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!-- Common properties/tasks that are shared by all projects

However, for possible overrides, these are all prefixed by
"_shared.common."

 -->
    
    
    <!-- Function _shared.common.subdocs:
        Create documents in the sub-packages.
         Arguments: arg-subdir - subdirectory containing the XML files to
            convert
      -->
    <target name="_shared.common.subdocs" >
        <mkdir dir="${dirs.deploy.docs}/${arg-subdir}" />
        <style
            basedir="${dirs.xdocs}/${arg-subdir}"
            destdir="${dirs.deploy.docs}/${arg-subdir}"
            force="yes"
            style="${_shared.xstyle.relative}"
            includes="*.xml"
            excludes="summary.xml"
        >
            <param name="projectname"
                expression="${product}" />
            <param name="projectversion"
                expression="${version}" />
            <param name="projectdir"
                expression="${basedir}" />
            <classpath>
                <pathelement location="${libs.xalan.current}" />
                <pathelement location="${libs.xerces.current}" />
            </classpath>
        </style>
    </target>
    
    <target name="_shared.common.docs.summary"
            depends="_shared.common.subdocs.summary,
                _shared.common.subdocs.summary.create">
        <!-- do the summary for the project -->
        <copy file="${dirs.xdocs}/summary.xml"
            tofile="${_shared.xstyle.dir.relative}/input-summary.xml"
            overwrite="true" />
        <style
            basedir="${_shared.xdoc.dir.tmp}"
            destdir="${_shared.xdoc.dir.tmp}"
            force="yes"
            style="${_shared.xdoc.summary-xsl.relative}"
            includes="summary.xml"
            extension="1.xml"
        >
            <param name="summaryxml"
                expression="" />
            <param name="projectname"
                expression="${product}" />
            <param name="projectversion"
                expression="${version}" />
            <classpath>
                <pathelement location="${libs.xalan.current}" />
                <pathelement location="${libs.xerces.current}" />
            </classpath>
        </style>
        <copy file="${_shared.xstyle.dir.relative}/input-summary.xml"
            tofile="${_shared.xdoc.dir.tmp}/${project}-summary.xml"
            overwrite="true" />
        <delete file="${_shared.xstyle.dir.relative}/input-summary.xml" />
        <delete file="${_shared.xdoc.tmp-summary}" />
        <copy file="${_shared.xdoc.dir.tmp}/summary1.xml"
            tofile="${_shared.xdoc.tmp-summary}"
            overwrite="true" />
        <delete file="${_shared.xdoc.dir.tmp}/summary1.xml" />
    </target>
    
    
    <!-- create the full summary.xml file only if it doesn't already exist -->
    <target name="_shared.common.subdocs.summary" >
        <mkdir dir="${_shared.xdoc.dir.tmp}" />
        <available property="_shared.common.subdocs.summary.xml"
            type="file" file="${_shared.xdoc.tmp-summary}" />
    </target>
    <target name="_shared.common.subdocs.summary.create"
            depends="_shared.common.subdocs.summary.create.1" />
    <target name="_shared.common.subdocs.summary.create.1"
        unless="_shared.common.subdocs.summary.xml">
        <echo file="${_shared.xdoc.tmp-summary}" >&lt;?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?&gt;
&lt;!--
***********************************************************************
This file is automatically generated.
Do not edit.
***********************************************************************
--&gt;
&lt;set&gt;
<!-- must include every known category -->
<!--    &lt;type name="Build" /&gt; -->
    &lt;type name="Testing" /&gt;
    &lt;type name="Utility" /&gt;
&lt;/set&gt;
        </echo>
    </target>
    
    
    
    
    <!-- JavaDoc
        This will include for links the latest in every 3rd party library,
        for robustness.
        -->
    <target name="_shared.common.java-doc.latest"
            depends="_shared.common.docs.summary" >
        <delete dir="${dirs.deploy.api-docs}" failonerror="no" />
        <mkdir dir="${dirs.deploy.api-docs}" />
        <!-- only generate javadoc for the core source, never the tests -->
        <javadoc sourcepath="${dirs.sources.dev}"
            destdir="${dirs.deploy.api-docs}"
            Version="true"
            Use="true"
            Author="true"
            Windowtitle="${product}"
            Doctitle="${product} API"
            bottom="&lt;i&gt;Written under the LGPL&lt;/i&gt;"
            serialwarn="true"
        >
            <packageset dir="${dirs.sources.dev}">
                <exclude name="**/doc-files/**" />
                <exclude name="**/CVS/**" />
            </packageset>
            
            <classpath>
                <pathelement location="${dirs.classes.dev}" />
                <path refid="classpath.base" />
                <path refid="classpath.bootstrap" />
            </classpath>
            
            <!-- Customize: set the libraries for links here -->
            &inc.javadoc.ant.1_6beta;
            &inc.javadoc.bcel.5_1;
            &inc.javadoc.easymock.0_8;
            &inc.javadoc.jdk.1_4;
            &inc.javadoc.junit.3_8_1;
            &inc.javadoc.log4j.1_2_8;
            &inc.javadoc.mockobjects.0_4rc1;
            &inc.javadoc.sax.2_0_1;
            &inc.javadoc.xalan.2_5_1;
            &inc.javadoc.xerces.2_4_0;
        </javadoc>
    </target>