No, I have no idea what these messages are. I dont get them when I clean and compile, and I did a quick grep, they dont seem to be related to any code in SQLUnit.
-sujit
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Incidently, I am getting:
[sqlunit] java.util.zip.ZipException: invalid CEN header (bad signature)
[sqlunit] at java.util.zip.ZipFile.open(Native Method)
[sqlunit] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
[sqlunit] at java.util.zip.ZipFile.<init>(ZipFile.java:127)
[sqlunit] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
If I delete this file lib\mysql-connector-java-3.0.6-stable-bin.jar
The above errors go away, I could not open that file with WinZip either.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I may have messed up the upload of the mysql jar file, I will re-do it, or maybe even get rid of it as it is not really part of SQLUnit. MySQL users should have their own copy of the driver, and so should PostgreSQL users. I will just reinstall them elsewhere for my box and get rid of both of them from CVS. I will be able to use the classpath fix we put in for you then... :-).
-sujit
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just grabbed CVS and tried to compile it.
Lots of errors doing an:
ant clean
ant install
[javac] D:\Programs\sqlunit-cvs\src\net\sourceforge\sqlunit\BatchDatabaseRes
ult.java:227: cannot resolve symbol
[javac] symbol : variable NO_MATCH_FAILEDINDEX
[javac] location: interface net.sourceforge.sqlunit.IErrorCodes
[javac] throw new SQLUnitException(IErrorCodes.NO_MATCH_
FAILEDINDEX,
[javac] ^
[javac] D:\Programs\sqlunit-cvs\src\net\sourceforge\sqlunit\BatchDatabaseRes
ult.java:235: cannot resolve symbol
[javac] symbol : variable NO_MATCH_FAILEDINDEX
[javac] location: interface net.sourceforge.sqlunit.IErrorCodes
[javac] throw new SQLUnitException(IErrorCodes.NO_MATCH_
FAILEDINDEX,
[javac] ^
....
You will need to remove or rename your sqlunit (3.9) CVS directory, then checkout the source from the head, like so:
cvs checkout sqlunit
If you have tried to overwrite the existing code with the new code, there may be some conflicts which is causing this problem.
BTW, I would rename it unless you have your test code backed up somewhere else :-).
I just did this on a fresh directory, and ant clean compile compile-test worked fine for me.
-sujit
Okay, I wiped out my directory, did a cvs checkout, and copied all the new files to where I wanted them.
901 14:34:17 D:\Programs\sqlunit-cvs>ant clean
Buildfile: build.xml
init:
clean:
[delete] Deleting directory D:\Programs\sqlunit-cvs\build
[mkdir] Created dir: D:\Programs\sqlunit-cvs\build
BUILD SUCCESSFUL
Total time: 1 second
901 14:34:21 D:\Programs\sqlunit-cvs>ant compile
Buildfile: build.xml
init:
compile:
[javac] Compiling 95 source files to D:\Programs\sqlunit-cvs\build
count = 0, total = 69
count = 0, total = 69
count = 0, total = 69
count = 0, total = 69
count = 0, total = 69
count = 0, total = 69
count = 0, total = 69
count = 0, total = 69
....
Any idea what all these count items are?
Thanks,
Dave
No, I have no idea what these messages are. I dont get them when I clean and compile, and I did a quick grep, they dont seem to be related to any code in SQLUnit.
-sujit
Incidently, I am getting:
[sqlunit] java.util.zip.ZipException: invalid CEN header (bad signature)
[sqlunit] at java.util.zip.ZipFile.open(Native Method)
[sqlunit] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
[sqlunit] at java.util.zip.ZipFile.<init>(ZipFile.java:127)
[sqlunit] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
If I delete this file lib\mysql-connector-java-3.0.6-stable-bin.jar
The above errors go away, I could not open that file with WinZip either.
I may have messed up the upload of the mysql jar file, I will re-do it, or maybe even get rid of it as it is not really part of SQLUnit. MySQL users should have their own copy of the driver, and so should PostgreSQL users. I will just reinstall them elsewhere for my box and get rid of both of them from CVS. I will be able to use the classpath fix we put in for you then... :-).
-sujit