Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Unable to create directory as a file already exists with that name

Rajesh Kumar

2010-08-06

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

I have one file called djir.ear and I am trying to create a folder with the
same name "jir.ear" same location using ant script.
but i get error message saying that

*Code: *
------------------------------
Unable to create directory as a file alr
eady exists with that name
------------------------------


Can you suggest me any solution for this? as i build is failing and mkdir do
not support failonerror propertry :(

===========================
Rajesh Kumar
Configuration, Build and Release Engineer
Blog: http://www.scmGalaxy.com
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.