components/beanshell/solaris-transform
author Kevin Crowe <Kevin.Crowe@oracle.com>
Tue, 24 May 2011 16:48:45 -0700
changeset 261 f7fc4962fa91
permissions -rw-r--r--
7045306 migrate beanshell to userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
261
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     1
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     3
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     7
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    12
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    18
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    20
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    22
#
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    23
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    24
# The ant build system does not lay out the files in the prototype area
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    25
# the way we would wish to install them on Solaris and it's not convenient
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    26
# to patch the build.xml file to pick and choose where they go.  This
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    27
# allows us to change the manifest for where the file is found in the
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    28
# prototype area to where it should install to on Solaris without having
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    29
# to modify each line of of the manifest file.
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    30
<transform file path=usr/demo/bsh/webapps/(.+)$ -> \
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    31
	set action.hash %<\1> >
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    32
<transform file path=usr/share/lib/java/(.+)$ -> \
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    33
	set action.hash %<\1> >
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    34
<transform file path=usr/share/lib/java/javadoc/beanshell/(.+)$ -> \
f7fc4962fa91 7045306 migrate beanshell to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    35
        set action.hash %<\1> >