mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
52 lines
2.4 KiB
XML
52 lines
2.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.experimental" default="netbeans" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
|
<description>Builds, tests, and runs the project org.sleuthkit.autopsy.experimental.</description>
|
|
<import file="nbproject/build-impl.xml"/>
|
|
<import file="../BootstrapIvy.xml"/>
|
|
|
|
<property name="thirdparty.dir" value="${basedir}/../thirdparty" />
|
|
<property name="modules.dir" value="${basedir}/release/modules/" />
|
|
<property name="ext.dir" value="${modules.dir}/ext" />
|
|
|
|
<target name="resolve">
|
|
<ivy:settings file="ivysettings.xml" />
|
|
<ivy:resolve file="ivy.xml" conf="experimental" log="quiet"/>
|
|
</target>
|
|
|
|
<target name="retrieve-experimental" depends="resolve">
|
|
<ivy:retrieve conf="experimental" pattern="${basedir}/release/modules/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
|
</target>
|
|
|
|
<target name="retrieve-all" depends="resolve">
|
|
<ivy:retrieve conf="*" pattern="${basedir}/release/modules/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
|
</target>
|
|
|
|
<target name="init" depends="retrieve-all, harness.init" />
|
|
|
|
<target name="clean" depends="projectized-common.clean">
|
|
<!--Override clean to delete jars, etc downloaded with Ivy
|
|
or copied in from thirdparty folder. This way we don't end up with
|
|
out-of-date/unneeded stuff in the installer-->
|
|
<delete dir="${basedir}/release"/>
|
|
</target>
|
|
|
|
<target name="compile" depends="projectized-common.compile">
|
|
<antcall target="copy-bundle" />
|
|
</target>
|
|
|
|
<target name="copy-bundle">
|
|
<!-- the externalized strings in 'src' are in both the java files as annotations and in the Bundle.property files.
|
|
The strings get merged during compilation. This target copies that merged file into src so that it can be checked
|
|
in and used as a basis for translation efforts -->
|
|
<copy todir="src">
|
|
<fileset dir="build/classes">
|
|
<include name="**/Bundle.properties"/>
|
|
</fileset>
|
|
<globmapper from="*" to="*-MERGED"/>
|
|
</copy>
|
|
</target>
|
|
</project>
|