o apply patch for MPAPPSERVER-05 provided by Guillaume Lasnier
which provides server debugging support git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115012 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
0c6166e9f3
commit
137852324d
2 files changed
+21
-7
No files matched your search
@@ -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.
|
||||
@@ -102,4 +102,14 @@ maven.appserver.fullname=${maven.appserver.name}-${maven.appserver.version}
|
||||
#
|
||||
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,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 @@ ${maven.appserver.conf.dir}/conf/server.xml
|
||||
</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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user