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
  • Field Details

    • replScript

      @Parameter private 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 String protocolVersion
    • encoding

      @Parameter(defaultValue="iso-8859-1", property="clojure.swank.encoding") protected String encoding
    • swankHost

      @Parameter(defaultValue="localhost", property="clojure.swank.host") protected String swankHost
  • Constructor Details

    • ClojureSwankMojo

      public ClojureSwankMojo()
  • Method Details

    • execute

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

      private String windowsEscapeCommandLineArg(String arg)