Robocode shows My testcase as Robot

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

Robocode shows My testcase as Robot

by asherbaig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I have created my robot named as "Sprobot".
And also i have created testcase for that also named as "Sprobottest".

When i see my pakcage therei found two robots named as

Sprobot.java
Sprobottest.java (This is a test case)

How can i remove Sprobottest.java from robot list?


Re: Robocode shows My testcase as Robot

by flemmingnlarsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When you run your tests cases for Robocode from inside Eclipse, the
robots to tests needs to exist in your robot repository. Hence, these
are visible when running Robocode from Eclipse.

You can avoid this be removing the 'launch' folder in the 'robocode'
project. Eclipse will automatically rebuild the folder for you, when
toy run Robocode again. You can also remove the robot by removing its
file in the 'robocode/launch/robot/' folder.

Best regards,
- Flemming

--- In Robocode@..., "asherbaig" <devilvsevil@...> wrote:

>
> Hi,
> I have created my robot named as "Sprobot".
> And also i have created testcase for that also named as "Sprobottest".
>
> When i see my pakcage therei found two robots named as
>
> Sprobot.java
> Sprobottest.java (This is a test case)
>
> How can i remove Sprobottest.java from robot list?
>



Re: Robocode shows My testcase as Robot

by asherbaig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am unable to find any launch folder inside robocode source.Can you
please specify where it is.

--- In Robocode@..., "flemmingnlarsen"
<flemming.n.larsen@...> wrote:
>
> When you run your tests cases for Robocode from inside Eclipse, the
> robots to tests needs to exist in your robot repository. Hence,
these
> are visible when running Robocode from Eclipse.
>
> You can avoid this be removing the 'launch' folder in the 'robocode'
> project. Eclipse will automatically rebuild the folder for you, when
> toy run Robocode again. You can also remove the robot by removing
its

> file in the 'robocode/launch/robot/' folder.
>
> Best regards,
> - Flemming
>
> --- In Robocode@..., "asherbaig" <devilvsevil@> wrote:
> >
> > Hi,
> > I have created my robot named as "Sprobot".
> > And also i have created testcase for that also named as
"Sprobottest".
> >
> > When i see my pakcage therei found two robots named as
> >
> > Sprobot.java
> > Sprobottest.java (This is a test case)
> >
> > How can i remove Sprobottest.java from robot list?
> >
>




Re: Robocode shows My testcase as Robot

by flemmingnlarsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you are running/developing on the Robocode game following the
'Developers Guide for building Robocode'
(http://testwiki.roborumble.org/w/index.php?title=Robocode/Developers_Guide_for_building_Robocode),
and assuming that everything is checked out from Subversion (SVN) and
builds perfectly, you'll see a folder named 'launch' under the
'robocode' module. You might have to refresh the project for
'robocode' first.

If you cannot see the launch folder, then something is wrong with your
set up.

Regards,
- Flemming


--- In Robocode@..., "asherbaig" <devilvsevil@...> wrote:

>
> I am unable to find any launch folder inside robocode source.Can you
> please specify where it is.
>
> --- In Robocode@..., "flemmingnlarsen"
> <flemming.n.larsen@> wrote:
> >
> > When you run your tests cases for Robocode from inside Eclipse, the
> > robots to tests needs to exist in your robot repository. Hence,
> these
> > are visible when running Robocode from Eclipse.
> >
> > You can avoid this be removing the 'launch' folder in the 'robocode'
> > project. Eclipse will automatically rebuild the folder for you, when
> > toy run Robocode again. You can also remove the robot by removing
> its
> > file in the 'robocode/launch/robot/' folder.
> >
> > Best regards,
> > - Flemming
> >
> > --- In Robocode@..., "asherbaig" <devilvsevil@> wrote:
> > >
> > > Hi,
> > > I have created my robot named as "Sprobot".
> > > And also i have created testcase for that also named as
> "Sprobottest".
> > >
> > > When i see my pakcage therei found two robots named as
> > >
> > > Sprobot.java
> > > Sprobottest.java (This is a test case)
> > >
> > > How can i remove Sprobottest.java from robot list?
> > >
> >
>