Re: Using NetBeans
"flemmingnlarsen" <[email protected]>
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Hi Ed, I am happy that the problem was solved regarding the appearance of the old robot. Regarding how to debug in NetBeans, I suggest that you write this question on the page for the article on the RoboWiki, and ask the author to write about this as well: http://robowiki.net/wiki/Talk:Robocode/NetBeans/Configure Hopefully, the author will follow up on this. If not, you are welcome to write again, and I will follow up on this later. Regards, - Flemming --- In [email protected], "Ed" <eberne@...> wrote: > > > Flemming, > > Your answer to my second question was right on. Although the .java file for my old robot was gone, the .class file wasn't. I deleted the .class file and problem solved. > > The robowiki article on netbeans explains clearly how to write robots using netbeans. What I want to know is how to *run* robocode in netbeans so that I can debug my robot. I haven't been able to figure this out. > > Ed > > --- In [email protected], "flemmingnlarsen" <flemming.n.larsen@> wrote: > > > > Hi Ed, > > > > Thanks for reminding me of writing an article on the RoboWiki for how to use NetBeans for developing robots on Robocode. I will write such an article in the near future, and write back to you here, when it is finished. It sure is possible and easy to use NetBeans or any other IDE for developing robots in Robocode. Robocode supports "development paths" to external IDEs, which you set up from the menu: Options -> Preferences -> Development Options. Here you add the root to where your robot class files are located (actually, the folder to where your initials is located). > > > > Regarding your second question. If Robocode still lists your old robot, it can see the old robot .class file somewhere, and you need to delete it. You might also have a .properties file, which specifies the name of the old robot. Try to do a file search on your folders with the name of the old robot in order to find it (inside the files, not just the filename). > > > > Regards, > > - Flemming > > > > > > --- In [email protected], "Ed" <eberne@> wrote: > > > > > > Greetings all, > > > > > > I am trying to develop a robot using NetBeans. I have two questions: > > > > > > --Is it possible to run robocode from within NetBeans? If so, how is it done? I want to be able to do this so I can debug my robot. I see instructions for running and debugging robots with Eclipse, but I am hoping to avoid learning yet another IDE. > > > > > > --(really more of an annoyance) I changed the name of my robot by changing the name of the class and file in NetBeans. Now both the old (no longer valid) and new names appear in the list of available robots to start a battle. Ctlr-R doesn't seem to do anything. How do I remove the old name? > > > > > > Thanks in advance, > > > Ed > > > > > > ------------------------------------ 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: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/