JDK-8174263 : Followup gradle issues
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2017-02-09
  • Updated: 2018-09-06
  • Resolved: 2017-05-17
Related Reports
Relates :  
Description
1. why are graphics natives always out of date
    touch TIMESTAMP
    gradle sdk
    find * -type f -newer TIMESTAMP
     shows :graphics:copyLibFilesLinux is always running

2. why is swt being recompiled always
    * the addition of "classes" to the dependency. classes is always out of date ?
    * A follow-on could move the copy of swt-debug to a standalone copy task that swtTask depends on. That way we wouldn't need to specify or depend on the classes task

3. is there any way to tell gradle to only copy those files that are actually out of date (seen with the java sources copy)

4. When compiling webkit, the :generateNativeHeaders task always runs (although the native webkit lirary isn't being rebuilt if nothing changes, so that's good)

5. unchain the various per-module copy tasks (classes, bin, source, lib, etc), they likely don't really depend on each other.
Comments
while mildly annoying, a lot of effort to correct
17-05-2017