Package org.eclipse.tycho.core

Examples of org.eclipse.tycho.core.TargetPlatform


    File dropins_dir = new File(outputDirectory, DROPINS_DIR);
    if (!dropins_dir.exists()) {
      dropins_dir.mkdirs();
    }
   
      TargetPlatform tp = TychoProjectUtils.getTargetPlatform(project);
     
       
    //LinkedList<TargetPlatform> pList = getPlatformsForSessionProjects();
    ProductConfiguration product = loadProduct(DefaultReactorProject.adapt(project));
   
    for (PluginRef ref : product.getPlugins()) {
      ArtifactDescriptor artifact = tp.getArtifact(org.eclipse.tycho.ArtifactKey.TYPE_ECLIPSE_PLUGIN, ref.getId(), ref.getVersion());
//          getArtifact(pList,
//          org.eclipse.tycho.ArtifactKey.TYPE_ECLIPSE_PLUGIN,
//          ref.getId(), ref.getVersion());
      if (artifact == null) {
        throw new MojoExecutionException(" MISSING ARTIFACT: " + ref.getId());
View Full Code Here


    /**
     * Same code than in the ProductExportMojo. Needed to get the launcher binaries.
     */
    // TODO implement at eclipse: have product publisher take the executables from the context repositories
    private File getEquinoxExecutableFeature() throws MojoExecutionException, MojoFailureException {
        TargetPlatform targetPlatform = TychoProjectUtils.getTargetPlatform(getProject());
        ArtifactDescriptor artifact = targetPlatform.getArtifact(ArtifactKey.TYPE_ECLIPSE_FEATURE,
                "org.eclipse.equinox.executable", null);

        if (artifact == null) {
            throw new MojoExecutionException("Unable to locate the equinox launcher feature (aka delta-pack)");
        }
View Full Code Here

TOP

Related Classes of org.eclipse.tycho.core.TargetPlatform

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.