Modified build.xml to use jars in CATALINA_HOME/common/lib in classpath. Also added a primitive Readme. If you follow the steps in the readme, the application now runs from a sandbox copy.
This commit is contained in:
parent
cb6096b20d
commit
82e7ccad5f
2 changed files with 20 additions and 0 deletions
10
Readme.txt
Normal file
10
Readme.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
The THDL Tibetan Collaborative Dictionary requires the following:
|
||||||
|
|
||||||
|
1. ThdlUser module needs to be compiled into the Dictionary build directory. If Dictionary and ThdlUser are checked out to the same directory, the ThdlUser build file will automatically compile to the default build directory inside Dictionary.
|
||||||
|
|
||||||
|
2. A recent version of Tomcat must be installed and the tomcat user/pass combo specified in the build file must be present in the tomcat-users.xml file with the role of manager.
|
||||||
|
|
||||||
|
3. The MySQL databases Lex and ThdlUsers should be running locally with select, insert, update and delete privileges for the user specified in the lex-context-config.xml file.
|
||||||
|
|
||||||
|
To get a copy of the database, contact Travis McCauley ( travis.mccauley@alumni.virginia.edu ).
|
||||||
|
|
10
build.xml
10
build.xml
|
@ -15,6 +15,11 @@
|
||||||
<!-- Configure the context path for this application -->
|
<!-- Configure the context path for this application -->
|
||||||
<property name="path" value="/lex"/>
|
<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"/>
|
||||||
|
|
||||||
<!-- Configure properties to access the Manager application
|
<!-- Configure properties to access the Manager application
|
||||||
user /pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with managaer role.-->
|
user /pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with managaer role.-->
|
||||||
<property name="url" value="http://localhost:2020/manager"/>
|
<property name="url" value="http://localhost:2020/manager"/>
|
||||||
|
@ -40,6 +45,11 @@
|
||||||
<include name="**/*.jar"/>
|
<include name="**/*.jar"/>
|
||||||
<include name="compiletime/lib/javax.servlet.jar"/>
|
<include name="compiletime/lib/javax.servlet.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<fileset dir="${catalina.home}/common/lib">
|
||||||
|
<include name="servlet.jar"/>
|
||||||
|
<include name="mysql-connector-java-3.0.8-stable-bin.jar"/>
|
||||||
|
</fileset>
|
||||||
|
<!--point to org/thdl/thdl/users-->
|
||||||
<pathelement location="${build}/WEB-INF/classes"/>
|
<pathelement location="${build}/WEB-INF/classes"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue