Mercurial > hg > icepick
changeset 6:dc6721b486c7
Add javap support.
author | gnu_andrew@member.fsf.org |
---|---|
date | Mon, 03 Dec 2007 21:07:30 +0000 |
parents | 23c4c196778a |
children | 1fa24a069129 |
files | AUTHORS ChangeLog Makefile.am configure.ac tools/javap.in |
diffstat | 5 files changed, 44 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/AUTHORS Mon Dec 03 20:44:39 2007 +0000 +++ b/AUTHORS Mon Dec 03 21:07:30 2007 +0000 @@ -1,5 +1,5 @@ The following have made major contributions to the IcePick -project. See also the THANKYOU file, which lists people who have +project. See also the THANKS file, which lists people who have caught bugs or submitted minor patches. If your name does not appear on either list, but should, let us know. Please keep this list in alphabetic order.
--- a/ChangeLog Mon Dec 03 20:44:39 2007 +0000 +++ b/ChangeLog Mon Dec 03 21:07:30 2007 +0000 @@ -1,3 +1,13 @@ +2007-12-03 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * AUTHORS: + Corrected reference to THANKS. + * configure.ac: + Create javap wrapper script. + * Makefile.am: + Compile javap. + * tools/javap.in: New file. + 2007-12-03 Andrew John Hughes <gnu_andrew@member.fsf.org> * THANKS:
--- a/Makefile.am Mon Dec 03 20:44:39 2007 +0000 +++ b/Makefile.am Mon Dec 03 21:07:30 2007 +0000 @@ -73,7 +73,8 @@ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/taglets/*.java \ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/*.java \ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/links/*.java \ - $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java + $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java \ + $(OPENJDK_CLASSES)/sun/tools/javap/*.java # The zip files with classes we want to produce. TOOLS_ZIP = tools.jar
--- a/configure.ac Mon Dec 03 20:44:39 2007 +0000 +++ b/configure.ac Mon Dec 03 21:07:30 2007 +0000 @@ -93,10 +93,12 @@ tools/apt tools/javac tools/javah +tools/javap tools/javadoc]) AC_CONFIG_COMMANDS([apt],[chmod 755 tools/apt]) AC_CONFIG_COMMANDS([javac],[chmod 755 tools/javac]) AC_CONFIG_COMMANDS([javah],[chmod 755 tools/javah]) +AC_CONFIG_COMMANDS([javap],[chmod 755 tools/javap]) AC_CONFIG_COMMANDS([javadoc],[chmod 755 tools/javadoc]) AC_OUTPUT
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/javap.in Mon Dec 03 21:07:30 2007 +0000 @@ -0,0 +1,29 @@ +#!/bin/sh + +## Copyright (C) 2007 Andrew John Hughes +## +## This file is a part of IcePick. +## +## IcePick is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or (at +## your option) any later version. +## +## IcePick is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with IcePick; if not, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 +## USA. +## +## A simple shell script to launch the javap tool. + +prefix=@prefix@ +datarootdir=@datarootdir@ +tools_dir=${prefix}/lib +tools_cp=${tools_dir}/tools.jar + +exec @VM_BINARY@ -Xbootclasspath/p:"${tools_cp}" sun.tools.javap.Main "$@"