{"id":480,"date":"2013-10-22T08:23:42","date_gmt":"2013-10-22T05:23:42","guid":{"rendered":"http:\/\/mdatools.net\/blog\/?p=480"},"modified":"2015-10-22T00:57:00","modified_gmt":"2015-10-21T21:57:00","slug":"modelant-2-20-published","status":"publish","type":"post","link":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/","title":{"rendered":"ModelAnt 2.20 Published"},"content":{"rendered":"<ul>\n<li>Replaced <strong>modelPathSelector<\/strong> with <strong>ref.get<\/strong> task to be used in <strong>select, search, for<\/strong> tasks and <strong>exists<\/strong> condition<\/li>\n<li>Replaced <strong>propertyAsListSelector<\/strong> with <strong>propertySelector<\/strong>, actually propertySelector could be skipped effectively &#8211; a shortcut provided<\/li>\n<li>Replaced <strong>listPropertySelector<\/strong> with <strong>propertySelector<\/strong><\/li>\n<li>Extracted <strong>net\/mdatools\/modelant\/utils\/datatypes.xml<\/strong> library to hold the derived data type support macros from\u00a0 <strong>net\/mdatools\/modelant\/utils\/antlib.xml<\/strong><\/li>\n<li>Unified for and iteration tasks and condition<\/li>\n<li>Replaced <strong>iterate<\/strong> task with <strong>for<\/strong>. Now for becomes a task, instead of macro. Now the general syntax allows iteration over ModelAnt collections and a standard ANT resources collection. Migration procedure:\n<ul>\n<li>textually replace &lt;iterate&gt; with &lt;for&gt;&lt;tasks&gt;,<\/li>\n<li>textually replace &lt;\/iterate&gt; with &lt;\/tasks&gt;&lt;\/for&gt;<\/li>\n<li>replace the constructions &lt;for&gt;&lt;selector&gt;..&lt;\/selector&gt;&lt;condition&gt;..&lt;\/condition&gt; with &lt;for&gt;&lt;select&gt; .. nested selector.. &lt;\/select&gt; .. nested condition &lt;\/for&gt;<\/li>\n<li>remove the &lt;selector&gt; tags in &lt;for&gt;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Replaced modelPathSelector with ref.get task to be used in select, search, for tasks and exists condition Replaced propertyAsListSelector with propertySelector, actually propertySelector could be skipped effectively &#8211; a shortcut provided &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,44,45,60,31,5,14,4,43,36,34,35,33,59,16,6,65],"tags":[],"class_list":["post-480","post","type-post","status-publish","format-standard","hentry","category-ant-doc","category-apache-ant-extension","category-compare-models","category-copy-models-ant-task","category-generate-code","category-jmi10","category-mdd","category-mof14","category-omg-mof-m2t","category-reverse-engineer-databse-schema-to-uml-model","category-reverse-engineer-dtd-to-uml-model","category-reverse-engineer-java-code-to-uml-model","category-reverse-engineer-xsd-to-uml-model","category-template-engine-for-ant","category-uml-1-3","category-uml14","category-xmi-1-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ModelAnt 2.20 Published - MDA Tools<\/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:\/\/mdatools.net\/blog\/modelant-2-20-published\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ModelAnt 2.20 Published - MDA Tools\" \/>\n<meta property=\"og:description\" content=\"Replaced modelPathSelector with ref.get task to be used in select, search, for tasks and exists condition Replaced propertyAsListSelector with propertySelector, actually propertySelector could be skipped effectively &#8211; a shortcut provided ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/\" \/>\n<meta property=\"og:site_name\" content=\"MDA Tools\" \/>\n<meta property=\"article:published_time\" content=\"2013-10-22T05:23:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-21T21:57:00+00:00\" \/>\n<meta name=\"author\" content=\"popovr\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"popovr\" \/>\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:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/\"},\"author\":{\"name\":\"popovr\",\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#\\\/schema\\\/person\\\/511ad5fbf5125919bdea40c1af2e0e4f\"},\"headline\":\"ModelAnt 2.20 Published\",\"datePublished\":\"2013-10-22T05:23:42+00:00\",\"dateModified\":\"2015-10-21T21:57:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/\"},\"wordCount\":166,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#\\\/schema\\\/person\\\/6eeb8dce737e32b72e77b5556e2be121\"},\"articleSection\":[\"ant.doc\",\"Apache ANT extension\",\"compare models\",\"copy models ANT task\",\"generate code\",\"JMI 1.0\",\"MDD\",\"MOF 1.4\",\"OMG MOF M2T\",\"reverse engineer databse schema to UML model\",\"reverse engineer DTD to UML model\",\"reverse engineer java code to UML model\",\"reverse engineer XSD to UML model\",\"template engine for ANT\",\"UML 1.3\",\"UML 1.4\",\"XMI 1.2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/\",\"url\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/\",\"name\":\"ModelAnt 2.20 Published - MDA Tools\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#website\"},\"datePublished\":\"2013-10-22T05:23:42+00:00\",\"dateModified\":\"2015-10-21T21:57:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/modelant-2-20-published\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ModelAnt 2.20 Published\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/\",\"name\":\"MDA Tools\",\"description\":\"Tools and ideas for model-driven software development\",\"publisher\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#\\\/schema\\\/person\\\/6eeb8dce737e32b72e77b5556e2be121\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#\\\/schema\\\/person\\\/6eeb8dce737e32b72e77b5556e2be121\",\"name\":\"popovr\",\"logo\":{\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#\\\/schema\\\/person\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mdatools.net\\\/blog\\\/#\\\/schema\\\/person\\\/511ad5fbf5125919bdea40c1af2e0e4f\",\"name\":\"popovr\",\"sameAs\":[\"https:\\\/\\\/mdatools.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ModelAnt 2.20 Published - MDA Tools","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:\/\/mdatools.net\/blog\/modelant-2-20-published\/","og_locale":"en_US","og_type":"article","og_title":"ModelAnt 2.20 Published - MDA Tools","og_description":"Replaced modelPathSelector with ref.get task to be used in select, search, for tasks and exists condition Replaced propertyAsListSelector with propertySelector, actually propertySelector could be skipped effectively &#8211; a shortcut provided ...","og_url":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/","og_site_name":"MDA Tools","article_published_time":"2013-10-22T05:23:42+00:00","article_modified_time":"2015-10-21T21:57:00+00:00","author":"popovr","twitter_misc":{"Written by":"popovr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/#article","isPartOf":{"@id":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/"},"author":{"name":"popovr","@id":"https:\/\/mdatools.net\/blog\/#\/schema\/person\/511ad5fbf5125919bdea40c1af2e0e4f"},"headline":"ModelAnt 2.20 Published","datePublished":"2013-10-22T05:23:42+00:00","dateModified":"2015-10-21T21:57:00+00:00","mainEntityOfPage":{"@id":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/"},"wordCount":166,"commentCount":0,"publisher":{"@id":"https:\/\/mdatools.net\/blog\/#\/schema\/person\/6eeb8dce737e32b72e77b5556e2be121"},"articleSection":["ant.doc","Apache ANT extension","compare models","copy models ANT task","generate code","JMI 1.0","MDD","MOF 1.4","OMG MOF M2T","reverse engineer databse schema to UML model","reverse engineer DTD to UML model","reverse engineer java code to UML model","reverse engineer XSD to UML model","template engine for ANT","UML 1.3","UML 1.4","XMI 1.2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mdatools.net\/blog\/modelant-2-20-published\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/","url":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/","name":"ModelAnt 2.20 Published - MDA Tools","isPartOf":{"@id":"https:\/\/mdatools.net\/blog\/#website"},"datePublished":"2013-10-22T05:23:42+00:00","dateModified":"2015-10-21T21:57:00+00:00","breadcrumb":{"@id":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mdatools.net\/blog\/modelant-2-20-published\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mdatools.net\/blog\/modelant-2-20-published\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mdatools.net\/blog\/"},{"@type":"ListItem","position":2,"name":"ModelAnt 2.20 Published"}]},{"@type":"WebSite","@id":"https:\/\/mdatools.net\/blog\/#website","url":"https:\/\/mdatools.net\/blog\/","name":"MDA Tools","description":"Tools and ideas for model-driven software development","publisher":{"@id":"https:\/\/mdatools.net\/blog\/#\/schema\/person\/6eeb8dce737e32b72e77b5556e2be121"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mdatools.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/mdatools.net\/blog\/#\/schema\/person\/6eeb8dce737e32b72e77b5556e2be121","name":"popovr","logo":{"@id":"https:\/\/mdatools.net\/blog\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/mdatools.net\/blog\/#\/schema\/person\/511ad5fbf5125919bdea40c1af2e0e4f","name":"popovr","sameAs":["https:\/\/mdatools.net"]}]}},"_links":{"self":[{"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/posts\/480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/comments?post=480"}],"version-history":[{"count":1,"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":481,"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/posts\/480\/revisions\/481"}],"wp:attachment":[{"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mdatools.net\/blog\/wp-json\/wp\/v2\/tags?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}