Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231316

FX build fails using ant 1.10.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P4 P4
    • None
    • jfx11, jfx13
    • javafx

      The FX build uses ant to build the FX apps -- "gradle apps" exec's ant and runs that in the apps dir.

      The recently released ant 1.10.7 release fails with the following error:

      $ gradle apps
      -do-compile:
          [mkdir] Created dir: /home/username/jfx/rt/apps/samples/3DViewer/build/empty
          [mkdir] Created dir: /home/username/jfx/rt/apps/samples/3DViewer/build/generated-sources/ap-source-output
          [javac] Compiling 143 source files to /home/username/jfx/rt/apps/samples/3DViewer/build/classes
          [javac] error: invalid flag: @/home/username/jfx/rt/build/compile.args
          [javac] Usage: javac <options> <source files>
          [javac] use --help for a list of possible options

      BUILD FAILED

      Here is the version info from ant:

      $ ant -version
      Apache Ant(TM) version 1.10.7 compiled on September 1 2019

      This is almost certainly an ant bug, so I plan to file a bug against Apache ant. This bug will be left as a placeholder, and eventually closed as "External".

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: