On Sat, 6 Aug 2022 13:22:17 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> As @kleopatra noted below, you need to add the hlsl folders that are built >> on Windows. Add them as an optional source to avoid errors on other OS's: >> >> <classpathentry kind="src" path="build/hlsl/Prism"> >> <attributes> >> <attribute name="ignore_optional_problems" value="true"/> >> </attributes> >> </classpathentry> >> >> And the same for >> ```<classpathentry kind="src" path="build/gensrc/jsl-prism"/>``` >> ```<classpathentry kind="src" path="build/hlsl/Decora">``` >> ```<classpathentry kind="src" path="build/gensrc/jsl-decora"/>``` >> >> This will allow to run dependent projects on Windows and won't cause build >> issues on other OS's as Eclipse ignores errors on these. There is no need to >> create empty folders. I tested both on Windows and Linux. > > I agree that an optional dependency for a platform-specific generated source > directory is a much better solution than creating an empty dir. @kevinrushforth : Eclipse does not support conditionals in the .classpath files. The warning cannot be turned off. I see no other way but to create empty folders. ------------- PR: https://git.openjdk.org/jfx/pull/858