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