mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-11 23:46:15 +00:00
35 lines
1.4 KiB
XML
35 lines
1.4 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.core" default="netbeans" basedir=".">
|
|
<description>Builds, tests, and runs the project org.sleuthkit.autopsy.core.</description>
|
|
<import file="nbproject/build-impl.xml"/>
|
|
|
|
|
|
<!-- Verify that the TSK_HOME env variable is set -->
|
|
<target name="findTSK">
|
|
<property environment="env"/>
|
|
<condition property="tskFound">
|
|
<isset property="env.TSK_HOME"/>
|
|
</condition>
|
|
<fail unless="tskFound" message="TSK_HOME must be set as an environment variable."/>
|
|
<echo> TSK_HOME: ${env.TSK_HOME}</echo>
|
|
</target>
|
|
|
|
<target name="getTSKJars" depends="findTSK">
|
|
<property environment="env"/>
|
|
<copy file="${env.TSK_HOME}/bindings/java/dist/Tsk_DataModel.jar" tofile="${basedir}/release/modules/ext/Tsk_DataModel.jar"/>
|
|
<copy file="${env.TSK_HOME}/bindings/java/lib/sqlite-jdbc-3.7.2.jar" tofile="${basedir}/release/modules/ext/sqlite-jdbc-3.7.2.jar"/>
|
|
</target>
|
|
|
|
<target name="init" depends="basic-init,files-init,build-init,-javac-init">
|
|
|
|
<!-- get additional deps -->
|
|
<antcall target="getTSKJars" />
|
|
|
|
</target>
|
|
|
|
|
|
</project>
|