hello

Just back from holiday, and found some junit test errors for the release
strategies. I thought it might be a good idea to look into that.
I ran into some problems.

When i try to run the junit tests in eclipse, configuration errors occur:

------------------------------------------
[EMAIL PROTECTED]: [Thread[main,5,main]]: setSilent(true)
[EMAIL PROTECTED]: Initiating startup sequence...
[EMAIL PROTECTED]: Server socket opened successfully in 3 ms.
[EMAIL PROTECTED]: Database [index=0, id=0,
db=file:/home/ebunders/workspaces/workspace/mmbasehead/data/test,
alias=test] opened sucessfully in 295 ms.
[EMAIL PROTECTED]: Startup sequence completed in 304 ms.
[EMAIL PROTECTED]: 2008-08-04 10:51:43.683 HSQLDB server 1.8.0 is online
[EMAIL PROTECTED]: To close normally, connect and execute SHUTDOWN SQL
[EMAIL PROTECTED]: From command line, use [Ctrl]+[C] to abort abruptly
2008-08-04 10:51:53,846 INFO Configuring logging with log.xml (
http://localhost/NOTFOUND/log/log.xml)
2008-08-04 10:51:53,935 Could not open log.xml java.io.IOException: No such
resource log/log.xml
java.io.IOException: No such resource log/log.xml
        at
org.mmbase.util.ResourceLoader$NotAvailableConnection.connect(ResourceLoader.java:1908)
        at
org.mmbase.util.ResourceLoader$NotAvailableConnection.getInputStream(ResourceLoader.java:1911)
        at
org.mmbase.util.ResourceLoader$MMURLConnection.getInputStream(ResourceLoader.java:2010)
        at java.net.URL.openStream(URL.java:1007)
-------------------------------------------- (and so on)

Even though i did add a property mmbase.config to the run configuration,
pointing to the config directory in the 'tests' directory. I am not sure why
this is.

Then i tried to run the tests with the ant script, but that dousn't work
anymore when you have no local maven repository (which i do not, and have no
intention to delve into today).

So i can not check if the config reading error is the root of the faling
testcase (but i don't think so).

I guess i have twoo questions:

1) is there some mmbase-maven manual somewhere hidden? i couldn't find it?
2) is there an obveous reason why running the tests from eclipse fale (that
anyone knows of)?

regards,

Ernst
_______________________________________________
Developers mailing list
Developers@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to