{"id":1522,"date":"2008-01-29T16:23:00","date_gmt":"2008-01-29T16:23:00","guid":{"rendered":"http:\/\/gleamynode.net\/articles\/1522\/ant2eclipse-converts-ant-buildxml-into-eclipse-classpath"},"modified":"2022-12-28T01:46:22","modified_gmt":"2022-12-27T16:46:22","slug":"ant2eclipse-converts-ant-build-xml-into-eclipse-classpath","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/","title":{"rendered":"ant2eclipse – Converts Ant build.xml into Eclipse .classpath"},"content":{"rendered":"

Update: ant2eclipse has been deprecated by Ant2IDE<\/a>. Please use Ant2IDE instead.
\nI wrote a simple shell script called ‘ant2eclipse<\/tt>‘. It runs your ant build file with -v<\/tt> switch, gathers essential information such as source path, its output patch and the JAR<\/span> path that the project depends on, and generates or updates Eclipse .classpath<\/tt> file.
\nMore graceful solution would be to inject some byte code to key Ant tasks such as javac<\/tt> to gather various path information. It shouldn\u2019t be that difficult, but I\u2019m just OK with this simple script. Please feel free to download and modify to meet your need.
\nThis script was tested against the
JBoss Remoting<\/a>, version 3, so there\u2019s no guarantee that it will work for other projects. Use at your own risk. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"

Update: ant2eclipse has been deprecated by Ant2IDE. Please use Ant2IDE instead. I wrote a simple shell script called ‘ant2eclipse‘. It runs your ant build file with -v switch, gathers essential information such as source path, its output patch and the JAR path that the project depends on, and generates or updates Eclipse .classpath file. More… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"ant2eclipse - Converts Ant build.xml into Eclipse .classpath — T's message of the day<\/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:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ant2eclipse - Converts Ant build.xml into Eclipse .classpath — T's message of the day\" \/>\n<meta property=\"og:description\" content=\"Update: ant2eclipse has been deprecated by Ant2IDE. Please use Ant2IDE instead. I wrote a simple shell script called ‘ant2eclipse‘. It runs your ant build file with -v switch, gathers essential information such as source path, its output patch and the JAR path that the project depends on, and generates or updates Eclipse .classpath file. More... Continue reading →\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\" \/>\n<meta property=\"og:site_name\" content=\"T's message of the day\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:published_time\" content=\"2008-01-29T16:23:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-27T16:46:22+00:00\" \/>\n<meta name=\"author\" content=\"Trustin Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/www.twitter.com\/trustin\" \/>\n<meta name=\"twitter:site\" content=\"@trustin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Trustin Lee\" \/>\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:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\"},\"author\":{\"name\":\"Trustin Lee\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"headline\":\"ant2eclipse – Converts Ant build.xml into Eclipse .classpath\",\"datePublished\":\"2008-01-29T16:23:00+00:00\",\"dateModified\":\"2022-12-27T16:46:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\"},\"wordCount\":142,\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\",\"name\":\"ant2eclipse - Converts Ant build.xml into Eclipse .classpath — T's message of the day\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\"},\"datePublished\":\"2008-01-29T16:23:00+00:00\",\"dateModified\":\"2022-12-27T16:46:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vault.motd.kr\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ant2eclipse – Converts Ant build.xml into Eclipse .classpath\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/\",\"name\":\"T's message of the day\",\"description\":\"the best is yet to come\",\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\",\"name\":\"Trustin Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"contentUrl\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"width\":966,\"height\":966,\"caption\":\"Trustin Lee\"},\"logo\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/t.motd.kr\/\",\"https:\/\/www.facebook.com\/trustin\",\"https:\/\/www.instagram.com\/trustinlee\/\",\"https:\/\/www.linkedin.com\/in\/trustin\",\"https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin\",\"https:\/\/www.youtube.com\/@trustinlee\"]}]}<\/script>","yoast_head_json":{"title":"ant2eclipse - Converts Ant build.xml into Eclipse .classpath — T's message of the day","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:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/","og_locale":"en_US","og_type":"article","og_title":"ant2eclipse - Converts Ant build.xml into Eclipse .classpath — T's message of the day","og_description":"Update: ant2eclipse has been deprecated by Ant2IDE. Please use Ant2IDE instead. I wrote a simple shell script called ‘ant2eclipse‘. It runs your ant build file with -v switch, gathers essential information such as source path, its output patch and the JAR path that the project depends on, and generates or updates Eclipse .classpath file. More... Continue reading →","og_url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/","og_site_name":"T's message of the day","article_publisher":"https:\/\/www.facebook.com\/trustin","article_author":"https:\/\/www.facebook.com\/trustin","article_published_time":"2008-01-29T16:23:00+00:00","article_modified_time":"2022-12-27T16:46:22+00:00","author":"Trustin Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/www.twitter.com\/trustin","twitter_site":"@trustin","twitter_misc":{"Written by":"Trustin Lee","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/#article","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/"},"author":{"name":"Trustin Lee","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"headline":"ant2eclipse – Converts Ant build.xml into Eclipse .classpath","datePublished":"2008-01-29T16:23:00+00:00","dateModified":"2022-12-27T16:46:22+00:00","mainEntityOfPage":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/"},"wordCount":142,"publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/","url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/","name":"ant2eclipse - Converts Ant build.xml into Eclipse .classpath — T's message of the day","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#website"},"datePublished":"2008-01-29T16:23:00+00:00","dateModified":"2022-12-27T16:46:22+00:00","breadcrumb":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1522\/ant2eclipse-converts-ant-build-xml-into-eclipse-classpath\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vault.motd.kr\/wordpress\/"},{"@type":"ListItem","position":2,"name":"ant2eclipse – Converts Ant build.xml into Eclipse .classpath"}]},{"@type":"WebSite","@id":"https:\/\/vault.motd.kr\/wordpress\/#website","url":"https:\/\/vault.motd.kr\/wordpress\/","name":"T's message of the day","description":"the best is yet to come","publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d","name":"Trustin Lee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","contentUrl":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","width":966,"height":966,"caption":"Trustin Lee"},"logo":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/t.motd.kr\/","https:\/\/www.facebook.com\/trustin","https:\/\/www.instagram.com\/trustinlee\/","https:\/\/www.linkedin.com\/in\/trustin","https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin","https:\/\/www.youtube.com\/@trustinlee"]}]}},"_links":{"self":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1522"}],"collection":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/comments?post=1522"}],"version-history":[{"count":1,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1522\/revisions"}],"predecessor-version":[{"id":5800,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1522\/revisions\/5800"}],"wp:attachment":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=1522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=1522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=1522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}