Hi Ondro,
Thanks for the suggestion and sorry we didn't already have more obvious pointers to what's what.
If you go back far enough (~2013), the original standalone TCK used Ant and the Maven execution of the runtime (TestNG) tests was added later as an informal/unofficial convenience.
But we never built a Maven execution for the SigTest (signature) tests. I remember at the time there was some annoying difference btw. IBM and Oracle JDK/JRE layout, but I'm sure there's no reason we couldn't address this, (and also update the doc and sample config). So we left the Ant-based runtime execution (since we did it first), though I'm sure most people now will use the Maven approach.
with a bit more detail).
One more note: because this is all so complicated we include sample config for running against the com.ibm.jbatch impl, being careful to distinguish these pieces from the rest of the TCK
So, if you still think your PR would be useful let me know and I can take a look.
Thanks,
------------------------------------------------------
Scott Kurz
WebSphere Batch and Developer Experience
skurz@xxxxxxxxxx
--------------------------------------------------------
----- Original message -----
From: "Ondro Mihályi" <ondrej.mihalyi@xxxxxxxxx>
Sent by: jakartabatch-dev-bounces@xxxxxxxxxxx
To: jakartabatch-dev@xxxxxxxxxxx
Cc:
Subject: [EXTERNAL] Re: [jakartabatch-dev] The official way to run the TCK?
Date: Sun, Mar 22, 2020 8:54 PM
Hi,
As I explored the standalone TCK, I became confused with how to run the TCK suite with JBatch impl. The documentation suggests to use the how-to-run-tck-against-jbatch-script.sh in the TCK distribution, which in turn uses and to run the suite.
According to the git history, the latter way using Maven is older and has existed since the initial CQ. The Ant way of running the tests is newer. But to me that looks like a step back, isn't it? Why would we want to use Ant if we have a native Maven way of running the TCK? Isn't it better to bundle the maven project JBatch TCK exec and change the instructions to use it instead of the Ant project?
Ondro