Menu

-DROBOTPATH

Help
Simonton
2008-09-20
2012-09-15
  • Simonton

    Simonton - 2008-09-20

    Perhaps I misunderstand what "Set the robots directory (default is 'robots')" means. I created a directory with two bot jars in it named "thread1". Then I started robocode like this:

    java -cp libs\robocode.jar -DROBOTPATH=thread1 robocode.Robocode

    When I open the dialog to start a new battle, I get the list of bots in the "robots" directory, instead of the "thead1" directory. Is that what this variable is supposed to control, or do I misunderstand its purpose?

    Thanks,
    Simonton

     
    • Flemming N. Larsen

      I seems like the functionality is broken. It works for the compiler part, but not for the rest. I wonder if the ROBOTPATH option has ever worked as expected.

      I will create a bug report, as it should work exactly as you expected, and it ought to work. So it must be fixed!

       

Log in to post a comment.

MongoDB Logo MongoDB