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

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

public class RadApplicationXMLWriter
extends AbstractEclipseWriter

This writer creates the application.xml and the .modulemaps files for RAD6 in the META-INF directory in the project root. this is where RAD6 requires the files to be. These will be independent of the real application.xml witch will be generated the stad. maven way.

Author:
Richard van Nieuwenhoven

Field Summary
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
config, log
 
Constructor Summary
RadApplicationXMLWriter()
           
 
Method Summary
 void write()
          write the application.xml and the .modulemaps file to the META-INF directory.
 
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

RadApplicationXMLWriter

public RadApplicationXMLWriter()
Method Detail

write

public void write()
           throws MojoExecutionException
write the application.xml and the .modulemaps file to the META-INF directory.

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


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.