Re: Using Eclipse for java programming...?
"robotman2010" <[email protected]> Wed, 20 Apr 2005 09:43:49 -0000
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Message-ID | <[email protected]> |
This might help you.
1) Rightclick on your judoka project and choose proporties from the
menu.
2) Select "java Build path" to the right
3) Click on the "add external Jars" button
4) Browse and select "controller.jar" from the lib directory in the
webots dirctory.
This should include the webots api.
If you want to compile into your Judoka0 directory in webots you can
execute the batfile (namned something like makeit.bat)
javac -classpath "C:\Programs\Webots\lib\Controller.jar;." -O *.java
echo OFF
xcopy . C:\Programs\Webots\controllers\Judoka0\ /E /Y
1) place the file in your eclipse project folder.
2) click on the run button and choose "external tools" from the menu
3) click "add"
4) Location should be your project folder
eg: "C:\Programs\eclipse\workspace\Judoka\makeit.bat"
(if your project is namned Judoka)
5) Working directory is: ${workspace_loc:/Judoka}
6) compile by choosing the script from the run menu, the judoka
files will then be copied into your webots directory.
--- In [email protected], "Clement [=^-^=]"
<fabarbuck@h...> wrote:
>
> Hi all,
>
> I'm new to the roboka contest, and I'd like to know if any of you
have
> already used the Eclipse platform for programming. I've already
used it for
> others little java programms, and it helped me a lot.
> But I wasnt able to have it working for the competition...
>
> Any advise would be very appreciated!
>
> Thanks a lot, and... see you soon on the bottom of the hall of
fame... (if
> it ever accept to compile something for me ;)
>
> Clement
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EA3HyD/3MnJAA/79vVAA/pU_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/webots-contest/
<*> 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/