Go to Post When in doubt, ask... don't assume (unless you don't mind wasting time/money). - Bill Gold [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 20-01-2017, 21:05
BertTurtle BertTurtle is offline
Registered User
FRC #5940
 
Join Date: Apr 2016
Location: Burlingame, CA
Posts: 4
BertTurtle will become famous soon enough
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2017, 21:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2017, 17:01
david.e.boles david.e.boles is offline
Bringer of Whales and Petunias
AKA: david476
FRC #5940 (BREAD)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2011
Location: San Francisco, CA
Posts: 30
david.e.boles is on a distinguished road
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?

Last edited by david.e.boles : 21-01-2017 at 17:06.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2017, 17:20
david.e.boles david.e.boles is offline
Bringer of Whales and Petunias
AKA: david476
FRC #5940 (BREAD)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2011
Location: San Francisco, CA
Posts: 30
david.e.boles is on a distinguished road
Re: Unable to deploy project which imports another project

Whoooops! Thanks for the tip Joe.


Any hints on auto-building our core?
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 13:16.

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