Ant

  • August 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Ant as PDF for free.

More details

  • Words: 257
  • Pages: 2
<project default="convert" basedir="."> <property name="flashprinter.exe" value="C:\Program Files\Macromedia\FlashPaper 2\FlashPrinter.exe" /> <pathelement location="${basedir}/ant-contrib-1.0b3.jar"/> <sequential> <propertyregex property="filenameMinusExtension" override="yes" input="@{file}" regexp=".*\\([^\\]+)\.pdf" replace="\1" />
Compare the timestamp from the PDF to the FlashPaper, if either PDF is newer, or if the FlashPaper version

--> <sourcefiles> <pathelement path="@{file}" />

<sequential> <exec executable="${flashprinter.exe}"> <arg line=""@{file}" -o "${output.dir}${filenameMinusExtension}.swf"" />
Give some time for FlashPrinter to finish moving on to the next file to convert.

and you might need to adjust accordingly. --> <sleep seconds="30" />

Related Documents

Ant
July 2020 28
Ant
November 2019 36
Ant
November 2019 38
Ant
August 2019 42
Ant
November 2019 29
Ant
April 2020 24