import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.resources.IProject;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.swt.widgets.Display;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tizen.rt.ide.flash.FlashBuilder;
* @see org.eclipse.core.commands.AbstractHandler
*/
public class FlashHandler extends AbstractHandler {
- private final Logger logger = LoggerFactory.getLogger(getClass());
+ // private final Logger logger = LoggerFactory.getLogger(getClass());
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
try {
buildInfo.load(new FileReader(new File(outputPath, "build.info")));
} catch (IOException e) {
- logger.error(e.getMessage());
+ // logger.error(e.getMessage());
+ MessageDialog.openError(Display.getDefault().getActiveShell(), "Error", "Could not found file : build.info");
return;
}
String board = buildInfo.getProperty("board");