Skip to content

Commit

Permalink
Updates to build.xml to get lti to build under script
Browse files Browse the repository at this point in the history
  • Loading branch information
ffdixon committed Oct 28, 2012
1 parent 79cc237 commit 02af99a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bbb-lti/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<property name="ivy.home" value="${user.home}/.ant" />
<property name="ivy.jar.dir" value="${ivy.home}/lib" />
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar" />
<property name="grails" value="grails" />

<target name="download-ivy" unless="offline">
<available file="${ivy.jar.file}" property="ivy.available"/>
Expand All @@ -16,7 +17,7 @@
<target name="-download-ivy" unless="ivy.available">
<mkdir dir="${ivy.jar.dir}"/>
<!-- download Ivy from web site so that it can be used even without any special installation -->
<get src="http://www.apache.org/dist/ant/ivy/${ivy.install.version}/apache-ivy-${ivy.install.version}-bin.zip"
<get src="http://archive.apache.org/dist/ant/ivy/${ivy.install.version}/apache-ivy-${ivy.install.version}-bin.zip"
dest="${ivy.home}/ivy.zip" usetimestamp="true" verbose="true"/>
<unzip src="${ivy.home}/ivy.zip" dest="${ivy.jar.dir}">
<patternset>
Expand Down Expand Up @@ -115,8 +116,12 @@
<!-- =================================
target: war
================================= -->

<target name="war" depends="-init-grails" description="--> Creates a WAR of a Grails application">
<grails script="War"/>
<exec executable="${grails}" failonerror="true">
<arg value="war"/>
</exec>
<!--grails script="War"/-->
</target>

<!-- =================================
Expand Down

0 comments on commit 02af99a

Please sign in to comment.