Go to Post Eating at Pappy's is the only St Louis activity for me. - Cory [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-05-2012, 12:32 AM
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Netbeans Having Problems With Imports

Quote:
Originally Posted by Cjdowney View Post
all of the programs on the computers are affected by whatever the problem is.
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-05-2012, 12:38 AM
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
Re: Netbeans Having Problems With Imports

I like the idea of the above post. but if that does not work, have you tried opening one of the pre-made samples?
__________________
"you can build a perfect machine out of imperfect parts" -Urza
Reply With Quote
  #3   Spotlight this post!  
Unread 02-05-2012, 02:58 AM
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
  #4   Spotlight this post!  
Unread 02-06-2012, 06:27 PM
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

Seems I was unable to edit any of my prior posts.

Still not sure how it managed to get messed up, but I was indeed able to fix it tonight. I started by opening up a source of CANJagauar on another programming computer, then I opened WPILibJ in projects, when I went to delete it, it showed me it's location (asking if I wanted to delete source files). From there I went on another computer and copied the WPILIBJ folder onto a thumb drive and simply replaced the faulty one on another computer.


Thanks everyone who tried to help, the problem has now been solved.
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 06:05 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