org.mashupbots.socko.buildtools

BuildRunner

case class BuildRunner(commandLine: String) extends Logger with Product with Serializable

Responsible for running the build file

commandLine

Command line to call to build. The build is run in another process.

There is a special command line to run ant internally within this VM rather than an external process in a new VM.

internal-ant [build-file] [target1] [target2] [target3] ...

This may execute your ant scripts faster because a new process does not have to be created.

However, there are limitations:

  • build-file must be the absolute path to the build file
  • build-file and target names cannot have spaces in them.
  • No other ant options are supported. If you wish to use advance ant options, just use the normal ant.
Linear Supertypes
Serializable, Serializable, Product, Equals, Logger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BuildRunner
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logger
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BuildRunner(commandLine: String)

    commandLine

    Command line to call to build. The build is run in another process.

    There is a special command line to run ant internally within this VM rather than an external process in a new VM.

    internal-ant [build-file] [target1] [target2] [target3] ...

    This may execute your ant scripts faster because a new process does not have to be created.

    However, there are limitations:

    • build-file must be the absolute path to the build file
    • build-file and target names cannot have spaces in them.
    • No other ant options are supported. If you wish to use advance ant options, just use the normal ant.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val commandLine: String

    Command line to call to build.

    Command line to call to build. The build is run in another process.

    There is a special command line to run ant internally within this VM rather than an external process in a new VM.

    internal-ant [build-file] [target1] [target2] [target3] ...

    This may execute your ant scripts faster because a new process does not have to be created.

    However, there are limitations:

    • build-file must be the absolute path to the build file
    • build-file and target names cannot have spaces in them.
    • No other ant options are supported. If you wish to use advance ant options, just use the normal ant.
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. val internalAntParams: List[String]

  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. val isInternalAntBuild: Boolean

  13. lazy val log: Logger

    Logger name is inferred from the class name.

    Logger name is inferred from the class name.

    Definition Classes
    Logger
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def runBuild(events: List[WatchEvent[_]] = Nil): Unit

    Run build process

    Run build process

    See this atricle for more info.

    events

    List of events passed in by org.mashupbots.socko.buildtools.DirectoryWatcher

  18. def runInternalAntBuild(): Unit

    Runs an ant build internally.

    Runs an ant build internally. Maybe a little faster than forking a new process.

    See: http://www.ibm.com/developerworks/websphere/library/techarticles/0502_gawor/0502_gawor.html http://stackoverflow.com/questions/3684279/invoke-ant-programmatically-using-java-with-parameter http://stackoverflow.com/questions/6386349/call-ant-build-through-java-code http://thilosdevblog.wordpress.com/2010/08/30/calling-an-ant-target-via-java/

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped