Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-723

Websphere runtime tag not getting generated for war, java, ejb modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.9
    • None
    • WTP support
    • 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
      }

      Attachments

        1. EclipseWtpFacetsWriter.java
          11 kB
          Amit Gadkari
        2. EclipseWtpFacetsWriter.java
          11 kB
          Amit Gadkari

        Activity

          People

            Unassigned Unassigned
            amitgadkari Amit Gadkari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: