From dca9470c28824eab779d204c8ef165f894afd027 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Wed, 5 Dec 2012 23:15:35 +0000 Subject: [PATCH] Updated ant build files for multi-project structure. --- briar-android/ant.properties | 5 +++-- briar-android/custom_rules.xml | 28 +++++++++++++---------- briar-api/{src => }/build.xml | 11 +++++---- briar-core/{src => }/build.xml | 20 ++++++++--------- briar-tests/{src => }/build.xml | 40 ++++++++++++++++----------------- 5 files changed, 54 insertions(+), 50 deletions(-) rename briar-api/{src => }/build.xml (59%) rename briar-core/{src => }/build.xml (56%) rename briar-tests/{src => }/build.xml (82%) diff --git a/briar-android/ant.properties b/briar-android/ant.properties index 2c9a68876..c5281df27 100644 --- a/briar-android/ant.properties +++ b/briar-android/ant.properties @@ -9,8 +9,9 @@ # 'source.dir' for the location of your java source folder and # 'out.dir' for the location of your output folder. -source.dir=src:../briar-core/src -external.libs.dir=../briar-core/libs +source.dir=../briar-api/src:../briar-core/src:src +api.jar.libs.dir=../briar-api/libs +core.jar.libs.dir=../briar-core/libs # You can also use it define how the release builds are signed by declaring # the following properties: diff --git a/briar-android/custom_rules.xml b/briar-android/custom_rules.xml index ee549fbdd..74ddfaeb0 100644 --- a/briar-android/custom_rules.xml +++ b/briar-android/custom_rules.xml @@ -1,14 +1,18 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/briar-api/src/build.xml b/briar-api/build.xml similarity index 59% rename from briar-api/src/build.xml rename to briar-api/build.xml index 6a35e126b..07cb99d74 100644 --- a/briar-api/src/build.xml +++ b/briar-api/build.xml @@ -1,20 +1,19 @@ - + - + - + - - + - diff --git a/briar-core/src/build.xml b/briar-core/build.xml similarity index 56% rename from briar-core/src/build.xml rename to briar-core/build.xml index 00e8dff14..f2511c69e 100644 --- a/briar-core/src/build.xml +++ b/briar-core/build.xml @@ -1,28 +1,28 @@ - + - + - + - - + + - - + - - + diff --git a/briar-tests/src/build.xml b/briar-tests/build.xml similarity index 82% rename from briar-tests/src/build.xml rename to briar-tests/build.xml index a0407dad4..8dacc0cd2 100644 --- a/briar-tests/src/build.xml +++ b/briar-tests/build.xml @@ -1,40 +1,40 @@ - + - + - + - + - + - + - - - + + + - - + - - + @@ -42,8 +42,8 @@ - - + @@ -67,7 +67,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -126,7 +126,7 @@ - +