Package org.eclipse.tycho.model

Examples of org.eclipse.tycho.model.Feature


  private static GenericP2Artifact parseFeature(InputStream in)
      throws IOException
  {
    // no closing of input stream required - our caller will close the jar
    // at the end
    final Feature f = new Feature(new XMLParser().parse(new XMLIOSource(in)));
    return new GenericP2Artifact(f.getId(), f.getVersion(), P2ArtifactType.FEATURE);
  }
View Full Code Here


      return;
    }

    log.debug("Mirroring feature " + featureRef);

    Feature feature = null;

    // request url will only be set when an absolute uri is found
    if (request.getRequestUrl() != null) {
      final String absoluteUrl = request.getRequestUrl();
      request.setRequestUrl(null);

      feature = mirrorAbsoluteFeature(absoluteUrl, featureRef, request, mirrored);
    }
    else {
      feature = mirrorRelativeFeature(featureRef, request, mirrored);
    }

    if (feature != null) {
      final List<PluginRef> includedPlugins = feature.getPlugins();
      final List<FeatureRef> includedFeatures = feature.getIncludedFeatures();

      log.debug(
          featureRef + " includes " + includedFeatures.size() + " features and " + includedPlugins.size()
              + " plugins");
View Full Code Here

TOP

Related Classes of org.eclipse.tycho.model.Feature

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.