我想编写一个调用实际需要完整路径的外部实用程序(Inkscape)的Ant脚本。现在我有在Ant脚本中展开一个相对路径,对于Inkscape
<exec executable="${inkscape.path}">
<arg value="--file=build_exe/splash.svg" />
<arg value="--export-png=build_exe/splash.png" />
<arg value="-C" />
</exec>
在窗口上,Inkscape requires absolute paths。那么我怎么能哄蚂蚱把build_exe/filename
变成我的绝对路径呢?或者,或者,Inkscape有没有解决方法(可能是设置工作目录)?
完美!许多指向你:) – 2009-05-21 20:51:25