This commit is contained in:
Darwin G. Flores 2006-03-16 05:41:06 +00:00
parent 38f7b126d6
commit 4b1af8e029
2 changed files with 244 additions and 55 deletions

View File

@ -14,7 +14,19 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<project default="jar:jar" xmlns:ant="jelly:ant">
<project default="jar:jar"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:ant="jelly:ant"
xmlns:util="jelly:util"
xmlns:artifact="artifact"
>
<goal name="rebuild">
<attainGoal name="clean"/>
<attainGoal name="default"/>
</goal>
<postGoal name="jar:jar">
<move file="target\${maven.final.name}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
@ -46,63 +58,52 @@
<copy file="resource\logkit.xml" todir="${jmeter.home}\bin" overwrite="true"/>
<copy file="resource\users.xml" todir="${jmeter.home}\bin" overwrite="true"/>
<!-- jmeter lib\ext jars-->
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_tcp-${ApacheJMeter_tcp_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_monitors-${ApacheJMeter_monitors_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_mail-${ApacheJMeter_mail_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_ldap-${ApacheJMeter_ldap_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_jms-${ApacheJMeter_jms_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_jdbc-${ApacheJMeter_jdbc_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_java-${ApacheJMeter_java_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_http-${ApacheJMeter_http_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_functions-${ApacheJMeter_functions_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_ftp-${ApacheJMeter_ftp_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_core-${ApacheJMeter_core_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter_components-${ApacheJMeter_components_version}.jar" todir="${jmeter.home}\lib\ext" overwrite="true"/>
<copy file="${maven.repo.local}\jmeter\jars\ApacheJMeter-1.0.jar" todir="${jmeter.home}\bin" overwrite="true"/>
<move file="${jmeter.home}\bin\ApacheJMeter-${ApacheJMeter_version}.jar" tofile="${jmeter.home}\bin\ApacheJMeter.jar"/>
<!-- jmeter lib jars and files -->
<copy file="resource\js_jar_license(mozilla).html" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="resource\junit_license.html" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\activemq\jars\activemq-${pom.currentVersion}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\avalon-framework\jars\avalon-framework-${avalon_framework_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\batik\jars\batik-awt-util-${batik_awt_util_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\commons-collections\jars\commons-collections-${commons_collections_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\commons-httpclient\jars\commons-httpclient-${commons_httpclient_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\commons-logging\jars\commons-logging-${commons_logging_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\concurrent\jars\concurrent-${concurrent_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\excalibur-datasource\jars\excalibur-datasource-${excalibur_datasource_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\excalibur-instrument\jars\excalibur-instrument-${excalibur_instrument_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\excalibur-logger\jars\excalibur-logger-${excalibur_logger_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\excalibur-pool\jars\excalibur-pool-${excalibur_pool_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\geronimo-spec\jars\geronimo-spec-j2ee-${geronimo_spec_j2ee_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\htmlparser\jars\htmlparser-${htmlparser_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\oro\jars\jakarta-oro-${jakarta_oro_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\jdom\jars\jdom-${jdom_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\jorphan\jars\jorphan-${jorphan_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\js\jars\js-${js_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\junit\jars\junit-${junit_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\logkit\jars\logkit-${logkit_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\soap\jars\soap-${soap_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\tidy\jars\Tidy-${Tidy_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\velocity\jars\velocity-${velocity_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\xalan\jars\xalan-${xalan_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\xerces\jars\xercesImpl-${xercesImpl_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\xml-apis\jars\xml-apis-${xml_apis_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\xpp3\jars\xpp3_min-${xpp3_min_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\xstream\jars\xstream-${xstream_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\manta\jars\manta-${manta_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\log4j\jars\log4j-${log4j_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\mx4j\jars\mx4j-${mx4j_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="${maven.repo.local}\antlr\jars\antlr-${antlr_version}.jar" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="resource\jar_usage.txt" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="resource\LICENSE(jdom).txt" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="resource\LICENSE(jtidy).txt" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="resource\LICENSE(XPP3).txt" todir="${jmeter.home}\lib" overwrite="true"/>
<copy file="resource\LICENSE(XStream).txt" todir="${jmeter.home}\lib" overwrite="true"/>
<j:set var="binDir" value="${jmeter.home}/bin"/>
<j:set var="libDir" value="${jmeter.home}/lib"/>
<j:set var="extDir" value="${jmeter.home}/lib/ext"/>
<ant:mkdir dir="${libDir}"/>
<ant:mkdir dir="${extDir}"/>
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<echo>${artifact.path}</echo>
<j:if test="${dependency.getProperty('bin') == 'true'}">
<ant:copy todir="${binDir}" file="${artifact.path}"/>
<j:if test="${dependency.extension == 'jar'}">
<j:set var="classpath" value="${classpath} ../bin/${artifact.name}"/>
</j:if>
</j:if>
</j:forEach>
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<echo>${artifact.path}</echo>
<j:if test="${dependency.getProperty('lib') == 'true'}">
<ant:copy todir="${libDir}" file="${artifact.path}"/>
<j:if test="${dependency.extension == 'jar'}">
<j:set var="classpath" value="${classpath} ../lib/${artifact.name}"/>
</j:if>
</j:if>
</j:forEach>
<j:forEach var="artifact" items="${pom.artifacts}">
<j:set var="dependency" value="${artifact.dependency}"/>
<echo>${artifact.path}</echo>
<j:if test="${dependency.getProperty('ext') == 'true'}">
<ant:copy todir="${extDir}" file="${artifact.path}"/>
<j:if test="${dependency.extension == 'jar'}">
<j:set var="classpath" value="${classpath} ../lib/ext/${artifact.name}"/>
</j:if>
</j:if>
</j:forEach>
<ant:zip zipfile="${jmeter.home}\..\${activemq.jmeter.distribution.name}-${pom.currentVersion}.zip" basedir="${jmeter.home}\"></ant:zip>
</postGoal>

View File

@ -20,28 +20,36 @@
<name>ActiveMQ :: Jmeter</name>
<id>JMeter_sampler</id>
<shortDescription>ActiveMQ Assembly</shortDescription>
<shortDescription>ActiveMQ JMeter</shortDescription>
<description>ActiveMQ Jmeter creates an ActiveMQ sampler for Jmeter</description>
<package>org.apache.activemq</package>
<!-- <package>org.apache.activemq</package>
<build>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
</build>
-->
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>activemq-core</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>jorphan</groupId>
<artifactId>jorphan</artifactId>
<version>${jorphan_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<!-- an optional discovery agent -->
@ -49,6 +57,10 @@
<groupId>activeio</groupId>
<artifactId>activeio</artifactId>
<version>${activeio_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<!-- Derby SQL DB used for testing JDBC message store -->
@ -56,6 +68,10 @@
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<!-- jmeter specific jars -->
@ -63,78 +79,130 @@
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_components</artifactId>
<version>${ApacheJMeter_components_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_core</artifactId>
<version>${ApacheJMeter_core_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_ftp</artifactId>
<version>${ApacheJMeter_ftp_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_functions</artifactId>
<version>${ApacheJMeter_functions_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_http</artifactId>
<version>${ApacheJMeter_http_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_java</artifactId>
<version>${ApacheJMeter_java_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_jdbc</artifactId>
<version>${ApacheJMeter_jdbc_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_jms</artifactId>
<version>${ApacheJMeter_jms_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_ldap</artifactId>
<version>${ApacheJMeter_ldap_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_mail</artifactId>
<version>${ApacheJMeter_mail_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_monitors</artifactId>
<version>${ApacheJMeter_monitors_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter_tcp</artifactId>
<version>${ApacheJMeter_tcp_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<ext>true</ext>
</properties>
</dependency>
<dependency>
<groupId>jmeter</groupId>
<artifactId>ApacheJMeter</artifactId>
<version>${ApacheJMeter_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<bin>true</bin>
</properties>
</dependency>
<dependency>
@ -147,174 +215,294 @@
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework</artifactId>
<version>${avalon_framework_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>batik</groupId>
<artifactId>batik-awt-util</artifactId>
<version>${batik_awt_util_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons_collections_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>${commons_httpclient_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons_logging_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>concurrent</groupId>
<artifactId>concurrent</artifactId>
<version>${concurrent_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>excalibur-datasource</groupId>
<artifactId>excalibur-datasource</artifactId>
<version>${excalibur_datasource_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>excalibur-instrument</groupId>
<artifactId>excalibur-instrument</artifactId>
<version>${excalibur_instrument_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>excalibur-logger</groupId>
<artifactId>excalibur-logger</artifactId>
<version>${excalibur_logger_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>excalibur-pool</groupId>
<artifactId>excalibur-pool</artifactId>
<version>${excalibur_pool_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee</artifactId>
<version>${geronimo_spec_j2ee_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>htmlparser</groupId>
<artifactId>htmlparser</artifactId>
<version>${htmlparser_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>${jakarta_oro_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>${jdom_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>js</groupId>
<artifactId>js</artifactId>
<version>${js_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>logkit</groupId>
<artifactId>logkit</artifactId>
<version>${logkit_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>soap</groupId>
<artifactId>soap</artifactId>
<version>${soap_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>tidy</groupId>
<artifactId>Tidy</artifactId>
<version>${Tidy_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
<version>${velocity_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>${xalan_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xercesImpl_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>${xml_apis_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3_min</artifactId>
<version>${xpp3_min_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>xstream</groupId>
<artifactId>xstream</artifactId>
<version>${xstream_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>mx4j</groupId>
<artifactId>mx4j</artifactId>
<version>${mx4j_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>${antlr_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
<dependency>
<groupId>manta</groupId>
<artifactId>manta</artifactId>
<version>${manta_version}</version>
<properties>
<jmeter.module>true</jmeter.module>
<lib>true</lib>
</properties>
</dependency>
</dependencies>