Chris Bailey wrote:
> Ok, the cygwin.home.user works. But, the slashes seem to be the opposite
> behavior. For example, I set a property for a Perl script we run, as this:
>
> <property name="bin" location="bin"/>
> <property name="wmdl.compiler" location="${bin}/wmdlcc.pl"/>
>
> Then I exec ${wmdl.compiler}, but what I see Ant 1.5Beta2 spit out is:
>
> BUILD FAILED
> C:\cygwin\home\crb\wego\build.xml:265: Execute failed: java.io.IOException:
> Crea
> teProcess: C:\cygwin\home\crb\wego\bin\wmdlcc.pl error=193
>
> So, Cygwin/Ant is using backslashes. It's also sticking the C: in there.
> It's as if it's behaving as a real Windows app. Do I not have something
> configured correctly?
>
The JDK *is* a real windows App and therefore Ant under that JDK,
regardless of whether you started it with cmd.exe or cygwin, thinks it
is running on Windows - which it is :-)
IOW, JDK is not linked against Cygwin.
Conor
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|