Package com.alexecollins.vbox.core.task

Examples of com.alexecollins.vbox.core.task.DeleteDefinition


    if (dir == null) {
      throw new BuildException("dir is null");
    }
    try {
      if (dir.exists()) {
        new DeleteDefinition(work(), new VBox(context(), dir.toURI())).call();
      }
    } catch (Exception e) {
      throw new BuildException(e);
    }
  }
View Full Code Here


  public void execute() throws MojoExecutionException, MojoFailureException {
    try {
      final File file = new File(project.getBasedir(), "src/main/vbox/" + name);
      if (file.exists()) {
        new DeleteDefinition(new Work(getContext()), new VBox(getContext(), file.toURI())).call();
      }
    } catch (Exception e) {
      throw new MojoExecutionException("failed to create definition", e);
    }
  }
View Full Code Here

TOP

Related Classes of com.alexecollins.vbox.core.task.DeleteDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.