README.txt revision 2362
1220N/A#
1220N/A# Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
1185N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1185N/A#
1185N/A# This code is free software; you can redistribute it and/or modify it
1185N/A# under the terms of the GNU General Public License version 2 only, as
1185N/A# published by the Free Software Foundation. Oracle designates this
1220N/A# particular file as subject to the "Classpath" exception as provided
1220N/A# by Oracle in the LICENSE file that accompanied this code.
1220N/A#
1185N/A# This code is distributed in the hope that it will be useful, but WITHOUT
1185N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1185N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1185N/A# version 2 for more details (a copy is included in the LICENSE file that
1185N/A# accompanied this code).
1220N/A#
1220N/A# You should have received a copy of the GNU General Public License version
1185N/A# 2 along with this work; if not, write to the Free Software Foundation,
1220N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1185N/A#
1185N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1185N/A# or visit www.oracle.com if you need additional information or have any
1185N/A# questions.
1185N/A#
1199N/A
1185N/AInstructions on adding a java.lang.management demo.
1185N/A
1185N/ABasically you want to mimic the java.lang.management demo "FullThreadDump".
1185N/A
1190N/A* Create and populate a source directory at src/demo/management
1185N/A (This should include a small README.txt document on what this demo is)
1185N/A
1185N/A* Make sure the appropriate "demo" copyright notice is added to all the
1185N/A source files.
1185N/A
1185N/A* Edit src/share/demo/management/index.html and add in reference to this demo.
1185N/A
1185N/A* Create make directory at make/mkdemo/management
1185N/A (Mimic make/mkdemo/management/FullThreadDump/Makefile)
1185N/A
1185N/A* Edit make/mkdemo/management/Makefile and add in the new demo
1185N/A
1185N/A* Create test directory at test/demo/management, create at least one test
1190N/A (Use test/demo/management/FullThreadDump as a template)
1185N/A
1185N/A* Don't forget to put all files under SCM control
1185N/A
1185N/A* Build and create images (cd make && gnumake && gnumake images)
1185N/A (Do this on Solaris, Linux, and at least one Windows platform)
1185N/A
1185N/A* Verify that browsing build/*/j2sdk-images/demo/management looks right
1185N/A
1185N/A* Run the tests: cd test/demo/management && runregress .
1185N/A (Do this on Solaris, Linux, and at least one Windows platform)
1185N/A
1185N/AContact: jk-svc-group@sun.com for more information or help.
1185N/A
1185N/A