Class LanguageTasksTests
- java.lang.Object
-
- org.eclipse.epsilon.workflow.tasks.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
-
-
Constructor Summary
Constructors Constructor Description LanguageTasksTests()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.io.File
createBuildFile(java.lang.String defaultTarget, java.lang.String... targetDefinition)
Create a build file (xml) by adding the task definitions to a basic proejct structurestatic java.lang.String
createModelLoadTarget(java.lang.String baseDir)
Createsstatic java.lang.String
createTaskDefTarget(java.lang.String language)
Create an ant target to init the language task definitionvoid
eclModuleFromSource()
void
eolModuleFromSource()
void
eolModuleInLine()
void
evlModuleFromSource()
-
-
-
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
-
-