Go to Post Because, y'know, FIRST can't make it easy for us. - WinterPoet [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 3.50 average. Display Modes
  #1   Spotlight this post!  
Unread 01-12-2011, 05:04 PM
BradAMiller BradAMiller is online now
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 587
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Eclipse as a development tool for FRC programming

There is a new experimental eclipse plugin available for Java programming. It has the features of the NetBeans plugin plus a "Robot Centric" view of your project. You can create devices and mechanisms by combining elements from the palette. You need to select the Robot Perspective in the Window menu to see all the new features. Please refer to the help that comes with eclipse for more information. And see the FAQ (Wiki) for more information on installing and using the plugin.

Please post any issues in the Trackers area on the WPILib FIRSTForge project.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #2   Spotlight this post!  
Unread 01-15-2011, 03:42 PM
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 56
java4first is an unknown quantity at this point
Re: Eclipse as a development tool for FRC programming

Has anyone gotten this to work? I downloaded the updates into Eclipse 3.6 Release 1 on Windows, and I have an error about a missing class file in Java perspective when I try to build my sample project it creates.

When I switched to the robot perspective, it looks like it tries to build the missing stuff(?), but that fails as well.

As requested, I posted a problem in the Java Trackers on FIRSTForge- but I wanted to see if someone here had gotten it going.

Thanks in advance for any help.

Stu
Reply With Quote
  #3   Spotlight this post!  
Unread 01-16-2011, 06:34 PM
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
Re: Eclipse as a development tool for FRC programming

java4first:

When you setup Eclipse, you must configure it to use a Java Development ToolKit(JDK) as opposed to the default, which is a Java Runtime Environement(JRE) which is what you usually install to run java. This is because the JDK contains tools Ant uses to build the libraries, and deploy them. NetBeans, during setup, forces users to install and indicate the location of a JDK. Eclipse does not - this is due to the fact that NetBeans uses Ant more heavily it its own operation than Eclipse. Instructions for setting up Eclipse to use a JDK can be found under Help->Help Contents->FRC Java Development Tools->Troubleshooting->Setting up Eclipse with a JDK.

Additionally, in order to build or deploy a FRC project properly, with a files from the project selected, or by right-clicking the project, select Run->Run As-> and then either FRC Java Build or FRC Java Deploy. There is also a way to run in Debug mode which requires extra steps to connect to the robot. This is all detailed in the FRC Java Development Plug-ins help content under "Launching"

As a side note, thank you for including detailed information in your bug report, it made it extremely easy to identify the issue you were having.

Good luck this season!
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #4   Spotlight this post!  
Unread 01-24-2011, 04:21 PM
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 56
java4first is an unknown quantity at this point
Re: Eclipse as a development tool for FRC programming

Just to close the loop on this - we got it working with no problems (once we got past the problem with the JDK). Right now we have Eclipse working on a mix of Fedora 10 (don't ask) Linux, Windows XP and Windows 7, and Mac OS X 6(?) machines. It's pretty slick ... [A big shout out to Ryan for getting me up and going so quickly].
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:17 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi