Updated build.properties
This commit is contained in:
parent
8401cc0d6f
commit
830eef4fef
3 changed files with 28 additions and 9 deletions
|
@ -2,10 +2,10 @@
|
|||
catalina.home=/usr/local/tomcat8080
|
||||
catalina.base=/usr/local/tomcat2020
|
||||
url=http://localhost:2020/manager
|
||||
username=travis
|
||||
password=bavis
|
||||
username=
|
||||
password=
|
||||
|
||||
#These properties need to be set to run the unit tests. They are your login to the dictionary
|
||||
lex.username=travis
|
||||
lex.password=bavis
|
||||
jmeter.home=/Users/travis/webapps/jmeter
|
||||
lex.username=
|
||||
lex.password=
|
||||
jmeterhome=/Users/travis/webapps/jmeter
|
||||
|
|
24
build.xml
24
build.xml
|
@ -13,8 +13,8 @@
|
|||
<!-- Configure the context path for this application -->
|
||||
<property name="path" value="/lex"/>
|
||||
|
||||
<property file="${user.home}/.${ant.project.name}-build.properties"/>
|
||||
<property file="${user.home}/.build.properties"/>
|
||||
<!-- <property file="${user.home}/.${ant.project.name}-build.properties"/>
|
||||
<property file="${user.home}/.build.properties"/> -->
|
||||
<property file="build.properties"/>
|
||||
|
||||
<!-- Configure the custom Ant tasks for the Manager application
|
||||
|
@ -182,6 +182,26 @@
|
|||
<antcall target="test"/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="jmeter">
|
||||
<taskdef name="jmeter" classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/>
|
||||
<echo message="${jmeterhome}"/>
|
||||
<jmeter
|
||||
jmeterhome="../jmeter"
|
||||
testplan="${basedir}/loadtests/LoadTest.jmx"
|
||||
resultlog="${basedir}/loadtests/JMeterResults.jtl"/>
|
||||
|
||||
<!--
|
||||
For the following task to work, jmeter.properties needs to have the following properties set thusly:
|
||||
jmeter.save.saveservice.assertion_results=all
|
||||
jmeter.save.saveservice.output_format=xml
|
||||
-->
|
||||
<xslt
|
||||
in="${basedir}/loadtests/JMeterResults.jtl"
|
||||
out="${basedir}/loadtests/JMeterResults.html"
|
||||
style="${jmeterhome}/extras/jmeter-results-report.xsl"/>
|
||||
</target>
|
||||
|
||||
<target name="hbm2java" description="generate source code">
|
||||
<tstamp prefix="now"/>
|
||||
<echo message="time is: ${now.DSTAMP}_${now.TSTAMP}"/>
|
||||
|
|
|
@ -34,4 +34,3 @@ log4j.logger.net.sf.hibernate.type=info
|
|||
### log prepared statement cache activity ###
|
||||
log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=info
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue