Skip to content

Commit

Permalink
used new build.xml with platform specific before-deploy targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Deinhofer committed Aug 5, 2016
1 parent 05b5b54 commit 83ce717
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions CameraInput/XFacetrackerLK/build.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="asterics-application" default="deploy" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<project name="asterics-application" default="APE-copy" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<import file="../../imported.xml"/>


<!-- do platform specific preparations before deployment: here you can delete some platform specific files -->
<target name="before-deploy-windows" if="APE.isWindows">
<delete verbose="true">
<fileset dir="${build.merged.ARE}" includes="javacv-*-linux.jar, javacv-*-macosx.jar"/>
</delete>
</target>
<target name="before-deploy-linux" if="APE.isLinux">
<delete verbose="true">
<fileset dir="${build.merged.ARE}" includes="javacv-*-windows.jar, javacv-*-macosx.jar"/>
</delete>
</target>
<target name="before-deploy-macosx" if="APE.isMacOSX">
<delete verbose="true">
<fileset dir="${build.merged.ARE}" includes="javacv-*-windows.jar, javacv-*-linux.jar"/>
</delete>
</target>


<!-- if you want to compile and modify something on your own, before the installer is created -->
<target name='before-deploy'>
</target>

<target name="deploy" depends="init-fx-tasks, cleanup, setup-staging-area, APE-copy, before-deploy, make-installer-only">
<target name="deploy" depends="init-fx-tasks, cleanup, setup-staging-area, APE-copy, before-deploy, before-deploy-windows, before-deploy-linux, before-deploy-macosx, make-installer-only">
</target>
</project>

0 comments on commit 83ce717

Please sign in to comment.