devboy/buildr_as3 — Issue #42: No output from a compile?
Author: thejustinwalsh
Created: 2012-02-29 23:11:58+00:00
State: open

Just did a fresh gem install and attempted to run the following buildfile against the following directory structure.

## directory

HelloWorld
|-buildfile
|-src
|-HelloWorld.as

## buildfile

```ruby
require "buildr/as3"

define "HelloWorld" do
project.group = "com.theJustinWalsh"
project.version = "0.1"

# use the mxmlc compiler to create a swf
compile.using :mxmlc
# define the FlexSDK to use by version
compile.options[:flexsdk] = FlexSDK.new("4.6.0.23201B")
# define main-class to use for the compiler
compile.options[:main] = path_to(:src, "HelloWorld.as")

package :swf
end
```

This leaves me with the following output on the command line when running `buildr compile --trace`.

## output
```
(in /Users/justinwalsh/Projects/Flex/HelloWorld, development)
** Invoke HelloWorld (first_time)
** Execute HelloWorld
** Invoke HelloWorld
** Invoke compile (first_time)
** Execute compile
Compiling HelloWorld
** Invoke HelloWorld:compile (first_time, not_needed)
** Invoke HelloWorld:resources (first_time)
** Execute HelloWorld:resources
Completed in 0.000s
```

I imagine I'm doing something dumb and missing out on a key directive... Should the build file above generate output?