How to export my robot to as seperate jar file in robocode ?

View: New views
2 Messages — Rating Filter:   Alert me  

How to export my robot to as seperate jar file in robocode ?

by asherbaig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


Re: How to export my robot to as seperate jar file in robocode ?

by flemmingnlarsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 RoboRumble@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

--- In Robocode@..., "asherbaig" <devilvsevil@...> wrote:
>
> 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.
>