incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r833348 - in /incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts: jdi-server.cmd katoview.cmd
Date Fri, 06 Nov 2009 11:16:30 GMT
Author: monteith
Date: Fri Nov  6 11:16:29 2009
New Revision: 833348

URL: http://svn.apache.org/viewvc?rev=833348&view=rev
Log:
Get scripts to find their locations on windows. Add jdi-server.cmd.

Added:
    incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/jdi-server.cmd
Modified:
    incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/katoview.cmd

Added: incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/jdi-server.cmd
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/jdi-server.cmd?rev=833348&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/jdi-server.cmd (added)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/jdi-server.cmd Fri Nov
 6 11:16:29 2009
@@ -0,0 +1,39 @@
+
+:: 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.
+:: See the License for the specific language governing permissions and
+:: limitations under the License.
+::
+:: 
+:: jdi-server launcher script
+::
+:: When launched, allows a debugger to attach over JDWP to a dump artifact.
+::
+::
+:: Requires JAVA_HOME to be set to the location of an installed JDK.
+::
+:: Usage:
+::   jdi-server <core file>
+::
+::
+
+@echo off
+
+
+set DIR=%~p0
+set JARS=%DIR%..\lib
+    
+"%JAVA_HOME%\bin\java.exe"  -classpath %JARS%\kato.api-${project.version}.jar;^
+%JARS%\kato.cjvmti-${project.version}.jar;^
+%JARS%\kato.jdi-${project.version}.jar;^
+%JARS%\kato.hprof.api-${project.version}.jar;^
+%JARS%\kato.hprof.reader-${project.version}.jar^
+ org.apache.kato.tools.jdi.JDIController %1 %2 %3
+

Modified: incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/katoview.cmd
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/katoview.cmd?rev=833348&r1=833347&r2=833348&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/katoview.cmd (original)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/src/main/scripts/katoview.cmd Fri Nov
 6 11:16:29 2009
@@ -1 +1,32 @@
- "%JAVA_HOME%\bin\java.exe" -Djava.ext.dirs=jars org.apache.kato.katoview.KatoView %1 %2
%3
\ No newline at end of file
+:: 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.
+:: See the License for the specific language governing permissions and
+:: limitations under the License.
+::
+:: 
+:: KatoView Launcher script
+:: Requires JAVA_HOME to be set to the location of an installed JDK.
+:: 
+:: Usage:
+::   katoview.cmd [ -verbose ] -core <core_file> 
+
+
+@echo off
+
+
+set DIR=%~p0
+set JARS=%DIR%..\lib
+    
+ "%JAVA_HOME%\bin\java.exe"  -classpath %JARS%\kato.api-${project.version}.jar;^
+%JARS%\kato.cjvmti-${project.version}.jar;^
+%JARS%\kato.tools.katoview-${project.version}.jar;^
+%JARS%\kato.hprof.api-${project.version}.jar;^
+%JARS%\kato.hprof.reader-${project.version}.jar^
+ org.apache.kato.katoview.KatoView %1 %2 %3
\ No newline at end of file



Mime
View raw message