You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

javadoc.xml 3.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <!--
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. *
  17. -->
  18. <project name="javadoc" basedir=".">
  19. <path id="path.dirset">
  20. <dirset dir="." />
  21. </path>
  22. <target name="dirsetPath">
  23. <javadoc sourcepathref="path.dirset" packagenames="*" destdir="javadoc" />
  24. </target>
  25. <target name="dirsetPathWithoutPackagenames">
  26. <javadoc sourcepathref="path.dirset" destdir="javadoc" />
  27. </target>
  28. <target name="nestedDirsetPath">
  29. <javadoc packagenames="*" destdir="javadoc">
  30. <sourcepath refid="path.dirset" />
  31. </javadoc>
  32. </target>
  33. <path id="path.fileset">
  34. <pathelement location="."/>
  35. <fileset dir="java/" id="fileset.inpath">
  36. <include name="**/*.java" />
  37. </fileset>
  38. </path>
  39. <target name="filesetPath">
  40. <javadoc sourcepathref="path.fileset" packagenames="*" destdir="javadoc" />
  41. </target>
  42. <target name="nestedFilesetPath">
  43. <javadoc packagenames="*" destdir="javadoc">
  44. <sourcepath refid="path.fileset" />
  45. </javadoc>
  46. </target>
  47. <target name="nestedFilesetRefInPath">
  48. <javadoc packagenames="*" destdir="javadoc">
  49. <fileset refid="fileset.inpath" />
  50. </javadoc>
  51. </target>
  52. <target name="nestedFilesetNoPatterns">
  53. <javadoc packagenames="*" destdir="javadoc">
  54. <fileset dir="java/"/>
  55. </javadoc>
  56. </target>
  57. <target name="doublyNestedFileset">
  58. <javadoc packagenames="*" destdir="javadoc">
  59. <sourcefiles>
  60. <fileset dir="java/" includes="**/*.java"/>
  61. </sourcefiles>
  62. </javadoc>
  63. </target>
  64. <target name="doublyNestedFilesetNoPatterns">
  65. <javadoc packagenames="*" destdir="javadoc">
  66. <sourcefiles>
  67. <fileset dir="java/"/>
  68. </sourcefiles>
  69. </javadoc>
  70. </target>
  71. <path id="path.filelist">
  72. <pathelement location="."/>
  73. <filelist dir="java/">
  74. <file name="ClassToJavadoc.java" />
  75. </filelist>
  76. </path>
  77. <target name="filelistPath">
  78. <javadoc sourcepathref="path.filelist" packagenames="*"
  79. destdir="javadoc" />
  80. </target>
  81. <target name="nestedFilelistPath">
  82. <javadoc packagenames="*" destdir="javadoc">
  83. <sourcepath refid="path.filelist" />
  84. </javadoc>
  85. </target>
  86. <path id="path.pathelement.path">
  87. <pathelement path="${root}/src" />
  88. </path>
  89. <target name="pathelementPath">
  90. <javadoc sourcepathref="path.pathelement.path"
  91. packagenames="etc.testcases.taskdefs.javadoc.*" destdir="javadoc" />
  92. </target>
  93. <path id="path.pathelement.location">
  94. <pathelement location="."/>
  95. <pathelement path="java/ClassToJavadoc.java" />
  96. </path>
  97. <target name="pathelementLocationPath">
  98. <javadoc sourcepathref="path.pathelement.location"
  99. packagenames="*" destdir="javadoc" />
  100. </target>
  101. <target name="nestedSource">
  102. <javadoc destdir="javadoc">
  103. <source file="java/ClassToJavadoc.java" />
  104. </javadoc>
  105. </target>
  106. <fileset dir="java/" id="fileset.simple">
  107. <include name="**/*.java" />
  108. </fileset>
  109. <target name="nestedFilesetRef">
  110. <javadoc destdir="javadoc">
  111. <fileset refid="fileset.simple" />
  112. </javadoc>
  113. </target>
  114. </project>