Class LanguageTasksTests
- java.lang.Object
-
- org.eclipse.epsilon.workflow.tasks.LanguageTasksTests
-
public class LanguageTasksTests extends 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 File
createBuildFile(String defaultTarget, String... targetDefinition)
Create a build file (xml) by adding the task definitions to a basic proejct structurestatic String
createModelLoadTarget(String baseDir)
Createsstatic String
createTaskDefTarget(String language)
Create an ant target to init the language task definitionvoid
eclModuleFromSource()
void
eolModuleFromSource()
void
eolModuleInLine()
void
evlModuleFromSource()
-
-
-
Field Detail
-
BASE_DIR
protected static final File BASE_DIR
-
buildRule
public final org.apache.tools.ant.BuildFileRule buildRule
-
-
Method Detail
-
createTaskDefTarget
public static String createTaskDefTarget(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:
-
createBuildFile
public static File createBuildFile(String defaultTarget, String... targetDefinition) throws Exception
Create a build file (xml) by adding the task definitions to a basic proejct structure- Parameters:
taskDefinition
-- Returns:
- Throws:
Exception
- If there is an error creating the file or adding the contents
-
-