public class RadManifestWriter extends AbstractEclipseManifestWriter
MANIFEST_MF_FILENAME, META_INF_DIRECTORY
config, log
Constructor and Description |
---|
RadManifestWriter() |
Modifier and Type | Method and Description |
---|---|
protected String |
getMetaInfBaseDirectory(MavenProject project)
Search the project for the existing META-INF directory where the manifest should be located.
|
void |
write()
If the existing manifest file located in
getMetaInfBaseDirectory() already has a correct
MANIFEST_VERSION and CLASS_PATH value then do nothing. |
addDependencyToClassPath, areManifestsEqual, constructManifestClasspath, createNewManifest, orderClasspath, readExistingManifest, shouldNewManifestFileBeWritten
init
protected String getMetaInfBaseDirectory(MavenProject project) throws MojoExecutionException
getMetaInfBaseDirectory
in class AbstractEclipseManifestWriter
MojoExecutionException
public void write() throws MojoExecutionException
getMetaInfBaseDirectory()
already has a correct
MANIFEST_VERSION and CLASS_PATH value then do nothing.
Otherwise generate a NEW (i.e the old one is overwritten) which only contains values for MANIFEST_VERSION and CLASS_PATH, all other previous entries are not kept.
write
in interface EclipseWriter
write
in class AbstractEclipseManifestWriter
MojoExecutionException
- when writing the config files was not possibleAbstractWtpResourceWriter#write(EclipseSourceDir[], ArtifactRepository, File)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.