【发布时间】:2009-05-21 19:33:54
【问题描述】:
我想编写一个调用需要完整路径的外部实用程序(实际上是 Inkscape)的 Ant 脚本。现在我有
<exec executable="${inkscape.path}">
<arg value="--file=build_exe/splash.svg" />
<arg value="--export-png=build_exe/splash.png" />
<arg value="-C" />
</exec>
在 Windows 上,Inkscape requires absolute paths。那么如何才能哄 Ant 让build_exe/filename 成为我的绝对路径呢?或者,是否有 Inkscape 的解决方法(可能是设置工作目录)?
【问题讨论】:
标签: ant build-automation filenames inkscape