Package com.theoryinpractise.clojure
Class ClojureSwankMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.theoryinpractise.clojure.AbstractClojureCompilerMojo
-
- com.theoryinpractise.clojure.ClojureSwankMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="swank", requiresDependencyResolution=TEST) public class ClojureSwankMojo extends AbstractClojureCompilerMojo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.theoryinpractise.clojure.AbstractClojureCompilerMojo
AbstractClojureCompilerMojo.SourceDirectory
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringencodingprotected intportprotected java.lang.StringprotocolVersionprivate java.lang.StringreplScriptThe clojure script to preceding the switch to the replprotected java.lang.StringswankHost-
Fields inherited from class com.theoryinpractise.clojure.AbstractClojureCompilerMojo
baseDirectory, baseTestSourceDirectory, charset, classpathElements, compileDeclaredNamespaceOnly, copiedNamespaces, copyDeclaredNamespaceOnly, directLinking, generatedSourceDirectory, namespaces, outputDirectory, project, sourceDirectories, testClasspathElements, testDeclaredNamespaceOnly, testNamespaces, testOutputDirectory, testSourceDirectories, workingDirectory
-
-
Constructor Summary
Constructors Constructor Description ClojureSwankMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()private java.lang.StringwindowsEscapeCommandLineArg(java.lang.String arg)-
Methods inherited from class com.theoryinpractise.clojure.AbstractClojureCompilerMojo
callClojureWith, callClojureWith, callClojureWith, callClojureWith, copyNamespaceSourceFilesToOutput, createTemporaryDirectory, discoverNamespaces, discoverNamespacesToCopy, escapeFilePath, escapeFilePath, getDefaultJavaHomeExecutable, getRunWithClasspathElements, getSourceDirectories, getWorkingDirectory, isClasspathResource, isExistingTestScriptFile
-
-
-
-
Field Detail
-
replScript
@Parameter private java.lang.String replScript
The clojure script to preceding the switch to the repl
-
port
@Parameter(defaultValue="4005", property="clojure.swank.port") protected int port
-
protocolVersion
@Parameter(defaultValue="2009-09-14", property="clojure.swank.protocolVersion") protected java.lang.String protocolVersion
-
encoding
@Parameter(defaultValue="iso-8859-1", property="clojure.swank.encoding") protected java.lang.String encoding
-
swankHost
@Parameter(defaultValue="localhost", property="clojure.swank.host") protected java.lang.String swankHost
-
-