Discussion:
How to export my robot to as seperate jar file in robocode ?
asherbaig
2008-12-20 14:54:54 UTC
Permalink
I have created myrotbots.How can i create and export myrobot.jar file
as external robot from eclipse .I check wiki also there i couldn't
find any info how to export file as .JAR file and add it to
robocode.Not using developement.


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
flemmingnlarsen
2008-12-20 22:05:00 UTC
Permalink
You should do it from Robocode, as Robocode puts Robocode specific
data into the .jar file. It it not just a normal .jar file. It adds
additional .property file(s) and generate a unique id etc. for e.g.
the Robocode Repository.

So the best thing is to either copy your robot files into the 'robots'
directory of Robocode, or simply make sure that you compile your robot
to this directory. Even though you might succeed in creating a robot
.jar file that runs with Robocode, other people or systems like e.g.
the ***@Home might run into problem, as it could see your robot
.jar file as corrupted, if you don't use Robococde for packaging your
robot.

Regards,
- Flemming
Post by asherbaig
I have created myrotbots.How can i create and export myrobot.jar file
as external robot from eclipse .I check wiki also there i couldn't
find any info how to export file as .JAR file and add it to
robocode.Not using developement.
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Loading...