Class LanguageTasksTests


  • public class LanguageTasksTests
    extends java.lang.Object
    We are only interested in what properties where used by the language task, not the outcome of executing the script.
    Author:
    Horacio Hoyos Rodriguez
    • Field Detail

      • BASE_DIR

        protected static final java.io.File BASE_DIR
      • buildRule

        public final org.apache.tools.ant.BuildFileRule buildRule
    • Constructor Detail

      • LanguageTasksTests

        public LanguageTasksTests()
    • Method Detail

      • eolModuleInLine

        public void eolModuleInLine()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • eolModuleFromSource

        public void eolModuleFromSource()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • eclModuleFromSource

        public void eclModuleFromSource()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • evlModuleFromSource

        public void evlModuleFromSource()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createTaskDefTarget

        public static java.lang.String createTaskDefTarget​(java.lang.String language)
        Create an ant target to init the language task definition
        Parameters:
        language - the name of the language, e.g. Eol, Etl, etc.
        Returns:
      • createModelLoadTarget

        public static java.lang.String createModelLoadTarget​(java.lang.String baseDir)
        Creates
      • createBuildFile

        public static java.io.File createBuildFile​(java.lang.String defaultTarget,
                                                   java.lang.String... targetDefinition)
                                            throws java.lang.Exception
        Create a build file (xml) by adding the task definitions to a basic proejct structure
        Parameters:
        taskDefinition -
        Returns:
        Throws:
        java.lang.Exception - If there is an error creating the file or adding the contents