Package dtool.dub

Examples of dtool.dub.DubBundle


    libProject.getFolder("src").create(true, true, null);
   
    IProject project = createAndOpenDeeProject(DUB_TEST, true).getProject();
    project.getFolder("source").create(true, true, null);
   
    DubBundle mainBundle = new DubBundle(bpath(project), "dub_test", null,
      "~master", array("source"), CommonDubTest.paths("source"),
      null,
      array(new DubBundle.DubDependecyRef("dub_lib", null)),
      null, null);
   
    DubBundle[] bundleDeps = array(new DubBundle(bpath(libProject), "dub_lib", null,
      "~master", array("src"), CommonDubTest.paths("src"),
      null,
      null,
      null, null));
   
View Full Code Here


    modelAgent.submit(new ProjectModelDubDescribeTask(this, project, unresolvedProjectInfo));
  }
 
  protected DubBundleDescription readUnresolvedBundleDescription(final IProject project) {
    java.nio.file.Path location = project.getLocation().toFile().toPath();
    DubBundle unresolvedBundle = DubManifestParser.parseDubBundleFromLocation(BundlePath.create(location));
   
    return new DubBundleDescription(unresolvedBundle);
  }
View Full Code Here

 
  protected void setProjectDubError(IProject project, String message, Throwable exception) throws CoreException {
   
    DubBundleException dubError = new DubBundleException(message, exception);
   
    DubBundle main = unresolvedDescription.getMainBundle();
    DubBundleDescription bundleDesc = new DubBundleDescription(main, dubError);
    workspaceModelManager.model.addProjectInfo(project, bundleDesc, unresolvedProjectInfo.compilerInstall);
   
    setDubErrorMarker(project, message, exception);
  }
View Full Code Here

TOP

Related Classes of dtool.dub.DubBundle

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.