{"id":135,"date":"2009-06-20T05:02:47","date_gmt":"2009-06-20T05:02:47","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2009\/06\/20\/opy-and-include-issues-in-apache-ant\/"},"modified":"2021-02-27T09:55:27","modified_gmt":"2021-02-27T09:55:27","slug":"apache-ant-copy-and-include-issue","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/","title":{"rendered":"How to Resolve Apache Ant Copy and Include Issues &#8211; Ant Guide"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4058 aligncenter\" src=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png\" alt=\"issues-in-apache-ant\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png 600w, https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>Question: Why Copy in ant is not working if I am putting includes separately?<br \/>\nAnt version: Apache Ant version 1.5.4 compiled on January 8 2005.<\/strong><\/p>\n<p>Program 1 is not working and Program 2 is working.\u00a0 I guess both programs are correct..<br \/>\nProgram1:<br \/>\n&lt;copy todir=&#8221;${Temp}\/uaw\/Uaw_compilescripts&#8221;&gt;<br \/>\n&lt;fileset dir=&#8221;${SVNCheckout}\/scripts\/compilescripts&#8221; &gt;<br \/>\n&lt;include name=&#8221;BuildSh,Compsh,vsamc,buildc.sh,script,compl2,main.sh,makefile,makepl1,script&#8221;\/&gt;<\/p>\n<p>&lt;\/fileset&gt;<br \/>\n&lt;\/copy&gt;<\/p>\n<p>Program2:<\/p>\n<p>&lt;copy todir=&#8221;${Temp}\/uaw\/Uaw_compilescripts&#8221;&gt;<br \/>\n&lt;fileset dir=&#8221;${SVNCheckout}\/scripts\/compilescripts&#8221; includes=&#8221;BuildSh,Compsh,vsamc,buildc.sh,script,compl2,main.sh,makefile,makepl1,script&#8221; \/&gt;<br \/>\n&lt;\/copy&gt;<\/p>\n<p><strong>ANSWER<\/strong><\/p>\n<p>Because &lt;include name=&#8221;&gt; does not split up the name using &#8216;,&#8217;<br \/>\nYou need to have :<br \/>\n&lt;include name=&#8221;BuildSh&#8221;\/&gt;<br \/>\n&lt;include name=&#8221;Compsh&#8221;\/&gt;<br \/>\n&lt;include name=&#8221;vsamc&#8221;\/&gt;<\/p>\n<p>etc..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: Why Copy in ant is not working if I am putting includes separately? Ant version: Apache Ant version 1.5.4 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":4058,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[12],"tags":[209,3196,3197,3200,3201,683,3195,3193,3194,2881,2882,2520,3191,3190,3192,3189,255,1028],"class_list":["post-135","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache-ant","tag-ant","tag-ant-copy-and-include-issue-troubleshooting","tag-ant-copy-issue-troubleshooting-guide","tag-ant-troubleshooting","tag-ant-troubleshooting-guide","tag-apache-ant","tag-apache-ant-copy-and-include-issue","tag-apache-ant-copy-issue","tag-apache-ant-copy-toubleshoot","tag-apache-ant-guide","tag-apache-ant-tutorial","tag-copy","tag-copy-and-include-issue-in-ant","tag-copy-issue","tag-copy-problem","tag-include","tag-issues","tag-problems"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Resolve Apache Ant Copy and Include Issues - Ant Guide - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Resolve Apache Ant Copy and Include Issues - Ant Guide - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Question: Why Copy in ant is not working if I am putting includes separately? Ant version: Apache Ant version 1.5.4 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2009-06-20T05:02:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:55:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"How to Resolve Apache Ant Copy and Include Issues &#8211; Ant Guide\",\"datePublished\":\"2009-06-20T05:02:47+00:00\",\"dateModified\":\"2021-02-27T09:55:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/\"},\"wordCount\":151,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/06\\\/issues-in-apache-ant-1.png\",\"keywords\":[\"ANT\",\"Ant Copy and Include issue Troubleshooting\",\"Ant Copy issue Troubleshooting Guide\",\"Ant Troubleshooting\",\"Ant Troubleshooting Guide\",\"Apache Ant\",\"Apache Ant Copy and Include issue\",\"Apache Ant copy Issue\",\"Apache Ant copy toubleshoot\",\"Apache ant Guide\",\"Apache Ant Tutorial\",\"Copy\",\"Copy and Include Issue in Ant\",\"Copy Issue\",\"Copy Problem\",\"Include\",\"issues.\",\"Problems\"],\"articleSection\":[\"Apache Ant\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/\",\"name\":\"How to Resolve Apache Ant Copy and Include Issues - Ant Guide - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/06\\\/issues-in-apache-ant-1.png\",\"datePublished\":\"2009-06-20T05:02:47+00:00\",\"dateModified\":\"2021-02-27T09:55:27+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/06\\\/issues-in-apache-ant-1.png\",\"contentUrl\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2009\\\/06\\\/issues-in-apache-ant-1.png\",\"width\":600,\"height\":400,\"caption\":\"issues-in-apache-ant\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/apache-ant-copy-and-include-issue\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Resolve Apache Ant Copy and Include Issues &#8211; Ant Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Resolve Apache Ant Copy and Include Issues - Ant Guide - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/","og_locale":"en_US","og_type":"article","og_title":"How to Resolve Apache Ant Copy and Include Issues - Ant Guide - scmGalaxy","og_description":"Question: Why Copy in ant is not working if I am putting includes separately? Ant version: Apache Ant version 1.5.4 [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/","og_site_name":"scmGalaxy","article_published_time":"2009-06-20T05:02:47+00:00","article_modified_time":"2021-02-27T09:55:27+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png","type":"image\/png"}],"author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"How to Resolve Apache Ant Copy and Include Issues &#8211; Ant Guide","datePublished":"2009-06-20T05:02:47+00:00","dateModified":"2021-02-27T09:55:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/"},"wordCount":151,"commentCount":0,"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png","keywords":["ANT","Ant Copy and Include issue Troubleshooting","Ant Copy issue Troubleshooting Guide","Ant Troubleshooting","Ant Troubleshooting Guide","Apache Ant","Apache Ant Copy and Include issue","Apache Ant copy Issue","Apache Ant copy toubleshoot","Apache ant Guide","Apache Ant Tutorial","Copy","Copy and Include Issue in Ant","Copy Issue","Copy Problem","Include","issues.","Problems"],"articleSection":["Apache Ant"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/","name":"How to Resolve Apache Ant Copy and Include Issues - Ant Guide - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#primaryimage"},"image":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#primaryimage"},"thumbnailUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png","datePublished":"2009-06-20T05:02:47+00:00","dateModified":"2021-02-27T09:55:27+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#primaryimage","url":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png","contentUrl":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2009\/06\/issues-in-apache-ant-1.png","width":600,"height":400,"caption":"issues-in-apache-ant"},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/apache-ant-copy-and-include-issue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Resolve Apache Ant Copy and Include Issues &#8211; Ant Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":4059,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/135\/revisions\/4059"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media\/4058"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}