From: Vincent M. <vm...@oc...> - 2002-11-02 17:31:37
|
Hi, 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. In addition it seems the latest version is 0.07 but the previous version was 0.6 ... Isn't that strange? Are we going backwards? ;-) Thanks -Vincent |
From: Steve F. <st...@m3...> - 2002-11-03 11:38:48
|
I can't reproduce that. The src archive might be out of date, so I'll put another one up. You should at least copy junit.jar in the lib directory. 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. > In addition it seems the latest version is 0.07 but the previous version > was 0.6 ... Isn't that strange? Are we going backwards? ;-) S. |
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 |
From: Steve F. <st...@m3...> - 2002-11-04 21:03:11
|
From: "Vincent Massol" <vm...@oc...> > > 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. I just did and it ran fine, both 1.3.1 and 1.4.1. Can you check the class AbstractExpectationCollection and see if it's got the relevant method? It should have. > > 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! :-)). I'm half inclined just to set the date yyyymmdd, but that would get a bit long. I'm not sure we have clean enough releases to justify major/minor versions. S. |
From: Jeff M. <je...@mk...> - 2002-11-05 09:39:42
|
Works okay for me ;) On Mon, 2002-11-04 at 20:59, Steve Freeman wrote: > From: "Vincent Massol" <vm...@oc...> > > > 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. > > I just did and it ran fine, both 1.3.1 and 1.4.1. Can you check the class > AbstractExpectationCollection and see if it's got the relevant method? It > should have. > > > > 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! :-)). > > I'm half inclined just to set the date yyyymmdd, but that would get a bit > long. I'm not sure we have clean enough releases to justify major/minor > versions. > > S. > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Mockobjects-java-dev mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev -- jeff martin information technologist mkodo limited mobile: 44 (0) 78 5547 8331 phone: 44 (0) 20 2226 4545 email: je...@mk... www.mkodo.com |