Updates to build.xml to get lti to build under script
This commit is contained in:
parent
79cc2379d5
commit
02af99a3d8
@ -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"/>
|
||||
@ -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>
|
||||
@ -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>
|
||||
|
||||
<!-- =================================
|
||||
|
Loading…
Reference in New Issue
Block a user