From e9aade0924d60f265cfb5112adb961241252e483 Mon Sep 17 00:00:00 2001 From: Zach Anderson Date: Thu, 17 Sep 2015 23:17:13 -0500 Subject: [PATCH 1/2] Initial build scripts Files in the ant/project folder will be duplicated and modified for each project using strongback. Files in the ant/strongback folder will be distributed with the library. --- ant/.project | 11 +++++++++ ant/project/build.properties | 4 +++ ant/project/build.xml | 30 ++++++++++++++++++++++ ant/strongback/build.properties | 5 ++++ ant/strongback/build.xml | 44 +++++++++++++++++++++++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 ant/.project create mode 100644 ant/project/build.properties create mode 100644 ant/project/build.xml create mode 100644 ant/strongback/build.properties create mode 100644 ant/strongback/build.xml diff --git a/ant/.project b/ant/.project new file mode 100644 index 0000000..fd8edbf --- /dev/null +++ b/ant/.project @@ -0,0 +1,11 @@ + + + ant + + + + + + + + diff --git a/ant/project/build.properties b/ant/project/build.properties new file mode 100644 index 0000000..658f424 --- /dev/null +++ b/ant/project/build.properties @@ -0,0 +1,4 @@ +# Project specific information +package=org.usfirst.frc.teamXXXX.robot +robot.class=${package}.Robot +simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world diff --git a/ant/project/build.xml b/ant/project/build.xml new file mode 100644 index 0000000..87c9fb3 --- /dev/null +++ b/ant/project/build.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ant/strongback/build.properties b/ant/strongback/build.properties new file mode 100644 index 0000000..b40e7e1 --- /dev/null +++ b/ant/strongback/build.properties @@ -0,0 +1,5 @@ +strongback.home=${user.home}/strongback +strongback.ant.dir=${strongback.home}/ant/ +strongback=${strongback.home}/strongback.jar + +strongback.classpath=${classpath}:${strongback} \ No newline at end of file diff --git a/ant/strongback/build.xml b/ant/strongback/build.xml new file mode 100644 index 0000000..302a401 --- /dev/null +++ b/ant/strongback/build.xml @@ -0,0 +1,44 @@ + + + + + + + + + + Compiling strongback based robot with classpath ${strongback.classpath} + + + + + + Making jar ${dist.jar}. + + + + Copying jars from ${strongback.classpath} to ${build.jars}. + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 67bf191fd32f5df5d5d7061b9fdc84b4d56cdbf3 Mon Sep 17 00:00:00 2001 From: Zach Anderson Date: Thu, 17 Sep 2015 23:42:54 -0500 Subject: [PATCH 2/2] Added newline at end of files in 'ant/' --- ant/strongback/build.properties | 2 +- ant/strongback/build.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ant/strongback/build.properties b/ant/strongback/build.properties index b40e7e1..23cf124 100644 --- a/ant/strongback/build.properties +++ b/ant/strongback/build.properties @@ -2,4 +2,4 @@ strongback.home=${user.home}/strongback strongback.ant.dir=${strongback.home}/ant/ strongback=${strongback.home}/strongback.jar -strongback.classpath=${classpath}:${strongback} \ No newline at end of file +strongback.classpath=${classpath}:${strongback} diff --git a/ant/strongback/build.xml b/ant/strongback/build.xml index 302a401..9a74059 100644 --- a/ant/strongback/build.xml +++ b/ant/strongback/build.xml @@ -41,4 +41,4 @@ - \ No newline at end of file +