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.
>