You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.5 KiB
70 lines
2.5 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!-- |
|
Copyright 2010 SpringSource |
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); |
|
you may not use this file except in compliance with the License. |
|
You may obtain a copy of the License at |
|
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
Unless required by applicable law or agreed to in writing, software |
|
distributed under the License is distributed on an "AS IS" BASIS, |
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
See the License for the specific language governing permissions and |
|
limitations under the License. |
|
--> |
|
<project name="artifact-multi-bundle"> |
|
|
|
<import file="common.xml"/> |
|
|
|
<!-- Main targets --> |
|
<target name="javadoc-all" |
|
description="Creates javadoc documentation for all classes."> |
|
<delete dir="${javadoc-all.output.dir}" quiet="true"/> |
|
<mkdir dir="${javadoc-all.output.dir}"/> |
|
<all-bundles target="javadoc.prep"> |
|
<property name="javadoc.prep.dir" value="${javadoc.prep.dir}"/> |
|
</all-bundles> |
|
<path id="global.path"> |
|
<fileset dir="${ivy.cache.dir}" erroronmissingdir="false"> |
|
<exclude name="**/*-sources-*.jar"/> |
|
<include name="**/*.jar"/> |
|
</fileset> |
|
</path> |
|
<java-doc input.dir="${javadoc.prep.dir}" output.dir="${javadoc-all.output.dir}" classpath.id="global.path" |
|
access="private"/> |
|
<delete quiet="true" dir="${javadoc.prep.dir}"/> |
|
</target> |
|
|
|
<target name="javadoc-api" |
|
description="Creates javadoc documentation for all classes."> |
|
<delete dir="${javadoc-api.output.dir}" quiet="true"/> |
|
<mkdir dir="${javadoc-api.output.dir}"/> |
|
<all-bundles target="javadoc.prep"> |
|
<property name="javadoc.prep.dir" value="${javadoc.prep.dir}"/> |
|
</all-bundles> |
|
<path id="global.path"> |
|
<fileset dir="${ivy.cache.dir}" erroronmissingdir="false"> |
|
<exclude name="**/*-sources-*.jar"/> |
|
<include name="**/*.jar"/> |
|
</fileset> |
|
</path> |
|
<java-doc input.dir="${javadoc.prep.dir}" output.dir="${javadoc-api.output.dir}" classpath.id="global.path" |
|
access="protected" exclude.package.names="${javadoc.exclude.package.names}"/> |
|
<delete quiet="true" dir="${javadoc.prep.dir}"/> |
|
</target> |
|
|
|
<target name="jar" |
|
description="Creates a JAR file containing the output of a compilation of the source tree."> |
|
<all-bundles target="jar"/> |
|
</target> |
|
|
|
<!-- Other targets --> |
|
<target name="javadoc.prep"> |
|
<all-bundles target="javadoc.prep"> |
|
<property name="javadoc.prep.dir" value="${javadoc.prep.dir}"/> |
|
</all-bundles> |
|
</target> |
|
|
|
</project> |