From: Vincent M. <vm...@oc...> - 2002-11-04 20:45:16
|
Hi Steve, > -----Original Message----- > From: moc...@li... > [mailto:moc...@li...] On Behalf Of > Steve Freeman > Sent: 03 November 2002 11:39 > To: 'MockObjects' > Subject: Re: [MO-java-dev] Building the core library problem + version > number issue > > I can't reproduce that. The src archive might be out of date, so I'll put > another one up. I'm actually talking about building from CVS. Try it: make a clean checkout somewhere and run "ant", you should get the same error. > > You should at least copy junit.jar in the lib directory. The junit jar has to be in Anthome/lib otherwise the ant <junit> task won't work. Thus junit is already in the classpath. Anyway the error seems to be with some mockobject class. > > From: "Vincent Massol" <vm...@oc...> > > I'm trying to build the mockobject core library by executing "ant jar" > > and it fails with the following kind of errors: > > > > compile-core: > > [mkdir] Created dir: > > E:\Dev\mockobjects\mockobjects-java\out\core\classes > > [javac] Compiling 62 source files to > > E:\Dev\mockobjects\mockobjects-java\out\core\classes > > > > compile-jdk: > > [mkdir] Created dir: > > E:\Dev\mockobjects\mockobjects-java\out\jdk\classes > > [javac] Compiling 38 source files to > > E:\Dev\mockobjects\mockobjects-java\out\jdk\classes > > [javac] > > E:\Dev\mockobjects\mockobjects-java\src\jdk\common\com\mockobjects\sql\C > > ommonMockResultS > > etMetaData.java:86: addActual(java.lang.Object) in > > com.mockobjects.AbstractExpectationCollection can > > not be applied to (int) > > [javac] myColumnNameIndexes.addActual(aColumnIndex); > > > > What am I missing? Note: I haven't put any jar in the lib/ directory but > > the error doesn't seem to be about any missing jar. > > > Well, I thought it would make the numbers line up better. I've just > changed > the formatting, not the value. I can tell you it looks very strange when on SF you look at the downloadable versions and see 0.2, 0.3, 0.4, 0.5, 0.6 and 0.07, because mathematically 0.07 < 0.6 (I do understand the point about 0.07 not being a number but nevertheless it will cause confusion - it already has! :-)). Thanks -Vincent |