Difference between revisions of "Mike"

From IokeWiki
Jump to: navigation, search
(Brief info about mike.)
 
(Some notes about the new ioke's Mikefile and the Ant wrapper.)
 
Line 2: Line 2:
  
 
Mike is currently in early development at the [http://github.com/vic/ioke/tree/mike "Mike branch"], an annotated example Mikefile can be found [http://gist.github.com/71166 here].
 
Mike is currently in early development at the [http://github.com/vic/ioke/tree/mike "Mike branch"], an annotated example Mikefile can be found [http://gist.github.com/71166 here].
 +
 +
As of [http://github.com/vic/ioke/commit/e98e02471a6cc5858ccd6ae006a76d0ffc1ce519 "commit e98e"], Mike includes an [http://github.com/vic/ioke/blob/mike/lib/ioke/ant.ik "Ant wrapper"] allowing you to invoke any Ant task directly from ioke.
 +
 +
A usable port of ioke's build.xml can be seen here: [http://github.com/vic/ioke/blob/mike/Mikefile "Mikefile"]. If you want to give it a try, be sure to set ANT_HOME so that the ant wrapper can load the ant libs.
 +
It might be interesting to contrast how task are defined in a Mikefile, for example [http://github.com/vic/ioke/blob/e98e02471a6cc5858ccd6ae006a76d0ffc1ce519/build.xml#L154-188 "dist-bin (build.xml)"]  and [http://github.com/vic/ioke/blob/e98e02471a6cc5858ccd6ae006a76d0ffc1ce519/Mikefile#L120-130 "dist-bin (Mikefile)"], or avoiding some code dupplication from [http://github.com/vic/ioke/blob/e98e02471a6cc5858ccd6ae006a76d0ffc1ce519/build.xml#L125-141 "jar-notest (build.xml)"] in [http://github.com/vic/ioke/blob/e98e02471a6cc5858ccd6ae006a76d0ffc1ce519/Mikefile#L109-110 "jar-notest (Mikefile)"]

Latest revision as of 23:07, 19 March 2009

Mike is the build tool using Ioke in the same way rake uses ruby.

Mike is currently in early development at the "Mike branch", an annotated example Mikefile can be found here.

As of "commit e98e", Mike includes an "Ant wrapper" allowing you to invoke any Ant task directly from ioke.

A usable port of ioke's build.xml can be seen here: "Mikefile". If you want to give it a try, be sure to set ANT_HOME so that the ant wrapper can load the ant libs. It might be interesting to contrast how task are defined in a Mikefile, for example "dist-bin (build.xml)" and "dist-bin (Mikefile)", or avoiding some code dupplication from "jar-notest (build.xml)" in "jar-notest (Mikefile)"