view build-src/build-copy.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
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<project name="build-copy" basedir=".">

<!--
/*
 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */
-->

    <description>

        Defines targets to copy files into the SDK

        *** Sub-repositories should NOT import this file. ***

        This file is imported by the build.xml file only.

    </description>

    <target name="copy-sdk-files"
            depends="-copy-platform-sdk-files">
        <!-- platform-independent files go here -->
    </target>

    <target name="-copy-platform-sdk-files"
            depends="-init-platform-defs,-copy-linux-sdk-files,-copy-macosx-sdk-files,-copy-windows-sdk-files">
    </target>

    <target name="-copy-linux-sdk-files" if="isLinux">
    </target>

    <target name="-copy-macosx-sdk-files" if="isMacOSX">
    </target>

    <target name="-copy-windows-sdk-files" if="isWindows">
        <property name="msvcr" location="${windows.vs.MSVCDIR}/redist/${native.build.arch}/Microsoft.VC${windows.vs.VER}.CRT/msvcr${windows.vs.VER}.dll"/>
        <copy failonerror="false" file="${msvcr}" todir="${jfx.sdk.desktop.dir}"/>
    </target>
</project>