Re: JavaHL jar file containing class files for unit tests

Daniel Sahlberg <[email protected]>
Newsgroups gmane.comp.version-control.subversion.devel
Message-ID <CAMHy98OJ6Fw8qSWpSRS6_gim0xBxTSD5LWGSDx01+2GcPOdyeA@mail.gmail.com>
Den mån 10 aug. 2026 kl 16:10 skrev Evgeny Kotkov via dev <
[email protected]>:

> Daniel Sahlberg <[email protected]> writes:
>
> > Any chance someone could review this? I think this could help unblock the
> > 1.15.0 release.
>
> Thanks for working on this!
>
> One thing I'd like to note: making --with-junit required when building with
> --enable-javahl would break existing ./configure invocations for packagers,
> such as the one used by Arch Linux [1].
>
> So, just wanted to make sure this is not a surprise.
>

Yes - that is a "known issue". As I wrote previously, I think we need to
point this out clearly in the release notes.

Whichever way we decided to do, this would hit the package maintainers and
end users.
- Now those who don't already build with junit (Arch, FreeBSD to mention
two) have to change.'
- Otherwise, if we broke out the test classes to a separate jar, packagers
(Debian, Fedora to mention two) might have to change their install recipe
(to install a new jar) and users (who relied on the test classes being part
of the JAR) would have to change their CLASSPATH.

Cheers,
Daniel



>
> [1]:
> https://gitlab.archlinux.org/archlinux/packaging/packages/subversion/-/blob/main/PKGBUILD?ref_type=heads#L95
>
>
> Thanks,
> Evgeny Kotkov
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.