I have answered your questions inline below, but see the very bottom for the
actual problem and the fix.

On 2/01/2003 9:48 PM, "Jordi Salvat i Alabart" <[EMAIL PROTECTED]> wrote:
> My Windoze machine was pretty clean (I even had to install the JDK).
> Maybe there's some weirdness in your's?
If there is weirdness then my Mac caught it off my win2k box ;-)
> 
> Q: Are you using build.bat, or straight "ant"? Can you try with build.bat?
I was doing straight "ant" which has been working just fine until today (my
first cvs update for a week or more).  I have just tried build.bat on both
machines and it works.
> 
> Q: Is JUnit in the classpath displayed by build.bat at the beginning of
> the build?
Yes, but build.bat works.
> 
> Q: Do you have a CLASSPATH environment var defined? Can you try clearing it?
I have no CLASSPATH defined on either machine.
> 
> One funny thing I've noticed in your error message:
>     [rmic] error: Class junit.framework.TestCase not found in nested
> class org.apache.jorphan.collections.HashTree. Test.
> 
> ... there's a '$' sign missing (instead of the space before "Test"). Not
> that it points me anywhere... just that it's funny.
Hmm.  Same output under both operating systems - very strange.


You hit the nail on the head - this is a classpath problem.  I was thinking
that other classes would have hit the problem if it was the classpath, but I
wasn't thinking that rmic was only going to hit a subset of the classes -
this is in actual fact the case.  The cause of the problem is that when you
provided the new build.xml a few days ago you did not include the:

    <path refid="classpath"/>

element in the classpath of the "compile-rmi" target that existed in the
"rmi" target of the old file.  Adding this back in will of course include
junit.jar in the classpath and everything will (and does) work okay.

Can you please correct the compile-rmi classpath in build.xml.  I'd submit a
patch, but it is probably easier for you to just do it.

Thanks for bearing with me - I'm glad I am not going crazy ;-)

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
.Mac Chat/AIM: seade at mac dot com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to