Hello!

I want to automate a build and need some external programs with exec.

I have some properties from the command line (NT, Unix) which are defined
with e.g. with -Dpath=c:\build

Then I want to add some suffix:
<property name="src.dir" value="${path}/${src}"/>

src.dir is now c:\build/src (with a slash!)

Then I want to execute an external program: e.g.

<exec dir="${jidl.dir}" executable="jidl">
   <arg line="--output-dir ${dst.java.dir} --tie ${src.dir}/my.idl"/>
</exec>

The problem is that ${src.dir}/my.idl e.g. c:\build/src/my.idl is not
converted to NT Style names with \. How can this be done?

(I want c:\build\src\my.idl to have the same build file on NT and Unix).

Any ideas?

Ciao,
Gerhard

Reply via email to