RFR: 8290473: update Eclipse .classpath in apps, buildSrc [v2]

Kevin Rushforth kcr at openjdk.org
Sat Aug 6 13:27:14 UTC 2022


On Fri, 5 Aug 2022 18:55:15 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> thank you for checking!
>> 
>> it looks like there is no way around creating these directories before the 'sdk' task in build.gradle, to silence the missing path warning in eclipse (and adding them back to the .classpath)
>> 
>> i was thinking of merely creating these two dirs in a new task 'initDirs' and make 'sdk' depend on that task, in the top level build.gradle.  Any objections, @kevinrushforth ?
>
>> i was thinking of merely creating these two dirs in a new task 'initDirs' and make 'sdk' depend on that task, in the top level build.gradle. Any objections
> 
> I suppose that would be OK. I presume you'll check that the presence of the empty dirs on Mac doesn't cause any problems?

As mentioned in an earlier comment, the better way to address this is with an optional dependency on the generated sources.

-------------

PR: https://git.openjdk.org/jfx/pull/858


More information about the openjfx-dev mailing list