diff --git a/src/tests/antunit/core/location/location.xml b/src/tests/antunit/core/location/location.xml new file mode 100644 index 000000000..5a9488088 --- /dev/null +++ b/src/tests/antunit/core/location/location.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Hello + + + + + + + + + + + + + Hello + + + + + + Hello + + + + + \ No newline at end of file diff --git a/src/tests/antunit/core/location/src/task/EchoLocation.java b/src/tests/antunit/core/location/src/task/EchoLocation.java new file mode 100644 index 000000000..9004f8a51 --- /dev/null +++ b/src/tests/antunit/core/location/src/task/EchoLocation.java @@ -0,0 +1,10 @@ +package task; + +import org.apache.tools.ant.Project; +import org.apache.tools.ant.Task; + +public class EchoLocation extends Task { + public void execute() { + log("Line: " + getLocation().getLineNumber(), Project.MSG_INFO); + } +} \ No newline at end of file