Re: robocodeEngine is not loading bot

noppelmax via robocode <[email protected]> Sun, 8 Jan 2017 10:28:04 -0800 (PST)
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>
Hey fnl,

i have done same further investigations today. 

I have copied sample/RamFire.java to noppelma/RamFire.java , changed only 
the package from sample to noppelma and recompiled it with the same command 
the gui is using:

 javac -deprecation -g -source 1.6 -encoding UTF-8 -classpath 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/home/max/robocode/libs/robocode.jar:/home/max/robocode/robots 
/home/max/robocode/robots/sample/RamFire.java

 javac -deprecation -g -source 1.6 -encoding UTF-8 -classpath 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/home/max/robocode/libs/robocode.jar:/home/max/robocode/robots 
/home/max/robocode/robots/noppelma/RamFire.java


I also deleted both .class before and looked if both were regenerated by 
those commands. They were. The robocode gui is showing both robots; 
sample.RamFire and noppelma.RamFire. While the robocode engine is only 
finding the sample.RamFire one.

I tried the same with my Robot: noppelma.TestBot.java
I copied it to sample.TestBot.java and compiled both with the same command. 
Again i have the same effect. Gui finding both while the robocode engine is 
only detecting the sample.TestBot one. I'm really irritated. Is it possible 
that the robocode engine is only looking in sample?

Here are my outputs. Print of version und robotsdir is programmed from me. 
Do have any further idea?

Loaded net.sf.robocode.api
Loaded net.sf.robocode.core
Loading plugins from /home/max/robocode/libs
Loaded net.sf.robocode.repository
Loaded net.sf.robocode.host
Loaded net.sf.robocode.ui
Loaded net.sf.robocode.ui.editor
Loaded net.sf.robocode.battle
Loaded net.sf.robocode.sound
Running version is 1.9.2.6
Robotsdir is /home/max/robocode/robots
Err> Can't find 'noppelma.RamFire'
Err> Can't find 'noppelma.TestBot'
Err> Can't find 'noppelma.SonOfAWolf'

-- 
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].
For more options, visit https://groups.google.com/d/optout.