ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@apache.org>
Subject Re: pushd and popd
Date Wed, 12 Dec 2001 08:19:17 GMT
----- Original Message -----
From: "Frank E. Weiss" <frankw@well.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Wednesday, December 12, 2001 4:23 AM
Subject: Re: pushd and popd


> vlad@trilogy.com wrote:
>
> > Unfortunately, Java does not support the notion of a changeable current
> > process directory.
> >
>
> BINGO! That's why ant's implementation of <exec> is so twisted. People at
Sun
> are looking into fixing the JVM for java.lang.Runtime.exec() by adding a
way
> to set the subprocesses working directory. The reason they don't allow
> changing the cwd in a JVM is because of thread safety issues.

And I thought they already did that for JDK 1.3?

http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html#exec(java.lang.
String[],%20java.lang.String[],%20java.io.File)

Nico



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message