public class RadEjbClasspathWriter extends AbstractEclipseWriter
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
CLASSPATH |
private static java.lang.String |
CLASSPATH_FILE |
private static java.lang.String |
CLASSPATHENTRY |
private static java.lang.String |
CON |
private static java.lang.String |
KIND |
private static java.lang.String |
LIB |
private static java.lang.String |
OUTPUT |
private static java.lang.String |
PATH |
private static java.lang.String |
SRC |
private static java.lang.String |
TARGET_WEBSPHERE_CLASSES |
private static java.lang.String |
VAR |
private static java.lang.String |
WEBSPHERE6CONTAINER |
config, log| Constructor and Description |
|---|
RadEjbClasspathWriter() |
| Modifier and Type | Method and Description |
|---|---|
private int |
detectClasspathEntryType(org.codehaus.plexus.util.xml.Xpp3Dom classpathentry)
determinate of witch type this classpath entry is.
|
private org.codehaus.plexus.util.xml.Xpp3Dom |
orderClasspath(org.codehaus.plexus.util.xml.Xpp3Dom classpath)
Order of classpath this is nessesary for the ejb's the generated classes are elsewise not found.
|
private org.codehaus.plexus.util.xml.Xpp3Dom |
readXMLFile(java.io.File xmlFile)
read an xml file (application.xml or .modulemaps).
|
private void |
removeDupicateWAS6Libs(org.codehaus.plexus.util.xml.Xpp3Dom classpath)
Losche alle pfade die nach was6 zeigen diese sind erkennbar an den parrent runtimes/base_v6/lib.
|
void |
write()
write the .classpath file to the project root directory.
|
initprivate static final java.lang.String CLASSPATH
private static final java.lang.String CLASSPATH_FILE
private static final java.lang.String CLASSPATHENTRY
private static final java.lang.String CON
private static final java.lang.String KIND
private static final java.lang.String LIB
private static final java.lang.String OUTPUT
private static final java.lang.String PATH
private static final java.lang.String SRC
private static final java.lang.String TARGET_WEBSPHERE_CLASSES
private static final java.lang.String VAR
private static final java.lang.String WEBSPHERE6CONTAINER
public void write()
throws org.apache.maven.plugin.MojoExecutionException
sourceDirs - all eclipse source directoryslocalRepository - the local reposetorybuildOutputDirectory - build output directory (target)org.apache.maven.plugin.MojoExecutionException - when writing the config files was not possibleAbstractWtpResourceWriter#write(EclipseSourceDir[], ArtifactRepository, File)private int detectClasspathEntryType(org.codehaus.plexus.util.xml.Xpp3Dom classpathentry)
classpathentry - the classpath entry to sortorderClasspath(Xpp3Dom)private org.codehaus.plexus.util.xml.Xpp3Dom orderClasspath(org.codehaus.plexus.util.xml.Xpp3Dom classpath)
classpath - the classpath to sortprivate org.codehaus.plexus.util.xml.Xpp3Dom readXMLFile(java.io.File xmlFile)
xmlFile - an xmlfileprivate void removeDupicateWAS6Libs(org.codehaus.plexus.util.xml.Xpp3Dom classpath)
classpath - classpath to remove was6 libraries