Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Any OS, any JDK, Tomcat 4.1.x
    • Number of attachments :
      0

      Description

      Defines a new boolean property, maven.appserver.debug, that permits turning on/off remote debugging using the JDK capabilities. Optional properties, allow to customize remote debugging. Below is the patch that takes into account this improvement.

      Index: plugin.properties
      ===================================================================
      retrieving revision 1.4
      diff -u -r1.4 plugin.properties
      — plugin.properties 4 Mar 2004 17:59:26 -0000 1.4
      +++ plugin.properties 31 Mar 2004 15:29:17 -0000
      @@ -103,3 +103,12 @@
      maven.appserver.conf.dir=$

      {maven.conf.dir}

      /appserver/$

      {maven.appserver.fullname}

      +#-------------------------------------------------------#
      +# DEBUG REQUIRED PROPERTIES #
      +#-------------------------------------------------------#
      +maven.appserver.debug=false
      +maven.appserver.debug.transport=dt_socket
      +maven.appserver.debug.address=8000
      +maven.appserver.debug.server=y
      +maven.appserver.debug.suspend=n
      +
      Index: src/plugin-resources/tomcat-4.1.x.jelly
      ===================================================================
      retrieving revision 1.2
      diff -u -r1.2 tomcat-4.1.x.jelly
      — src/plugin-resources/tomcat-4.1.x.jelly 4 Mar 2004 17:59:27 -0000 1.2
      +++ src/plugin-resources/tomcat-4.1.x.jelly 31 Mar 2004 15:29:17 -0000
      @@ -94,6 +94,10 @@
      </classpath>
      <jvmarg value="-Dcatalina.base=$

      {maven.appserver.dir}

      "/>
      <jvmarg value="-Dcatalina.home=$

      {maven.appserver.home}

      "/>
      + <j:if test="$

      {maven.appserver.debug}

      ">
      + <jvmarg value="-Xdebug"/>
      + <jvmarg value="-Xrunjdwp:transport=$

      {maven.appserver.debug.transport}

      ,address=$

      {maven.appserver.debug.address}

      ,server=$

      {maven.appserver.debug.server}

      ,suspend=$

      {maven.appserver.debug.suspend}

      "/>
      + </j:if>
      <arg value="start"/>
      </java>

        Activity

        Hide
        Guillaume Lasnier added a comment -

        I would like to know if this issue is being processed...

        Show
        Guillaume Lasnier added a comment - I would like to know if this issue is being processed...
        Hide
        Peter Lynch added a comment -

        Applied the patch today.

        Show
        Peter Lynch added a comment - Applied the patch today.

          People

          • Assignee:
            Jason van Zyl
            Reporter:
            Guillaume Lasnier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 15 minutes
              15m
              Remaining:
              Remaining Estimate - 15 minutes
              15m
              Logged:
              Time Spent - Not Specified
              Not Specified