public class EclipseWtpComponentWriter extends AbstractWtpResourceWriter
| Modifier and Type | Field and Description | 
|---|---|
| static String | ATTR_CONTEXT_ROOTContext root attribute. | 
| static String | DIR_WTP_SETTINGSThe .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_RESOURCEconfig, 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, writeWarOrEarResourcesinitpublic static final String ATTR_CONTEXT_ROOT
public static final String DIR_WTP_SETTINGS
protected String getComponentFileName()
.componentprotected String getProjectVersion()
1.0public void write()
           throws MojoExecutionException
EclipseWriterMojoExecutionExceptionEclipseWriter.write()protected void writeContextRoot(XMLWriter writer)
writer - Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.