org.apache.maven.plugin.eclipse.writers.rad
Class RadManifestWriter

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
      extended by org.apache.maven.plugin.eclipse.writers.rad.RadManifestWriter
All Implemented Interfaces:
EclipseWriter

public class RadManifestWriter
extends AbstractEclipseWriter

Create or adapt the manifest files for the RAD6 runtime dependencys. attention these will not be used for the real ear these are just to get the runtime enviorment using the maven dependencies. WARNING: The manifest resources added here will not have the benefit of the dependencies of the project, since that's not provided in the setup() apis, one of the locations from which this writer is used in the RadPlugin.

Author:
Richard van Nieuwenhoven

Field Summary
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
config, log
 
Constructor Summary
RadManifestWriter()
           
 
Method Summary
 void write()
          Write the manifest files use an existing one it it exists (it will be overwritten!! in a war use webapp/META-INF else use the generated rad6 sourcefolder
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadManifestWriter

public RadManifestWriter()
Method Detail

write

public void write()
           throws org.apache.maven.plugin.MojoExecutionException
Write the manifest files use an existing one it it exists (it will be overwritten!! in a war use webapp/META-INF else use the generated rad6 sourcefolder

Parameters:
sourceDirs - all eclipse source directorys
localRepository - the local reposetory
buildOutputDirectory - build output directory (target)
Throws:
org.apache.maven.plugin.MojoExecutionException - when writing the config files was not possible
See Also:
AbstractWtpResourceWriter#write(EclipseSourceDir[], ArtifactRepository, File)


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.