schemagen revision ada1678a4262b208a7b87391f520a7767d25287c
c313914d0e66b20969215e519bbf2ab4ecf39512Tinderbox User#!/bin/sh
c80e152862cc3e3207dc837fde7116bd4c0e4b9dTinderbox User
c80e152862cc3e3207dc837fde7116bd4c0e4b9dTinderbox User#
8d1b3ceb4d491ce32572f1702f37ed585eede993Evan Hunt# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
8d1b3ceb4d491ce32572f1702f37ed585eede993Evan Hunt#
d77cb075aae5595e460e3299bfc1e8ea5d42b560Evan Hunt# Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
d77cb075aae5595e460e3299bfc1e8ea5d42b560Evan Hunt#
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# The contents of this file are subject to the terms of either the GNU
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# General Public License Version 2 only ("GPL") or the Common Development
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# and Distribution License("CDDL") (collectively, the "License"). You
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# may not use this file except in compliance with the License. You can
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# obtain a copy of the License at
701a93f5a592e4652343e049aa495d409c3ee133Mark Andrews# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
7ec97ae74e42ec21b354fd2d1366313b41d947d6Evan Hunt# or packager/legal/LICENSE.txt. See the License for the specific
701a93f5a592e4652343e049aa495d409c3ee133Mark Andrews# language governing permissions and limitations under the License.
701a93f5a592e4652343e049aa495d409c3ee133Mark Andrews#
002f1373374a0b72fc0329baa682917929bef168Tony Finch# When distributing the software, include this License Header Notice in each
002f1373374a0b72fc0329baa682917929bef168Tony Finch# file and include the License file at packager/legal/LICENSE.txt.
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews#
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews# GPL Classpath Exception:
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews# Oracle designates this particular file as subject to the "Classpath"
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews# exception as provided by Oracle in the GPL Version 2 section of the License
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews# file that accompanied this code.
73cf0ba4e82c6baef638ecc4e31321223f841d28Mark Andrews#
73cf0ba4e82c6baef638ecc4e31321223f841d28Mark Andrews# Modifications:
73cf0ba4e82c6baef638ecc4e31321223f841d28Mark Andrews# If applicable, add the following below the License Header, with the fields
d8351dfc9b725b0d727be7acab6247d7d501d9a0Mark Andrews# enclosed by brackets [] replaced by your own identifying information:
d8351dfc9b725b0d727be7acab6247d7d501d9a0Mark Andrews# "Portions Copyright [year] [name of copyright owner]"
d8351dfc9b725b0d727be7acab6247d7d501d9a0Mark Andrews#
3a29ce9c08dd31709c73e7187aebda0d360c537bEvan Hunt# Contributor(s):
3a29ce9c08dd31709c73e7187aebda0d360c537bEvan Hunt# If you wish your version of this file to be governed by only the CDDL or
5c78f1f50e53d8e2ed51a187efc2c9a0f43b4b1bMark Andrews# only the GPL Version 2, indicate your decision by adding "[Contributor]
f1740da065d4555039fe8bb53beb4153e3f94de3Mark Andrews# elects to include this software in this distribution under the [CDDL or GPL
f1740da065d4555039fe8bb53beb4153e3f94de3Mark Andrews# Version 2] license." If you don't indicate a single choice of license, a
f1740da065d4555039fe8bb53beb4153e3f94de3Mark Andrews# recipient has the option to distribute your version of this file under
31c7ab4fb3f7710af87dc9c3d64c5daf9a3dea35Mark Andrews# either the CDDL, the GPL Version 2 or to extend the choice of license to
31c7ab4fb3f7710af87dc9c3d64c5daf9a3dea35Mark Andrews# its licensees as provided above. However, if you add GPL Version 2 code
31c7ab4fb3f7710af87dc9c3d64c5daf9a3dea35Mark Andrews# and therefore, elected the GPL Version 2 license, then the option applies
31c7ab4fb3f7710af87dc9c3d64c5daf9a3dea35Mark Andrews# only if the new code is made subject to such option by the copyright
31c7ab4fb3f7710af87dc9c3d64c5daf9a3dea35Mark Andrews# holder.
ad309e8dfa0601d6053aaa12770a98a6940f89deEvan Hunt#
ad309e8dfa0601d6053aaa12770a98a6940f89deEvan Hunt
635e4351b04fd61ca6d853bdac6268c090b55129Mark AndrewsAS_INSTALL=`dirname $0`/..
635e4351b04fd61ca6d853bdac6268c090b55129Mark AndrewsAS_INSTALL_LIB=$AS_INSTALL/modules
fc04365d2f83f197c8a54545dd9cd4ce6a209940Mark Andrews
fc04365d2f83f197c8a54545dd9cd4ce6a209940Mark Andrews
7cbac360bf98c0a52b2d6866ad887616c32d4d3aMark Andrewsjava -cp "$AS_INSTALL_LIB/webservices.jar:$AS_INSTALL_LIB/jaxb.jar" com.sun.tools.jxc.SchemaGeneratorFacade "$@"
7cbac360bf98c0a52b2d6866ad887616c32d4d3aMark Andrews