![]() |
Adding a custom library to Robot Code? (Java)
Hello all,
So we've written a library containing some basic items that we've used from year to year. However, I'm stuck trying to figure out how to add it to the actual robot code. I don't want to add all of the files into the project itself, but, unlike with vanilla NetBeans projects, the robot project doesn't have the feature to add libraries. Could anyone give any suggestions as to how to go about doing so?Thanks so much! |
If you bundle it with the wpilibj source, you should be able to compile it and set it as the wpilibj file for your robot in the settings within net beans.
|
Re: Adding a custom library to Robot Code? (Java)
Go into the build.xml file and add something along the lines of the following code:
Code:
<exec executable="rm"> |
Re: Adding a custom library to Robot Code? (Java)
Thanks this is exactly what I needed!
|
Remember that you'd need to post it publicly before build season for it to be used legally - that one almost got us this year. Good luck!
|
Re: Adding a custom library to Robot Code? (Java)
Quote:
|
| All times are GMT -5. The time now is 09:03. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi