View Single Post
  #8   Spotlight this post!  
Unread 13-01-2013, 02:01
markmcgary's Avatar
markmcgary markmcgary is offline
Software Mentor
FRC #4322 (Clockwork Oranges)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Fullerton, CA
Posts: 173
markmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nice
Re: Video showing how to use Eclipse for FRC 2013 development without plugins

Quote:
Originally Posted by java4first View Post
Hi -

Thanks for the video, we even managed to get this working for a couple of Macs that students are using for development. However, the problem is that it doesn't cover getting the "deploy" then "run" Ant targets working, only "build". Deploy seems to work - as it just builds the jars to deploy, but run fails because it is missing a setting for a property that has the IP address of the robot (and there may be other things once you get past this). I am guessing it's because we haven't 'configured' the plugin by adding the team number.

Has anyone figured out the last step in this process? Can you re-install last year's plug-in, and then just update to the new Java classes for this year? Or is there something simpler ...

Next year all us Eclipse users need to get together, and get at least one team on the Beta test - so that we can have an Eclipse plugin for doing development without having to resort to NetBeans. I don't care about all the new features of WPILib and any fancy wizards for coding ... I just want to be able to extend the SimpleRobot and deploy it via Eclipse.

Thanks in advance if you figured this out.
In my 'user' folder on my Mac is an 'invisible' file named ".sunspotfrc.properties". (Yes, it starts with a dot)

Inside this file are defined these properties:

sunspot.home=/Users/mark/sunspotfrcsdk
remoteaddress=10.43.22.2
wpilibj.home=/Users/mark/sunspotfrcsdk/lib/WPILibJ

The user folder name should be your user name. The 'remoteaddress' property will be your robot CRIO IP address, based on your team number.

I hope this helps.
Reply With Quote