Go to Post The only odd part about this competition is that rather than further convince me that I want to be an engineer, it did the converse... I want to be a teacher. - pauluffel [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-01-2017, 20:02
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 68
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
Java Deploy for Debug not functional?

Is anyone else having issues with the java debug deploy option this year?

We are using eclipse Neon on windows 10, 64 bit. We can create a brand new iterative robot project (leaving the boilerplate code in) and deploy it without issue to the RIO.

However, the debug deploy does not appear to do anything. Eclipse flips over to the debug perspective, but we get no console output, nor does the RIO appear to restart. Nothing shows up under any of the debug window panes....

Anyone else seen this yet? Or if not, and ideas on where to start debugging?

Thanks!

EDIT: Installed ant 1.9.7 independently on my computer, and ran "ant debug-deploy" in the root directory of the project. Got the following output:

Code:
...
compile:
     [echo] [athena-compile] Compiling src with classpath=C:\Users\Chris Gerth\wpilib\java\current\lib\WPILib.jar;C:\Users\Chris Gerth\wpilib\java\current\lib\NetworkTables.jar;C:\Users\Chris Gerth\wpilib\java\current\lib\opencv.jar;C:\Users\Chris Gerth\wpilib\java\current\lib\cscore.jar to build

jar:
     [echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
     [echo] [athena-jar] Copying jars to build/jars.

get-target-ip:
     [echo] Trying Target: roboRIO-1736-FRC.local
     [echo] roboRIO found via mDNS

dependencies:
     [echo] roboRIO image version validated
     [echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s...ller-java-only
  [sshexec] Connecting to roboRIO-1736-FRC.local:22
  [sshexec] cmd : test -d /usr/local/frc/JRE

debug-deploy:

BUILD FAILED
C:\Users\Chris Gerth\wpilib\java\current\ant\build.xml:192: required attribute libs.deploydir not set

Total time: 7 seconds

D:\RobotCasserole\eclipseWorkspace2017\TestEmptyProject>

Looking at that line, it would appear in fact that libs.deploydir is not set..... is this possibly a version of ant thing?


Edit2: Confirmed that by editing C:\Users\Chris Gerth\wpilib\java\current\ant\build.xml to have the same libs.deploydir that the debug target has gets the build to complete successfully. Seems to be working in eclipse too, although I have to manually relaunch the Remote Java Application on the RIO to start debugging. To Github to post a PR!

Last edited by gerthworm : 12-01-2017 at 21:20.
Reply With Quote
 


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 10:43.

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