Moved Context config xml file location out of build.xml into build.properties
This commit is contained in:
parent
e62b68a996
commit
562f1927e1
2 changed files with 4 additions and 4 deletions
|
@ -11,6 +11,9 @@ url=http://localhost:2020/manager
|
|||
username=
|
||||
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
|
||||
lex.username=
|
||||
lex.password=
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
<!-- Configure the directory containing the source files -->
|
||||
<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 -->
|
||||
<property name="path" value="/lex"/>
|
||||
|
@ -145,7 +142,7 @@
|
|||
</target>
|
||||
|
||||
<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 name="move-log" description="move old log file">
|
||||
|
|
Loading…
Reference in a new issue