Class ScriptUtil

java.lang.Object
de.tsl2.nano.core.execution.SystemUtil
de.tsl2.nano.execution.ScriptUtil

public class ScriptUtil extends de.tsl2.nano.core.execution.SystemUtil
Util to start ant scripts
Version:
$Revision$
Author:
Thomas Schneider
  • Field Summary

    Fields inherited from class de.tsl2.nano.core.execution.SystemUtil

    LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final boolean
    ant(String filePath, String target, Properties properties)
    starts an ant script
    static final void
    antbuild(String filePath, String target, Properties properties)
     
    static final void
    antbuild(String filePath, String target, Properties properties, org.apache.tools.ant.BuildListener buildListener)
     
    static final void
    main(String[] args)
     

    Methods inherited from class de.tsl2.nano.core.execution.SystemUtil

    createBatchStream, createInfo, execute, execute, execute, execute, executeAndGetOutput, executeRegisteredLinuxBrowser, executeRegisteredWindowsPrg, executeShell, executeShell, getExecutionOutput, isNestedApplicationStart, isThreadChildOfSystemThread, runAsRoot, runShutdownHooks, setPipedInput, softExitOnCurrentThreadGroup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScriptUtil

      public ScriptUtil()
  • Method Details

    • ant

      public static final boolean ant(String filePath, String target, Properties properties)
      starts an ant script
      Parameters:
      filePath - build file
      target - target
      properties - properties
      Returns:
      true, if build was successful
    • antbuild

      public static final void antbuild(String filePath, String target, Properties properties)
    • antbuild

      public static final void antbuild(String filePath, String target, Properties properties, org.apache.tools.ant.BuildListener buildListener)
    • main

      public static final void main(String[] args)