Den fre 10 nov. 2023 kl 15:09 skrev Nathan Hartman <hartman.nat...@gmail.com
>:

> On Fri, Nov 10, 2023 at 8:02 AM Johan Corveleyn <jcor...@gmail.com> wrote:
>
>> Hi Nathan,
>>
>> Sorry I haven't helped so far ... I should be able to say something
>> useful here, since I'm a java dev in my dayjob. But I have been
>> drowning a bit in that same dayjob lately, so I can barely find the
>> time to scan these mails, and then forget about them because my
>> attention is needed elsewhere.
>>
>> Anyway, I'll try to find some more time to take a closer look at the
>> errors you get.
>>
>> Just as a first shot: if there is no RunTests.class in the location
>> where it should be (one of the directories in the classpath), then it
>> probably has not been compiled (or it has not been put in the right
>> location). My first guess would also be, like Daniel mentioned, that
>> you'll need the --with-junit option (referring to a junit-X.Y.jar
>> somewhere on your system) and then the build scripts should compile
>> the test classes.
>>
>> But I guess you already tried that, after Daniel's reply, and you're
>> still running into problems. I'll take a closer look when you send
>> your detailed mail then.
>>
>> --
>> Johan
>
>
>
> Thanks Johan. Apologies for not sending the detailed mail yet. I wanted to
> test a few specific theories but didn't get that far last night because I
> hit a problem unrelated to SVN.
>
> One thing I'm struggling with is to understand which part of the build
> system is supposed to compile RunTests, i.e., how/where the Java compiler
> is being invoked on it. I'm not seeing it in the build logs, though I do
> see the other Java files being compiled, so that's certainly interesting.
>

I'm fairly sure that RunTests is compiled only when --with-junit is present
(don't know if "present" is enough or if it has to point to a valid JAR
file). Next question is if check-javahl should be available at all if
--with-junit is missing or if check-javahl should make sure RunTests is
built. Either way, I think it is a bug in the build system. This question
should probably be carved out to its own e-mail thread. I'll try to figure
something out and start a new thread.

Kind regards,
Daniel

Reply via email to