Pulled configurable properties out of build.xml and into build.properties
This commit is contained in:
parent
496c7eb436
commit
10cd2493ed
3 changed files with 19 additions and 16 deletions
8
build.properties
Normal file
8
build.properties
Normal file
|
@ -0,0 +1,8 @@
|
|||
#Configure properties to access the Manager application user/pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with manager role.
|
||||
url=http://localhost:2020/manager
|
||||
username=
|
||||
password=
|
||||
|
||||
#These properties need to be set to run the unit tests. They are your login to the dictionary
|
||||
lex.username=
|
||||
lex.password=
|
17
build.xml
17
build.xml
|
@ -13,17 +13,9 @@
|
|||
<!-- Configure the context path for this application -->
|
||||
<property name="path" value="/lex"/>
|
||||
|
||||
<!-- Configure the path to $CATALINA_HOME for this application
|
||||
This is used in the classpath to bring in servlet.jar and the jdbc-driver
|
||||
-->
|
||||
<property name="catalina.home" value="/usr/local/tomcat8080"/>
|
||||
<property name="catalina.base" value="/usr/local/tomcat2020"/>
|
||||
|
||||
<!-- Configure properties to access the Manager application
|
||||
user /pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with manager role.-->
|
||||
<property name="url" value="http://localhost:2020/manager"/>
|
||||
<property name="username" value="travis"/>
|
||||
<property name="password" value="bavis"/>
|
||||
<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
|
||||
These tasks require catalina-ant.jar in $ANT_HOME/lib-->
|
||||
|
@ -112,6 +104,9 @@
|
|||
<fileset dir="${basedir}/lib/thdl">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${basedir}/lib/jwebunit">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
</target>
|
||||
|
|
|
@ -16,9 +16,9 @@ Please login to use the THDL Tibetan Collaborative Dictionaries
|
|||
|
||||
<form action='/lex/login' method="post">
|
||||
<p>
|
||||
Username: <c:out value="<input type='text' name='username' size='16' value='${ usernameValue }'>" escapeXml="false" />
|
||||
Username: <c:out value="<input type='text' id='username' size='16' value='${ usernameValue }'>" escapeXml="false" />
|
||||
<br />
|
||||
Password: <input type='password' name='password' size='20' value=''>
|
||||
Password: <input type='password' id='password' size='20' value=''>
|
||||
<br />
|
||||
<input type='submit' value='Log in'>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue