Description: Give Debian build instructions Author: Wookey Last-Update: 2013-10-06 Index: caveconverter-0~20170114/README =================================================================== --- caveconverter-0~20170114.orig/README +++ caveconverter-0~20170114/README @@ -21,30 +21,16 @@ Building from Source Cave Converter can be built from the Java source code using the provided ant build script. But first you will need to download some dependencies required to build the source, run the unit tests and generate code coverage reports for -the tests. These dependencies need to be placed in folders with the following -names two levels higher in your directory hierarchy than the folder containing -the build.xml ant script: +the tests. -cobertura-2.1.1 +apt-get install cobertura junit -Cobertura can be downloaded from http://cobertura.sourceforge.net/ -JUnit 4.11 libraries are included in the Cobertura download so no -longer need to be downloaded separately to compile Cave Converter. - -The cobertura zip file downloaded can be unzipped to create the directory -structure required. - -The folder structure should look like this: - - - cobertura-2.1.1 - (unpack the contents of cobertura tar file in here) - dev - CaveConverter_src - (contents of CaveConverter_src.zip file) - -(Note: The folders 'java_dev', 'dev' and 'CaveConverter_src' can have any names - you want.) +build.xml expects to find these in the normal debian java library +directory below /usr/share/java/ + +(you can install newer versions from upstream and edit the paths in +the build.xml to point to the jar files if you want to use a different +location or version). Once the dependencies are in place (and you have Java JDK 7 or later and Apache Ant 1.8 or later configured in your environment), you can run the following ant