As promised... when you create your Java project, you should see a build.properties file. Open that up, and you'll see something similar to:
Quote:
# Project specific information
package=org.usfirst.frc.team2177.robot
robot.class=${package}.Robot
simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world
|
To get the jar's copying to the roboRIO correctly, add a line for the classpath and include all jars (including wpilib and networktables!):
Quote:
# Project specific information
package=org.usfirst.frc.team2177.robot
robot.class=${package}.Robot
simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world
classpath=../WPILib.jar:../NetworkTables.jar:../minnesota_swerve.jar
|
Please note that the classpath needs the correct path to each jar file - in this example, we had copied out the WPILib and NetworkTables jars to someplace a little easier for us to reference than the default location. The relative path is from the project folder. I've bolded the custom jar we added.