7
|
1 |
#ident "@(#)build.properties.sed 1.3 10/01/27 SMI"
|
0
|
2 |
#
|
|
3 |
# CDDL HEADER START
|
|
4 |
#
|
|
5 |
# The contents of this file are subject to the terms of the
|
|
6 |
# Common Development and Distribution License (the "License").
|
|
7 |
# You may not use this file except in compliance with the License.
|
|
8 |
#
|
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
10 |
# or http://www.opensolaris.org/os/licensing.
|
|
11 |
# See the License for the specific language governing permissions
|
|
12 |
# and limitations under the License.
|
|
13 |
#
|
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
16 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
19 |
#
|
|
20 |
# CDDL HEADER END
|
|
21 |
#
|
7
|
22 |
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
|
|
23 |
# Use is subject to license terms.
|
0
|
24 |
|
|
25 |
# substitute the only direct URL (so we can handle it like others)
|
7
|
26 |
s/http:\/\/archive\.eclipse\.org\/eclipse\/downloads\/drops\/R-3.3.1-200709211145/\${base-tomcat\.loc}/
|
0
|
27 |
|
|
28 |
# change http:// URLs to file:// pointing to cmd/tomcat directory
|
|
29 |
/^base-commons/s/=.*/=file:\/\/${base.path}\/..\//
|
|
30 |
/^base-logging/s/=.*/=file:\/\/${base.path}\/..\//
|
|
31 |
/^base-struts/s/=.*/=file:\/\/${base.path}\/..\//
|
|
32 |
/^base-sf/s/=.*/=file:\/\/${base.path}\/..\//
|
|
33 |
/^base-tomcat/s/=.*/=file:\/\/${base.path}\/..\//
|
|
34 |
/^base-xerces/s/=.*/=file:\/\/${base.path}\/..\//
|
|
35 |
|
|
36 |
# remove directory path so that only file name will remain
|
113
|
37 |
/\${base-commons\.loc\.[12]}/s/\/.*\//\//g
|
|
38 |
/\${base-logging\.loc}\.[12]/s/\/.*\//\//g
|
|
39 |
/\${base-struts\.loc\.[12]}/s/\/.*\//\//g
|
|
40 |
/\${base-sf\.loc\.[12]}/s/\/.*\//\//g
|
|
41 |
/\${base-tomcat\.loc\.[12]}/s/\/.*\//\//g
|
|
42 |
/\${base-xerces\.loc\.[12]}/s/\/.*\//\//g
|