Compiled but can't see...

Jump to navigation Jump to search
Revision as of 1 October 2012 at 20:37.
The highlighted comment was created in this revision.

Compiled but can't see...

I set up a robot project on my NetBeans. I loaded the robocode libraries, etc. All this seemed to go successfully. I can even compile my robot class with success. I also pointed robocode to the directory my robot class is in.

But my robot doesn't show up in the robot list for fights!

Any ideas? Thanks.

    Therealdrag005:35, 1 October 2012

    Hi! How you "pointed robocode to the directory my robot class is in"? What this directory contents? Do you added ${robot.name}.properties file? Which package are you use?

      Jdev12:34, 1 October 2012
       

      Thanks for the reply! I added the directory, "C:\MyRobots\build\classes\zjk", to development options. In that directory is only the class file, "drag0.class"

      Okay, since you mentioned properties file, I looked around (I don't see any ${robot.name}.properties file). But I set Robocode to the project directory and it now works. Thanks!

        Therealdrag021:37, 1 October 2012