removed old files

added a build.sh script
added project.xml
rebuilt website documentation


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

Former-commit-id: 0ea66f2d57
This commit is contained in:
Jon Scott Stevens 2001-03-12 23:57:42 +00:00
parent 582ca67e9c
commit b1a4a54d9b
6 changed files with 231 additions and 248 deletions

1
.cvsignore Normal file
View File

@ -0,0 +1 @@
velocity.log

40
build.sh Executable file
View File

@ -0,0 +1,40 @@
#!/bin/sh
#--------------------------------------------
# No need to edit anything past here
#--------------------------------------------
if test -z "${JAVA_HOME}" ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit
fi
if test -f ${JAVA_HOME}/lib/tools.jar ; then
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar
fi
# convert the existing path to unix
if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
for i in ./lib/*.jar
do
CLASSPATH=${CLASSPATH}:$i
done
for i in ../jakarta-site2/lib/*.jar
do
CLASSPATH=${CLASSPATH}:$i
done
# convert the unix path to windows
if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
fi
BUILDFILE=build.xml
${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main \
-buildfile ${BUILDFILE} "$@"

317
build.xml
View File

@ -1,166 +1,173 @@
<project name="JMeter" default="all" basedir=".">
<!--
- Initializes properties for other targets
-->
<target name="init">
<property name="build.compiler" value="classic"/>
<!-- Where the class files should live -->
<property name="classes.dest.dir" value="bin/classes"/>
<!-- Where the Sources live -->
<property name="sources.src.dir" value="src"/>
<!-- Where the API documentation lives -->
<property name="docs.api.dest.dir" value="docs/api"/>
<property name="version" value="_1.6.0Beta"/>
<property name="docs.src" value="./xdocs"/>
<property name="docs.dest" value="./docs"/>
</target>
<!--
- Check for optional libraries, JavaMail and JSSE
- Need two targets as JavaMail depends on JAF as well.
-->
<target name="check.optional.libs1">
<available classname="com.sun.net.ssl.internal.ssl.Provider" property="jsse.present"/>
<available classname="javax.mail.Transport" property="javamail.present"/>
</target>
<property name="build.compiler" value="classic"/>
<!-- Where the class files should live -->
<property name="classes.dest.dir" value="bin/classes"/>
<!-- Where the Sources live -->
<property name="sources.src.dir" value="src"/>
<!-- Where the API documentation lives -->
<property name="docs.api.dest.dir" value="docs/api"/>
<property name="version" value="_1.6.0Beta"/>
<property name="docs.src" value="./xdocs"/>
<property name="docs.dest" value="./docs"/>
<!--
- Check for optional libraries, JAF
- Need two targets as JavaMail depends on JAF as well.
-->
<target name="check.optional.libs2" depends="check.optional.libs1" if="javamail.present">
<available classname="javax.activation.DataHandler" property="javamail.complete"/>
<!-- Build classpath -->
<path id="classpath">
<fileset dir="./lib">
<include name="**/*.jar"/>
</fileset>
</path>
<!--
- Check for optional libraries, JavaMail and JSSE
- Need two targets as JavaMail depends on JAF as well.
-->
<target name="check.optional.libs1">
<available classname="com.sun.net.ssl.internal.ssl.Provider"
property="jsse.present"/>
<available classname="javax.mail.Transport" property="javamail.present"/>
</target>
<!--
- Check for optional libraries, JAF
- Need two targets as JavaMail depends on JAF as well.
-->
<target name="check.optional.libs2" depends="check.optional.libs1"
if="javamail.present">
<available classname="javax.activation.DataHandler"
property="javamail.complete"/>
</target>
<!--
- Check for anakia task
-->
<target name="check.anakia">
<available classname="org.apache.velocity.anakia.AnakiaTask"
property="AnakiaTask.present"/>
</target>
<target name="no.anakia" depends="check.anakia" unless="AnakiaTask.present">
<echo>
AnakiaTask is not present, documentation will not be generated.
</echo>
</target>
<target name="ssl.message" depends="check.optional.libs1" unless="jsse.present">
<echo message="Classes for SSL not found in classpath"/>
</target>
<target name="mail.message" depends="check.optional.libs2" unless="javamail.complete">
<echo message="Classes for Mail support not found in classpath"/>
</target>
</target>
<!--
- Check for anakia task
-->
<target name="check.anakia">
<available classname="org.apache.velocity.anakia.AnakiaTask" property="AnakiaTask.present"/>
</target>
<!--
- Compiles the source into class files - dumping results into the
- bin/clases directory
-->
<target name="compile" depends="mail.message,ssl.message">
<mkdir dir="${classes.dest.dir}"/>
<javac srcdir="${sources.src.dir}"
destdir="${classes.dest.dir}"
optimize="on">
<exclude name="**/*.df*"/>
<exclude name="**/*.html"/>
<exclude name="**/*.tpr"/>
<exclude name="**/*.tws"/>
<exclude name="**/make*"/>
<exclude name="**/Makefile"/>
<exclude name="**/Changelog*"/>
<exclude name="**/*.orig"/>
<exclude name="org/apache/jmeter/protocol/http/util/SSLStaticProvider.java" unless="jsse.present"/>
<exclude name="org/apache/jmeter/visualizers/MailerVisualizer.java" unless="javamail.complete"/>
<classpath refid="classpath"/>
</javac>
</target>
<target name="rmi" depends="compile">
<rmic classpath="bin/classes" base="bin/classes" classname="org.apache.jmeter.engine.RemoteJMeterEngineImpl"/>
<rmic classpath="bin/classes" base="bin/classes" classname="org.apache.jmeter.samplers.RemoteSampleListenerImpl"/>
</target>
<target name="no.anakia" depends="check.anakia" unless="AnakiaTask.present">
<echo>
AnakiaTask is not present, documentation will not be generated.
</echo>
</target>
<!--
- Generates java-docs
-->
<target name="api-docs">
<javadoc
sourcepath="${sources.src.dir}"
destdir="${docs.api.dest.dir}"
private="yes" author="yes" version="yes"
doctitle="Apache JMeter APIs Specification"
bottom="Copyright &#169; 1998-2001 Apache Software Foundation. All Rights Reserved."
packagenames="org.apache.jmeter.*,
org.apache.jmeter.timers.*,
org.apache.jmeter.visualizers.*,
org.apache.jmeter.samplers.*,
org.apache.jmeter.controllers.*,
org.apache.jmeter.reporters.*,
org.apache.jmeter.samplers.ftp.*,
org.apache.jmeter.samplers.http.*,
org.apache.jmeter.samplers.jdbc.*,
org.apache.jmeter.threads.*,
org.apache.jmeter.util.*">
<classpath refid="classpath"/>
</javadoc>
</target>
<target name="ssl.message" depends="check.optional.libs1" unless="jsse.present">
<echo message="Classes for SSL not found in classpath"/>
</target>
<!--
- Creates the ApacheJMeter.jar file.
-->
<target name="package" depends="compile,rmi">
<copy toDir="${classes.dest.dir}/org/apache/jmeter/images">
<fileset dir="${sources.src.dir}/org/apache/jmeter/images"/>
</copy>
<jar jarfile="ApacheJMeter.jar" manifest="src/MANIFEST" basedir="${classes.dest.dir}">
</jar>
</target>
<target name="mail.message" depends="check.optional.libs2" unless="javamail.complete">
<echo message="Classes for Mail support not found in classpath"/>
</target>
<!--
- Copies the jar file to bin/ and everything else needed to run JMeter
- from bin/.
-->
<target name="install" depends="package">
<copy file="ApacheJMeter.jar" toFile="bin/ApacheJMeter.jar"/>
<copy file="src/org/apache/jmeter/jmeter.properties" toFile="bin/jmeter.properties"/>
<delete file="ApacheJMeter.jar"/>
</target>
<!--
- Another name for install(?)
-->
<target name="all" depends="install"/>
<!--
- Creates the distribution packages
-->
<target name="dist" depends="install">
<jar jarfile="../ApacheJMeter${version}.jar" basedir="../" includes="jmeter/**" excludes="**/classes/**"/>
<zip zipfile="../ApacheJMeter${version}.zip" basedir="../" includes="jmeter/**" excludes="**/classes/**"/>
<tar tarfile="../ApacheJMeter${version}.tar" basedir="../" excludes="**/classes/**" includes="jmeter/**" />
<gzip zipfile="$../ApacheJMeter${version}.tar.gz" src="../ApacheJMeter${version}.tar" />
</target>
<!--
- Deletes old build files.
-->
<target name="clean">
<delete file="bin/ApacheJMeter.jar"/>
<delete dir="${classes.dest.dir}"/>
<delete dir="${docs.api.dest.dir}"/>
</target>
<!--
- Compiles the source into class files - dumping results into the
- bin/clases directory
-->
<target name="compile" depends="init,mail.message,ssl.message">
<mkdir dir="${classes.dest.dir}"/>
<javac srcdir="${sources.src.dir}"
classpath="${basedir}/lib/junit.jar:${basedir}/lib/xerces.jar:${basedir}/lib/util.jar"
destdir="${classes.dest.dir}"
optimize="on">
<exclude name="**/*.df*"/>
<exclude name="**/*.html"/>
<exclude name="**/*.tpr"/>
<exclude name="**/*.tws"/>
<exclude name="**/make*"/>
<exclude name="**/Makefile"/>
<exclude name="**/Changelog*"/>
<exclude name="**/*.orig"/>
<exclude name="org/apache/jmeter/protocol/http/util/SSLStaticProvider.java" unless="jsse.present"/>
<exclude name="org/apache/jmeter/visualizers/MailerVisualizer.java" unless="javamail.complete"/>
</javac>
</target>
<target name="rmi" depends="compile">
<rmic classpath="bin/classes" base="bin/classes" classname="org.apache.jmeter.engine.RemoteJMeterEngineImpl"/>
<rmic classpath="bin/classes" base="bin/classes" classname="org.apache.jmeter.samplers.RemoteSampleListenerImpl"/>
</target>
<!--
- Generates java-docs
-->
<target name="api-docs" depends="init">
<javadoc
sourcepath="${sources.src.dir}"
destdir="${docs.api.dest.dir}"
private="yes" author="yes" version="yes"
doctitle="Apache JMeter APIs Specification"
footer="Copyright (c) 1998-99 The Java Apache Project"
packagenames="org.apache.jmeter.*,
org.apache.jmeter.timers.*,
org.apache.jmeter.visualizers.*,
org.apache.jmeter.samplers.*,
org.apache.jmeter.controllers.*,
org.apache.jmeter.reporters.*,
org.apache.jmeter.samplers.ftp.*,
org.apache.jmeter.samplers.http.*,
org.apache.jmeter.samplers.jdbc.*,
org.apache.jmeter.threads.*,
org.apache.jmeter.util.*"/>
</target>
<!--
- Creates the ApacheJMeter.jar file.
-->
<target name="package" depends="compile,rmi">
<copy toDir="${classes.dest.dir}/org/apache/jmeter/images">
<fileset dir="${sources.src.dir}/org/apache/jmeter/images"/>
</copy>
<jar jarfile="ApacheJMeter.jar" manifest="src/MANIFEST" basedir="${classes.dest.dir}">
</jar>
</target>
<!--
- Copies the jar file to bin/ and everything else needed to run JMeter
- from bin/.
-->
<target name="install" depends="package">
<copy file="ApacheJMeter.jar" toFile="bin/ApacheJMeter.jar"/>
<copy file="src/org/apache/jmeter/jmeter.properties" toFile="bin/jmeter.properties"/>
<delete file="ApacheJMeter.jar"/>
</target>
<!--
- Another name for install(?)
-->
<target name="all" depends="install"/>
<!--
- Creates the distribution packages
-->
<target name="dist" depends="install">
<jar jarfile="../ApacheJMeter${version}.jar" basedir="../" includes="jmeter/**" excludes="**/classes/**"/>
<zip zipfile="../ApacheJMeter${version}.zip" basedir="../" includes="jmeter/**" excludes="**/classes/**"/>
<tar tarfile="../ApacheJMeter${version}.tar" basedir="../" excludes="**/classes/**" includes="jmeter/**" />
<gzip zipfile="$../ApacheJMeter${version}.tar.gz" src="../ApacheJMeter${version}.tar" />
</target>
<!--
- Deletes old build files.
-->
<target name="clean" depends="init">
<delete file="bin/ApacheJMeter.jar"/>
<delete dir="${classes.dest.dir}"/>
<delete dir="${docs.api.dest.dir}"/>
</target>
<target name="docs" depends="no.anakia,init" if="AnakiaTask.present">
<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
<anakia basedir="${docs.src}" destdir="${docs.dest}/"
extension=".html" style="./site.vsl"
projectFile="./stylesheets/project.xml"
excludes="**/stylesheets/**"
includes="**/*.xml"
lastModifiedCheck="false"
velocityPropertiesFile="${docs.src}/velocity.properties"></anakia>
</target>
<target name="docs" depends="no.anakia" if="AnakiaTask.present">
<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
<anakia basedir="${docs.src}" destdir="${docs.dest}/"
extension=".html" style="./site.vsl"
projectFile="./stylesheets/project.xml"
excludes="**/stylesheets/**"
includes="**/*.xml"
lastModifiedCheck="false"
velocityPropertiesFile="${docs.src}/velocity.properties"></anakia>
</target>
</project>

View File

@ -1,24 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<meta NAME="Author" CONTENT="Stefano Mazzocchi">
<title>Apache JMeter</title>
</head>
<body BGCOLOR="#FFFFFF">
<p ALIGN="CENTER"><img SRC="docs/images/java-apache-project.gif" BORDER="0" WIDTH="609"
HEIGHT="100"><br>
is proud to present </p>
<h1 ALIGN="CENTER"><a href="docs/index.html">Apache JMeter</a></h1>
<h3 ALIGN="CENTER">version 1.4.5-dev</h3>
<p ALIGN="CENTER"><font SIZE="-1">Copyright (c) 1998-2000 <a HREF="http://java.apache.org">The
Java Apache Project</a><br>
All rights reserved.</font> </p>
</body>
</html>

View File

@ -1,69 +0,0 @@
<?xml version="1.0"?>
<document>
<properties>
<author email="bburns@apache.org">Brendan Burns, et al.</author>
<title>Apache JMeter</title>
</properties>
<body>
<section name="Apache JMeter">
<p>
<b>Apache JMeter</b> is a 100% pure Java desktop application designed to load test functional
behavior and measure performance. It was originally designed for testing Web Applications but has
since expanded to other test functions.
</p>
<h2>What can I do with it?</h2>
<p>
Apache JMeter may be used to test performance both on static and dynamic
resources (files or CGI, Servlets, Perl scripts, Java Objects). It may well be used to simulate a heavy
load on a server, network or object to test its strength or to analyse overall performance under
different load types. You can use it to make a graphical analysis of performance or to
test your server/script/object behavior under heavy concurrent load.</p>
<p>
<a HREF="how_to_use_jmeter.html">Using JMeter</a>
</p>
<h2>What does it do?</h2>
<p>Apache JMeter features include:</p>
<ul>
<li>Complete portability and <b>100% Java purity</b>.</li>
<li>Full <b>Swing</b> and lightweight component support (precompiled JAR uses packages <code>javax.swing.*</code>).</li>
<li>Pluggable Samplers allow unlimited testing capabilities.</li>
<li>Full <b>multithreading</b> framework allows concurrent sampling by many threads and simultaneous sampling of different functions by seperate thread groups.</li>
<li>Several load statistics may be choosen with <b>pluggable timers</b>.</li>
<li>Data analisys and <b>visualisation plugins</b> allow great extendibility as well as
personalization.</li>
<li>Careful <b>GUI</b> design allows faster operation and more precise timings.</li>
</ul>
<p>
Here you find all the information you need to use, understand and enhance Apache JMeter.
</p>
<ul>
<li><a HREF="license.html">Public license</a></li>
<li><a href="dist">Download</a></li>
<li><a HREF="installing.html">Installation</a></li>
<ul>
<li><a HREF="installing.html#requirements">System requirements</a></li>
<li><a HREF="installing.html#installing">Installing Apache JMeter</a></li>
</ul>
<li><a HREF="running.html">Running Apache JMeter</a></li>
<ul>
<li><a HREF="running.html#scripts">Using system wrappers</a></li>
<li><a HREF="running.html#command">From the command line</a></li>
</ul>
<li><a HREF="how_to_use_jmeter.html">Using JMeter</a></li>
<li>
<a HREF="extending.html">Extending/Customizing JMeter for your needs</a>
</li>
<li><a HREF="api/index.html">Code documentation (javadoc)</a></li>
<li><a HREF="changes.html">Changes history</a></li>
<li><a href="bugs.html">Known bugs</a></li>
<li><a href="todo.html">Wish and Todo List</a></li>
<li><a HREF="contributing.html">How to contribute</a></li>
</ul>
</section>
</body>
</document>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Velocity"
href="http://jakarta.apache.org/jmeter/">
<title>JMeter</title>
<!--
<logo href="/images/logo.gif">JMeter</logo>
-->
<body>
<menu name="About">
<item name="Overview" href="/index.html"/>
<item name="Usage" href="/how_to_use_jmeter.html"/>
<item name="Download" href="http://jakarta.apache.org/builds/jakarta-jmeter/"/>
<item name="Install" href="/installing.html"/>
<item name="Running" href="/running.html"/>
<item name="Extending" href="/extending.html"/>
<item name="Changes" href="/changes.html"/>
<item name="Known Bugs" href="/bugs.html"/>
<item name="License" href="/license.html"/>
<item name="TODO" href="/todo.html"/>
</menu>
<menu name="Community">
<item name="Get Involved" href="/site/getinvolved.html"/>
<item name="Mailing Lists" href="/site/mail.html"/>
<item name="CVS Repositories" href="/site/cvsindex.html"/>
</menu>
</body>
</project>