{"id":1917,"date":"2017-12-06T11:32:07","date_gmt":"2017-12-06T11:32:07","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1917"},"modified":"2020-01-09T09:42:34","modified_gmt":"2020-01-09T09:42:34","slug":"antunable-to-create-directory-as-a-file-already","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/antunable-to-create-directory-as-a-file-already\/","title":{"rendered":"Ant+Unable to create directory as a file already"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: Ant+Unable to create directory as a file already<\/strong><br \/>\nHi,<\/p>\n<p>I have one file called djir.ear and I am trying to create a folder with the same name &#8220;jir.ear&#8221; same location using ant script.<br \/>\nbut i get error message saying that<br \/>\nUnable to create directory as a file alr<br \/>\neady exists with that name<\/p>\n<p>Can you suggest me any solution for this? as i build is failing and mkdir do not support failonerror propertry \ud83d\ude41<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: Ant+Unable to create directory as a file already Hi, I have one file called djir.ear and I am trying to create a folder with the same name &#8220;jir.ear&#8221; same location using ant script. but i get error message saying that Unable to create directory as a file alr eady exists with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[12],"tags":[209],"class_list":["post-1917","post","type-post","status-publish","format-standard","hentry","category-apache-ant","tag-ant"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1917"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1917\/revisions"}],"predecessor-version":[{"id":1918,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1917\/revisions\/1918"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}