At 11:22 19/9/00 +0200, you wrote:
>>>>>> "PN" == Peter Nordlund <peter.nordlund@lentus.se> writes:
>
> PN> I feel a need for a "dir" attribute to both the java task and
> PN> junit task. The "dir" attribute should work approximately as it
> PN> does for the Exec task.
>
>We cannot do that in the fork="no" case, though AFAIK. I seem to
>remember Peter Donald did some experiments with setting user.dir but I
>can't remember wether it worked in Java 1.1 as well.
It worked under all sun and IBM vms that I tested but it is not guarenteed
to work in all VMS and can possibly leave tasks in inconsistent state etc.
So generally it was a hack that *may* work but not guarenteed so thus
probaly should not be put in.
Cheers,
Pete
*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power." |
| -Abraham Lincoln |
*------------------------------------------------------*
|