Build

Artreyu, an artifact assembly tool

Artreyu is an open-source command line tool for software build pipelines that need to create artifacts which are composed of multiple versioned build parts. The design of this tool is inspired by the Apache Maven project which provides assembly support for Java projects. I created Artreyu to support a project that delivers compositions of many non-Java artifacts of which some are operating system dependent. Artreyu works with a repository to archive, fetch and assemble artifacts.

Flex Project version and buildnumber

I wanted to associate version and build information with every compilation of a Flex project. Such information is useful when deploying to different staging environments (e.g. are you sure you uploaded the correct SWF ?) and helps tracking feedback (e.g. bugs) from users using a particular build. First, I added a simple resource version.xml to store version and build info: <?xml version=‘1.0’ encoding=‘UTF-8’?> <version name=‘0.1’ build=‘124’/> Then I defined a component Version.mxml to show that information in plain text: <?xml version=“1.0” encoding=“utf-8”?> <mx:HBox xmlns:mx=“http://www.adobe.com/2006/mxml" horizontalGap=“0”> <mx:XML id=“version” source=“/version.xml” /> <mx:Label text=“Version:“/> <mx:Label text=“{version.@name}”/> <mx:Label text=“Build:“/> <mx:Label text=“{version.@build}”/> </mx:HBox> So far nothing to get exited about.