|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.theoryinpractise.clojure.AbstractClojureCompilerMojo
public abstract class AbstractClojureCompilerMojo
| Nested Class Summary | |
|---|---|
static class |
AbstractClojureCompilerMojo.SourceDirectory
|
| Field Summary | |
|---|---|
protected File |
baseDirectory
Base directory of the project. |
protected File |
baseTestSourceDirectory
Location of the source files. |
protected List<String> |
classpathElements
Project classpath. |
protected boolean |
compileDeclaredNamespaceOnly
Should we compile all namespaces or only those defined? |
protected String[] |
copiedNamespaces
A list of namespaces whose source files will be copied to the output. |
protected boolean |
copyDeclaredNamespaceOnly
Should we copy the source of all namespaces or only those defined? |
protected File |
generatedSourceDirectory
Location of the generated source files. |
protected String[] |
namespaces
A list of namespaces to compile |
protected File |
outputDirectory
Location of the file. |
protected List<String> |
testClasspathElements
Project test classpath. |
protected boolean |
testDeclaredNamespaceOnly
Should we test all namespaces or only those defined? |
protected String[] |
testNamespaces
A list of test namespaces to compile |
protected File |
testOutputDirectory
Location of the file. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractClojureCompilerMojo()
|
|
| Method Summary | |
|---|---|
protected void |
callClojureWith(File[] sourceDirectory,
File outputDirectory,
List<String> compileClasspathElements,
String mainClass,
NamespaceInFile[] namespaceArgs)
|
protected void |
callClojureWith(File[] sourceDirectory,
File outputDirectory,
List<String> compileClasspathElements,
String mainClass,
String[] clojureArgs)
|
protected void |
copyNamespaceSourceFilesToOutput(File outputDirectory,
NamespaceInFile[] discoveredNamespaces)
|
protected NamespaceInFile[] |
discoverNamespaces()
|
protected NamespaceInFile[] |
discoverNamespacesToCopy()
|
List<String> |
getRunWithClasspathElements()
|
File[] |
getSourceDirectories(AbstractClojureCompilerMojo.SourceDirectory... sourceDirectoryTypes)
|
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute |
| Field Detail |
|---|
protected File baseDirectory
protected List<String> classpathElements
protected List<String> testClasspathElements
protected File outputDirectory
protected File testOutputDirectory
protected File baseTestSourceDirectory
protected File generatedSourceDirectory
protected boolean compileDeclaredNamespaceOnly
protected String[] namespaces
protected boolean testDeclaredNamespaceOnly
protected String[] testNamespaces
protected String[] copiedNamespaces
protected boolean copyDeclaredNamespaceOnly
| Constructor Detail |
|---|
public AbstractClojureCompilerMojo()
| Method Detail |
|---|
protected NamespaceInFile[] discoverNamespaces()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected NamespaceInFile[] discoverNamespacesToCopy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic File[] getSourceDirectories(AbstractClojureCompilerMojo.SourceDirectory... sourceDirectoryTypes)
public List<String> getRunWithClasspathElements()
protected void copyNamespaceSourceFilesToOutput(File outputDirectory,
NamespaceInFile[] discoveredNamespaces)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void callClojureWith(File[] sourceDirectory,
File outputDirectory,
List<String> compileClasspathElements,
String mainClass,
NamespaceInFile[] namespaceArgs)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void callClojureWith(File[] sourceDirectory,
File outputDirectory,
List<String> compileClasspathElements,
String mainClass,
String[] clojureArgs)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||