Difference between revisions of "Talk:Robocode/Add a Robot Project"

From Robowiki
Jump to navigation Jump to search
(Running from Eclipse)
m (grammar fix)
Line 8: Line 8:
 
Hm, this sounds quite odd. Perhaps set the eclipse project up so the source and the bin directories are the same? (In the new project wizard, "Use project folter as root for sources and class files" instead of "Create seperate folders for sources and class files") I've always found it works more smoothly that way. --[[User:Rednaxela|Rednaxela]] 01:59, 8 August 2009 (UTC)
 
Hm, this sounds quite odd. Perhaps set the eclipse project up so the source and the bin directories are the same? (In the new project wizard, "Use project folter as root for sources and class files" instead of "Create seperate folders for sources and class files") I've always found it works more smoothly that way. --[[User:Rednaxela|Rednaxela]] 01:59, 8 August 2009 (UTC)
  
I use same directory for binaries as well, and also I prefer the [[Robocode/Running from Eclipse|running from Eclipse]] method, I think is much more smoother. The ''problem'' is that it uses a new robot directory, so at the beginning is empty or with your robot only, but you can copy the samples or any other bots into it. What I do is remove source folder src, create a source folder called robots, exclude from robots build path ".robotcache/" (without the quotes), and the rest is set up as the page posted above. --[[User:Zyx|zyx]] 04:39, 8 August 2009 (UTC)
+
I use same directory for binaries as well, and also I prefer the [[Robocode/Running from Eclipse|running from Eclipse]] method, I think is much better. The ''problem'' is that it uses a new robot directory, so at the beginning is empty or with your robot only, but you can copy the samples or any other bots into it. What I do is remove source folder src, create a source folder called robots, exclude from robots build path ".robotcache/" (without the quotes), and the rest is set up as the page posted above. --[[User:Zyx|zyx]] 04:39, 8 August 2009 (UTC)

Revision as of 05:40, 8 August 2009

Hi all. I have some problems with it. I create an eclipse project, then copy to this project sample folder from robocode/robots (as example). Then in robocode I open options->preferences->Development options and add path to the bin folder of my project (it has the same sample folder with compiled by eclipse class files). Is this correct? The problem is that the New submenu in robocode main window remains empty after that, I don't see my classes. If there is no any custom classpath in the Development options, robocode again can see default packages without problems. What could it be? Operating system: Mandriva Linux --Eredory 18:24, 7 August 2009 (UTC)

Hm, this sounds quite odd. Perhaps set the eclipse project up so the source and the bin directories are the same? (In the new project wizard, "Use project folter as root for sources and class files" instead of "Create seperate folders for sources and class files") I've always found it works more smoothly that way. --Rednaxela 01:59, 8 August 2009 (UTC)

I use same directory for binaries as well, and also I prefer the running from Eclipse method, I think is much better. The problem is that it uses a new robot directory, so at the beginning is empty or with your robot only, but you can copy the samples or any other bots into it. What I do is remove source folder src, create a source folder called robots, exclude from robots build path ".robotcache/" (without the quotes), and the rest is set up as the page posted above. --zyx 04:39, 8 August 2009 (UTC)