Moved Context config xml file location out of build.xml into build.properties

This commit is contained in:
travismccauley 2003-12-23 06:52:23 +00:00
parent e62b68a996
commit 562f1927e1
2 changed files with 4 additions and 4 deletions

View file

@ -11,6 +11,9 @@ url=http://localhost:2020/manager
username= username=
password= password=
#provide location of working copy of lex-context-config.xml
lex.context.config=lex-context-config-working.xml
#These properties need to be set to run the unit tests. They are your login to the dictionary #These properties need to be set to run the unit tests. They are your login to the dictionary
lex.username= lex.username=
lex.password= lex.password=

View file

@ -6,9 +6,6 @@
<!-- Configure the directory containing the source files --> <!-- Configure the directory containing the source files -->
<property name="source" value="${basedir}/src"/> <property name="source" value="${basedir}/src"/>
<!-- Configure the directory containing the config files
This files from this directory should not go in the CVS hierarchy. -->
<property name="config" value="${basedir}/lcl-cfg"/>
<!-- Configure the context path for this application --> <!-- Configure the context path for this application -->
<property name="path" value="/lex"/> <property name="path" value="/lex"/>
@ -145,7 +142,7 @@
</target> </target>
<target name="install" description="Install web application" depends="compile, move-log"> <target name="install" description="Install web application" depends="compile, move-log">
<install url="${url}" username="${username}" password="${password}" path="${path}" config="file://${config}/lex-context-config.xml" war="file://${build}"/> <install url="${url}" username="${username}" password="${password}" path="${path}" config="file://${basedir}/${lex.context.config}" war="file://${build}"/>
</target> </target>
<target name="move-log" description="move old log file"> <target name="move-log" description="move old log file">