1 11 package org.eclipse.pde.internal.ui.ant; 12 13 import org.apache.tools.ant.BuildEvent; 14 import org.apache.tools.ant.BuildListener; 15 import org.apache.tools.ant.Project; 16 import org.eclipse.pde.internal.ui.build.FeatureExportJob; 17 18 public class ExportBuildListener implements BuildListener { 19 20 23 public void buildStarted(BuildEvent event) { 24 } 25 26 29 public void buildFinished(BuildEvent event) { 30 } 31 32 35 public void targetStarted(BuildEvent event) { 36 } 37 38 41 public void targetFinished(BuildEvent event) { 42 } 43 44 47 public void taskStarted(BuildEvent event) { 48 } 49 50 53 public void taskFinished(BuildEvent event) { 54 } 55 56 59 public void messageLogged(BuildEvent event) { 60 if (event.getPriority() == Project.MSG_ERR) { 61 FeatureExportJob.errorFound(); 62 } 63 } 64 65 } 66 | Popular Tags |