language/post-build.sh
author Jan Lahoda <jlahoda@netbeans.org>
Sun, 08 Jan 2017 20:11:29 +0100
changeset 1036 3b6996b67a7c
parent 939 dd847c838017
permissions -rwxr-xr-x
Fixing license headers for scripts
jlahoda@597
     1
#!/bin/bash
jlahoda@1036
     2
jlahoda@1036
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
jlahoda@1036
     4
#
jlahoda@1036
     5
# Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
jlahoda@1036
     6
#
jlahoda@1036
     7
# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
jlahoda@1036
     8
# Other names may be trademarks of their respective owners.
jlahoda@1036
     9
#
jlahoda@1036
    10
# The contents of this file are subject to the terms of either the GNU
jlahoda@1036
    11
# General Public License Version 2 only ("GPL") or the Common
jlahoda@1036
    12
# Development and Distribution License("CDDL") (collectively, the
jlahoda@1036
    13
# "License"). You may not use this file except in compliance with the
jlahoda@1036
    14
# License. You can obtain a copy of the License at
jlahoda@1036
    15
# http://www.netbeans.org/cddl-gplv2.html
jlahoda@1036
    16
# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
jlahoda@1036
    17
# specific language governing permissions and limitations under the
jlahoda@1036
    18
# License.  When distributing the software, include this License Header
jlahoda@1036
    19
# Notice in each file and include the License file at
jlahoda@1036
    20
# nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
jlahoda@1036
    21
# particular file as subject to the "Classpath" exception as provided
jlahoda@1036
    22
# by Oracle in the GPL Version 2 section of the License file that
jlahoda@1036
    23
# accompanied this code. If applicable, add the following below the
jlahoda@1036
    24
# License Header, with the fields enclosed by brackets [] replaced by
jlahoda@1036
    25
# your own identifying information:
jlahoda@1036
    26
# "Portions Copyrighted [year] [name of copyright owner]"
jlahoda@1036
    27
#
jlahoda@1036
    28
# Contributor(s):
jlahoda@1036
    29
#
jlahoda@1036
    30
# The Original Software is NetBeans. The Initial Developer of the Original
jlahoda@1036
    31
# Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
jlahoda@1036
    32
# Microsystems, Inc. All Rights Reserved.
jlahoda@1036
    33
#
jlahoda@1036
    34
# If you wish your version of this file to be governed by only the CDDL
jlahoda@1036
    35
# or only the GPL Version 2, indicate your decision by adding
jlahoda@1036
    36
# "[Contributor] elects to include this software in this distribution
jlahoda@1036
    37
# under the [CDDL or GPL Version 2] license." If you do not indicate a
jlahoda@1036
    38
# single choice of license, a recipient has the option to distribute
jlahoda@1036
    39
# your version of this file under either the CDDL, the GPL Version 2 or
jlahoda@1036
    40
# to extend the choice of license to its licensees as provided above.
jlahoda@1036
    41
# However, if you add GPL Version 2 code and therefore, elected the GPL
jlahoda@1036
    42
# Version 2 license, then the option applies only if the new code is
jlahoda@1036
    43
# made subject to such option by the copyright holder.
jlahoda@1036
    44
jlahoda@939
    45
(cd server/web/language.web.api; ant "$@" clean && ant "$@") || exit 1