On 2/3/2020 12:54 PM, Neil C Smith wrote:
On Mon, 3 Feb 2020, 20:06 Ernie Rael, <[email protected]> wrote:
It may be that I'm not understanding the jfx plugin. Can it be used "as
is" for plain old java or RCP?
Could be interesting if you can get it to work in an RCP as it downloads
JavaFX on demand, rather than just wrapping it. Could be good for keeping
the size of your application down, could be a headache!
I've put together a Standalone Module, call it JfxDev for example, with
which the following steps work
1. Install JfxDev plugin
2. it appears in NetBeansPlatforms>PlatformModules
3. Create new ant NB module, call it UsesJfxDevModule
4. Add dependency to JfxDev
5. Add some javafx code to UsesJfxDevModule, Code completion/javadoc,
GoToSource, ... all work as expected
6. Debug and run UsesJfxDebugModule, install into NB, ...
I took a look last night at the source code for "JavaFX Implementation
for Windows". I get the general idea of what it's doing, haven't tried
anything with the source. It's in category library, but after installing
it I don't see anything in Tools>Libraries. I don't get what this module
is for.
I'd like to see after installing an entry in Library Manager and a
module that could be used as a dependency. If preferred, there could be
a 2nd NB module that download source/javadoc and serves them up to the
NB infrastructure (rather than all bundled together). So the first is
runtime, the 2nd is dev.
To get step 2 to work, I had to flag it to install globally into it's
own cluster. My experiments started by using openjfx's sdk, rather than
jars taken from maven.
Noting that recent jdk is required and based on openjfx seem appropriate.
Comments, thoughts?
-ernie
PS. I will probably go to maven at some point in the future, but it
doesn't seem to be time yet (at least for me).
Yes, I can't see myself switching any time soon either. Too many ant
customizations.
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists