{"id":875,"date":"2015-05-28T18:53:26","date_gmt":"2015-05-28T22:53:26","guid":{"rendered":"http:\/\/www.joshho.com\/blog\/?p=875"},"modified":"2016-03-16T18:19:13","modified_gmt":"2016-03-16T22:19:13","slug":"zip-with-ant-on-windows-command-line","status":"publish","type":"post","link":"https:\/\/www.joshho.com\/blog\/2015\/05\/28\/zip-with-ant-on-windows-command-line\/","title":{"rendered":"Zip with ANT on Windows command line"},"content":{"rendered":"<p>Short two\u00a0liner for ANT zipping on Windows.<\/p>\n<p>&nbsp;<\/p>\n<pre lang=\"powershell\" escaped=\"true\">&gt;build.xml echo ^&lt;project^&gt;^&lt;zip destfile=^\"zipFile.zip^\" basedir=^\"toBeZipped^\" \/^&gt;^&lt;\/project^&gt;\r\nant<\/pre>\n<p>Because Windows doesn&#8217;t apparently have a zip command line.<\/p>\n<p><strong>Updated <a href=\"http:\/\/www.joshho.com\/blog\/2016\/03\/16\/update-to-quick-one-liner-windows-unzips\/\">here<\/a> for Windows without ANT.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Short two\u00a0liner for ANT zipping on Windows.<\/p>\n<p>&nbsp;<\/p>\n<pre lang=\"powershell\" escaped=\"true\">&gt;build.xml echo ^&lt;project^&gt;^&lt;zip destfile=^\"zipFile.zip^\" basedir=^\"toBeZipped^\" \/^&gt;^&lt;\/project^&gt;\r\nant<\/pre>\n<p>Because Windows doesn&#8217;t apparently have a zip command line.<\/p>\n<p><strong>Updated <a href=\"http:\/\/www.joshho.com\/blog\/2016\/03\/16\/update-to-quick-one-liner-windows-unzips\/\">here<\/a> for Windows without ANT.<\/strong><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,1],"tags":[72,74,71,40,41,73,70],"_links":{"self":[{"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/posts\/875"}],"collection":[{"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/comments?post=875"}],"version-history":[{"count":0,"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/categories?post=875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshho.com\/blog\/wp-json\/wp\/v2\/tags?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}