You are viewing a plain text version of this content. The canonical link for it is here.
Posted to easyant-commits@incubator.apache.org by jl...@apache.org on 2012/10/07 14:46:42 UTC

svn commit: r1395312 - in /incubator/easyant/core/trunk/bin: easyantDebug easyantDebug.bat

Author: jlboudart
Date: Sun Oct  7 14:46:42 2012
New Revision: 1395312

URL: http://svn.apache.org/viewvc?rev=1395312&view=rev
Log:
Add basic debug script (to be tested on windows)

Added:
    incubator/easyant/core/trunk/bin/easyantDebug   (with props)
    incubator/easyant/core/trunk/bin/easyantDebug.bat   (with props)

Added: incubator/easyant/core/trunk/bin/easyantDebug
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/bin/easyantDebug?rev=1395312&view=auto
==============================================================================
--- incubator/easyant/core/trunk/bin/easyantDebug (added)
+++ incubator/easyant/core/trunk/bin/easyantDebug Sun Oct  7 14:46:42 2012
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+EASYANT_OPTS="$EASYANT_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
+
+export EASYANT_OPTS
+easyant $@

Propchange: incubator/easyant/core/trunk/bin/easyantDebug
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/easyant/core/trunk/bin/easyantDebug.bat
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/bin/easyantDebug.bat?rev=1395312&view=auto
==============================================================================
--- incubator/easyant/core/trunk/bin/easyantDebug.bat (added)
+++ incubator/easyant/core/trunk/bin/easyantDebug.bat Sun Oct  7 14:46:42 2012
@@ -0,0 +1,21 @@
+@echo off
+
+REM  Licensed to the Apache Software Foundation (ASF) under one or more
+REM  contributor license agreements.  See the NOTICE file distributed with
+REM  this work for additional information regarding copyright ownership.
+REM  The ASF licenses this file to You under the Apache License, Version 2.0
+REM  (the "License"); you may not use this file except in compliance with
+REM  the License.  You may obtain a copy of the License at
+REM 
+REM      http://www.apache.org/licenses/LICENSE-2.0
+REM 
+REM  Unless required by applicable law or agreed to in writing, software
+REM  distributed under the License is distributed on an "AS IS" BASIS,
+REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM  See the License for the specific language governing permissions and
+REM  limitations under the License.
+
+set EASYANT_OPTS="%EASYANT_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
+
+easyant.bat %*
+

Propchange: incubator/easyant/core/trunk/bin/easyantDebug.bat
------------------------------------------------------------------------------
    svn:executable = *