Go to Post It's about compressing life into 6 weeks. It's about doing. It's about learning to fail. It's about gracious professionalism. It's about releasing the limitations that we all put on ourselves. It's about thinking outside of the box. It's about growing. - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
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-2015, 17:45
VD3626 VD3626 is offline
Registered User
FRC #3626
 
Join Date: Jan 2015
Location: Texas
Posts: 6
VD3626 is an unknown quantity at this point
Errors when deploying code to robot

I am writing the code for my robot in C++. I tried to deploy the code to my robot by right-clicking the project and then going to Run As>WPILIB C++ deploy. I have been able to build the code before without getting any errors but when I deploy it I get an error in build.xml

Here is the file:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<project name="FRC Deployment" default="deploy">

  <!--
  The following properties can be defined to override system level
  settings. These should not be touched unless you know what you're
  doing. The primary use is to override the wpilib version when
  working with older robots that can't compile with the latest
  libraries.
  -->

  <!-- By default the system version of WPI is used -->
  <!-- <property name="version" value=""/> -->

  <!-- By default the system team number is used -->
  <!-- <property name="team-number" value=""/> -->

  <!-- By default the target is set to 10.TE.AM.2 -->
  <!-- <property name="target" value=""/> -->

  <property file="${user.home}/wpilib/wpilib.properties"/>
  <property file="build.properties"/>
  <property file="${user.home}/wpilib/cpp/${version}/ant/build.properties"/>

  <import file="${wpilib.ant.dir}/build.xml"/>

</project>
The error is in line 3 and it says that "Default target deploy does not exist in this project", here is the line:
Code:
<project name="FRC Deployment" default="deploy">
There is also a warning in like 26 which says, "Cannot find /Users/victordusa/workspace/MyRobot/${wpilib.ant.dir}/build.xml imported from /Users/victordusa/workspace/MyRobot/build.xml", here is that line:
Code:
<import file="${wpilib.ant.dir}/build.xml"/>
Also when I try to deploy this is what I get in the console:
Buildfile: /Users/victordusa/workspace/MyRobot/build.xml

BUILD FAILED
/Users/victordusa/workspace/MyRobot/build.xml:26: Cannot find /Users/victordusa/workspace/MyRobot/${wpilib.ant.dir}/build.xml imported from /Users/victordusa/workspace/MyRobot/build.xml

Total time: 197 milliseconds

I have no idea what the problem is. Any help is appreciated.

Last edited by VD3626 : 12-01-2015 at 18:06. Reason: More information about the problem
 


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 22:19.

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