view javafx-beans-dt/build-common.xml @ 3746:4aa29e84eb5e

Fix RT-30254: PixelReader fails for grayscale JPEG images
author flar <James.Graham@oracle.com>
date Tue, 28 May 2013 14:03:46 -0700
parents a5ca94ced4cd
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<project name="javafx-ui-controls-common" default="jar" basedir=".">

    <target name="check-binary-css">
        <uptodate property="binaryCssUpToDate" targetfile="${build.dir}/classes/com/sun/javafx/scene/control/skin/caspian/caspian.bss">
            <srcfiles dir="${src.dir}/com/sun/javafx/scene/control/skin/caspian" includes="caspian.css"/>
        </uptodate>
    </target> 

    <target name="-pre-init" depends="check-binary-css" unless="binaryCssUpToDate">
        <echo message="rt.root.dir=${rt.root.dir}"/>
        <mkdir dir="${build.dir}/classes/com/sun/javafx/scene/control/skin/caspian"/>
        <java classname="com.sun.javafx.css.parser.Css2Bin" fork="true" failonerror="true">
          <jvmarg value="-Djavafx.toolkit=com.sun.javafx.tk.DummyToolkit"/>
          <classpath> 
            <pathelement location="${rt.root.dir}/javafx-ui-common/dist/javafx-ui-common.jar"/>
            <pathelement location="${rt.root.dir}/javafx-beans/dist/javafx-beans.jar"/>
            <pathelement location="${rt.root.dir}/javafx-anim/dist/javafx-anim.jar"/>
            <pathelement location="${rt.root.dir}/javafx-common/dist/javafx-common.jar"/>
            <pathelement location="${rt.root.dir}/javafx-logging/dist/javafx-logging.jar"/>
          </classpath> 
          <arg value="${src.dir}/com/sun/javafx/scene/control/skin/caspian/caspian.css"/>
          <arg value="${build.dir}/classes/com/sun/javafx/scene/control/skin/caspian/caspian.bss"/>
        </java>
    </target>

    <target name="debug-test-file" depends="jar">
        <echo message="${run.test.classpath}" />
        <debug-selected-file-in-test/>
    </target>
</project>