Package org.eclipse.tycho.packaging
Class LicenseFeatureHelper
- java.lang.Object
-
- org.eclipse.tycho.packaging.LicenseFeatureHelper
-
@Component(role=LicenseFeatureHelper.class) public class LicenseFeatureHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LicenseFeatureHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetLicenseFeature(Feature feature, org.apache.maven.project.MavenProject mavenProject)Get the license feature jar for feature (ornullif it has no license feature).org.codehaus.plexus.archiver.ArchivedFileSetgetLicenseFeatureFileSet(java.io.File licenseFeature)Get all files included in license feature jar (via build.properties bin.includes/bin.excludes) exept for feature.xml, feature.properties and build.properties as an archived fileset so they can be added to another feature jar.
-
-
-
Method Detail
-
getLicenseFeature
public java.io.File getLicenseFeature(Feature feature, org.apache.maven.project.MavenProject mavenProject)
Get the license feature jar for feature (ornullif it has no license feature). See {@linkplain http://wiki.eclipse.org/Equinox/p2/License_Mechanism }.- Parameters:
feature- original featuremavenProject- original feature project- Returns:
- the license feature jar
-
getLicenseFeatureFileSet
public org.codehaus.plexus.archiver.ArchivedFileSet getLicenseFeatureFileSet(java.io.File licenseFeature) throws java.io.IOExceptionGet all files included in license feature jar (via build.properties bin.includes/bin.excludes) exept for feature.xml, feature.properties and build.properties as an archived fileset so they can be added to another feature jar.- Parameters:
licenseFeature- license feature jar- Throws:
java.io.IOException
-
-