Skip to content

Commit a2f2c5e

Browse files
committed
Corrected the jar task in the build.xml that Strongback uses to build projects
1 parent 728706c commit a2f2c5e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

ant/strongback/build.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
<mkdir dir="${dist.dir}" />
5656
<mkdir dir="${build.jars}" />
5757

58+
<echo>Copying jars from ${strongback.classpath} to ${build.jars}.</echo>
59+
<copy todir="${build.jars}" flatten="true">
60+
<path>
61+
<pathelement path="${strongback.classpath}"/>
62+
</path>
63+
</copy>
64+
5865
<jar destfile="${dist.jar}" update="false">
5966
<manifest>
6067
<attribute name="Main-Class" value="edu.wpi.first.wpilibj.RobotBase"/>
@@ -68,14 +75,6 @@
6875
<include name="**/*.jar" />
6976
</zipgroupfileset>
7077
</jar>
71-
72-
<echo>Copying jars from ${strongback.classpath} to ${build.jars}.</echo>
73-
<copy todir="${build.jars}" flatten="true">
74-
<file file="${dist.jar}"/>
75-
<path>
76-
<pathelement path="${strongback.classpath}"/>
77-
</path>
78-
</copy>
7978
</target>
8079

8180
<!-- Check if there are any JUnit Tests -->

0 commit comments

Comments
 (0)