For Programmers: Free Programming Magazines  


Home > Archive > Java Help > June 2005 > Getting "[java] Java Result: 13" when trying to call a junit test from Ant









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Getting "[java] Java Result: 13" when trying to call a junit test from Ant
paul.leader@gmail.com

2005-06-09, 8:58 pm

I'm quite new to java, so this might be a really noddy question..

I can find no documentation on what the return codes from java.exe
mean, so I'm finding it really hard to fix my problem.

The command line is roughly :

"C:\Program Files\Java\j2re1.4.2_08\bin\java.exe" -classpath
C:\eclipse\workspace\build\test\Toolkit_
base\startup.jar
org.eclipse.core.launcher.Main -application
org.eclipse.test.coretestapplication -dev bin
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,com.eSafetyCase.AllToolKitTests.xml
-testPluginName com.eSafetyCase.Developer -className
com.ToolKit.AllToolKitTests -os win32 -ws win32 -arch x86

Even with -verbose, I just get a load of output telling me that various
classes are loaded, followed by the same error message ([java] Java
Result: 13)

If I run the command by hand then it just runs for a bit and then exits
silently.

Is there any documentation describing the return codes, I cannot find
it, but I may have just missed something.

Thanks in advance.

Paul

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com