![]() |
Java external libraries
Can we keep on importing libraries into the build process from custom directories in the same way as before? I used to write the following lines in build.properties file in the project source:
Code:
lib.dir=${src.dir}/../lib |
Re: Java external libraries
Follow the steps in this article to add a library:
http://wpilib.screenstepslive.com/s/...arty-libraries |
Re: Java external libraries
So I have to add the libraries to \wpilib\user\java\lib? Is this the only way to get the libraries recognized by the build? The thing is that I'd like to include the libraries in the project folder for easier distribution.
I noticed that the build.properties file in wpilib defines the user libraries with Code:
userLibs.dir=${user.home}/wpilib/user/java/libCode:
lib.dir=${src.dir}/../libCode:
BUILD FAILEDI know that I can just place my libraries in a Pie-API/lib/lib/ folder, but I'm sure that I'm doing something awfully wrong. Is there any way of correctly setting a different userLibs.dir directory? |
Re: Java external libraries
Ok, I got it. I just had to set the userLibs.dir option in my build.properties like:
Code:
userLibs.dir=lib |
| All times are GMT -5. The time now is 04:04. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi