Quote:
Originally Posted by fsilberberg
|
We saw that, however we've sworn off Eclipse this year for IntelliJ Idea for our Java development. The student's weren't quite ready for a Gradle build so the hoops we had to go through to continue to support the ANT build/deploy for 2016 code were a bit much.
Code:
<target name="doInstall" depends="wpilib.check" unless="wpilib.exists">
<mkdir dir="${wpilib}"/>
<get src="http://first.wpi.edu/FRC/roborio/release/eclipse/plugins/edu.wpi.first.wpilib.plugins.java_0.1.0.201603020231.jar"
dest="${wpilib}/plugin.jar"/>
<unzip src="${wpilib}/plugin.jar" dest="${wpilib}">
<patternset>
<include name="resources/java.zip"/>
</patternset>
<mapper type="flatten"/>
</unzip>
<delete file="${wpilib}/plugin.jar" />
<unzip src="${wpilib}/java.zip" dest="${wpilib}"/>
<delete file="${wpilib}/java.zip" />
</target>
We're hoping for a smoother 2017 code build/deploy cycle that's a bit more platform/IDE independent. (And yes, we're a looking at GradleRIO once we finish our off season.

)