added compile.excludes attribute to the javac element, with the value set to the compile.excludes property;

added excludepackagenames attribute to the javadoc element, with the value set to the javadoc.excludepackagenames property;
added dist-build-2.1 target to build the 2.1 release without the text package

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@168225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Caswell 2005-05-05 01:26:00 +00:00
parent f3851094d7
commit f2d7f4ada6
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,7 @@ limitations under the License.
deprecation="${compile.deprecation}"
target="${compile.target}"
source="${compile.source}"
excludes="${compile.excludes}"
optimize="${compile.optimize}">
<classpath refid="compile.classpath"/>
</javac>
@ -95,6 +96,7 @@ limitations under the License.
destdir="${dist.home}/docs/api"
overview="${source.home}/org/apache/commons/lang/overview.html"
packagenames="org.apache.commons.*"
excludepackagenames="${javadoc.excludepackagenames}"
author="true"
version="true"
doctitle="&lt;h1&gt;${component.title}&lt;/h1&gt;"
@ -113,6 +115,10 @@ limitations under the License.
<copy file="RELEASE-NOTES.txt" todir="${dist.home}"/>
<antcall target="jar"/>
</target>
<target name="dist-build-2.1" description="Build binary distribution files excluding the text package">
<delete dir="src/java/org/apache/commons/lang/text"/>
<antcall target="dist-build"/>
</target>
<target name="dist-build" depends="clean,dist" description="Build binary distribution files">
<mkdir dir="${final.name}"/>
<move todir="${final.name}/${final.name}">