From 15381414bef758fe8a7d505050b362cfbb2fa55d Mon Sep 17 00:00:00 2001 From: Mark Evenson Date: Thu, 22 Jun 2023 12:42:14 +0200 Subject: [PATCH 1/3] build: include git commit id in version when building from source Require Apache Ant 1.9.1, even though it looks like 1.10.x would be ok. TODO: test that the svn and without source control logic still works TODO: optimize/rename the Ant targets a bit to make things easier to understand. --- build.xml | 88 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 76 insertions(+), 12 deletions(-) diff --git a/build.xml b/build.xml index b7854edc2..e865c9c2a 100644 --- a/build.xml +++ b/build.xml @@ -1,5 +1,7 @@ Compiling, testing, and packaging Armed Bear Common Lisp @@ -49,10 +51,10 @@ For help on the automatic tests available, use the Ant target 'help.test'. value="${abcl.jar.path}"/> - + - + @@ -358,7 +360,7 @@ from ${abcl.home.dir} + filepath="${env.PATH}"/> @@ -372,7 +374,24 @@ from ${abcl.home.dir} - + + + + + + + + + + + - + + + - @@ -408,13 +436,48 @@ from ${abcl.home.dir} value="svn-${abcl.version.svn}"/> + + + + + + + + + + abcl.version.git: ${abcl.version.git} + + + + + + + + + + + + + + + + + + + depends="abcl.version.src.svn,abcl.version.src.git" + if="abcl.src.not-under-version-control.p"> + + + depends="abcl.stamp.version.0,abcl.src.not-under-version-control" + if="abcl.src.not-under-version-control.p"> + unless="abcl.src.not-under-version-control.p"> @@ -726,7 +789,8 @@ will compile (if necessary) and load JSS. - + From 33219d1f766a56e21a4a2728bf2518be2bffe612 Mon Sep 17 00:00:00 2001 From: Mark Evenson Date: Mon, 26 Jun 2023 08:55:49 +0200 Subject: [PATCH 2/3] doc: typo --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index e865c9c2a..0fe8a39be 100644 --- a/build.xml +++ b/build.xml @@ -91,7 +91,7 @@ For help on the automatic tests available, use the Ant target 'help.test'. - + From 88b673349855f3ec9e88c337a28fe9f597707cb0 Mon Sep 17 00:00:00 2001 From: Mark Evenson Date: Mon, 26 Jun 2023 09:29:02 +0200 Subject: [PATCH 3/3] build: further tweaks on stamping with version control id --- build.xml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build.xml b/build.xml index 0fe8a39be..59002481e 100644 --- a/build.xml +++ b/build.xml @@ -494,12 +494,6 @@ from ${abcl.home.dir} ABCL implementation version: ${abcl.implementation.version}