annotate build-src/build-zips.xml @ 4:5a537ec76c6e

RT-18421: Build files in openjfx/2.1/master have the wrong copyright Reviewed by: jgiles
author kcr
date Fri, 13 Jan 2012 15:52:47 -0800
parents 8d968b638b49
children
rev   line source
rbair@3 1 <?xml version="1.0" encoding="UTF-8"?>
rbair@3 2 <project name="build-zips" basedir=".">
rbair@3 3
rbair@3 4 <!--
rbair@3 5 /*
kcr@4 6 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
rbair@3 7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
rbair@3 8 *
rbair@3 9 * This code is free software; you can redistribute it and/or modify it
rbair@3 10 * under the terms of the GNU General Public License version 2 only, as
kcr@4 11 * published by the Free Software Foundation. Oracle designates this
kcr@4 12 * particular file as subject to the "Classpath" exception as provided
kcr@4 13 * by Oracle in the LICENSE file that accompanied this code.
rbair@3 14 *
rbair@3 15 * This code is distributed in the hope that it will be useful, but WITHOUT
rbair@3 16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
rbair@3 17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
rbair@3 18 * version 2 for more details (a copy is included in the LICENSE file that
rbair@3 19 * accompanied this code).
rbair@3 20 *
rbair@3 21 * You should have received a copy of the GNU General Public License version
rbair@3 22 * 2 along with this work; if not, write to the Free Software Foundation,
rbair@3 23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
rbair@3 24 *
kcr@4 25 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
kcr@4 26 * or visit www.oracle.com if you need additional information or have any
kcr@4 27 * questions.
rbair@3 28 */
rbair@3 29 -->
rbair@3 30
rbair@3 31 <description>
rbair@3 32
rbair@3 33 Defines targets to create developer zip bundles.
rbair@3 34
rbair@3 35 *** Sub-repositories should NOT import this file. ***
rbair@3 36
rbair@3 37 This file is imported by the build.xml file only.
rbair@3 38
rbair@3 39 </description>
rbair@3 40
rbair@3 41 <!-- The files to put into zip bundles. -->
rbair@3 42 <fileset dir="${jfx.sdk.dir}"
rbair@3 43 includes="**"
rbair@3 44 id="jfx.sdk.all.files"/>
rbair@3 45 <fileset dir="${jfx.public.sdk.dir}"
rbair@3 46 includes="**"
rbair@3 47 id="jfx.public.sdk.all.files"/>
rbair@3 48 <fileset dir="${jfx.docs.dir}"
rbair@3 49 includes="**"
rbair@3 50 id="jfx.docs.all.files"/>
rbair@3 51 <fileset dir="${jfx.xml.docs.dir}"
rbair@3 52 includes="**"
rbair@3 53 id="jfx.xml.docs.all.files"/>
rbair@3 54 <fileset dir="${jfx.apps.dir}"
rbair@3 55 includes="**"
rbair@3 56 id="jfx.apps.all.files"/>
rbair@3 57 <fileset dir="${jfx.public.samples.dir}/ga-samples"
rbair@3 58 includes="**"
rbair@3 59 id="jfx.public.samples.all.files"/>
rbair@3 60 <fileset dir="${jfx.perf.dir}"
rbair@3 61 includes="**"
rbair@3 62 id="jfx.perf.all.files"/>
rbair@3 63 <fileset dir="${jfx.deployed.dir}"
rbair@3 64 includes="**"
rbair@3 65 id="jfx.deployed.all.files"/>
rbair@3 66 <fileset dir="${jfx.rtdeployed.dir}"
rbair@3 67 includes="**"
rbair@3 68 id="jfx.rtdeployed.all.files"/>
rbair@3 69 <fileset dir="${import.dir}"
rbair@3 70 includes="**"
rbair@3 71 id="jfx.import.all.files"/>
rbair@3 72 <fileset dir="${jfx.jar_import.dir}"
rbair@3 73 includes="**"
rbair@3 74 id="jfx.jar_import.all.files"/>
rbair@3 75
rbair@3 76 <!-- Target to create destination directory for zip bundles. -->
rbair@3 77 <target name="-create-bundles-dir">
rbair@3 78 <mkdir dir="${jfx.bundles.release.dir}"/>
rbair@3 79 </target>
rbair@3 80
rbair@3 81 <!-- The sdk zip bundle -->
rbair@3 82 <target name="check-sdk-zip">
rbair@3 83 <uptodate property="jfx.sdk.is.unchanged"
rbair@3 84 targetfile="${jfx.sdk.zip}">
rbair@3 85 <srcfiles refid="jfx.sdk.all.files"/>
rbair@3 86 </uptodate>
rbair@3 87 </target>
rbair@3 88 <target name="zip-sdk"
rbair@3 89 unless="jfx.sdk.is.unchanged"
rbair@3 90 depends="-create-bundles-dir, check-sdk-zip">
rbair@3 91 <zip file="${jfx.sdk.zip}" >
rbair@3 92 <fileset refid="jfx.sdk.all.files" />
rbair@3 93 </zip>
rbair@3 94 </target>
rbair@3 95
rbair@3 96 <!-- The public sdk zip bundle -->
rbair@3 97 <target name="check-public-sdk-zip">
rbair@3 98 <uptodate property="jfx.public.sdk.is.unchanged"
rbair@3 99 targetfile="${jfx.public.sdk.zip}">
rbair@3 100 <srcfiles refid="jfx.public.sdk.all.files"/>
rbair@3 101 </uptodate>
rbair@3 102 </target>
rbair@3 103 <target name="zip-public-sdk"
rbair@3 104 unless="jfx.public.sdk.is.unchanged"
rbair@3 105 depends="-create-bundles-dir, check-public-sdk-zip">
rbair@3 106 <zip file="${jfx.public.sdk.zip}" >
rbair@3 107 <zipfileset refid="jfx.public.sdk.all.files"
rbair@3 108 prefix="${jfx.install.dir}"/>
rbair@3 109 </zip>
rbair@3 110 </target>
rbair@3 111
rbair@3 112 <!-- The xml docs zip bundle -->
rbair@3 113 <target name="check-xml-docs-zip">
rbair@3 114 <uptodate property="jfx.xml.docs.is.unchanged"
rbair@3 115 targetfile="${jfx.xml.docs.zip}">
rbair@3 116 <srcfiles refid="jfx.xml.docs.all.files"/>
rbair@3 117 </uptodate>
rbair@3 118 </target>
rbair@3 119 <target name="zip-xml-docs"
rbair@3 120 unless="jfx.xml.docs.is.unchanged"
rbair@3 121 depends="-create-bundles-dir, check-xml-docs-zip">
rbair@3 122 <zip file="${jfx.xml.docs.zip}" >
rbair@3 123 <fileset refid="jfx.xml.docs.all.files" />
rbair@3 124 </zip>
rbair@3 125 </target>
rbair@3 126
rbair@3 127 <!-- The docs zip bundle -->
rbair@3 128 <target name="check-docs-zip">
rbair@3 129 <uptodate property="jfx.docs.is.unchanged"
rbair@3 130 targetfile="${jfx.docs.zip}">
rbair@3 131 <srcfiles refid="jfx.docs.all.files"/>
rbair@3 132 </uptodate>
rbair@3 133 </target>
rbair@3 134 <target name="zip-docs"
rbair@3 135 unless="jfx.docs.is.unchanged"
rbair@3 136 depends="-create-bundles-dir, check-docs-zip">
rbair@3 137 <zip file="${jfx.docs.zip}" >
rbair@3 138 <fileset refid="jfx.docs.all.files" />
rbair@3 139 </zip>
rbair@3 140 </target>
rbair@3 141
rbair@3 142 <!-- The apps zip bundle -->
rbair@3 143 <target name="check-apps-zip">
rbair@3 144 <uptodate property="jfx.apps.is.unchanged"
rbair@3 145 targetfile="${jfx.apps.zip}">
rbair@3 146 <srcfiles refid="jfx.apps.all.files"/>
rbair@3 147 </uptodate>
rbair@3 148 </target>
rbair@3 149 <target name="zip-apps"
rbair@3 150 unless="jfx.apps.is.unchanged"
rbair@3 151 depends="-create-bundles-dir, check-apps-zip">
rbair@3 152 <zip file="${jfx.apps.zip}" >
rbair@3 153 <fileset refid="jfx.apps.all.files" />
rbair@3 154 </zip>
rbair@3 155 </target>
rbair@3 156
rbair@3 157 <!-- The public samples zip bundle -->
rbair@3 158 <target name="check-public-samples-zip">
rbair@3 159 <uptodate property="jfx.public.samples.is.unchanged"
rbair@3 160 targetfile="${jfx.public.samples.zip}">
rbair@3 161 <srcfiles refid="jfx.public.samples.all.files"/>
rbair@3 162 </uptodate>
rbair@3 163 </target>
rbair@3 164 <target name="zip-public-samples"
rbair@3 165 unless="jfx.public.samples.is.unchanged"
rbair@3 166 depends="-create-bundles-dir, check-public-samples-zip">
rbair@3 167 <zip file="${jfx.public.samples.zip}" >
rbair@3 168 <zipfileset refid="jfx.public.samples.all.files"
rbair@3 169 prefix="${jfx.samples.install.dir}"/>
rbair@3 170 </zip>
rbair@3 171 </target>
rbair@3 172
rbair@3 173 <!-- The perf zip bundle -->
rbair@3 174 <target name="check-perf-zip">
rbair@3 175 <uptodate property="jfx.perf.is.unchanged"
rbair@3 176 targetfile="${jfx.perf.zip}">
rbair@3 177 <srcfiles refid="jfx.perf.all.files"/>
rbair@3 178 </uptodate>
rbair@3 179 </target>
rbair@3 180 <target name="zip-perf"
rbair@3 181 unless="jfx.perf.is.unchanged"
rbair@3 182 depends="-create-bundles-dir, check-perf-zip">
rbair@3 183 <zip file="${jfx.perf.zip}" >
rbair@3 184 <fileset refid="jfx.perf.all.files" />
rbair@3 185 </zip>
rbair@3 186 </target>
rbair@3 187
rbair@3 188 <!-- The deployed zip bundle -->
rbair@3 189 <target name="check-deployed-zip">
rbair@3 190 <uptodate property="jfx.deployed.is.unchanged"
rbair@3 191 targetfile="${jfx.deployed.zip}">
rbair@3 192 <srcfiles refid="jfx.deployed.all.files"/>
rbair@3 193 </uptodate>
rbair@3 194 </target>
rbair@3 195 <target name="zip-deployed"
rbair@3 196 unless="jfx.deployed.is.unchanged"
rbair@3 197 depends="-create-bundles-dir, check-deployed-zip">
rbair@3 198 <zip file="${jfx.deployed.zip}" >
rbair@3 199 <fileset refid="jfx.deployed.all.files" />
rbair@3 200 </zip>
rbair@3 201 </target>
rbair@3 202
rbair@3 203 <!-- The rt-deployed zip bundle -->
rbair@3 204 <target name="check-rtdeployed-zip">
rbair@3 205 <uptodate property="jfx.rtdeployed.is.unchanged"
rbair@3 206 targetfile="${jfx.rtdeployed.zip}">
rbair@3 207 <srcfiles refid="jfx.rtdeployed.all.files"/>
rbair@3 208 </uptodate>
rbair@3 209 </target>
rbair@3 210 <target name="zip-rtdeployed"
rbair@3 211 unless="jfx.rtdeployed.is.unchanged"
rbair@3 212 depends="-create-bundles-dir, check-rtdeployed-zip">
rbair@3 213 <zip file="${jfx.rtdeployed.zip}" >
rbair@3 214 <fileset refid="jfx.rtdeployed.all.files" />
rbair@3 215 </zip>
rbair@3 216 </target>
rbair@3 217
rbair@3 218 <!-- The jar_import zip bundle -->
rbair@3 219 <target name="check-jar_import-zip">
rbair@3 220 <uptodate property="jfx.jar_import.is.unchanged"
rbair@3 221 targetfile="${jfx.jar_import.zip}">
rbair@3 222 <srcfiles refid="jfx.jar_import.all.files"/>
rbair@3 223 </uptodate>
rbair@3 224 </target>
rbair@3 225 <target name="zip-jar_import"
rbair@3 226 unless="jfx.jar_import.is.unchanged"
rbair@3 227 depends="-create-bundles-dir, check-jar_import-zip">
rbair@3 228 <zip file="${jfx.jar_import.zip}" >
rbair@3 229 <fileset refid="jfx.jar_import.all.files" />
rbair@3 230 </zip>
rbair@3 231 </target>
rbair@3 232
rbair@3 233 <!-- The import zip bundle -->
rbair@3 234 <target name="check-import-zip">
rbair@3 235 <uptodate property="jfx.import.is.unchanged"
rbair@3 236 targetfile="${jfx.import.zip}">
rbair@3 237 <srcfiles refid="jfx.import.all.files"/>
rbair@3 238 </uptodate>
rbair@3 239 </target>
rbair@3 240 <target name="zip-import"
rbair@3 241 unless="jfx.import.is.unchanged"
rbair@3 242 depends="-create-bundles-dir,check-import-zip">
rbair@3 243 <zip file="${jfx.import.zip}" >
rbair@3 244 <fileset refid="jfx.import.all.files" />
rbair@3 245 </zip>
rbair@3 246 </target>
rbair@3 247
rbair@3 248 <!-- Create all zip bundles. -->
rbair@3 249 <!-- TODO: re-enable these as needed
rbair@3 250 <target name="all-zips"
rbair@3 251 depends="zip-sdk,
rbair@3 252 zip-public-sdk,
rbair@3 253 zip-xml-docs,
rbair@3 254 zip-docs,
rbair@3 255 zip-apps,
rbair@3 256 zip-public-samples,
rbair@3 257 zip-perf,
rbair@3 258 zip-deployed,
rbair@3 259 zip-rtdeployed,
rbair@3 260 zip-jar_import,
rbair@3 261 zip-import"/>
rbair@3 262 -->
rbair@3 263
rbair@3 264 <target name="all-zips"
rbair@3 265 depends="zip-sdk,
rbair@3 266 zip-public-sdk,
rbair@3 267 zip-apps,
rbair@3 268 zip-public-samples,
rbair@3 269 zip-jar_import,
rbair@3 270 zip-import"/>
rbair@3 271
rbair@3 272 </project>