Team-1922 / TinMan2016

The year the code works
0 stars 0 forks source link

Copy XML file via ANT #20

Closed KevinMackenzie closed 8 years ago

KevinMackenzie commented 8 years ago

It is very inconvenient to constantly update the XMLData class, so I want to see if we can upload the .xml file as part of the ANT deploy

KevinMackenzie commented 8 years ago

First start of this is done. it is not very hard, but it is not tested. The code does not take advantage of this feature, not commited in github yet.

KevinMackenzie commented 8 years ago

see "newWPIBuild.xml" for the updated code. This overrides the "build.xml" in the "wpitools/java/current/ant" subfolder. Added "upload-cfg" task which just scp copies the xml file like it would the .jar file on a deploy. Also added this upload as a dependency to "deploy" and "debug-deploy"

KevinMackenzie commented 8 years ago

it works :)