Packaging A Robot To A Jar from the Command Line?
The highlighted comment was created in this revision.
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!
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.