OpenJDK / jdk / hs
changeset 8965:266858ae5047
7030792: /jfc/TransparentRuler needs to be included into build process
Reviewed-by: rupashka, ohair
author | mrkam |
---|---|
date | Fri, 25 Mar 2011 13:17:38 +0100 |
parents | f110bf2ca19c |
children | ccf9551ddbd8 |
files | jdk/make/mkdemo/jfc/Makefile jdk/make/mkdemo/jfc/TransparentRuler/Makefile jdk/src/share/demo/nbproject/project.xml |
diffstat | 3 files changed, 47 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/make/mkdemo/jfc/Makefile Thu Mar 24 21:45:46 2011 +0300 +++ b/jdk/make/mkdemo/jfc/Makefile Fri Mar 25 13:17:38 2011 +0100 @@ -39,7 +39,8 @@ Notepad \ SampleTree \ SwingApplet \ - TableExample + TableExample \ + TransparentRuler # Some demos aren't currently included in OpenJDK ifndef OPENJDK
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/make/mkdemo/jfc/TransparentRuler/Makefile Fri Mar 25 13:17:38 2011 +0100 @@ -0,0 +1,44 @@ +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code 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 +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# +# Makefile to build the TransparentRuler demo. +# + +BUILDDIR = ../../.. +PRODUCT = demo/jfc +DEMONAME = TransparentRuler +include $(BUILDDIR)/common/Defs.gmk + +DEMO_ROOT = $(SHARE_SRC)/demo/jfc/$(DEMONAME) +DEMO_TOPFILES = ./README.txt +DEMO_MAINCLASS = transparentruler.Ruler +DEMO_DESTDIR = $(DEMODIR)/jfc/$(DEMONAME) + + +# +# Demo jar building rules. +# +include $(BUILDDIR)/common/Demo.gmk
--- a/jdk/src/share/demo/nbproject/project.xml Thu Mar 24 21:45:46 2011 +0300 +++ b/jdk/src/share/demo/nbproject/project.xml Fri Mar 25 13:17:38 2011 +0100 @@ -50,6 +50,7 @@ <project>nbproject/jfc/Stylepad</project> <project>nbproject/jfc/SwingApplet</project> <project>nbproject/jfc/TableExample</project> + <project>nbproject/jfc/TransparentRuler</project> <project>nbproject/scripting/jconsole-plugin</project> <project>nbproject/management/FullThreadDump</project> <project>nbproject/management/JTop</project>