NIHVIVO-2774 improve the "jarlist" target in the build so known required JARs are listed in a file, and not hardcoded.
This commit is contained in:
parent
e4308ed5ab
commit
2a05f4e2ca
3 changed files with 54 additions and 6 deletions
|
@ -343,6 +343,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
|
|||
<classpath refid="utility.run.classpath" />
|
||||
<arg value="${build.dir}/${ant.project.name}.jar" />
|
||||
<arg value="${appbase.dir}/lib" />
|
||||
<arg value="${appbase.dir}/config/jarlist/known_dependencies.txt" />
|
||||
</java>
|
||||
</target>
|
||||
|
||||
|
|
24
webapp/config/jarlist/known_dependencies.txt
Normal file
24
webapp/config/jarlist/known_dependencies.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
# A list of JARs that we know to be required by the source code (and notes on where they are required).
|
||||
#
|
||||
# The "jarlist" target of the build script will work on the assumption that these JARs and any JARs
|
||||
# that they depend on are required by the app.
|
||||
#
|
||||
# For example, the JDBC drivers are never explicitly included, but instead are invoked using Class.forName(),
|
||||
# so they are required even though the "jarlist" target won't find any such requirement.
|
||||
#
|
||||
|
||||
# JDBC drivers that we want to include.
|
||||
# Oracle and MySQL
|
||||
ojdbc14_g.jar
|
||||
mysql-connector-java-5.1.16-bin.jar
|
||||
|
||||
# Don't know who requires the Commons Logging package - Maybe JENA?
|
||||
commons-logging-1.1.1.jar
|
||||
|
||||
# Needed by a variety of JSPs
|
||||
# datapropertyBackButtonProblems.jsp
|
||||
# n3Delete.jsp
|
||||
# processDatapropRdfForm.jsp
|
||||
# processRdfForm2.jsp
|
||||
xstream-1.2.2.jar
|
Loading…
Add table
Add a link
Reference in a new issue