com.voltvoodoo.brew.compile
Class CompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.voltvoodoo.brew.compile.CompilerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CompilerMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompilerMojo()
           
 
Method Summary
 void addSourcefile(java.io.File source)
           
 void execute()
           
 CoffeeScriptCompiler getCoffeeCompiler()
           
 java.io.File getViewsMapOutputFile()
           
 boolean isSourceFile(java.io.File source)
          Returns true if this is a source file we've used before (coffee, haml, jade etc)
protected  void writeSingleViewFile()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerMojo

public CompilerMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getCoffeeCompiler

public CoffeeScriptCompiler getCoffeeCompiler()

writeSingleViewFile

protected void writeSingleViewFile()

getViewsMapOutputFile

public java.io.File getViewsMapOutputFile()

addSourcefile

public void addSourcefile(java.io.File source)

isSourceFile

public boolean isSourceFile(java.io.File source)
Returns true if this is a source file we've used before (coffee, haml, jade etc)



Copyright © 2011 FuseSource. All Rights Reserved.