I've created a number of GWT unit tests, and these work just fine when run 
out of eclipse.  However there's a different story running out of the 
command line:


ant test.dev 
Buildfile: build.xml

libs:

javac:
    [javac] build.xml:29: warning: 'includeantruntime' was not set, 
defaulting to build.sysclasspath=last; set to false for repeatable builds

javac.tests:
    [javac] build.xml:78: warning: 'includeantruntime' was not set, 
defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 165 source files to war\WEB-INF\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

test.dev:
    [mkdir] Created dir: reports\htmlunit.dev
    [junit] WARNING: multiple versions of ant detected in path for junit
    [junit]         
 
jar:file:/C:/Program%20Files%20(x86)/apache-ant-1.8.4/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit]      and 
jar:file:/C:/Program%20Files%20(x86)/gwt-2.5.0.rc1/gwt-dev.jar!/org/apache/tools/ant/Project.class
    [junit] Running 
src.uk.co.ricoh.ppbg.sd.shark.ui.nls.messages.BeanMessagesUnitTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

BUILD FAILED
build.xml:87: Test 
src.uk.co.ricoh.ppbg.sd.shark.ui.nls.messages.BeanMessagesUnitTest failed

Total time: 4 seconds

The BeanMessageUnitTest.txt contains: 
java.lang.ClassNotFoundException: 
src.uk.co.ricoh.ppbg.sd.shark.ui.nls.messages.BeanMessagesUnitTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

As it compiles just fine, where could the problem be coming from?

Thanks
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to