help Running robocode TestWallBehavior
[email protected] Sat, 25 Apr 2020 08:42:04 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Hello I'm on MacOS 10.15.4 and using Java 13, robocode 1.9.3.9, robocode-test 1.9.3.9 Today I've downloaded the robocode.testing-1.9.3.9-setup.jar and installed it correctly in the robocode folder and started following the instructions. First I've noticed that only .bat files exists but opening them anyone can see that inside are very basic javac and java calls, easily replicable in the terminal but I wanted it available inside the eclipse environment. I've recreated the java file for TestWallBehavior with copy and paste, adjusted the package and included Junit and robocode.testing jars in the build path. So far so good, the java file compiles into .class file. To run the test I've added the -Drobocode.home argument with the correct path from the root of the computer. The problem come here, when I run the test it fails whit an exception: java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing org.hamcrest is not in my build path anywhere, so I've downloaded it and included into the path, here I think there's a missing library in the release or the instructions needs to be updated Next I run again but I find another error: java.lang.ClassNotFoundException: net.sf.robocode.core.RobocodeMainBase this class is not present in my robocode.jar. I stopped here...what am I doing wrong? what am I missing to be able to run this TestWallBehavior test? Thanks -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/robocode/be2d7da6-970f-4d44-ae8b-8e12b037a28a%40googlegroups.com.