bpel.samples/build.xml
author Jesse Glick <jglick@netbeans.org>
Fri, 22 Apr 2011 14:36:23 -0400
changeset 4889 066f950aecc0
parent 4011 0d334c4dc92e
permissions -rw-r--r--
Import build-impl.xml.
yaroslavskiy@3955
     1
<?xml version="1.0" encoding="UTF-8"?>
yaroslavskiy@3955
     2
<!--
yaroslavskiy@3955
     3
  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
yaroslavskiy@3955
     4
jglick@3971
     5
  Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
jglick@3971
     6
jglick@3971
     7
  Oracle and Java are registered trademarks of Oracle and/or its affiliates.
jglick@3971
     8
  Other names may be trademarks of their respective owners.
yaroslavskiy@3955
     9
yaroslavskiy@3955
    10
  The contents of this file are subject to the terms of either the GNU
yaroslavskiy@3955
    11
  General Public License Version 2 only ("GPL") or the Common
yaroslavskiy@3955
    12
  Development and Distribution License("CDDL") (collectively, the
yaroslavskiy@3955
    13
  "License"). You may not use this file except in compliance with the
yaroslavskiy@3955
    14
  License. You can obtain a copy of the License at
yaroslavskiy@3955
    15
  http://www.netbeans.org/cddl-gplv2.html
yaroslavskiy@3955
    16
  or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
yaroslavskiy@3955
    17
  specific language governing permissions and limitations under the
yaroslavskiy@3955
    18
  License. When distributing the software, include this License Header
yaroslavskiy@3955
    19
  Notice in each file and include the License file at
jglick@3971
    20
  nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
yaroslavskiy@3955
    21
  particular file as subject to the "Classpath" exception as provided
jglick@3971
    22
  by Oracle in the GPL Version 2 section of the License file that
yaroslavskiy@3955
    23
  accompanied this code. If applicable, add the following below the
yaroslavskiy@3955
    24
  License Header, with the fields enclosed by brackets [] replaced by
yaroslavskiy@3955
    25
  your own identifying information:
yaroslavskiy@3955
    26
  "Portions Copyrighted [year] [name of copyright owner]"
yaroslavskiy@3955
    27
yaroslavskiy@3955
    28
  Contributor(s):
yaroslavskiy@3955
    29
yaroslavskiy@3955
    30
  The Original Software is NetBeans. The Initial Developer of the Original
yaroslavskiy@3955
    31
  Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
yaroslavskiy@3955
    32
  Microsystems, Inc. All Rights Reserved.
yaroslavskiy@3955
    33
yaroslavskiy@3955
    34
  If you wish your version of this file to be governed by only the CDDL
yaroslavskiy@3955
    35
  or only the GPL Version 2, indicate your decision by adding
yaroslavskiy@3955
    36
  "[Contributor] elects to include this software in this distribution
yaroslavskiy@3955
    37
  under the [CDDL or GPL Version 2] license." If you do not indicate a
yaroslavskiy@3955
    38
  single choice of license, a recipient has the option to distribute
yaroslavskiy@3955
    39
  your version of this file under either the CDDL, the GPL Version 2 or
yaroslavskiy@3955
    40
  to extend the choice of license to its licensees as provided above.
yaroslavskiy@3955
    41
  However, if you add GPL Version 2 code and therefore, elected the GPL
yaroslavskiy@3955
    42
  Version 2 license, then the option applies only if the new code is
yaroslavskiy@3955
    43
  made subject to such option by the copyright holder.
yaroslavskiy@3955
    44
-->
yaroslavskiy@3955
    45
<project name="bpel.samples" default="netbeans" basedir=".">
jglick@4889
    46
    <import file="nbproject/build-impl.xml"/>
yaroslavskiy@3955
    47
    <property name="zip.folder" value="src/org/netbeans/modules/bpel/samples/resources/zip"/>
yaroslavskiy@3955
    48
yaroslavskiy@3955
    49
    <target name="jar" depends="init-zip,zip-trs,zip-synchronous,zip-asynchronous,zip-blueprint,projectized-common.jar"/>
yaroslavskiy@3955
    50
                              
yaroslavskiy@3955
    51
    <target name="init-zip">
yaroslavskiy@3955
    52
        <delete dir="${zip.folder}"/>
yaroslavskiy@3955
    53
        <mkdir dir="${zip.folder}"/>
yaroslavskiy@3955
    54
    </target>
yaroslavskiy@3955
    55
yaroslavskiy@3955
    56
    <target name="zip-synchronous">
yaroslavskiy@3955
    57
        <delete dir="resources/Synchronous/Synchronous/build"/>
yaroslavskiy@3955
    58
        <zip destfile="${zip.folder}/Synchronous.zip"
yaroslavskiy@3955
    59
             basedir="resources/Synchronous/Synchronous" update="true"/>
yaroslavskiy@3955
    60
        <zip destfile="${zip.folder}/SynchronousApplication.zip"
yaroslavskiy@3955
    61
             basedir="resources/Synchronous/SynchronousApplication" update="true"/>
yaroslavskiy@3955
    62
    </target>
yaroslavskiy@3955
    63
    
yaroslavskiy@3955
    64
    <target name="zip-asynchronous">
yaroslavskiy@3955
    65
        <delete dir="resources/Asynchronous/Asynchronous/build"/>
yaroslavskiy@3955
    66
        <zip destfile="${zip.folder}/Asynchronous.zip"
yaroslavskiy@3955
    67
             basedir="resources/Asynchronous/Asynchronous" update="true"/>
yaroslavskiy@3955
    68
        <zip destfile="${zip.folder}/AsynchronousApplication.zip"
yaroslavskiy@3955
    69
             basedir="resources/Asynchronous/AsynchronousApplication" update="true"/>
yaroslavskiy@3955
    70
    </target>    
yaroslavskiy@3955
    71
    
yaroslavskiy@3955
    72
    <target name="zip-trs">
yaroslavskiy@3955
    73
        <delete dir="resources/TravelReservationService/TravelReservationService/build"/>
yaroslavskiy@3955
    74
        <zip destfile="${zip.folder}/TravelReservationService.zip"
yaroslavskiy@3955
    75
             basedir="resources/TravelReservationService/TravelReservationService" update="true"/>
yaroslavskiy@3955
    76
        <zip destfile="${zip.folder}/TravelReservationServiceApplication.zip"
yaroslavskiy@3955
    77
             basedir="resources/TravelReservationService/TravelReservationServiceApplication" update="true"/>
yaroslavskiy@3955
    78
        <zip destfile="${zip.folder}/ReservationPartnerServices.zip"
yaroslavskiy@3955
    79
             basedir="resources/TravelReservationService/ReservationPartnerServices" update="true"/>
yaroslavskiy@3955
    80
    </target>
yaroslavskiy@3955
    81
yaroslavskiy@3955
    82
    <target name="zip-blueprint">
yaroslavskiy@3955
    83
        <delete dir="resources/BluePrint1/BluePrint1/build"/>
yaroslavskiy@3955
    84
        <zip destfile="${zip.folder}/BluePrint1.zip"
yaroslavskiy@3955
    85
             basedir="resources/BluePrint1/BluePrint1" update="true"/>
yaroslavskiy@3955
    86
        <zip destfile="${zip.folder}/BluePrint1Application.zip"
yaroslavskiy@3955
    87
             basedir="resources/BluePrint1/BluePrint1Application" update="true"/>
yaroslavskiy@3955
    88
        <delete dir="resources/BluePrint2/BluePrint2/build"/>
yaroslavskiy@3955
    89
        <zip destfile="${zip.folder}/BluePrint2.zip"
yaroslavskiy@3955
    90
             basedir="resources/BluePrint2/BluePrint2" update="true"/>
yaroslavskiy@3955
    91
        <zip destfile="${zip.folder}/BluePrint2Application.zip"
yaroslavskiy@3955
    92
             basedir="resources/BluePrint2/BluePrint2Application" update="true"/>
yaroslavskiy@3955
    93
        <delete dir="resources/BluePrint3/BluePrint3/build"/>
yaroslavskiy@3955
    94
        <zip destfile="${zip.folder}/BluePrint3.zip"
yaroslavskiy@3955
    95
             basedir="resources/BluePrint3/BluePrint3" update="true"/>
yaroslavskiy@3955
    96
        <zip destfile="${zip.folder}/BluePrint3Application.zip"
yaroslavskiy@3955
    97
             basedir="resources/BluePrint3/BluePrint3Application" update="true"/>
yaroslavskiy@3955
    98
        <delete dir="resources/BluePrint4/BluePrint4/build"/>
yaroslavskiy@3955
    99
        <zip destfile="${zip.folder}/BluePrint4.zip"
yaroslavskiy@3955
   100
             basedir="resources/BluePrint4/BluePrint4" update="true"/>
yaroslavskiy@3955
   101
        <zip destfile="${zip.folder}/BluePrint4Application.zip"
yaroslavskiy@3955
   102
             basedir="resources/BluePrint4/BluePrint4Application" update="true"/>
yaroslavskiy@3955
   103
        <delete dir="resources/BluePrint5/BluePrint5/build"/>
yaroslavskiy@3955
   104
        <zip destfile="${zip.folder}/BluePrint5.zip"
yaroslavskiy@3955
   105
             basedir="resources/BluePrint5/BluePrint5" update="true"/>
yaroslavskiy@3955
   106
        <zip destfile="${zip.folder}/BluePrint5Application.zip"
yaroslavskiy@3955
   107
             basedir="resources/BluePrint5/BluePrint5Application" update="true"/>
yaroslavskiy@3955
   108
    </target>      
yaroslavskiy@3955
   109
yaroslavskiy@3955
   110
    <target name="check">
yaroslavskiy@3955
   111
        <ant dir="../../_code" inheritAll="true">
yaroslavskiy@3955
   112
            <property name="check.dir" value="${basedir}"/>
yaroslavskiy@3955
   113
        </ant>
yaroslavskiy@3955
   114
    </target>
yaroslavskiy@3955
   115
</project>