[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: RFR: 8258499: JavaFX: Move src.zip out of the lib directory
From:       Johan Vos <jvos () openjdk ! java ! net>
Date:       2021-06-30 19:45:02
Message-ID: u22B_9nr3QFNQoMc1NdBiZzPyXlRH6YPBXw2Ssfw8PE=.189f11fe-f38d-4001-8d46-5d7f9ba4f67f () github ! com
[Download RAW message or body]

On Wed, 30 Jun 2021 15:06:50 GMT, Kevin Rushforth <kcr@openjdk.org> wrote:

> The JavaFX SDK bundle provides a set of modular jars in the `lib` directory. It \
> provides a `src.zip` file for use by IDEs in that same `lib` directory. If a \
> developer adds the `lib` directory to their application's module path in the IDE, \
> it will try to load `src.zip` as if it were a jar file, and will fail. This is a \
> pain point for developers using the SDK.  
> The proposed solution is to move the `src.zip` file from the lib directory to the \
> top directory of the SDK. 
> With this fix, the layout of the SDK will be:
> 
> 
> <sdk>/
> bin/                      (Windows)
> <native libraries>    (Windows)
> 
> legal/
> ...
> 
> lib/
> *.jar
> <native libraries>    (macOS and Linux)
> 
> src.zip
> 
> 
> NOTES:
> 1. The JavaFX Eclipse plugin will need a minor change, which is tracked by \
> eclipse-efx/efxclipse-eclipse#85. 2. This still needs to be tested on IntelliJ

This indeed makes it easier, at least on NetBeans, to avoid issues with source code \
and jars in the same directory.

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

Marked as reviewed by jvos (Reviewer).

PR: https://git.openjdk.java.net/jfx/pull/558


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic