Re: JavaHL jar file containing class files for unit tests
Jun Omae <[email protected]> Sun, 26 Jul 2026 19:06:04 +0900
| Newsgroups | gmane.comp.version-control.subversion.devel |
|---|---|
| Message-ID | <CAEVLMaiwt0fscOjBw9sXn0Xqi+pvFedz9tUmPFikOD6VP+6JVg@mail.gmail.com> |
On Sun, Jul 26, 2026 at 6:39=E2=80=AFPM Branko =C4=8Cibej <[email protected]= > wrote: > > On 26. 7. 2026 11:24, Jun Omae wrote: > > Hi, > > I noticed that svn-javahl.jar file has class files for unit tests while w= orking for support build JavaHL with cmake. > I don't think it's necessary for the jar file for distribution.... is tha= t intentional? > > > > I noticed this myself the last time I looked at JavaHL. I'm not sure how = this came about in the first place, but by now it's intentional because it'= s always been this way. Maybe it's to allow users who only use binaries to = run JavaHL tests. In any case this is part of the published ABI. In JavaDoc for JavaHL, test classes are not described. See https://subversion.apache.org/docs/javahl/1.14/ > In JavaHL build with cmake, the class files for unit tests are archived i= nto svn-javahl-tests.jar, and only svn-javahl.jar is installed. > > > The CMake build must create a JAR that is identical to what the autotools= produce. JUnit jar is not required for build with autoconf. Without JUnit jar, the svn-javahl.jar doesn't have test classes. --=20 Jun Omae <[email protected]> (=E5=A4=A7=E5=89=8D =E6=BD=A4)