Minor cleanups.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@190899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
59
build.xml
59
build.xml
@@ -132,6 +132,7 @@
|
|||||||
<pathelement location="${logkit.jar}"/>
|
<pathelement location="${logkit.jar}"/>
|
||||||
<pathelement location="${avalon-framework.jar}"/>
|
<pathelement location="${avalon-framework.jar}"/>
|
||||||
<pathelement location="${conf.home}"/>
|
<pathelement location="${conf.home}"/>
|
||||||
|
<pathelement location="${servletapi.jar}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<!-- Construct unit test classpath (JDK 1.4 tests) -->
|
<!-- Construct unit test classpath (JDK 1.4 tests) -->
|
||||||
@@ -456,45 +457,45 @@ limitations under the License.-->'>
|
|||||||
<target name="dist" depends="compile,javadoc"
|
<target name="dist" depends="compile,javadoc"
|
||||||
description="Create binary distribution">
|
description="Create binary distribution">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
- Create a dist directory to hold all the files that go into a distribution.
|
- Create a dist directory to hold all the files that go into a distribution.
|
||||||
- Copy the needed files from the build directory to the dist directory.
|
- Copy the needed files from the build directory to the dist directory.
|
||||||
-->
|
-->
|
||||||
<mkdir dir="${dist.home}"/>
|
<mkdir dir="${dist.home}"/>
|
||||||
<copy file="LICENSE.txt"
|
<copy todir="${dist.home}">
|
||||||
todir="${dist.home}"/>
|
<fileset dir=".">
|
||||||
<copy file="NOTICE.txt"
|
<include name="LICENSE.txt"/>
|
||||||
todir="${dist.home}"/>
|
<include name="NOTICE.txt"/>
|
||||||
<copy file="RELEASE-NOTES.txt"
|
<include name="RELEASE-NOTES.txt"/>
|
||||||
todir="${dist.home}"/>
|
</fileset>
|
||||||
<copy file="${build.home}/${core.jar.name}"
|
<fileset dir="${build.home}">
|
||||||
tofile="${dist.home}/${core.jar.name}" />
|
<include name="${core.jar.name}"/>
|
||||||
<copy file="${build.home}/${api.jar.name}"
|
<include name="${api.jar.name}"/>
|
||||||
tofile="${dist.home}/${api.jar.name}" />
|
<include name="${adapters.jar.name}"/>
|
||||||
<copy file="${build.home}/${adapters.jar.name}"
|
</fileset>
|
||||||
tofile="${dist.home}/${adapters.jar.name}" />
|
</copy>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
- Now build the optional jar in subdir "optional" and copy that into
|
- Now build the optional jar in subdir "optional" and copy that into
|
||||||
- the dist directory too.
|
- the dist directory too.
|
||||||
-->
|
-->
|
||||||
<ant antfile='build.xml' target='dist' dir='${optional.home}' inheritAll="false" />
|
<ant antfile='build.xml' target='dist' dir='${optional.home}' inheritAll="false" />
|
||||||
<copy todir="${dist.home}">
|
<copy todir="${dist.home}">
|
||||||
<fileset dir='${optional.dist.home}'>
|
<fileset dir='${optional.dist.home}'>
|
||||||
<include name='*.jar'/>
|
<include name='*.jar'/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<copy todir="${dist.home}/docs-optional">
|
<copy todir="${dist.home}/docs-optional">
|
||||||
<fileset dir='${optional.dist.home}/docs'/>
|
<fileset dir='${optional.dist.home}/docs'/>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
- And copy the source too; we don't have separate source and binary distributions
|
- And copy the source too; we don't have separate source and binary distributions
|
||||||
- for logging; the source is so small there's little point.
|
- for logging; the source is so small there's little point.
|
||||||
-->
|
-->
|
||||||
<mkdir dir="${dist.home}/src"/>
|
<mkdir dir="${dist.home}/src"/>
|
||||||
<copy todir="${dist.home}/src" filtering="on">
|
<copy todir="${dist.home}/src" filtering="on">
|
||||||
<fileset dir="${source.home}"/>
|
<fileset dir="${source.home}"/>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user