Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Unable to deploy project which imports another project (http://www.chiefdelphi.com/forums/showthread.php?t=153994)

BertTurtle 20-01-2017 21:05

Unable to deploy project which imports another project
 
I can import one project from eclipse into another project, and no errors are showing up, but when I try to deploy it, the console says the import does not exist, and it does not work.

Thanks for your help.

Joe Ross 20-01-2017 21:39

Re: Unable to deploy project which imports another project
 
You need to have the first project generate a jar, which you can then use in accordance with http://wpilib.screenstepslive.com/s/...arty-libraries

david.e.boles 21-01-2017 17:01

Re: Unable to deploy project which imports another project
 
We just tried that, with BREAD-Robot-Core.jar in C:\Users\David Boles\wpilib\java\current\lib, it crashes. If we add:

<fileset file="C:\Users\David Boles\wpilib\java\current\lib\BREAD-Robot-Core.jar"/>

<path id="classpath.path">
<fileset dir="${userLibs.dir}" includes="*.jar"/>
<fileset file="${wpilib.jar}"/>
<fileset file="${networktables.jar}"/>
<fileset file="${opencv.jar}"/>
<fileset file="${cscore.jar}"/>
here
<fileset dir="${userLibs}" erroronmissingdir="false"/>
</path>

in WPILib's build.xml it seems to work fine. Are we doing something wrong or is this an issue with WPILib's 3rd party library building process?

david.e.boles 21-01-2017 17:20

Re: Unable to deploy project which imports another project
 
Whoooops!::rtm:: Thanks for the tip Joe.


Any hints on auto-building our core?


All times are GMT -5. The time now is 21:49.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi