Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
2.9
-
None
-
None
Description
Runtime was not getting set in org.eclipse.wst.common.project.facet.core.xml for web, ejb and java project
Code required for setting runtime information was missing.
File Name: src\main\java\org\apache\maven\plugin\eclipse\writers\wtp\ EclipseWtpFacetsWriter.java
Modified Method: writeModuleTypeFacetCore
Added code:
Following code needs ti added in if statement for war, ejb and java packing
if ( this.config.getWorkspaceConfiguration().getWebsphereVersion() != null )
{
writer.startElement( "runtime" );
writer.addAttribute( "name", config.getWorkspaceConfiguration().getDefaultDeployServerName() );
writer.endElement(); // runtime
}