Move Javadoc to binary archives.

Remove site docs from all archives.
Add docs/images to nightly binary archive.
Add velocity jar to nightly source archive.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@659341 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: fb2bf44259
This commit is contained in:
Sebastian Bazley 2008-05-23 00:38:20 +00:00
parent 6cb30b3178
commit e7336ba7f3
1 changed files with 8 additions and 11 deletions

View File

@ -965,6 +965,8 @@ run JMeter unless all the JMeter jars are added.
<exclude name="${dest.jar.jmeter}/*.log"/>
<include name="${dest.jar}/"/>
<include name="${dest.printable_docs}/**"/>
<!-- We also need the images for the printable docs -->
<include name="${dest.docs}/images/**"/>
<include name="${extras.dir}/**"/>
<include name="${lib.dir}/bshclient.jar"/>
<include name="${lib.dir}/jorphan.jar"/>
@ -984,6 +986,7 @@ run JMeter unless all the JMeter jars are added.
<include name="STATUS"/>
<include name="${src.dir}/**"/>
<include name="${src.docs}/**"/>
<include name="${velocity.jar}"/>
<include name="${src.test}/**"/>
<include name="build.xml"/>
<include name="build.properties"/>
@ -1001,18 +1004,12 @@ run JMeter unless all the JMeter jars are added.
<patternset id="dist_bin_files">
<patternset refid="dist.binaries"/>
<patternset refid="external.jars"/>
<include name="${dest.docs}/**"/>
<exclude name="${dest.docs}/api/**"/>
</patternset>
<!-- TODO: find way to share images etc between the two document sets -->
<!-- Files to be included in source download -->
<patternset id="dist_src_files">
<patternset refid="dist.sources"/>
<!-- We don't need the site docs, but we do want Javadoc (e.g. for BeanShell) -->
<include name="${dest.docs}/api/**"/>
<include name="${velocity.jar}"/>
</patternset>
<!-- NOTE: the site documents are not included in either archive -->
<!-- Invoke with -Djmeter.version=m.n -Duser.name=xyz@apache.org [-Dsvn.revision=nnnnn] [-Ddisplay.version=xxxx]
Creates clean build and all documentation
Creates runtime and source distributions and site documentation
@ -1069,7 +1066,7 @@ run JMeter unless all the JMeter jars are added.
<tar destfile="${dist.dir}/${pack.name}_src.tar" longfile="gnu">
<tarfileset dir="." includes="${build.dir}/MANIFEST_SRC.MF" fullpath="${dist.name}/MANIFEST.MF"/>
<tarfileset dir="." prefix="${dist.name}" defaultexcludes="yes">
<patternset refid="dist_src_files"/>
<patternset refid="dist.sources"/>
</tarfileset>
</tar>
@ -1083,7 +1080,7 @@ run JMeter unless all the JMeter jars are added.
<zip zipfile="${dist.dir}/${pack.name}_src.zip">
<zipfileset dir="." includes="${build.dir}/MANIFEST_SRC.MF" fullpath="${dist.name}/MANIFEST.MF"/>
<zipfileset dir="." prefix="${dist.name}" defaultexcludes="yes">
<patternset refid="dist_src_files"/>
<patternset refid="dist.sources"/>
</zipfileset>
</zip>
<antcall target="_md5">