Package org.eclipse.tycho.packaging
Class LicenseFeatureHelper
- java.lang.Object
-
- org.eclipse.tycho.packaging.LicenseFeatureHelper
-
@Component(role=LicenseFeatureHelper.class) public class LicenseFeatureHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description LicenseFeatureHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getLicenseFeature(Feature feature, org.apache.maven.project.MavenProject mavenProject)
Get the license feature jar for feature (ornull
if it has no license feature).org.codehaus.plexus.archiver.ArchivedFileSet
getLicenseFeatureFileSet(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 File getLicenseFeature(Feature feature, org.apache.maven.project.MavenProject mavenProject)
Get the license feature jar for feature (ornull
if 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(File licenseFeature) throws IOException
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.- Parameters:
licenseFeature
- license feature jar- Throws:
IOException
-
-