From 861ef4227cd8be00026f4234e8d2c19db1452fc4 Mon Sep 17 00:00:00 2001 From: tresf Date: Fri, 30 Jul 2021 22:23:20 -0400 Subject: [PATCH 1/2] Move antrun tasks to dedicated build.xml file Use properties file workaround for property sharing. --- ant/build.xml | 271 ++++++++++++++++++++++++++++++++++++++++++ pom.xml | 321 ++++---------------------------------------------- 2 files changed, 293 insertions(+), 299 deletions(-) create mode 100644 ant/build.xml diff --git a/ant/build.xml b/ant/build.xml new file mode 100644 index 000000000..a1737e17b --- /dev/null +++ b/ant/build.xml @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tests will run only if the TARGET and HOST match:${line.separator}${line.separator} + TARGET: ${os.target.classifier} + DETECTED: ${os.detected.classifier} + + + + + + + ===== ${maven.test.message} ===== + + + + + + + File information: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ########## ${ant.project.basedir} + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 73d385bbb..3bb6b6f0a 100644 --- a/pom.xml +++ b/pom.xml @@ -42,10 +42,12 @@ ${project.build.directory}/cmake + ${project.build.directory}/props.properties + ${project.basedir} - false - false + false + false false true @@ -184,288 +186,39 @@ - cmake-generate - run - generate-sources - - ${cmake.generator.skip} - - - - - - - - - - - - - - - - - cmake-compile - run - compile - - ${cmake.compile.skip} - - - - - - - - - - - - - - - - calculate-cmake-args - validate - run - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - calculate-msvc + gather-props validate run - - - - - - - - - - - - - - - - - - - - - - - - - + + + true - calculate-xcode - validate + cmake-generate run + generate-sources - - - - - - - - - - - - - - - - - - - - - - + ${cmake.generate.skip} + + - true - calculate-gcc - validate + cmake-build run - - - - - - - - - - - - - - - - - - - true - - - - - set-missing-properties - validate - run - - - - - - - - - true - - - - - calculate-testable compile - run - - - - - - - - - - - - - - - Tests will run only if the TARGET and HOST match:${line.separator}${line.separator} - TARGET: ${os.target.classifier} - DETECTED: ${os.detected.classifier} - - - - - - - ===== ${maven.test.message} ===== - + ${cmake.build.skip} + + - true @@ -474,39 +227,9 @@ install run - - - - - File information: - - - - - - - - - - - - - - - - - - - - - - - - - - + + - true @@ -565,7 +288,7 @@ single - ${cmake.generator.skip} + ${cmake.generate.skip} ${project.basedir}/src/assembly/one-off-jar.xml @@ -680,8 +403,8 @@ true true - true - true + true + true From 5849a8e66ca9c46d93a611af7a978abba93f8578 Mon Sep 17 00:00:00 2001 From: tresf Date: Fri, 30 Jul 2021 22:37:54 -0400 Subject: [PATCH 2/2] Remove debug line --- ant/build.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/ant/build.xml b/ant/build.xml index a1737e17b..7a6173024 100644 --- a/ant/build.xml +++ b/ant/build.xml @@ -240,7 +240,6 @@ - ########## ${ant.project.basedir}