public class EclipseWtpComponentWriter extends AbstractWtpResourceWriter
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_CONTEXT_ROOT
Context root attribute.
|
static String |
DIR_WTP_SETTINGS
The .settings folder for Web Tools Project 1.x release.
|
ATTR_DEPLOY_NAME, ATTR_DEPLOY_PATH, ATTR_MODULE_ID, ATTR_MODULE_TYPE_ID, ATTR_NAME, ATTR_PROJECT_VERSION, ATTR_SOURCE_PATH, ATTR_VALUE, ELT_MODULE_TYPE, ELT_PROJECT_MODULES, ELT_PROPERTY, ELT_VERSION, ELT_WB_MODULE, ELT_WB_RESOURCE
config, log
Constructor and Description |
---|
EclipseWtpComponentWriter() |
Modifier and Type | Method and Description |
---|---|
protected String |
getComponentFileName()
File name where the WTP component settings will be stored for our Eclipse Project.
|
protected String |
getProjectVersion()
Version number added to component configuration.
|
void |
write()
Main method that should be implemented by the writer to do the work.
|
protected void |
writeContextRoot(XMLWriter writer) |
addDependency, writeModuleTypeAccordingToPackaging, writeWarOrEarResources
init
public static final String ATTR_CONTEXT_ROOT
public static final String DIR_WTP_SETTINGS
protected String getComponentFileName()
.component
protected String getProjectVersion()
1.0
public void write() throws MojoExecutionException
EclipseWriter
MojoExecutionException
EclipseWriter.write()
protected void writeContextRoot(XMLWriter writer)
writer
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.