View Single Post
  #3   Spotlight this post!  
Unread 05-02-2012, 02:58
Cjdowney's Avatar
Cjdowney Cjdowney is offline
Registered User
AKA: Cody Downey
FRC #3176 (Purple Precision)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Brownsburg, IN
Posts: 13
Cjdowney is an unknown quantity at this point
Re: Netbeans Having Problems With Imports

Quote:
Originally Posted by Ginto8 View Post
This seems to indicate to me that Netbeans is looking for the libraries in a location where they aren't. When you install the FIRST Netbeans plugins, WPILibJ is installed somewhere on your system that Netbeans knows about (I'm not sure where this is on Windows, but on linux it's in ~/sunspotfrcsdk/lib/WPILibJ). If the files were moved from this location, Netbeans would have no way of finding the libraries, and would complain. I'd reinstall the FRC plugins first; if that doesn't work, I'd try to figure out where Netbeans is looking and where the libraries actually are, and make them match up. If the problem still persists after that, then it is probably an issue with either the libraries or Netbeans itself.

Although I may be mistaken; I'm not quite sure what it means by "import section does not correspond to the specified code style rules". It might be indicating a messed-up environment setting instead of a messed-up library.
Yeah I already tried re loading the plugins, I suppose the next thing to do is figuring out where netbeans is looking for the libraries.

Quote:
Originally Posted by techkid86 View Post
I like the idea of the above post. but if that does not work, have you tried opening one of the pre-made samples?
I'm not sure that would help since I've even tried creating a new project and importing them.


The next time I'll be able to use the laptop would be monday, I'll try and find where netbeans is looking for with the libraries then. I had attempted to do so before, but I was overwhelmed with other tasks that needed my attention.


Thank you everyone who has tried to help, I'll let you know how it goes monday.
Reply With Quote