Difference between revisions of "Robocode/Eclipse/Create a Project"
(Corrected the section describing how to select robocode.jar as an external library) |
(Updated links to other pages) |
||
Line 51: | Line 51: | ||
Congratulations! Your new project is ready. :-) | Congratulations! Your new project is ready. :-) | ||
− | == See | + | == References == |
− | * [[Robocode/ | + | * [http://www.eclipse.org/ Eclipse.org - Eclipse home page] |
− | * [[Robocode/ | + | * [http://www.eclipse.org/downloads/ Eclipse Downloads] |
− | * [[Robocode/ | + | * [http://download.eclipse.org/eclipse/downloads/ Eclipse project downloads - latest releases] |
+ | |||
+ | == See also == | ||
+ | |||
+ | === Robot API === | ||
+ | * [http://robocode.sourceforge.net/docs/robocode/ Robot API] | ||
+ | |||
+ | === Tutorials === | ||
+ | * [[Robocode/System Requirements|System Requirements for Robocode]] | ||
+ | * [[Robocode/Download|How to download and install Robocode]] | ||
+ | * [[Robocode/Robot Anatomy|The anatomy of a robot]] | ||
+ | * [[Robocode/Getting Started|Getting started with Robocode]] | ||
+ | * [[Robocode/My First Robot|My First Robot Tutorial]] | ||
+ | * [[Robocode/Game Physics|Robocode Game Physics]] | ||
+ | * [[Robocode/Scoring|Scoring in Robocode]] | ||
+ | * [[Robocode/Robot Console|Using the robot console]] | ||
+ | * [[Robocode/Downloading_Robots|Downloading other robots]] | ||
+ | * [[Robocode/Learning from Robots|Learning from other robots]] | ||
+ | * [[Robocode/Package Robot|Package your robot]] | ||
+ | * [[Robocode/FAQ|Frequently Asked Questions (FAQ)]] | ||
+ | * [[Robocode/Articles|Articles about Robocode]] | ||
+ | * [[Robocode/Console Usage|Starting Robocode from the command line]] | ||
+ | * [[Robocode/Graphical_Debugging|Graphical debugging]] | ||
+ | * [[Robocode/Eclipse|Using Eclipse as IDE]] | ||
+ | * [[Robocode/Eclipse/Create_a_Robot|Creating a robot in Eclipse]] | ||
* [[Robocode/Running from Eclipse|Running your robot from Eclipse]] | * [[Robocode/Running from Eclipse|Running your robot from Eclipse]] | ||
* [[Robocode/Eclipse/Debugging Robot|Debugging your robot with Eclipse]] | * [[Robocode/Eclipse/Debugging Robot|Debugging your robot with Eclipse]] | ||
+ | |||
+ | === News and Releases === | ||
+ | * [http://sourceforge.net/export/rss2_project.php?group_id=37202 RSS Feeds for the Robocode project] | ||
+ | * [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 Robocode file releases] | ||
+ | |||
+ | === Home pages === | ||
+ | * [http://robocode.sourceforge.net/ Classic homepage] | ||
+ | * [http://sourceforge.net/projects/robocode Robocode project at SourceForge] | ||
+ | * [http://robocoderepository.com/ Robocode Repository] | ||
+ | * [[wikipedia:Robocode|Wikipediaentry for Robocode]] | ||
[[Category:Robocode Documentation]] | [[Category:Robocode Documentation]] | ||
+ | [[Category:Tutorials]] | ||
[[Category:Eclipse IDE]] | [[Category:Eclipse IDE]] | ||
− |
Revision as of 22:56, 10 October 2008
In order to build a Robocode robot in Eclipse, we first have to create a Project to store them in. This page will assist you in setting that up.
Contents
Creating a Project for your Robots
First, select File->New->Project in the menu.
In the New Project dialog, select Java Project then click Next.
Type in a name for your project. I propose that we use the name MyRobots as the name for the new project. When you have written the name of the new project then click Next. But do not click Finish yet!
Oops! I clicked Finish. What to do?
If you clicked Finish by mistake, you can find the rest of the screens shown by right-clicking on the project named MyRobots, then select Properties, and then select Java Build Path.
New Project
Select the Libraries tab, then click on Add External JARs:
Browse to the robocode directory, select the libs directory and then click the Open.
Next, select the robocode.jar and then click the Open.
Now you must select the Javadoc location: (None) under robocode.jar and click Edit...
Type in (or browse to) the path for robocode.jar again. Optionally, enter the location of Robocode's Javadocs. The window should now look like this:
Click OK, then click Finish to build your project.
Congratulations! Your new project is ready. :-)
References
See also
Robot API
Tutorials
- System Requirements for Robocode
- How to download and install Robocode
- The anatomy of a robot
- Getting started with Robocode
- My First Robot Tutorial
- Robocode Game Physics
- Scoring in Robocode
- Using the robot console
- Downloading other robots
- Learning from other robots
- Package your robot
- Frequently Asked Questions (FAQ)
- Articles about Robocode
- Starting Robocode from the command line
- Graphical debugging
- Using Eclipse as IDE
- Creating a robot in Eclipse
- Running your robot from Eclipse
- Debugging your robot with Eclipse