我想編寫一個調用實際需要完整路徑的外部實用程序(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