@Override public void execute() throws BuildException { if (url == null) { throw new BuildException("You must specify the url attribute", location); } try { new URL(url); } catch (MalformedURLException e) { throw new BuildException(url + " is no valid URL"); } for (JUnitEETest test : tests) { if (test.shouldExecute(getProject())) { execute(test); } } }