mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
47 lines
2.3 KiB
XML
47 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
|
|
<!-- for some information on what you could do (e.g. targets to override). -->
|
|
<!-- If you delete this file and reopen the project it will be recreated. -->
|
|
<project name="org.sleuthkit.autopsy.keywordsearch" default="netbeans" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
|
<description>Builds, tests, and runs the project org.sleuthkit.autopsy.keywordsearch.</description>
|
|
<import file="nbproject/build-impl.xml"/>
|
|
|
|
|
|
<property name="ivy.install.version" value="2.1.0-rc2" />
|
|
<condition property="ivy.home" value="${env.IVY_HOME}">
|
|
<isset property="env.IVY_HOME" />
|
|
</condition>
|
|
<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.jar" />
|
|
|
|
<target name="download-ivy" unless="offline">
|
|
<mkdir dir="${ivy.jar.dir}"/>
|
|
<get src="http://repo2.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
|
|
dest="${ivy.jar.file}" usetimestamp="true"/>
|
|
</target>
|
|
|
|
<!-- init-ivy will bootstrap Ivy if the user doesn't have it already -->
|
|
<target name="init-ivy" depends="download-ivy">
|
|
<path id="ivy.lib.path">
|
|
<fileset dir="${ivy.jar.dir}" includes="*.jar"/>
|
|
</path>
|
|
<taskdef resource="org/apache/ivy/ant/antlib.xml"
|
|
uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
|
|
</target>
|
|
|
|
|
|
<target name="init" depends="basic-init,files-init,build-init,-javac-init,init-ivy">
|
|
|
|
<!-- fetch all the dependencies from Ivy and stick them in the right places -->
|
|
<ivy:resolve/>
|
|
<ivy:retrieve conf="autopsy" sync="true" pattern="/release/modules/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
|
<ivy:retrieve conf="solr-war" sync="true" pattern="/release/solr/webapps/solr.war" />
|
|
<ivy:retrieve conf="start-solr" sync="true" pattern="/release/solr/start.jar" />
|
|
<ivy:retrieve conf="jetty-libs" sync="true" pattern="/release/solr/lib/[artifact]-[revision](-[classifier]).[ext]" />
|
|
<ivy:retrieve conf="solr-libs" sync="true" pattern="/release/solr/solr/lib/[artifact]-[revision](-[classifier]).[ext]" />
|
|
|
|
</target>
|
|
|
|
</project>
|