if (cmdString != null) {
String fhome = ForrestPlugin.getDefault().getPluginPreferences()
.getString(ForrestPreferences.FORREST_HOME);
String antFile = fhome + File.separatorChar + "main"
+ File.separatorChar + "forrest.build.xml";
AntRunner runner = new AntRunner();
runner.setCustomClasspath(getAntClasspath());
runner.addBuildListener(AntBuildListener.class.getName());
runner.setMessageOutputLevel(Project.MSG_INFO);
try {
runner.setBuildFileLocation(antFile);
runner.setArguments(cmdString);
logger.info("Running ANT with command string = " + cmdString);
runner.run(monitor);
} catch (CoreException e) {
String userMsg;
String errMsg = e.getMessage();
if (errMsg.indexOf(VALIDATION_ERROR_MESSAGE) > 0) {
String file = errMsg.substring(errMsg