Dependencies: Difference between revisions

From tehowiki
Jump to navigation Jump to search
imported>Gfis
current list
 
imported>Gfis
No edit summary
Line 1: Line 1:
The following command produces a list of all JAR files which are needed by the subprojects:
The following command produces a list of all JAR files which are needed by the subprojects:
  work\gits>find . -iname "*.jar" | grep "/lib/" | sed -e "s/^.\// /" | tee depends.tmp
  work\gits>find . -iname "*.jar" | grep "/lib/" | sed -e "s/^.\// /" | tee depends.tmp
Library JAR files ending with "-core.jar" stem from another Java application on teherba.org.
Library JAR files ending with "-core.jar" stem from another Java application on [[Main_Page|teherba.org]].
The other JAR files should be obtrained form [http://www.apache.org www.apache.org].
The other JAR files can all be obtained from subprojects of [http://www.apache.org Apache.org].
===Fill <code>tomcat/openlib/</code>===
* fill <code>tomcat/openlib/</code> with external JAR files from [http://www.apache.org Apache.org]
* All subprojects fetch the necessary shared JARs from <code>tomcat/openlib/</code> by their specific subtarget <code>fill.lib</code> during <code>ant clean</code>.
* All subprojects ''appl'' store their minimal <code>dist/''appl''-core.jar</code> into <code>tomcat/openlib/</code> by their specific subtarget <code>core.jar</code> during <code>ant deploy</code>.


===Build Sequence===
# common: <code>ant build-import</code> - copies <code>build-import.xml</code> into all subprojects
# common: <code>ant clean deploy</code>
<!--
# common: <code>ant repl-common</code> - copies </code>log4j*.jar</code> and <code>common-core.jar</code> into <code>lib</code> of all subprojects
-->
# dbat, basdetok, flodskim, numword, ramath, xtool: <code>ant clean deploy</code> - no further dependencies
# churchcal: <code>ant clean deploy</code> - depends on numword
# xtrans: <code>ant clean deploy</code> - depends on dbat
# checkdig: <code>ant clean deploy</code> - depends on dbat, xtrans
# gramword: <code>ant clean deploy</code> - depends on dbat, numword, xtrans
===Contents of the <code>lib</code> Directories===
Finally the <code>lib</code> subdirectories should contain the following JAR files:
  basdetok/lib/common-core.jar
  basdetok/lib/common-core.jar
  basdetok/lib/log4j-1.2.17.jar
  basdetok/lib/log4j-1.2.17.jar

Revision as of 08:40, 12 September 2016

The following command produces a list of all JAR files which are needed by the subprojects:

work\gits>find . -iname "*.jar" | grep "/lib/" | sed -e "s/^.\// /" | tee depends.tmp

Library JAR files ending with "-core.jar" stem from another Java application on teherba.org. The other JAR files can all be obtained from subprojects of Apache.org.

Fill tomcat/openlib/

  • fill tomcat/openlib/ with external JAR files from Apache.org
  • All subprojects fetch the necessary shared JARs from tomcat/openlib/ by their specific subtarget fill.lib during ant clean.
  • All subprojects appl store their minimal dist/appl-core.jar into tomcat/openlib/ by their specific subtarget core.jar during ant deploy.

Build Sequence

  1. common: ant build-import - copies build-import.xml into all subprojects
  2. common: ant clean deploy
  3. dbat, basdetok, flodskim, numword, ramath, xtool: ant clean deploy - no further dependencies
  4. churchcal: ant clean deploy - depends on numword
  5. xtrans: ant clean deploy - depends on dbat
  6. checkdig: ant clean deploy - depends on dbat, xtrans
  7. gramword: ant clean deploy - depends on dbat, numword, xtrans

Contents of the lib Directories

Finally the lib subdirectories should contain the following JAR files:

basdetok/lib/common-core.jar
basdetok/lib/log4j-1.2.17.jar
checkdig/lib/common-core.jar
checkdig/lib/dbat-core.jar
checkdig/lib/log4j-1.2.17.jar
checkdig/lib/serializer.jar
checkdig/lib/xtrans-core.jar
churchcal/lib/common-core.jar
churchcal/lib/commons-fileupload-1.2.2.jar
churchcal/lib/commons-io-2.1.jar
churchcal/lib/log4j-1.2.17.jar
churchcal/lib/numword-core.jar
common/lib/log4j-1.2.17.jar
dbat/lib/activation.jar
dbat/lib/common-core.jar
dbat/lib/commons-codec-1.10.jar
dbat/lib/commons-logging-1.2.jar
dbat/lib/log4j-1.2.17.jar
dbat/lib/mysql-connector-java-5.1.11-bin.jar
dbat/lib/poi-3.14-20160307.jar
dbat/lib/poi-ooxml-3.14-20160307.jar
dbat/lib/poi-ooxml-schemas-3.14-20160307.jar
dbat/lib/serializer.jar
dbat/lib/tomcat-dbcp.jar
dbat/lib/xmlbeans-2.6.0.jar
flodskim/lib/common-core.jar
flodskim/lib/commons-fileupload-1.2.2.jar
flodskim/lib/commons-io-2.1.jar
flodskim/lib/log4j-1.2.17.jar
flodskim/temp/flodskim/lib/log4j-1.2.15.jar
gramword/lib/checkdig-core.jar
gramword/lib/common-core.jar
gramword/lib/commons-fileupload-1.2.2.jar
gramword/lib/commons-io-2.1.jar
gramword/lib/dbat-core.jar
gramword/lib/log4j-1.2.17.jar
gramword/lib/mysql-connector-java-5.1.11-bin.jar
gramword/lib/numword-core.jar
gramword/lib/serializer.jar
gramword/lib/xtrans-core.jar
jextra/lib/common-core.jar
jextra/lib/log4j-1.2.17.jar
jextra/lib/serializer.jar
jextra/lib/xtrans-core.jar
numword/lib/common-core.jar
numword/lib/log4j-1.2.17.jar
ramath/lib/common-core.jar
ramath/lib/commons-fileupload-1.2.2.jar
ramath/lib/commons-io-2.1.jar
ramath/lib/log4j-1.2.17.jar
xtool/lib/common-core.jar
xtool/lib/commons-fileupload-1.2.2.jar
xtool/lib/commons-io-2.1.jar
xtool/lib/log4j-1.2.17.jar
xtool/lib/serializer.jar
xtrans/lib/common-core.jar
xtrans/lib/commons-fileupload-1.2.2.jar
xtrans/lib/commons-io-2.1.jar
xtrans/lib/dbat-core.jar
xtrans/lib/log4j-1.2.17.jar
xtrans/lib/serializer.jar