Epsilon is a family of Java-based scripting languages for automating common model-based software engineering tasks, such as code generation, model-to-model transformation and model validation, that work out of the box with EMF (including Xtext and Sirius), UML (including Cameo/MagicDraw), Simulink, XML and other types of models.
The epsilon.for Ant task will execute once with the it property set to empty string when the fileset has no matching files.
Desired behaviour
The epsilon.for Ant task should not execute if the fileset has no matching files
Cause
If the fileset has no matching files, the task's getFiles() method returns a string array with one element, an empty string, instead of return an empty array
Bug
The
epsilon.for
Ant task will execute once with theit
property set to empty string when the fileset has no matching files.Desired behaviour
The
epsilon.for
Ant task should not execute if the fileset has no matching filesCause
If the fileset has no matching files, the task's
getFiles()
method returns a string array with one element, an empty string, instead of return an empty array