{"id":1821,"date":"2010-10-01T10:18:28","date_gmt":"2010-10-01T15:18:28","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=1821"},"modified":"2010-10-01T10:18:28","modified_gmt":"2010-10-01T15:18:28","slug":"sqlplus-ant-task","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=1821","title":{"rendered":"SQL*Plus Ant Task"},"content":{"rendered":"<p><a href=\"http:\/\/incanto.sourceforge.net\/index.html\">Incanto <\/a>is good open source tool to invoke SQL*Plus from within Ant scripts.<\/p>\n<span id=\"Use_Incanto\"><h2>Use Incanto<\/h2><\/span>\n<p>* Download Incanto from its <a href=\"http:\/\/sourceforge.net\/projects\/incanto\/files\/\">download link<\/a>. I downloaded incanto-0.2.4.zip.<br \/>\n* Unzip into an empty directory.<br \/>\n* Include incanto jar file in classpath<\/p>\n<pre lang=\"dos\">\r\nset CLASSPATH=c:\\incanto-0.2.4\\incanto-0.2.4.jar;%CLASSPATH%\r\n<\/pre>\n<p>* Use in ant scripts. See <a href=\"http:\/\/incanto.sourceforge.net\/usage.html\">http:\/\/incanto.sourceforge.net\/usage.html<\/a> for details.<br \/>\n&#8211; Add xmlns:ora=&#8221;antlib:net.sf.incanto&#8221; as project attribute.<br \/>\n&#8211; Use ora:sqlplus Ant task.<\/p>\n<pre lang=\"xml\">\r\n<project name=\"Test.Incanto\" basedir=\".\" default=\"test.db\"\r\n         xmlns:ora=\"antlib:net.sf.incanto\">\r\n  <target name=\"test.db\">\r\n    <ora:sqlplus logon=\"scott\/tiger@orcl\" start=\".\/test.sql\"\/>\r\n  <\/target>\r\n<\/project><\/pre>\n<span id=\"References\"><h2>References<\/h2><\/span>\n<p>* <a href=\"http:\/\/incanto.sourceforge.net\/usage.html\">http:\/\/incanto.sourceforge.net\/usage.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Incanto is good open source tool to invoke SQL*Plus from within Ant scripts. Use Incanto * Download Incanto from its download link. I downloaded incanto-0.2.4.zip. * Unzip into an empty directory. * Include incanto jar file in classpath set CLASSPATH=c:\\incanto-0.2.4\\incanto-0.2.4.jar;%CLASSPATH% &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=1821\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[35],"tags":[],"class_list":["post-1821","post","type-post","status-publish","format-standard","hentry","category-oracle"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-tn","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1821"}],"version-history":[{"count":1,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1821\/revisions"}],"predecessor-version":[{"id":1822,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1821\/revisions\/1822"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}