From a4973ba204b599a23333f3ca12885935455b6def Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Mon, 11 Jun 2018 10:10:47 +0200 Subject: [PATCH 1/2] Updated version.xml --- version.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/version.xml b/version.xml index b28dfe2..f70d837 100644 --- a/version.xml +++ b/version.xml @@ -1,4 +1,5 @@ - + - + + From c2ce282ff46d10d53c879c722afe4abf4991d6ca Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Mon, 11 Jun 2018 11:02:28 +0200 Subject: [PATCH 2/2] Upgraded build.xml --- build.xml | 546 +++++++++++------- .../BirthDeathMigrationLikelihoodTest.java | 0 2 files changed, 335 insertions(+), 211 deletions(-) mode change 100755 => 100644 src/test/beast/evolution/speciation/BirthDeathMigrationLikelihoodTest.java diff --git a/build.xml b/build.xml index 3da1333..1e11854 100644 --- a/build.xml +++ b/build.xml @@ -1,213 +1,337 @@ - - - - Build BDMM. - Also used by Hudson BDMM project. - JUnit test is available for this build. - $Id: build_BDMM.xml $ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ** Required file version.xml does not exist. ** + If this is a new project, run "ant skeleton" from + the command line to create the files required for + your BEAST 2 package. + + + + + + + + + + + + + + + + + + + + + + + + + No local copy of the beast2 source found at ${beastDir}. + Compiling against version ${beast-version} from GitHub. + + + + + + + + + + + + + + + + + + + + + + + Compiling against beast2 source found at ${beastDir}. + + + + + + + + + + + + + + + + + + + + + + Downloading dependencies... + + MultiTypeTree: + + + + + + + + MASTER: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ** Package ${dist}/${fullName}.zip created successfuly! ** + + + + + + + + + + + + + + + + + + + + + + + + + + + + ** This directory contains files besides the build script. ** + You should run "ant skeleton" in a directory containing only the build script. + + + =============================== + Create skeleton BEAST 2 package + =============================== + + First, we need some information... + + + + + Enter package name + Select open source software license + Enter package version + Enter minimum required BEAST 2 version + + Assembling files and directory structure... + + <addon name="${projName}" version="${projVersion}"> + <depends on="beast2" atleast="${beastVersionReq}"/> + + <!-- Add other dependencies as necessary. --> + </addon> + + + + + + + + + + + + + + + + + + + + + + + + + + + + Done. + + The directory structure is as follows: + ${src} - your java source goes here + ${test} - your junit tests go here (You _are_ going to write, those, aren't you!) + ${doc} - your documentation goes here + ${examples} - your example XML scripts go here + ${templates} - your BEAUti templates go here + + To build your package, just type "ant" at the command line. + + To run unit tests, type "ant test". + + That's it! Happy coding! + + diff --git a/src/test/beast/evolution/speciation/BirthDeathMigrationLikelihoodTest.java b/src/test/beast/evolution/speciation/BirthDeathMigrationLikelihoodTest.java old mode 100755 new mode 100644