2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<?xml version="1.0"?>  
						 
					
						
							
								
									
										
										
										
											2004-02-14 09:20:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!-- 
  
						 
					
						
							
								
									
										
										
										
											2007-01-08 03:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   Licensed to the Apache Software Foundation (ASF) under one or more
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   contributor license agreements.  See the NOTICE file distributed with
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   this work for additional information regarding copyright ownership.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   The ASF licenses this file to You 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
							 
						 
					
						
							
								
									
										
										
										
											2004-02-14 09:20:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       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.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-->
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 08:27:02 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<project  name= "JMeter"  default= "install"  basedir= "." >  
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <description > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 21:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	N.B. To build JMeter from a release you need both the binary and source archives,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	and these must be unpacked into the same directory structure.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	[The required external jars are only included in the binary release]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 08:58:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    To build JMeter from source:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ant [install]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    To rebuild:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ant clean install
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    To update documentation
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      ant docs-site
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ant docs-printable
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    To build API documentation (Javadoc)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ant docs-api
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    To build all the docs
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      ant docs-all
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    To build all and package up the files for distribution
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      ant distribution -Djmeter.version=vvvv [-Dsvn.revision=nnnnn]
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	To create a nightly build (separate bin/src/lib jars):
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      ant nightly [-Dsvn.revision=nnnnn]
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    To create tar and tgz of the web-site documentation (docs and api)
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      ant site [ -Djmeter.version=vvvv ]
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    For more info:
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      ant -projecthelp
							 
						 
					
						
							
								
									
										
										
										
											2003-01-11 08:15:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    To diagnose usage of deprecated APIs:
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      ant -Ddeprecation=on clean compile
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </description> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Note
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  ====
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  As with most other Jakarta projects, Gump (http://jakarta.apache.org/gump/) is used to
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  perform automated builds and tests on JMeter.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Gump uses its project/jakarta-jmeter.xml file to determine which target to use.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  The current setting is: <ant  target= "dist" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Any changes to the dependency list for dist may affect Gump.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Now the dist target depends on "assume-libs-present", so if additional libraries are added to that,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  the Gump project file for JMeter must also be updated.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Jars that are not required by the dist target do not need to be added to the Gump project file.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -->
							 
						 
					
						
							
								
									
										
										
										
											2003-11-14 02:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-11-30 11:28:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Are we running under Gump?  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "gump.run"  value= "false" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-12-10 18:42:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  The version of this file  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-10 18:43:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "version.build"  value= "$Revision$" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <!--  Findbugs task and target  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   Findbugs is licensed under the Lesser GNU Public License
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   HomePage: http://www.cs.umd.edu/~pugh/java/bugs/
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   To use the findbugs target, download and install the findbugs binary distribution
							 
						 
					
						
							
								
									
										
										
										
											2004-06-26 22:51:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   Set the value of findbugs.homedir according to where you installed findbugs, for example:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   ant findbugs -Dfindbugs.homedir=/etc/findbugs -Dfindbugs.level=medium
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  [The defaults are /findbugs and medium]
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   -->
							 
						 
					
						
							
								
									
										
										
										
											2004-06-25 05:38:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <property  name= "findbugs.homedir"  value= "/findbugs"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <property  name= "findbugs.level"  value= "medium"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-22 09:12:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <property  name= "findbugs.xsldir"  value= "${findbugs.homedir}/src/xsl"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   <property  name= "findbugs.xslname"  value= "fancy"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <property  name= "findbugs.outName"  value= "reports/jmeter-fb"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-26 22:51:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <target  name= "findbugs"  description= "Run the stand-alone Findbugs detector" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <echoproperties  prefix= "findbugs" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "reports" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <taskdef  name= "findbugs"  
							 
						 
					
						
							
								
									
										
										
										
											2004-06-25 05:38:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        classpath="${findbugs.homedir}/lib/findbugs-ant.jar" 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/>
							 
						 
					
						
							
								
									
										
										
										
											2004-06-25 05:38:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <findbugs  home= "${findbugs.homedir}" 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-22 09:12:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								              output="xml:withMessages"
							 
						 
					
						
							
								
									
										
										
										
											2004-02-17 07:58:48 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								              reportlevel="${findbugs.level}"
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								              excludeFilter="fb-excludes.xml"
							 
						 
					
						
							
								
									
										
										
										
											2006-11-28 07:12:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	      jvmargs="-Xms512m -Xmx512m"
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								              outputFile="${findbugs.outName}.xml" >
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <class  location= "${dest.jar}/*.jar"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <class  location= "${dest.jar.jmeter}/*.jar"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.core}"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.http}"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.ftp}"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.java}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.junit}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.jdbc}"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.ldap}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.mail}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.components}"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.functions}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <class  location= "${lib.dir}/jorphan.jar"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.jorphan}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-17 03:23:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.tcp}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.jms}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sourcePath  path= "${src.report}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-26 22:51:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <auxClasspath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       	<fileset  dir= "${lib.dir}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       		<include  name= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       	</fileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </auxClasspath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <auxClasspath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       	<fileset  dir= "${lib.opt}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       		<include  name= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       	</fileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </auxClasspath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </findbugs> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "findbugs-style" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-22 09:12:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "findbugs-xsl" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:50:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Convert findbugs XML output to CSV  --> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <target  name= "findbugs-style" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:50:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     <xslt  style= "fb-csv.xsl"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       force="true"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       in="${findbugs.outName}.xml" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       out="${findbugs.outName}.csv">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     </xslt> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-08 07:40:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2006-05-22 09:12:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Convert findbugs XML output to HTML  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   <target  name= "findbugs-xsl" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     <xslt  style= "${findbugs.xsldir}/${findbugs.xslname}.xsl"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       force="true"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       in="${findbugs.outName}.xml" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       out="${findbugs.outName}_${findbugs.xslname}.html">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     </xslt> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2001-03-13 07:57:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Where the Sources live  --> 
							 
						 
					
						
							
								
									
										
										
										
											2002-08-12 06:10:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.dir"  value= "src" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.core"  value= "src/core" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.http"  value= "src/protocol/http" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.ftp"  value= "src/protocol/ftp" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-20 08:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.test"  value= "test/src" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-08-12 06:10:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.jdbc"  value= "src/protocol/jdbc" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.java"  value= "src/protocol/java" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.junit"  value= "src/junit" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-08-12 06:10:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.components"  value= "src/components" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.functions"  value= "src/functions" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-10-18 03:47:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.jorphan"  value= "src/jorphan" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.ldap"  value= "src/protocol/ldap" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-16 11:14:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.tcp"  value= "src/protocol/tcp" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.examples"  value= "src/examples" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.mail"  value= "src/protocol/mail" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.monitor.components"  value= "src/monitor/components" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.monitor.model"  value= "src/monitor/model" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.jms"  value= "src/protocol/jms" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "src.report"  value= "src/reports" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Where the documentation sources live  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.docs"  value= "xdocs" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.images"  value= "xdocs/images" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.demos"  value= "xdocs/demos" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Javadoc sources  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <path  id= "srcpaths" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.core}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.components}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.functions}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.http}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.ftp}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.jdbc}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.java}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.junit}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.jorphan}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.ldap}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-16 11:14:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.tcp}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.examples}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.mail}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.monitor.components}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${src.monitor.model}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.jms}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${src.report}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </path> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Temporary build directories: where the .class live  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "build.dir"  value= "build" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "build.core"  value= "build/core" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.http"  value= "build/protocol/http" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.ftp"  value= "build/protocol/ftp" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.jdbc"  value= "build/protocol/jdbc" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.java"  value= "build/protocol/java" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "build.junit"  value= "build/junit" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "build.components"  value= "build/components" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.functions"  value= "build/functions" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.jorphan"  value= "build/jorphan" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "build.ldap"  value= "build/protocol/ldap" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.mail"  value= "build/protocol/mail" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.tcp"  value= "build/protocol/tcp" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.examples"  value= "build/examples" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.monitor.components"  value= "build/monitor/components" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.monitor.model"  value= "build/monitor/model" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.jms"  value= "build/protocol/jms" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.report"  value= "build/reports" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "build.test"  value= "build/test" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-06 22:23:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Path prefix to allow Anakia to find stylesheets if running under Eclipse  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Anakia looks for stylesheets relative to the java launch directory.
							 
						 
					
						
							
								
									
										
										
										
											2003-11-14 02:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  Use the External Tools properties page to define the variable
							 
						 
					
						
							
								
									
										
										
										
											2003-06-06 22:23:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  as the relative path to the directory where this build file is found.
							 
						 
					
						
							
								
									
										
										
										
											2003-11-14 02:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  For example: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               eclipse.anakia=workspace/jmeter
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  An alternative is to define it as a command-line argument on the Main page;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  this allows one to use a macro name, so is more portable.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  For example:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								               -Declipse.anakia=workspace/${project_name}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  WARNING: you must ensure that you have selected a file or directory in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  the Navigator pane before attempting to run the build, or Eclipse will
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  complain that it cannot resolve the variable name, and it can mark the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  launch configuration as having failed.
							 
						 
					
						
							
								
									
										
										
										
											2003-06-06 22:23:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "eclipse.anakia"  value= "." /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Where the build result .jars will be placed  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "dest.jar"  value= "lib/ext" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "dest.jar.jmeter"  value= "bin" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2001-03-13 07:57:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Where the API documentation lives  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "dest.docs.api"  value= "docs/api" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Where the doc results live  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "dest.docs"  value= "docs" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "dest.printable_docs"  value= "printable_docs" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-08 09:11:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Directory where jars needed for creating documentation live  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "lib.doc"  value= "lib/doc" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Directory where these 3rd party libraries live  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "lib.dir"  value= "lib" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-10 02:34:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Directory where API spec libraries live  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "lib.api"  value= "lib/api" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-08 09:11:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Directory where Optional 3rd party libraries live  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-14 02:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "lib.opt"  value= "lib/opt" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Other stuff  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "extras.dir"  value= "extras" /> 
							 
						 
					
						
							
								
									
										
										
										
											2001-03-13 07:57:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Where the distribution packages will be created  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-09 09:50:02 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "dist.dir"  value= "dist" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Where the web - site packages will be created  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "site.dir"  value= "site" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Compilation parameters  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "optimize"  value= "on" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-11 08:15:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "deprecation"  value= "off" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-12 00:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "target.java.version"  value= "1.4" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "src.java.version"  value= "1.4" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-03-13 20:03:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "encoding"  value= "UTF-8" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  3rd party libraries to be included in the binary distribution  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  file= "build.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <patternset  id= "external.jars.notices" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									    <include  name= "LICENSE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									    <include  name= "LICENSE*.txt" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									    <include  name= "NOTICE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									    <include  name= "README" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </patternset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Jars for binary release  --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <patternset  id= "external.jars" > 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-05 07:13:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${apache-bsf.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${avalon-framework.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${batik-awt-util.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-01-11 10:11:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-codec.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-14 02:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-collections.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-15 10:06:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-httpclient.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-04-28 17:44:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-io.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-06-01 03:16:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-jexl.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-14 06:21:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-lang.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-15 10:06:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-logging.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-04-28 07:44:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${commons-net.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${excalibur-datasource.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${excalibur-instrument.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-22 10:07:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${excalibur-logger.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${excalibur-pool.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-10 03:17:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${htmllexer.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${htmlparser.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${jakarta-oro.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${jcharts.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${jdom.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${js_rhino.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-12 09:53:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${junit.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${logkit.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-31 18:26:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${serializer.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${soap.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${tidy.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${xalan.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${xerces.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${xml-apis.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-25 06:14:26 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${xpp3.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:26:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${xstream.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </patternset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-10 22:09:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-11-17 03:23:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Optional jars, not included in distribution.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Any such jars need to be downloaded separately.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  These can be put into ${lib.dir} or ${lib.opt}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  - both of these are included in the build classpath
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Any jars put into ${lib.dir} will be included in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  the classpath used by JMeter to load classes.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Jars in ${lib.opt} are NOT normally included by JMeter.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Placing an optional jar in ${lib.opt} means that it
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  will be included in the build classpath, but it will
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  not be included in the runtime classpath. This is intended
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  for testing JMeter without the optional Jar file(s).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -->
							 
						 
					
						
							
								
									
										
										
										
											2003-10-19 08:08:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-11-17 03:23:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Build classpath (includes the optional jar directory)  --> 
							 
						 
					
						
							
								
									
										
										
										
											2001-03-13 07:57:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <path  id= "classpath" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Externally produced jars  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${apache-bsf.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${avalon-framework.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${batik-awt-util.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-codec.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-collections.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-httpclient.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-04-28 17:57:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-io.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-jexl.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-19 04:47:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-lang.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-logging.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-04-28 07:44:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-net.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${excalibur-datasource.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${excalibur-instrument.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${excalibur-logger.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${excalibur-pool.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${htmllexer.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${htmlparser.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${jakarta-oro.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${jcharts.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${jdom.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${js_rhino.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${junit.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${logkit.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${serializer.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${soap.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${tidy.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${xalan.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${xerces.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${xml-apis.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:34:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${xpp3.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${xstream.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Generated jars  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <fileset  dir= "${lib.dir}"  includes= "jorphan.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-10 02:34:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  API - only jars --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${activation.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${javamail.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <pathelement  location= "${jms.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Optional jars  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <fileset  dir= "${lib.opt}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-08-13 03:14:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </path> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-14 02:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Anakia classpath  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <path  id= "anakia.classpath" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${velocity.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-14 06:21:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${jdom.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-collections.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-14 06:21:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${commons-lang.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 04:27:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <pathelement  location= "${logkit.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </path> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "init-version" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<tstamp /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    JMeter version
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    This is overridden for formal releases.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	-->
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 10:01:10 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <property  name= "jmeter.version"  value= "2.3.2.${DSTAMP}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 09:42:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<condition  property= "implementation.version"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		value="${jmeter.version} r${svn.revision}" else="${jmeter.version}">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<isset  property= "svn.revision" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "display.version"  value= "${implementation.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-05 06:27:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   	<echo > jmeter.version = ${jmeter.version}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <echo > display.version = ${display.version}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   	<echo > implementation.version = ${implementation.version}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-05 06:27:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  JMeter Javadoc version (own variable is used so can be overriden independently)  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 10:01:10 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "docversion"  value= "2.3.2" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<!--  Get version from SVN status  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-05 06:27:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "init-svnVersion"  depends= "svnCheck" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<fail  message= "Could not get SVN revision"  unless= "svn.revision" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	<property  name= "jmeter.version"  value= "r${svn.revision}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<!--  Copy the value to avoid duplication of revision in Manifests  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "implementation.version"  value= "${jmeter.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <property  name= "display.version"  value= "${jmeter.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-05 06:27:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   	<echo > jmeter.version = ${jmeter.version}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <echo > display.version = ${display.version}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   	<echo > implementation.version = ${implementation.version}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2004-05-29 20:39:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "init-docs"  depends= "check-anakia,report-anakia-missing" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo > eclipse.anakia = ${eclipse.anakia}</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</target> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    - Check for anakia task
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "check-anakia" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <available  classpathref= "anakia.classpath"  classname= "org.apache.velocity.anakia.AnakiaTask"  property= "AnakiaTask.present" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-24 00:46:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Check for Velocity version 1.5  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <available  classpathref= "anakia.classpath"  classname= "org.apache.velocity.io.UnicodeInputStream"  property= "velocity.version.15" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<antcall  target= "report-old-velocity" > </antcall> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-24 00:46:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "report-anakia-missing"  depends= "check-anakia"  unless= "AnakiaTask.present" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <echo > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      AnakiaTask is not present, documentation will not be generated.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-24 00:46:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "report-old-velocity"  unless= "velocity.version.15"  if= "AnakiaTask.present" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <echo > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      Velocity version appears to be older than 1.5: the documentation may be generated with incorrect line endings.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-core"  depends= "compile-jorphan,update-version"  description= "Compile JMeter core classes." > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.core}"  destdir= "${build.core}"  optimize= "${optimize}"  source= "${src.java.version}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "update-version"  unless= "version.noupdate" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <echo > Updating version string to "${display.version}"</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <replaceregexp  file= "${src.core}/org/apache/jmeter/util/JMeterVersion.java" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	match="VERSION = " .*?" "
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									replace="VERSION = " ${display.version}" "/>
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-components"  depends= "compile-jorphan,compile-core"  description= "Compile generic (protocol-independent) components." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.components}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.components}"  destdir= "${build.components}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "compile-functions"  depends= "compile-jorphan,compile-core"  description= "Compile functions." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.functions}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.functions}"  destdir= "${build.functions}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-http"  depends= "compile-jorphan,compile-core,compile-components"  description= "Compile components specific to HTTP sampling." > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.http}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-26 20:14:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Directory needs to exist, or jar will fail  --> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.http}"  destdir= "${build.http}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-15 10:15:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.components}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-23 02:34:48 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-tests"  description= "Compile test components only" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-20 08:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.test}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.test}"  destdir= "${build.test}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-20 08:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.components}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.http}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.ftp}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.functions}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.java}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jdbc}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.ldap}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.mail}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.monitor.components}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.monitor.model}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-24 08:30:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.report}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-20 08:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.tcp}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 08:33:44 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      	<!--  Also include compiled jars to allow running tests without rebuilding source  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	<fileset  dir= "${dest.jar}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-20 08:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "compile-ftp"  depends= "compile-jorphan,compile-core"  description= "Compile components specific to FTP sampling." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.ftp}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.ftp}"  destdir= "${build.ftp}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "compile-jdbc"  depends= "compile-jorphan,compile-core"  description= "Compile components specific to JDBC sampling." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.jdbc}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.jdbc}"  destdir= "${build.jdbc}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-ldap"  depends= "compile-jorphan,compile-core"  
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    description="Compile components specific to LDAP sampling.">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.ldap}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.ldap}"  destdir= "${build.ldap}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-06-04 22:31:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "create-mail-dir" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.mail}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-06-10 07:17:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-mail"  depends= "compile-jorphan,compile-core,create-mail-dir" 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    description="Compile components specific to IMAP and POP3 sampling.">
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.mail}"  destdir= "${build.mail}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-java"  depends= "compile-jorphan,compile-core"  description= "Compile components specific to Java sampling." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.java}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.java}"  destdir= "${build.java}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-junit"  depends= "compile-jorphan,compile-core"  description= "Compile components specific to JUnit sampling." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.junit}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.junit}"  destdir= "${build.junit}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-report"  depends= "compile-jorphan,compile-core,compile-components"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    description="Compile report components.">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.report}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.report}"  destdir= "${build.report}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-18 02:02:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.components}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-tcp"  depends= "compile-jorphan,compile-core"  description= "Compile components specific to TCP sampling." > 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-16 11:14:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.tcp}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.tcp}"  destdir= "${build.tcp}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-16 11:14:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-16 11:14:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-protocols"  depends= "compile-http,compile-ftp,compile-jdbc,compile-java,compile-ldap,compile-mail,compile-tcp"  description= "Compile all protocol-specific components." /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-examples"  depends= "compile-jorphan,compile-core"  description= "Compile example components." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.examples}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.examples}"  destdir= "${build.examples}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-monitor"  depends= "compile-monitor-model,compile-monitor-components" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "compile-monitor-components" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    depends="compile-jorphan,compile-core,compile-components,compile-monitor-model">
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.monitor.components}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.monitor.components}"  source= "${src.java.version}"  destdir= "${build.monitor.components}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-14 00:46:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.monitor.model}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.http}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-14 00:46:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.components}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "compile-monitor-model"  depends= "compile-jorphan,compile-core" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.monitor.model}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.monitor.model}"  destdir= "${build.monitor.model}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-06-10 07:05:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-jorphan"  depends= "init-version"  description= "Compile JOrphan utility classes." > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.jorphan}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-09-21 07:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.jorphan}"  destdir= "${build.jorphan}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "compile-rmi"  depends= "compile-jorphan,compile-core"  description= "Compile RMI stubs and skeletons." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <rmic  base= "${build.core}"  classname= "org.apache.jmeter.engine.RemoteJMeterEngineImpl" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  path= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </rmic> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-02 21:56:10 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <rmic  base= "${build.core}"  classname= "org.apache.jmeter.samplers.RemoteSampleListenerImpl" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  path= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-02 21:56:10 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </rmic> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-10-30 00:52:21 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile-jms"  depends= "compile-jorphan,compile-core,compile-components"  
							 
						 
					
						
							
								
									
										
										
										
											2007-06-10 07:05:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      	description="Compile components specific to JMS sampling.">
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.jms}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <javac  srcdir= "${src.jms}"  destdir= "${build.jms}"  source= "${src.java.version}"  optimize= "${optimize}"  debug= "on"  target= "${target.java.version}"  deprecation= "${deprecation}"  encoding= "${encoding}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <include  name= "**/*.java" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.jorphan}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <pathelement  location= "${build.core}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javac> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "compile"  
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 21:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  depends="_message_3rdParty,compile-core,compile-components,compile-functions,compile-protocols,compile-rmi,compile-monitor,compile-junit,compile-jms,compile-report"
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  description="Compile everything."/>
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 11:15:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-09-15 17:22:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "run_gui"  depends= "package"  description= "Run the JMeter GUI off the jar files" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <java  classname= "org.apache.jmeter.NewDriver"  fork= "true" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 02:50:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${dest.jar.jmeter}/ApacheJMeter.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-15 17:22:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <sysproperty  key= "jmeter.home"  value= "${basedir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </java> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "package"  depends= "compile, package-only" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     description="Compile everything and create the jars"/>
							 
						 
					
						
							
								
									
										
										
										
											2003-11-27 20:06:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-11-17 03:23:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!-- 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								N.B. Eclipse (and perhaps other Java IDEs) copies all files to the build directory, unless
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								told otherwise. This means that there might be copies of property and image files in the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								build directory. To avoid including the files twice in the jar file, we include only .class
							 
						 
					
						
							
								
									
										
										
										
											2007-06-10 22:23:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								files in the list of files to be processed from the build tree.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Eclipse has been fixed so that it no longer shows files in the build tree in the Open Resource dialogue,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								so having duplicates in the build tree no longer causes confusion.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Note: if built from Eclipse, the build directory will include resources and images,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								and Eclipse will thus be able to run JMeter from the default path.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If built using Ant, the build tree will not contain any resources, and thus Eclipse will not be able to
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								run JMeter unless all the JMeter jars are added.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-11-17 03:23:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-->
							 
						 
					
						
							
								
									
										
										
										
											2003-11-27 20:06:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "package-only"  description= "Package already-compiled classes (shortcut for IDE users)" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<manifest  file= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <attribute  name= "Built-By"  value= "${user.name}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<attribute  name= "Extension-Name"  value= " JMeter" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<attribute  name= "Specification-Title"  value= " Apache Jakarta JMeter" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<attribute  name= "Specification-Vendor"  value= " Apache Software Foundation" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<attribute  name= "Implementation-Vendor"  value= " Apache Software Foundation" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<attribute  name= "Implementation-Vendor-Id"  value= " org.apache" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<attribute  name= "Implementation-Version"  value= "${implementation.version}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <attribute  name= "X-Compile-Source-JDK"  value= "${src.java.version}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <attribute  name= "X-Compile-Target-JDK"  value= "${target.java.version}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </manifest> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <manifest  file= "${build.dir}/MANIFEST_SRC.MF" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Built-By"  value= "${user.name}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Extension-Name"  value= " JMeter" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Specification-Title"  value= " Apache Jakarta JMeter" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Specification-Vendor"  value= " Apache Software Foundation" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Implementation-Vendor"  value= " Apache Software Foundation" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Implementation-Vendor-Id"  value= " org.apache" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <attribute  name= "Implementation-Version"  value= "${implementation.version}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   </manifest> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<mkdir  dir= "${dest.jar}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  perhaps ought to include a basic jmeter.properties file in one of the jars,
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    given that JMeterUtils looks for it if it cannot find the external one
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    - otherwise, change utils to ignore it -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  JMeter launch jar  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 02:50:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar.jmeter}/ApacheJMeter.jar"  
							 
						 
					
						
							
								
									
										
										
										
											2006-03-26 07:33:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	includes="**/NewDriver*,**/DynamicClassLoader*" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        basedir="${build.core}" 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	manifest="${build.dir}/MANIFEST_BIN.MF">
							 
						 
					
						
							
								
									
										
										
										
											2006-03-26 07:33:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	<manifest > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								           <attribute  name= "Main-Class"  value= "org.apache.jmeter.NewDriver" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	</manifest> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  core  -->     
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_core.jar"  
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	manifest="${build.dir}/MANIFEST_BIN.MF">
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <!--  Only include class files from build tree  -  see above  --> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-20 21:59:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.core}"  includes= "**/*.class" 
							 
						 
					
						
							
								
									
										
										
										
											2007-01-04 02:05:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	excludes="**/BeanShellClient*.class,**/NewDriver*,**/DynamicClassLoader*"/>
							 
						 
					
						
							
								
									
										
										
										
											2005-06-15 07:46:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${src.core}"  includes= "org/apache/jmeter/images/**"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										excludes="**/*.properties"/>
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${src.core}"  includes= "**/*.properties" > 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <exclude  name= "*eucJP*" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </fileset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-11-22 11:22:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <!--  This file is used by the jmeter  - h option  --> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${src.core}"  includes= "org/apache/jmeter/help.txt" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  components  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_components.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.components}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.components}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  functions  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_functions.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.functions}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.functions}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  http  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_http.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.http}"  includes= "**/*.class" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${src.http}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-25 09:08:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	  	    
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  ftp  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_ftp.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.ftp}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.ftp}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  jdbc  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_jdbc.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.jdbc}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.jdbc}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  java  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_java.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.java}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.java}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
									
										
										
										
											2006-05-20 21:23:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  BeanShell Client  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${lib.dir}/bshclient.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-20 21:23:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.core}"  includes= "**/BeanShellClient*.class"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <manifest > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									     <attribute  name= "Main-Class"  value= "org.apache.jmeter.util.BeanShellClient" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </manifest> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-20 21:23:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  junit  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_junit.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.junit}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.junit}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  report  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_report.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.report}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.report}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-11 22:02:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  ldap  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_ldap.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.ldap}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.ldap}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  mail  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_mail.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.mail}"  includes= "**/*.class"   /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.mail}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-09 05:38:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  tcp  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_tcp.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.tcp}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.tcp}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-21 23:54:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  monitor  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_monitors.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.monitor.model}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${build.monitor.components}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  jms  --> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-30 17:17:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Ensure that build dir exists, even if JMS has not been built  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${build.jms}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_jms.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.jms}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.jms}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-29 13:25:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
									
										
										
										
											2007-02-27 07:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								 	
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${lib.dir}/jorphan.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2006-03-26 07:33:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <fileset  dir= "${build.jorphan}"  includes= "**/*.class" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <fileset  dir= "${src.jorphan}"  includes= "**/*.properties" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 21:32:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Check that the 3rd party libraries are present  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <condition  property= "3rdparty.present" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<and > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<!--  No need to check all jars; just check a few  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <available  classpathref= "classpath"  classname= "org.apache.bsf.BSFEngine" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <available  classpathref= "classpath"  classname= "org.htmlparser.Parser" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <available  classpathref= "classpath"  classname= "com.thoughtworks.xstream.XStream" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</and> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "_message_3rdParty"  unless= "3rdparty.present" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo > Cannot find all the required 3rd party libraries.</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo > If building from a release, you need both source and binary archives.</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<fail  message= "Cannot find required classes" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "install"  depends= "package"  description= "Install JMeter. (Compiles code and creates jars)" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-24 22:24:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<fixcrlf  srcdir= "."  eol= "lf"  includes= "bin/*.sh bin/jmeter bin/jmeter-server bin/jmeter-report" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-08-12 06:10:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2001-06-17 23:21:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "install-examples"  depends= "compile-examples"  description= "Build and installs the example components." > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <jar  jarfile= "${dest.jar}/ApacheJMeter_examples.jar"  manifest= "${build.dir}/MANIFEST_BIN.MF" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${build.examples}"  includes= "**/*.class"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.examples}"  includes= "**/*.properties"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-17 22:03:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <metainf  dir= "."  includes= "LICENSE,NOTICE" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-26 06:34:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </jar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  list of files needed for a binary distribution (excluding library files)  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <patternset  id= "dist.binaries.native" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-13 11:48:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "LICENSE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "NOTICE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "README" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/BeanShell*.bshrc" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-04-03 07:13:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/log4j.conf" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/logkit.xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/jmeter.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/upgrade.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-06-21 03:00:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/saveservice.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-04-03 07:13:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/users.dtd" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/users.xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-06-12 00:07:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Sample override properties files  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-10 03:17:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/httpclient.parameters" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-06-12 00:07:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/system.properties" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/user.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Exclude any files that might be present from testing the release  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/*.log" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.printable_docs}/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-31 02:18:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <exclude  name= "${dest.printable_docs}/**/*.pdf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${dest.printable_docs}/**/*.jmx" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${extras.dir}/**" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${extras.dir}/*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${extras.dir}/*.jpg" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${extras.dir}/*.jmx" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </patternset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <patternset  id= "dist.binaries.non.native" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 08:38:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  We also need the images for the printable docs  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.docs}/images/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/jmeter*" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/jmeter.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 05:24:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/mirror*" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 07:06:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Exclude any files that might be present from testing the release  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/*.log" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar}/" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${lib.dir}/bshclient.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${lib.dir}/jorphan.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${lib.dir}/junit/test.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/ApacheJMeter.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-31 02:18:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.printable_docs}/**/*.pdf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.printable_docs}/**/*.jmx" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${extras.dir}/*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${extras.dir}/*.jpg" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${extras.dir}/*.jmx" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </patternset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      List of Unix executable files in the binary distribution
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      These need special handling to create the correct file mode
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -->
							 
						 
					
						
							
								
									
										
										
										
											2007-09-21 02:38:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "dist.executables"  value= "${dest.jar.jmeter}/jmeter ${dest.jar.jmeter}/jmeter.sh ${dest.jar.jmeter}/jmeter-server" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  List of files in source distribution that are eol=native  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <patternset  id= "dist.sources.native" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-13 11:48:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "LICENSE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "NOTICE" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "README" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${src.dir}/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <exclude  name= "${src.dir}/**/*.gif" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${src.dir}/**/*.jpg" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${src.dir}/**/*.png" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${src.docs}/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <exclude  name= "${src.docs}/images/**" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${src.docs}/**/*.jmx" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${src.docs}/**/*.pdf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${src.docs}/**/*.sxi" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${src.docs}/**/*.sxw" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${src.test}/**" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "build.xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-10 03:17:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "build.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/testfiles/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/testfiles/*.jmx" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/testfiles/*.jtl" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-31 05:48:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  This one is generated with EOL=LF  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/testfiles/BatchTestLocal.xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Ignore unit test output  --> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/testfiles/*.out" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <exclude  name= "${dest.jar.jmeter}/testfiles/Sample_*.png" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "eclipse.classpath" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "eclipse.readme" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 18:22:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${lib.dir}/aareadme.txt" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-10-02 09:12:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "fb-*.x*" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 08:27:02 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Make sure that the lib/opt directory is included in the archives  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${lib.opt}/README.txt" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-04 00:08:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </patternset> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Non - native items  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <patternset  id= "dist.sources.non.native" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-24 21:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${velocity.jar}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${lib.api}/*.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${src.dir}/**/*.gif" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${src.dir}/**/*.jpg" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${src.dir}/**/*.png" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <include  name= "${src.docs}/images/**" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${src.docs}/**/*.jmx" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${src.docs}/**/*.pdf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${src.docs}/**/*.sxi" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${src.docs}/**/*.sxw" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/testfiles/*.jmx" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/testfiles/*.jtl" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-31 05:48:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  This one is generated with EOL=LF  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <include  name= "${dest.jar.jmeter}/testfiles/BatchTestLocal.xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-24 21:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </patternset> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<!--  Convert eol:native source files to appropriate format if required  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<target  name= "_filter"  unless= "native.${eoltype}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<property  name= "workdir"  value= "${dist.dir}/${eoltype}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<echo > Copying files to work directory ${workdir}</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<mkdir  dir= "${workdir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<copy  includeemptydirs= "false"  todir= "${workdir}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											<fileset  dir= "." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												<patternset  refid= "${fileset}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											</fileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <echo > Converting work files to eol=${eoltype}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 21:17:09 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<fixcrlf  fixlast= "false"  eol= "${eoltype}"  srcdir= "${workdir}" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										</fixcrlf> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Files to be included in full download  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<patternset  id= "dist_bin_files_native" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<patternset  refid= "dist.binaries.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "external.jars.notices" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 08:38:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<!--  We don't need the site docs, but we do want Javadoc (e.g. for BeanShell)  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		<include  name= "${dest.docs.api}/**" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<exclude  name= "${dest.docs.api}/resources/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	</patternset> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <patternset  id= "dist_bin_files_non_native" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "dist.binaries.non.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "external.jars" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		<include  name= "${dest.docs.api}/resources/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </patternset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 08:38:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  NOTE: the site documents are not included in either archive  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  Invoke with  - Djmeter.version=m.n  - Duser.name=xyz@apache.org [ - Dsvn.revision=nnnnn] [ - Ddisplay.version=xxxx]
 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									Creates clean build and all documentation
							 
						 
					
						
							
								
									
										
										
										
											2006-06-10 23:12:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									Creates runtime and source distributions and site documentation
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									-->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<target  name= "distribution"  
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										depends="svnCheck,check-versions,clean,install,docs-printable,test,_distribution"
							 
						 
					
						
							
								
									
										
										
										
											2007-07-04 09:30:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										description="Build JMeter for end-user distribution"/>
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<target  name= "check-versions" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<fail  message= "jmeter.version must be defined"  unless= "jmeter.version" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<fail  message= "svn.revision must be defined"  unless= "svn.revision" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<target 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										name="nightly"
							 
						 
					
						
							
								
									
										
										
										
											2007-09-25 05:33:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										depends="init-svnVersion,check-versions,package,docs-printable,pack-nightly"
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 19:05:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										description="Build JMeter for nightly dir (package docs-printable pack-nightly)"/>
							 
						 
					
						
							
								
									
										
										
										
											2007-03-04 21:25:12 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<target  name= "_eolcheck" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<!--  Determine if the native format is CRLF or LF (or neither)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<condition  property= "native.lf" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											<os  family= "unix" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <condition  property= "native.crlf" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            <os  family= "dos" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        </condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<!--  Define native.dir.x as either the source or updated directory as appropriate  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 09:42:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										<condition  property= "native.dir.lf"  value= "."  else= "${dist.dir}/lf" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											<isset  property= "native.lf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</condition> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 09:42:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <condition  property= "native.dir.crlf"  value= "."  else= "${dist.dir}/crlf" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								            <isset  property= "native.crlf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        </condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<echoproperties  prefix= "native" > </echoproperties> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  Internal target  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<target  name= "_distribution"  depends= "check-versions,_eolcheck" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<property  name= "dist.name"  value= "jakarta-jmeter-${jmeter.version}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<property  name= "pack.name"  value= "${dist.name}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-20 06:45:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<echo > Creating JMeter distribution ${dist.name} ${svn.revision}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Delete work directories just in case  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete  dir= "${dist.dir}/crlf"  quiet= "true" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete  dir= "${dist.dir}/lf"  quiet= "true" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  Runtime archives  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_filter" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "eoltype"  value= "lf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "fileset"  value= "dist_bin_files_native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<tar  destfile= "${dist.dir}/${pack.name}.tar"  longfile= "gnu" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  excludes= "${dist.executables}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         <patternset  refid= "dist_bin_files_non_native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <tarfileset  mode= "755"  includes= "${dist.executables}"  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "${native.dir.lf}"  prefix= "${dist.name}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         <patternset  refid= "dist_bin_files_native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </tar> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  Delete work directory (may not exist)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  dir= "${dist.dir}/lf"  quiet= "true" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<gzip  zipfile= "${dist.dir}/${pack.name}.tgz"  src= "${dist.dir}/${pack.name}.tar"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<!--  no longer needed  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  file= "${dist.dir}/${pack.name}.tar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<antcall  target= "_md5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<param  name= "path"  value= "${dist.dir}/${dist.name}.tgz" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_filter" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "eoltype"  value= "crlf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "fileset"  value= "dist_bin_files_native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </antcall> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <zip   zipfile= "${dist.dir}/${pack.name}.zip" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist_bin_files_non_native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <zipfileset  dir= "${native.dir.crlf}"  prefix= "${dist.name}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         <patternset  refid= "dist_bin_files_native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </zip> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<antcall  target= "_md5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<param  name= "path"  value= "${dist.dir}/${dist.name}.zip" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</antcall> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Delete work directory (may not exist)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete  dir= "${dist.dir}/crlf"  quiet= "true" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<!--  Source archives  --> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_filter" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "eoltype"  value= "lf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "fileset"  value= "dist.sources.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </antcall> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <tar  destfile= "${dist.dir}/${pack.name}_src.tar"  longfile= "gnu" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "${native.dir.lf}"  prefix= "${dist.name}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         <patternset  refid= "dist.sources.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 20:54:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.sources.non.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </tar> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Delete work directory (may not exist)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete  dir= "${dist.dir}/lf"  quiet= "true" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<gzip  zipfile= "${dist.dir}/${pack.name}_src.tgz"  src= "${dist.dir}/${pack.name}_src.tar"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<!--  no longer needed  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  file= "${dist.dir}/${pack.name}_src.tar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<antcall  target= "_md5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<param  name= "path"  value= "${dist.dir}/${dist.name}_src.tgz" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_filter" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "eoltype"  value= "crlf" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <param  name= "fileset"  value= "dist.sources.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<zip   zipfile= "${dist.dir}/${pack.name}_src.zip" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "${native.dir.crlf}"  prefix= "${dist.name}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								         <patternset  refid= "dist.sources.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.sources.non.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-04-16 21:21:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </zip> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<antcall  target= "_md5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<param  name= "path"  value= "${dist.dir}/${dist.name}_src.zip" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</antcall> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Delete work directory (may not exist)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete  dir= "${dist.dir}/crlf"  quiet= "true" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								</target>  
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-12-19 02:18:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  Gump targets.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  There are separate build, test and documentation projects for the jmeter module.
							 
						 
					
						
							
								
									
										
										
										
											2003-12-19 02:18:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  -->
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Used by project jakarta - jmeter - cvs  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "gump-build"  
							 
						 
					
						
							
								
									
										
										
										
											2007-06-10 07:05:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      depends="_gump_properties,clean,install" 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      description="Build JMeter">
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <property  name= "dist.name"  value= "jakarta-jmeter-${jmeter.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 00:26:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  No need to create the archives for Gump
 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-19 02:18:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_pack-binaries" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-libraries" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-source" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 00:26:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    -->
							 
						 
					
						
							
								
									
										
										
										
											2003-12-19 02:18:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Used by project jakarta - jmeter  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "gump-compile"  
							 
						 
					
						
							
								
									
										
										
										
											2007-06-10 07:05:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      depends="_gump_properties,clean,compile" 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      description="Compile JMeter only">
							 
						 
					
						
							
								
									
										
										
										
											2004-01-03 20:19:38 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Used by project jakarta - jmeter - test  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "gump-test"  
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      depends="_gump_properties,compile-tests,_test"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      description="Test JMeter in Gump">
							 
						 
					
						
							
								
									
										
										
										
											2008-05-09 16:11:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Show the log file
 
							 
						 
					
						
							
								
									
										
										
										
											2004-01-08 21:55:04 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <concat > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <filelist  dir= "bin"  files= "jmeter-test.log"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </concat> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-09 16:11:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     -->
							 
						 
					
						
							
								
									
										
										
										
											2007-08-09 06:40:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!-- antcall target="gump - check"/ --> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-19 02:18:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-30 03:54:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<target  name= "gump-check" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									  	<!--  check if /usr and /x1 are the same  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									  	<checksum  file= "/usr/local/gump/public/workspace/jakarta-jmeter-22/lib/jorphan.jar"  property= "usrMD5" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-30 03:54:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									  	<echo > usrMD5 = ${usrMD5}</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									  	<checksum         file= "/x1/gump/public/workspace/jakarta-jmeter-22/lib/jorphan.jar"  property= "x1MD5" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-30 03:54:27 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									  	<echo > x1MD5  = ${x1MD5}</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<!--  Used by project jakarta - jmeter - javadoc  --> 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "gump-javadoc" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      depends="_gump_properties,docs-api"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      description="Create JMeter javadocs">
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <property  name= "dist.name"  value= "jakarta-jmeter-${jmeter.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-19 02:18:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_pack-javadoc" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "_gump_properties" > 
							 
						 
					
						
							
								
									
										
										
										
											2005-03-18 23:27:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <echo  level= "info" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								 Gump properties for this run
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  jmeter.version      = ${jmeter.version}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  gump.run            = ${gump.run}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  date.projectfile    = ${date.projectfile}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  version.projectfile = ${version.projectfile}
							 
						 
					
						
							
								
									
										
										
										
											2005-12-01 08:45:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								 Build file:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  version.build       = ${version.build}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								 Java properties:
							 
						 
					
						
							
								
									
										
										
										
											2004-09-24 05:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  target.java.version = ${target.java.version}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  src.java.version    = ${src.java.version}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  optimize            = ${optimize}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  deprecation         = ${deprecation}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  encoding            = ${encoding}
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </echo> 
							 
						 
					
						
							
								
									
										
										
										
											2005-03-18 23:27:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <echoproperties  prefix= "ant" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <echoproperties  prefix= "gump" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <echoproperties  prefix= "os" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-03-20 20:39:24 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "pack-src"  depends= "init-version" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <property  name= "dist.name"  value= "jakarta-jmeter-${jmeter.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_pack-source" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "pack-dist"  depends= "init-version" > 
							 
						 
					
						
							
								
									
										
										
										
											2004-03-19 08:05:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <property  name= "dist.name"  value= "jakarta-jmeter-${jmeter.version}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_pack-binaries" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-libraries" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-javadoc" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-source" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 09:37:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  As pack - dist but without javadoc  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 19:05:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "pack-nightly"  depends= "init-version" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "dist.name"  value= "jakarta-jmeter-${jmeter.version}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-binaries" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-libraries" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <antcall  target= "_pack-source" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <target  name= "_pack-binaries" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "pack.name"  value= "${dist.name}_bin" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-12 09:42:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <tar  destfile= "${dist.dir}/${pack.name}.tar"  longfile= "gnu" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-01 22:41:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  excludes= "${dist.executables}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 06:37:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.binaries.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  excludes= "${dist.executables}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "dist.binaries.non.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-01 22:41:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  mode= "755"  includes= "${dist.executables}"  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </tar> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <gzip  zipfile= "${dist.dir}/${pack.name}.tgz"  src= "${dist.dir}/${pack.name}.tar"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-04-29 01:13:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  no longer needed  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  file= "${dist.dir}/${pack.name}.tar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <zip   zipfile= "${dist.dir}/${pack.name}.zip" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-01 22:41:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 06:37:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.binaries.native" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "dist.binaries.non.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-12 09:42:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </zip> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   <target  name= "_pack-libraries" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "pack.name"  value= "${dist.name}_lib" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <tar  destfile= "${dist.dir}/${pack.name}.tar"  longfile= "gnu" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "external.jars.notices" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "external.jars" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-12 09:42:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </tar> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <gzip  zipfile= "${dist.dir}/${pack.name}.tgz"  src= "${dist.dir}/${pack.name}.tar"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-04-29 01:13:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  no longer needed  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  file= "${dist.dir}/${pack.name}.tar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <zip   zipfile= "${dist.dir}/${pack.name}.zip" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "external.jars.notices" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <patternset  refid= "external.jars" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
									
										
										
										
											2003-01-09 09:50:02 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </zip> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   <target  name= "_pack-javadoc" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "pack.name"  value= "${dist.name}_api" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-20 20:21:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <tar  destfile= "${dist.dir}/${pack.name}.tar"  longfile= "gnu" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  includes= "${dest.docs.api}"  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </tar> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <gzip  zipfile= "${dist.dir}/${pack.name}.tgz"  src= "${dist.dir}/${pack.name}.tar"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-04-29 01:13:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  no longer needed  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  file= "${dist.dir}/${pack.name}.tar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <zip   zipfile= "${dist.dir}/${pack.name}.zip" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								       <zipfileset  includes= "${dest.docs.api}"  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </zip> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   <target  name= "_pack-source" >    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "pack.name"  value= "${dist.name}_src" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-12 09:42:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <tar  destfile= "${dist.dir}/${pack.name}.tar"  longfile= "gnu" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 20:54:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.sources.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 05:24:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <tarfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.sources.non.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-04 00:08:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </tarfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </tar> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <gzip  zipfile= "${dist.dir}/${pack.name}.tgz"  src= "${dist.dir}/${pack.name}.tar"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-04-29 01:13:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  no longer needed  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<delete  file= "${dist.dir}/${pack.name}.tar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <zip   zipfile= "${dist.dir}/${pack.name}.zip" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-04 00:08:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.sources.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 05:24:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <zipfileset  dir= "."  prefix= "${dist.name}"  defaultexcludes= "yes" > 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-26 03:19:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <patternset  refid= "dist.sources.non.native" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-02-04 00:08:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </zipfileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </zip> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
									
										
										
										
											2006-03-26 07:33:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!--  
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Utility target to create MD5 checksums in standard format (with *filename) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Usage:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<antcall  target= "_md5" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<param  name= "path"  value= "archive.jar|zip|gz" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-->
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <target  name= "_md5"  unless= "md5.skip" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	<echo  message= "Creating MD5 for ${path}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										<basename  property= "_base"  file= "${path}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	    <checksum  file= "${path}"  property= "md5" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	    <echo  message= "${md5} *${_base}"  file= "${path}.md5" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </target> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-05 20:37:26 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  Clean-docs and clean-apidocs can be used to empty the docs or docs/api directories.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  This should be done before regenerating the documents for a release so that any obsolete files are detected.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "clean-docs" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete >  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	<fileset  dir= "${dest.docs}"  excludes= ".svn/** api/**" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </delete> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "clean-apidocs" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <delete >  
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	<fileset  dir= "${dest.docs.api}"  excludes= ".svn/**" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-05 20:37:26 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </delete> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "clean"  description= "Clean up to force a build from source." > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 20:54:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<delete  quiet= "true" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 02:50:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		<fileset  dir= "${dest.jar.jmeter}"  includes= "ApacheJMeter.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-28 20:22:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	    <fileset  dir= "${lib.dir}"  includes= "jorphan.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    <fileset  dir= "${lib.dir}"  includes= "bshclient.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 20:54:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	    <fileset  dir= "${dest.jar}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    <fileset  dir= "${build.dir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    <fileset  dir= "${dest.printable_docs}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    <fileset  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    <fileset  dir= "${site.dir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</delete> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-12 09:42:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-02-03 01:14:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "clean-dist"  description= "Clean up dist directory." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<delete  quiet= "true" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	    <fileset  dir= "${dist.dir}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</delete> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "docs-api"  description= "Generate the API documentation." > 
							 
						 
					
						
							
								
									
										
										
										
											2004-02-15 03:59:49 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<tstamp > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	  <!--  Used to ensure end - year is up to date  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <format  property= "THISYEAR"  pattern= "yyyy" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </tstamp> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <mkdir  dir= "${dest.docs.api}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<delete  quiet= "true" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<fileset  dir= "${dest.docs.api}"  includes= "**/*.html" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</delete> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo  level= "info" > Updating overview to ${docversion}</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<replaceregexp  match= "version [\d.]+"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		         replace="version ${docversion}" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		         flags="g" byline="true">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	   <fileset  dir= "${src.docs}"  includes= "overview.html"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</replaceregexp> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <javadoc  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      sourcepathref="srcpaths" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      overview="${src.docs}/overview.html"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      additionalparam="-breakiterator" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      destdir="${dest.docs.api}" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      protected="yes" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      version="yes" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      doctitle="Apache JMeter API" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      windowtitle="Apache JMeter API" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      header="< b> Apache JMeter< /b> " 
							 
						 
					
						
							
								
									
										
										
										
											2008-01-04 08:18:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      bottom="Copyright & #xA9; 1998-${THISYEAR} Apache Software Foundation. All Rights Reserved."
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      packagenames="org.apache.jmeter.*,org.apache.jorphan.*"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      excludepackagenames="org.apache.jorphan.timer">
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <classpath  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <link  href= "http://java.sun.com/j2se/1.4.2/docs/api/" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </javadoc> 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Remove date/time from generated output (else messes up versioning)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo  level= "info" > Removing javadoc timestamps</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:21:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<replaceregexp  match= "!-- Generated by javadoc .*--"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		         replace="!-- Generated by javadoc --" 
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 21:05:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		         flags="g" byline="true">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	   <fileset  dir= "${dest.docs.api}"  includes= "**/*.html"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</replaceregexp> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-27 07:15:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Javadoc on Windows creates mixed line endings  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo  level= "info" > Fixing Javadoc line endings</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <fixcrlf  srcdir= "${dest.docs.api}"  includes= "**/*.html"  fixlast= "false" /> 
							 
						 
					
						
							
								
									
										
										
										
											2001-11-01 01:32:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2001-06-17 23:21:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2004-02-15 03:59:49 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!-- 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									Run Doccheck: See http://java.sun.com/j2se/javadoc/doccheck/docs/DocCheck.html
							 
						 
					
						
							
								
									
										
										
										
											2008-05-23 20:55:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									and http://java.sun.com/j2se/javadoc/doccheck/
							 
						 
					
						
							
								
									
										
										
										
											2004-02-15 03:59:49 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									Download the doclet, and put the jar in lib/opt.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									Output is in reports/ directory
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								<target  name= "docs-check" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <javadoc  sourcepathref= "srcpaths" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    destdir="reports" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    docletpath="${lib.opt}/doccheck.jar"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    packagenames="org.apache.jmeter.*,org.apache.jorphan.*"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    excludepackagenames="org.apache.jmeter.util.keystore,org.apache.jorphan.timer">
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath  refid= "classpath" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <doclet  name= "com.sun.tools.doclets.doccheck.DocCheck" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      	<!--  
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      		-execDepth: 1=org.* 2=org.apache.* 3+=org.apache.jmeter.*
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      		-evident does not seem to work
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      	 -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      	<param  name= "-execDepth"  value= "3" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      	<param  name= "-evident"  value= "4" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </doclet> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </javadoc> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								</target>  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "docs-site"  depends= "init-docs"  if= "AnakiaTask.present"  description= "Generate browsable HTML documentation in web-site format." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <taskdef  name= "anakia"  classpathref= "anakia.classpath"  classname= "org.apache.velocity.anakia.AnakiaTask" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 05:41:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  The extending pages are rather out of date (and not linked from elsewhere)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <anakia  basedir= "${src.docs}"  destdir= "${dest.docs}/"  extension= ".html"  style= "${eclipse.anakia}/xdocs/stylesheets/site.vsl"  projectFile= "./stylesheets/project.xml"  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	excludes="**/stylesheets/** extending.xml extending/*.xml" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	includes="**/*.xml" lastModifiedCheck="true" velocityPropertiesFile="${src.docs}/velocity.properties"/>
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <copy  todir= "${dest.docs}/images" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.images}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <copy  todir= "${dest.docs}/demos" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.demos}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-09-28 00:14:49 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<copy  todir= "${dest.docs}/usermanual" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	  <fileset  file= "${src.docs}/usermanual/*.pdf" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 05:41:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<copy  todir= "${dest.docs}/extending" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	  <fileset  file= "${src.docs}/extending/jmeter_tutorial.pdf" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "docs-printable"  depends= "init-docs"  if= "AnakiaTask.present"  description= "Generate printable HTML documentation." > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <taskdef  name= "anakia"  classpathref= "anakia.classpath"  classname= "org.apache.velocity.anakia.AnakiaTask" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 05:41:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<!--  The extending pages are rather out of date (and not linked from elsewhere)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <anakia  basedir= "${src.docs}"  destdir= "${dest.printable_docs}/"  extension= ".html"  style= "${eclipse.anakia}/xdocs/stylesheets/site_printable.vsl"  projectFile= "./stylesheets/printable_project.xml" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	excludes="**/stylesheets/** extending.xml extending/*.xml" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	includes="**/*.xml" lastModifiedCheck="true" velocityPropertiesFile="${src.docs}/velocity.properties"/>
							 
						 
					
						
							
								
									
										
										
										
											2008-05-31 06:24:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<fixcrlf  srcdir= "${dest.printable_docs}/"  includes= "**/*.html"  fixlast= "false" /> 
							 
						 
					
						
							
								
									
										
										
										
											2004-10-06 22:43:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!-- 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Share images with non-printable version
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Means printable version won't work on web-site
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <copy  todir= "${dest.docs}/images" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-18 12:40:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <fileset  dir= "${src.images}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <copy  todir= "${dest.printable_docs}/demos" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "${src.demos}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-10-12 09:42:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
									
										
										
										
											2006-03-29 07:35:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <copy  todir= "${dest.printable_docs}/usermanual" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <fileset  file= "${src.docs}/usermanual/*.pdf" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 05:41:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<copy  todir= "${dest.printable_docs}/extending" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	  <fileset  file= "${src.docs}/extending/jmeter_tutorial.pdf" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-03-29 07:35:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </copy> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-11-08 04:19:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "test"  depends= "compile-tests,_test,batchtest,batchtestserver"  
							 
						 
					
						
							
								
									
										
										
										
											2007-07-09 08:47:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	description="Run tests (use -Djava.awt.headless=true on systems without graphic displays)"/>
							 
						 
					
						
							
								
									
										
										
										
											2003-12-03 20:40:31 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "test-both"  depends= "test-headless,test-headed" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-07-10 08:42:43 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "test-headless"  depends= "compile-tests" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_test" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <param  name= "test.headless"  value= "true" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-07-10 08:42:43 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "test-headed"  depends= "compile-tests" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <antcall  target= "_test" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <param  name= "test.headless"  value= "false" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "batchtestserver"  description= "Run the batch test using client-server mode" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:31:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<property  name= "batchtestserver.out"  location= "${basedir}/bin" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<property  name= "batchtestserver.log"  value= "BatchTestServer.log" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<parallel > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<daemons > 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:31:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		    <java  classname= "org.apache.jmeter.NewDriver"  fork= "yes"  dir= "${batchtestserver.out}" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		       <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		     	<fileset  dir= "${dest.jar.jmeter}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		     	<fileset  dir= "${dest.jar}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		     	<path  refid= "classpath" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		       </classpath> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		       <sysproperty  key= "java.awt.headless"  value= "true" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:31:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		        <arg  value= "-ptestfiles/jmeter-batch.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		        <arg  value= "-j" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:31:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		        <arg  value= "${batchtestserver.out}/${batchtestserver.log}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   		        <arg  value= "-s" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		    	<arg  value= "-Jserver.exitaftertest=true" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		     </java> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								 		</daemons> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<sequential > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	  		<sleep  seconds= "1" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  			<antcall  target= "batchtest" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  				<param  name= "remote"  value= "-Rlocalhost" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  			</antcall> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		</sequential> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</parallel> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:31:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    <!--  Show the log file  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <concat > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <filelist  dir= "${batchtestserver.out}"  files= "${batchtestserver.log}"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </concat> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<condition  property= "BatchTestLocalServer.len" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<length  file= "${batchtestserver.out}/${batchtestserver.log}"  when= "equal"  length= "0"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<fail  unless= "BatchTestLocalServer.len" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		Error detected in server log file. See above.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</fail> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	<delete > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								 	    <fileset  dir= "${batchtestserver.out}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								             <include  name= "${batchtestserver.log}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								 	    </fileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     </delete> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "batchtest"  description= "Run the batch test and compare output files" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-01-27 08:47:16 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									<property  name= "remote"  value= "-X" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<property  name= "batchtest.inp"  location= "${basedir}/bin/testfiles" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<property  name= "batchtest.out"  location= "${basedir}/bin" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <property  name= "batchtest.name"  value= "BatchTestLocal" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-05-22 02:29:02 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<!--  Fix the EOL in case the file was derived from the "wrong" archive type  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <fixcrlf  srcdir= "${batchtest.inp}"  includes= "${batchtest.name}.csv" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-11-08 04:19:05 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<echo  level= "info"  message= "Starting ${batchtest.name} using ${remote}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<macrodef  name= "deleteworkfiles" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	    <sequential > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	   	<delete > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	 	    <fileset  dir= "${batchtest.out}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	             <include  name= "${batchtest.name}.csv" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	             <include  name= "${batchtest.name}.xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-18 03:24:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	             <include  name= "${batchtest.name}.log" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   	 	    </fileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	     </delete> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	   	</sequential> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</macrodef> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<macrodef  name= "checkfile" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	   <attribute  name= "type"  default= "" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	   <attribute  name= "file" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	   <sequential > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	      <!-- echo>Looking for @{file}</echo --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		 <available  property= "found"  file= "@{file}" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	  	 <fail  message= "Cannot find @{type} file @{file}"  unless= "found" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	   </sequential> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</macrodef> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<checkfile  type= "input"  file= "${batchtest.inp}/${batchtest.name}.csv" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <checkfile  type= "input"  file= "${batchtest.inp}/${batchtest.name}.xml" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<deleteworkfiles /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <java  classname= "org.apache.jmeter.NewDriver"  fork= "yes"  dir= "${basedir}/bin" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     	<fileset  dir= "${dest.jar.jmeter}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     	<fileset  dir= "${dest.jar}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     	<path  refid= "classpath" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       </classpath> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-10 20:43:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	<!--  Detect if non - GUI runs OK headless by forcing it to try using non - headless mode  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								       <sysproperty  key= "java.awt.headless"  value= "false" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-09-28 03:27:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <arg  value= "-ptestfiles/jmeter-batch.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:56:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <arg  value= "-n" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <arg  value= "-ttestfiles/${batchtest.name}.jmx" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-18 03:24:45 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <arg  value= "-j" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <arg  value= "${batchtest.name}.log" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-17 04:20:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <arg  value= "${remote}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-08 02:56:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	<!--  Check properties can be passed to local/remote tests  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-07 22:56:11 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <arg  value= "-Jmodule=Module" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <arg  value= "-Gmodule=Module" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-08 02:56:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	<!--  Check property can be used for filenames in local/remote tests (no need to defined as  - G)  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    	<arg  value= "-JCSVFILE=${batchtest.name}.csv" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								     </java> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<checkfile  type= "output"  file= "${batchtest.out}/${batchtest.name}.csv" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <checkfile  type= "output"  file= "${batchtest.out}/${batchtest.name}.xml" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	 <condition  property= "BatchTestLocal.OK" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	 	<and > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	 	    <filesmatch  file1= "${batchtest.inp}/${batchtest.name}.csv"  file2= "${batchtest.out}/${batchtest.name}.csv" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	 	    <filesmatch  file1= "${batchtest.inp}/${batchtest.name}.xml"  file2= "${batchtest.out}/${batchtest.name}.xml" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	 	</and> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     </condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<fail  unless= "BatchTestLocal.OK" > 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-10 21:49:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  		Files are not identical.
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	</fail> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<echo  level= "info" > ${batchtest.name} output files compared OK</echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-10 21:49:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <!--  Show the log file  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <concat > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <filelist  dir= "${batchtest.out}"  files= "${batchtest.name}.log"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </concat> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<condition  property= "BatchTestLocal.len" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		<length  file= "${batchtest.out}/${batchtest.name}.log"  when= "equal"  length= "0"  /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	<fail  unless= "BatchTestLocal.len" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  		Error detected in log file. See above.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	</fail> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  	<deleteworkfiles /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  	
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 20:54:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <available  classname= "bsh.Interpreter"  classpathref= "classpath"  property= "beanshell.present" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "_beanshell_message"  unless= "beanshell.present" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									<echo > BeanShell Interpreter is not present, some tests will be skipped</echo> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										
							 
						 
					
						
							
								
									
										
										
										
											2007-03-03 22:52:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <!--  Generic test target, not intended to be called directly  --> 
							 
						 
					
						
							
								
									
										
										
										
											2007-11-27 20:54:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <target  name= "_test"  depends= "_beanshell_message" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <!--  
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   The property java.awt.headless is not automatically passed on,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   because the tests are run in a separate JVM from the build.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   It is assumed that Gump sets java.awt.headless if required.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   Set test.headless from the java.awt property, if that
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   is defined, otherwise it us set to "".
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   N.B. if test.headless is already set, it will not be changed
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   This allows the property to be over-ridden by test-headless etc.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   -->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <condition  property= "test.headless"  value= "${java.awt.headless}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <isset  property= "java.awt.headless" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     <!--  make sure test.headless is set to something  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     <condition  property= "test.headless"  value= "" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <not > <isset  property= "java.awt.headless" /> </not> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     </condition> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   
							 
						 
					
						
							
								
									
										
										
										
											2005-12-02 20:30:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <!--  set build.test.gump to build.test if not already set  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <condition  property= "build.test.gump"  value= "${build.test}" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <not > <isset  property= "build.test.gump" /> </not> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </condition> 
							 
						 
					
						
							
								
									
										
										
										
											2007-08-14 00:26:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <echo  level= "info" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-03 20:13:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   gump.run = ${gump.run}
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   java.awt.headless = ${java.awt.headless}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   test.headless = ${test.headless}
							 
						 
					
						
							
								
									
										
										
										
											2004-03-13 22:45:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   user.dir = ${user.dir}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   basedir = ${basedir}
							 
						 
					
						
							
								
									
										
										
										
											2005-09-04 08:05:25 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   test dir = ${build.test}
							 
						 
					
						
							
								
									
										
										
										
											2005-12-02 20:30:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   test dir gump = ${build.test.gump}
							 
						 
					
						
							
								
									
										
										
										
											2005-07-09 08:03:19 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   testsaveservice.saveout = ${testsaveservice.saveout}
							 
						 
					
						
							
								
									
										
										
										
											2003-12-03 20:13:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   </echo> 
							 
						 
					
						
							
								
									
										
										
										
											2007-06-23 08:55:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <delete  quiet= "true" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   	  <fileset  dir= "${basedir}/bin/testfiles"  includes= "*.jmx.out" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   </delete> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-03 09:06:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   <java  classname= "org.apache.jorphan.test.AllTests"  fork= "yes"  dir= "${basedir}/bin" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	<fileset  dir= "${dest.jar}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2006-05-25 09:08:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <pathelement  location= "${build.test}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    	<path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-03 09:06:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-24 21:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								   	  <jvmarg  value= "-server" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sysproperty  key= "java.awt.headless"  value= "${test.headless}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-07-09 08:03:19 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <sysproperty  key= "testsaveservice.saveout"  value= "${testsaveservice.saveout}"  /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-14 23:37:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <arg  value= "${build.test}" /> 
							 
						 
					
						
							
								
									
										
										
										
											2007-10-07 07:57:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <arg  value= "${basedir}/bin/testfiles/jmetertest.properties" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-03 09:06:06 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <arg  value= "org.apache.jmeter.util.JMeterUtils" /> 
							 
						 
					
						
							
								
									
										
										
										
											2002-12-30 01:01:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    </java> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-06 03:42:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-12-07 04:40:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								<!-- 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    In order to run JUnit, both junit.jar and optional.jar need to be on the Ant classpath
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    optional.jar is normally found in ANT_HOME/lib
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-->
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "junit"   description= "Run individual JUnit test" > 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-15 09:09:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <mkdir  dir= "reports" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-17 22:07:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "test.format"  value= "brief" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-15 09:09:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <property  name= "test.case1"  value= "org.apache.jmeter.junit.JMeterTest" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <property  name= "test.case"  value= "org.apache.jorphan.test.AllTests" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-07 04:40:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <junit  fork= "true" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   dir="${basedir}/bin"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   showoutput="true"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								   printsummary="withOutAndErr">
							 
						 
					
						
							
								
									
										
										
										
											2003-12-17 22:07:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <formatter  type= "${test.format}"  usefile= "no" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-15 09:09:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <formatter  type= "xml" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-07 04:40:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      <classpath > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <fileset  dir= "${dest.jar}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2008-05-30 09:42:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <fileset  dir= "${lib.opt}"  includes= "*.jar" /> 
							 
						 
					
						
							
								
									
										
										
										
											2005-11-22 01:31:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        <path  refid= "classpath" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-07 04:40:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								      </classpath> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-15 09:09:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <test  name= "${test.case}"  todir= "reports" /> 
							 
						 
					
						
							
								
									
										
										
										
											2003-12-07 04:40:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  </junit> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2003-12-15 09:09:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <!--  Utility target to collate reports  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <target  name= "junitreport" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <mkdir  dir= "reports" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <junitreport  todir= "reports" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <fileset  dir= "reports" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <include  name= "TEST-*.xml" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </fileset> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <report  format= "frames"  todir= "reports" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </junitreport> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
									
										
										
										
											2007-03-05 06:27:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-06-01 01:08:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  <target  name= "svnCheck"  description= "Use SVN to get the current revision" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <exec  executable= "svn"   resultproperty= "svn.exec.result"  errorproperty= "svn.exec.error"  failifexecutionfails= "false" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <arg  line= "info" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      <redirector  outputproperty= "svn.revision" > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        <outputfilterchain > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          <linecontains > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            <contains  value= "Last Changed Rev: " /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          </linecontains> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          <tokenfilter > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            <!--  Remove all but the revision number  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            <replaceregex  pattern= ".*: "  replace= "" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								          </tokenfilter> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        </outputfilterchain> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      </redirector> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </exec> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    <echoproperties  prefix= "svn" /> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  </target> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								</project>