Skip to content
Snippets Groups Projects
Unverified Commit 88f02d8a authored by Brian Carrier's avatar Brian Carrier Committed by GitHub
Browse files

Merge pull request #1100 from sleuthkit/java_build1

Add offline condition for downloading ivy deps
parents 89adaf8f 20cb9179
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
</target> </target>
<target name="retrieve-deps" description="retrieve dependencies using ivy" depends="init-ivy"> <target name="retrieve-deps" description="retrieve dependencies using ivy" depends="init-ivy" unless="offline">
<ivy:settings file="ivysettings.xml" /> <ivy:settings file="ivysettings.xml" />
<ivy:resolve/> <ivy:resolve/>
<ivy:retrieve sync="true" <ivy:retrieve sync="true"
...@@ -179,9 +179,9 @@ ...@@ -179,9 +179,9 @@
<target name="clean" <target name="clean"
description="clean up" > description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/> <delete dir="${build}"/>
<delete dir="${dist}"/> <delete dir="${dist}"/>
<delete dir="${lib}"/>
</target> </target>
<target name ="javadoc" description="Make the API docs"> <target name ="javadoc" description="Make the API docs">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment