Hi Ronald On 2022-09-02, Ronald Bergmann wrote:
> this is my first message here and I hope it's the correct place to put > this. I was trying to install ant and run jUnit tests via ant in > Debian Bullseye but apparently the junitlauncher jar is not > available. The Debian packages of Ant are not provided by the Ant team itself but rater by volunteers of the Debian community. Looking at https://packages.debian.org/stable/ant it seems to be a few versions behind (current is 1.10.12) right now. > I found ant-optional but it's not in there either. The naming might be a bit confusing for historical reasons. Many years ago Ant's binary distribution contained two jars - ant.jar and ant-optional.jar - where the later contained all the tasks and types that had depenencies outside of the Java class library. We later split ant-optional.jar into several pieces. junitlauncher may pose a problem to the way Debian dependencies work, I'm not sure. ant-junit.jar depends on JUnit 3.x or 4.x and probably doesn't work with JUnit 5.x while ant-junitlauncher.jar depends on JUnit 5.x and doesn't work with JUnit 4.x. Bundling both in one debian package may pose a problem. > The binary distribution includes the jar but, if possible, I'd rather > use apt instead of pulling the binaries (in my container). You probably need to ask one of the Debian package maintainers. We would recommend to use our binary release :-) Cheers Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org