A Compile task is a custom Ant task that compiles a BuildableResourceCollection that is provided as its child element. Internally, it invokes an Ant macro that corresponds to the language definition associated with a buildable resource.