plynch      2004/04/14 06:26:03

  Modified:    appserver plugin.properties
               appserver/src/plugin-resources tomcat-4.1.x.jelly
  Log:
  o apply patch for MPAPPSERVER-05 provided by Guillaume Lasnier
    which provides server debugging support
  
  Revision  Changes    Path
  1.5       +13 -3     maven-plugins/appserver/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins/appserver/plugin.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- plugin.properties 4 Mar 2004 17:59:26 -0000       1.4
  +++ plugin.properties 14 Apr 2004 13:26:02 -0000      1.5
  @@ -1,12 +1,12 @@
   # -------------------------------------------------------------------
   # Copyright 2001-2004 The Apache Software Foundation.
  -# 
  +#
   # Licensed under the Apache License, Version 2.0 (the "License");
   # you may not use this file except in compliance with the License.
   # You may obtain a copy of the License at
  -# 
  +#
   #      http://www.apache.org/licenses/LICENSE-2.0
  -#  
  +#
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -101,5 +101,15 @@
   # where to look for the instance specific config files for this appserver
   #
   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
  +
   
   
  
  
  
  1.3       +8 -4      maven-plugins/appserver/src/plugin-resources/tomcat-4.1.x.jelly
  
  Index: tomcat-4.1.x.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/appserver/src/plugin-resources/tomcat-4.1.x.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- tomcat-4.1.x.jelly        4 Mar 2004 17:59:27 -0000       1.2
  +++ tomcat-4.1.x.jelly        14 Apr 2004 13:26:03 -0000      1.3
  @@ -1,14 +1,14 @@
   <?xml version="1.0"?>
  -<!-- 
  +<!--
   /*
    * Copyright 2001-2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -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>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to