전체 경로가 필요한 외부 유틸리티 (사실 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>
Windows의 경우 Inkscape requires absolute paths입니다. 그렇다면 어떻게하면 앤트를 동축시켜 build_exe/filename
을 절대 경로로 만들 수 있습니까? 또는 Inkscape (아마도 작업 디렉토리 설정)에 대한 해결책이 있습니까?
완벽! 당신에게 많은 포인트 :) –