Package org.eclipse.tycho

Examples of org.eclipse.tycho.ReactorProject


    }
  }

  private File getArtifactLocation(ArtifactDescriptor artifact) {
    File location;
    ReactorProject bundleProject = artifact.getMavenProject();
    if (bundleProject != null) {
        location = bundleProject.getArtifact(artifact.getClassifier());
        if (location == null) {
            throw new IllegalStateException(bundleProject.getId()
                    + " does not provide an artifact with classifier '" + artifact.getClassifier() + "'");
        }
        if (location.isDirectory()) {
            throw new RuntimeException("Bundle project " + bundleProject.getId()
                    + " artifact is a directory. The build should at least run ``package'' phase.");
        }
    } else {
        location = artifact.getLocation();
    }
View Full Code Here


    }
  }

  private File getArtifactLocation(ArtifactDescriptor artifact) {
    File location;
    ReactorProject bundleProject = artifact.getMavenProject();
    if (bundleProject != null) {
        location = bundleProject.getArtifact(artifact.getClassifier());
        if (location == null) {
            throw new IllegalStateException(bundleProject.getId()
                    + " does not provide an artifact with classifier '" + artifact.getClassifier() + "'");
        }
        if (location.isDirectory()) {
            throw new RuntimeException("Bundle project " + bundleProject.getId()
                    + " artifact is a directory. The build should at least run ``package'' phase.");
        }
    } else {
        location = artifact.getLocation();
    }
View Full Code Here

        platform.addNonReactorUnits(result.getNonReactorUnits());

        for (P2ResolutionResult.Entry entry : result.getArtifacts()) {
            ArtifactKey key = new DefaultArtifactKey(entry.getType(), entry.getId(), entry.getVersion());
            ReactorProject otherProject = projects.get(entry.getLocation());
            if (otherProject != null) {
                platform.addReactorArtifact(key, otherProject, entry.getClassifier(), entry.getInstallableUnits());
            } else {
                platform.addArtifactFile(key, entry.getLocation(), entry.getInstallableUnits());
            }
View Full Code Here

        platform.addNonReactorUnits(result.getNonReactorUnits());

        for (P2ResolutionResult.Entry entry : result.getArtifacts()) {
            ArtifactKey key = new DefaultArtifactKey(entry.getType(), entry.getId(), entry.getVersion());
            ReactorProject otherProject = projects.get(entry.getLocation());
            if (otherProject != null) {
                platform.addReactorArtifact(key, otherProject, entry.getClassifier(), entry.getInstallableUnits());
            } else {
                platform.addArtifactFile(key, entry.getLocation(), entry.getInstallableUnits());
            }
View Full Code Here

TOP

Related Classes of org.eclipse.tycho.ReactorProject

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.