You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Robin Green <gr...@hotmail.com> on 2000/04/08 17:17:41 UTC

RE: mkdir failed (was RE: dependencies during compilation)

I just thought of a crazy reason why it might not work. It's a long shot.

If the current directory on drive E: is build, or inside build, it won't be 
able to delete build (on some operating systems at least). Then when it 
tries to recreate build, it will exit with "unknown error".

I'm not sure how this should be fixed in the ant code, because it's a 
well-known problem with Java that you can't reliably change current 
directory at the OS level.

So try cd e:\ before running ant. Does it work now?

Bryan Galligan <bG...@drkoop.com> wrote:
>attached is the build.xml file as well as the logfile that contains the
>errors.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


RE: mkdir failed (was RE: dependencies during compilation)

Posted by Fergus Gallagher <Fe...@OrbisUK.com>.
I didn't see the full original post  but I had similar errors.

I found that it occurs when an NT Explorer window is open in the target 
directory, especially when doing a "clean" build.


At 15:17 08/04/00 +0100, you wrote:
>I just thought of a crazy reason why it might not work. It's a long shot.
>
>If the current directory on drive E: is build, or inside build, it won't 
>be able to delete build (on some operating systems at least). Then when it 
>tries to recreate build, it will exit with "unknown error".
>
>I'm not sure how this should be fixed in the ant code, because it's a 
>well-known problem with Java that you can't reliably change current 
>directory at the OS level.
>
>So try cd e:\ before running ant. Does it work now?
>
>Bryan Galligan <bG...@drkoop.com> wrote:
>>attached is the build.xml file as well as the logfile that contains the
>>errors.
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com

--
Fergus Gallagher
Orbis
http://www.orbisuk.com/
+44-(0)20-8987 0717