Packaging A Robot To A Jar from the Command Line?

Jump to navigation Jump to search
Revision as of 3 December 2013 at 23:26.
The highlighted comment was created in this revision.

Packaging A Robot To A Jar from the Command Line?

Hiya,

Is it possible to package my robot from the command line? I see the RoboRumble participants page specifies that the bot needs to be in a jar with a botname.properties file, and the usual way to do this is via the package menu in the client. Is it possible to do this from the command line?

Is it as simple as running the standard "jar" command, passing in the source files (and the botname.properties file)?

Thanks!

    Wolfman (talk)23:34, 3 December 2013

    It's definitely possible, but I haven't done it, besides manually unzipping / editing / rezipping sometimes. I think Beaming does it with normal development tho so maybe he can comment on his setup.

    It is just a normal JAR with your class files + the .properties file. So whatever means you have of creating a JAR should work.

      Voidious (talk)01:26, 4 December 2013