nbm-maven-plugin and ${revision}

2024-10-11 Thread Patrik Karlström
I fail to get ${revision} for version work in platform projects. It compiles fine but will not run. ${revision} works for non-platform projects for me. Am I doing something wrong or is it unsupported? se.trixon.mapollage parent ${revision} ../pom.xml And

Re: JDK23 support

2024-09-20 Thread Patrik Karlström
Thanks, it's working fine with proc full! :) /Patrik Den fre 20 sep. 2024 kl 17:30 skrev Neil C Smith : > On Fri, 20 Sept 2024 at 16:21, Patrik Karlström wrote: > > > > Happy to see yet another release, thanks! > > > > >The Apache NetBeans 23 binary relea

JDK23 support

2024-09-20 Thread Patrik Karlström
Happy to see yet another release, thanks! >The Apache NetBeans 23 binary releases require JDK 17+, and officially support running on JDK 17, 21 and 23. I realize this is about _running_ the IDE on JDK 23, but inspired by this I tried to build my platform application on JDK 23. It failed, both wit

[platform] Broken workflow with RELEASE230

2024-10-02 Thread Patrik Karlström
Hi, Last week I updated to JDK23, NB23 and RELEASE230 for my maven platform applications. Pretty soon I noticed that my code changes would not apply unless I did a _clean_ install, and that breaks my flow. I'm not talking about CoS here, I would be happy to just build. After a couple of tries r

[platform] IOProvider not printing when --nogui or before gui is visible

2024-07-11 Thread Patrik Karlström
Hello, I have this platform application that uses IOProvider to output text. When started with --nogui or before gui is present there is no output when using the IOProvider. The doc below sounds promising but how do I ensure/enforce the use of the fallback instance? Can I delete the default from

Re: [platform] IOProvider not printing when --nogui or before gui is visible

2024-07-12 Thread Patrik Karlström
:39 skrev Patrik Karlström : > Hello, > I have this platform application that uses IOProvider to output text. > > When started with --nogui or before gui is present there is no output when > using the IOProvider. > > The doc below sounds promising but how do I ensure/e

[testimonial] Distributing NetBeans Platform App with JavaFX really do work

2020-03-15 Thread Patrik Karlström
Given my problems the last couple of months and seeing people here in the same situation, I thought that I should write about what I ended up doing. It was really easy in the past when one could just distribute the application and then relying on the “world wide” JRE to take care of the rest. Tha

Re: [testimonial] Distributing NetBeans Platform App with JavaFX really do work

2020-03-16 Thread Patrik Karlström
use it. I do bundle the custom made jre with the NetBeans Platform based application. Den mån 16 mars 2020 kl 03:56 skrev Ty Young : > > On 3/15/20 6:42 AM, Patrik Karlström wrote: > > Given my problems the last couple of months and seeing people here in the > same situation, I t

[platform] Getting a hook for 'status: ready'

2020-03-18 Thread Patrik Karlström
Under some circumstances, my platform application is not performing so well during startup. There is a lot of JavaFX stuff invoked too in the top components being restored. I've been experimenting with a delay that makes the FX stuff kick in 45 seconds after application start and that is somewhat

Re: [platform] Getting a hook for 'status: ready'

2020-03-18 Thread Patrik Karlström
Stupid me. That was not the platform talking. Den ons 18 mars 2020 kl 08:14 skrev Patrik Karlström : > Under some circumstances, my platform application is not performing so > well during startup. > There is a lot of JavaFX stuff invoked too in the top components being > restored. &

Re: Java 14 / Netbeans download problem

2020-03-18 Thread Patrik Karlström
Pack200 was removed in Java 14. https://openjdk.java.net/jeps/367 Try the zip version of NetBeans and see if it works. Den ons 18 mars 2020 kl 19:58 skrev Chris Olsen : > Hello, Everyone -- > >I just downloaded the AdoptOpenJDK, and installed it via the .msi > file. Then I attempted to do

[snap][ide] How do one edit harness files on snap?

2020-06-01 Thread Patrik Karlström
Until https://github.com/apache/netbeans/pull/2153 is merged and released I thought I would edit my own app.sh in /snap/netbeans/29/netbeans/harness/launchers/. Since everything below /snap is read-only, is it another way? As a stab in the dark I created /home/pata/snap/netbeans/29/netbeans/harne

Re: [snap][ide] How do one edit harness files on snap?

2020-06-06 Thread Patrik Karlström
x27;s beauty. > > If you need to develop against the platform you can download the > platform (or IDE binary) , then patch it there, and add the platform to > the platforms. > > When it is merged you could use the netbeans-dev Snap package which is > updated every Thursday from mas

Re: [snap][ide] How do one edit harness files on snap?

2020-06-15 Thread Patrik Karlström
p is read-only and always will be, this is one of it's beauty. >>> >>> If you need to develop against the platform you can download the >>> platform (or IDE binary) , then patch it there, and add the platform to >>> the platforms. >>> >>>

Re: Navigate CTL-B/CTL-SHIFT-B not working

2020-06-15 Thread Patrik Karlström
It looks really strange with NetBeans 8.2 Patch 2 on NB12. Perhaps you should start with a clean userdir. Where is your text cursor when hitting Ctl-B? It's context dependent. Den mån 15 juni 2020 kl 21:06 skrev slipbits : > *Product Version:* Apache NetBeans IDE 12.0 > *Updates:* NetBeans IDE i

Re: Map in editor

2020-07-03 Thread Patrik Karlström
Something like the minimap plugin? http://plugins.netbeans.org/plugin/71031/minimap or https://github.com/msteiger/jxmapviewer2? Den lör 4 juli 2020 kl 00:34 skrev Geertjan Wielenga : > > What does your question mean? I don’t think anyone can help you if you > can’t provide more info. > > Gj > >

[platform] Module load order maven application

2020-08-13 Thread Patrik Karlström
Lately I've been experiencing problematic behavior in a platform application with close to 40 modules, NetBeans ones un-counted. I believe that it's related to the fact that I did not declare any OpenIDE-Module-Module-Dependencies in the manifests and that the module load order changed somehow. I

Re: [platform] Module load order maven application

2020-08-14 Thread Patrik Karlström
akes a lot of sense. I will start declaring manifest dependencies, moduleType, and add something like the WindowManager.invokeWhenUIReady() that modules can register for and be run after the foundation of the application is set up and ready to go. /Patrik > > --emi > > joi, 13 aug. 2020, 13

Re: [platform] Module load order maven application

2020-08-15 Thread Patrik Karlström
This is really cool, first I noticed that the nbm-maven-plugin supports configuration, then that I don't have to use them. :) Looking at a module's *generated* manifest tells me that they end up there due to their maven dependency. Nice! Den fre 14 aug. 2020 kl 18:42 skrev Patrik

[platform] StatusBar and ShowOnlyEditor

2020-08-15 Thread Patrik Karlström
Activating ShowOnlyEditor in a platform application hides the status bar. Is it possible to keep the status bar visible even when ShowOnlyEditor is activated? /Patrik

Re: IDE JAXB library for maven-Javafx

2020-08-27 Thread Patrik Karlström
I have a project where I have the following deps, perhaps you can get some inspiration from that. jakarta.xml.bind jakarta.xml.bind-api 2.3.3 javax.activation activation 1.1.1

Re: IDE JAXB library for maven-Javafx

2020-08-28 Thread Patrik Karlström
Looks like I only need org.glassfish.jaxb jaxb-runtime 2.3.3 Den fre 28 aug. 2020 kl 08:56 skrev Patrik Karlström : > I have a project where I have the following deps, perhaps you can get some > inspiration fro

Re: NetBeans 12 and 4K monitor

2020-09-07 Thread Patrik Karlström
Not sure if this was mentioned but the following works for me. GDK_SCALE=2 netbeans Source: https://issues.apache.org/jira/browse/NETBEANS-2360 I tend to prefer lodpi on my XPS because of high battery consumption and fan noise when on hidpi. Den mån 7 sep. 2020 kl 07:39 skrev Klerman : > Hello,

[platform] Printing OpenGL/JOGL fails

2020-09-11 Thread Patrik Karlström
I added the platform printing support by following the instructions on https://netbeans.apache.org/wiki/DevFaqHowToPrint.asciidoc to my plattform application. It works well for every TopComponent except one when it contains an OpenGL rendered map by NASA's WorldWind, then it's just blank. The inf

Re: Sudden erratic behaviour by Netbeans 12.0

2020-10-01 Thread Patrik Karlström
You will find the cache path in the menu Help/About. Shutdown netbeans, rename the cache dir and start netbeans. Yes. Den tors 1 okt. 2020 11:31David Gradwell skrev: > Hi, > > > > After months of using NetBeans 12.0 it has started behaving erratically. > > > > Specifically: > > > >1. A long

Re: [platform][snap] How do I publish a platform app as a snap?

2020-10-18 Thread Patrik Karlström
2019 kl 21:19 skrev Laszlo Kishalmi < laszlo.kisha...@gmail.com>: > > On 7/25/19 9:08 AM, Patrik Karlström wrote: > > It took me a while but the missing dependencies are now published to > bintray and the just released version 1.1.2 of Mapton is using that. > > Regardin

[platform] Settings dir for platform applications

2020-10-25 Thread Patrik Karlström
The NetBeans IDE doesn't use old settings directories for later versions, is it advised for a platform application to do the same? Perhaps change it (the settings dir) every time one uses a new RELEASE of the platform? I'm able to handle my own changes in the preferences, but I don't know what's

Re: [platform] Settings dir for platform applications

2020-10-31 Thread Patrik Karlström
e same user directory for more than a year now through many > NetBeans releases. it just runs fine, just make sure that you can read > your old configs. On the platform side I'd not expect big changes, it is > pretty stable for years. > > > On 10/25/20 5:09 AM, Patrik Karls

Re: [netbeans-platform] programmatically call "Show Only Editor" on startup

2020-12-22 Thread Patrik Karlström
Better yet, don't use tabs! https://blogs.oracle.com/geertjan/farewell-to-space-consuming-weird-tabs aka NoTabsTabDisplayerUI Den mån 21 dec. 2020 kl 14:18 skrev Ralf Eichinger : > > I am developing a netbeans RELEASE90 platform based application. > all gui is placed in editor area. > Is there a

Re: support in the absence of community help

2021-01-19 Thread Patrik Karlström
There is this page with commercial support: https://cwiki.apache.org/confluence/display/NETBEANS/Commercial+Support Den mån 18 jan. 2021 kl 13:19 skrev Christopher C. Lanz : > > Hello, > > I have asked a question here and on stack overflow. No answers were > forthcoming. In such a situation, are

[platform] platform listed twice, weird duplications problems

2021-03-27 Thread Patrik Karlström
I'm having two problems with my platform application that I don't know how to handle. - Exiting the IDE indicates that I have processes running of my app, but I don't. - Exiting the application with running indeterminate progress handles requires me to confirm twice that I want to "Exit IDE", my

Re: [platform] platform listed twice, weird duplications problems

2021-03-27 Thread Patrik Karlström
ough. Installation= /atlas/data/git/slask/antbased/build/cluster /snap/netbeans/45/netbeans/platform /snap/netbeans/45/netbeans/platform Den lör 27 mars 2021 kl 09:00 skrev Patrik Karlström : > > I'm having two problems with my pl

[platform] Replacing jar files in modules/ext

2021-05-03 Thread Patrik Karlström
I'm looking for a way to handle the use of LGPLv3 dependencies in a platform application with regard to the following: - permit all users to exchange the library with other API-compatible library versions (e.g. those with security- & bug-fixes) As an end user, I replaced the dependency in questio

[platform][javafx] Unsupported JavaFX configuration: classes were loaded from 'unnamed module

2022-02-15 Thread Patrik Karlström
Until now I have been using a jdk/jre with bundled javafx modules for platform applications, but yesterday I decided to switch to a vanilla jdk and added javafx through maven (not the NetBeans ones). Then I noticed WARNING [javafx]: Unsupported JavaFX configuration: classes were loaded from 'unnam

[platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-04-19 Thread Patrik Karlström
I'm trying to find a way to improve my platform applications' handling of dialogs. Developed on a laptop, I was not aware that dialogs did not follow the main window, instead they are displayed on the main screen. I use descriptors and display them with DialogDisplayer.getDefault().notify(d) And

Re: [platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-04-22 Thread Patrik Karlström
haps NB can provide a good solution, or better yet, it might be solved in swing/awt. /Patrik Den ons 20 apr. 2022 kl 10:43 skrev Neil C Smith : > On Tue, 19 Apr 2022 at 08:04, Patrik Karlström wrote: > > > > I'm trying to find a way to improve my platform applications' hand

Re: Simple navigation question

2022-08-18 Thread Patrik Karlström
Just select "Synchronize Editor with Views" in the View menu should do it, live. Den tors 18 aug. 2022 kl 21:38 skrev Blake McBride : > Greetings, > > I am using NetBeans 14. I have a simple navigation question (in Java). > > Let's say I have many classes in a package hierarchy. I am editing a

Re: Simple navigation question

2022-08-27 Thread Patrik Karlström
Do what, Select "Synchronize Editor with Views" in the View menu? Den sön 21 aug. 2022 kl 14:10 skrev Amn : > Nice!! How do you do that? > On 2022-08-18 3:43 p.m., Patrik Karlström wrote: > > Just select "Synchronize Editor with Views" in the View menu should do

[platform] CLIHandler: Socket creation failed

2022-11-16 Thread Patrik Karlström
I'm packaging a platform application as an ubuntu snap without the network interface, https://snapcraft.io/docs/network-interface The app works as expected but one is greeted with the error below on start. Is there a way to disable the network lookup? java.net.SocketException: Permission denied (

Re: [platform] CLIHandler: Socket creation failed

2022-11-17 Thread Patrik Karlström
Den tors 17 nov. 2022 kl 09:07 skrev Neil C Smith : > > > On Thu, 17 Nov 2022, 07:45 Patrik Karlström, wrote: > >> I'm packaging a platform application as an ubuntu snap without the >> network interface, https://snapcraft.io/docs/network-interface >> The app w

Re: Installer for Netbeans 15 on Ubuntu?

2022-11-22 Thread Patrik Karlström
There is a snap that I like and use. https://snapcraft.io/netbeans Den ons 23 nov. 2022 01:33Owen Thomas skrev: > Is there an installer for Netbeans 15 on Ubuntu? >

Re: How To Add a Custom Bug Report Feature to ErrorManager or Exceptions

2023-02-10 Thread Patrik Karlström
Might this help? https://netbeans.apache.org/wiki/DevFaqCustomizingUnexpectedExceptionDialog.html Den fre 10 feb. 2023 17:39Sean Carrick skrev: > Hey All! > > I am working on an NBP application and am wondering how I can create a > custom "Submit Bug Report" action when using the ErrorManager o

Re: "NetBeans 76 was last used 32 days ago"

2023-07-01 Thread Patrik Karlström
76 in this case is the snap version, I guess, and so the name of the userdir. /Patrik Den lör 1 juli 2023 kl 16:50 skrev Neil C Smith : > On Sat, 1 Jul 2023 at 15:34, Admin @ Goodun > wrote: > > > > This message has just appeared for me in NB 18.0. > > > > This would be useful if I could find a

Re: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Patrik Karlström
Perhaps something with snap is behind this. Does it work when you run it from an ordinary NetBeans, not a snap one? /Patrik Den lör 30 sep. 2023 kl 09:48 skrev Fedor van Eldijk : > When I run a simple application that uses a library, Ogre3D in my case, > from NetBeans, it breaks with the followi

[platform] Generating multiple app "bundles"

2023-09-30 Thread Patrik Karlström
For my maven platform application I need to create different Application bundles like NetBeans had pre Apache with SE, EE & C++ so I can have a couple of variants of my application with each own set of plugins. To this day, I have created different "application" projects with each dependencies sec

Fwd: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Patrik Karlström
there another way to install NetBeans on Ubuntu? Kind regards Fedor Op za 30 sep 2023 om 11:44 schreef Patrik Karlström : > Perhaps something with snap is behind this. > Does it work when you run it from an ordinary NetBeans, not a snap one? > > /Patrik > > Den lör 30 sep. 2023 k

Re: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Patrik Karlström
The .deb does not work with the C/C++ plugin, it complains >> about unpack200 which is nowhere to be found. >> >> Is there another way to install NetBeans on Ubuntu? >> >> Kind regards >> Fedor >> >> >> Op za 30 sep 2023 om 11:44 schreef Patrik

Re: Remote Debug: Unable to create javax script engine for javascript

2023-09-30 Thread Patrik Karlström
>Is it possible to upgrade Ant to resolve this issue? It is possible to upgrade ant, just download the latest version and point to it from NetBeans Options/Java/Ant/Ant home. Not sure if it resolves the issue though. /Patrik Den lör 30 sep. 2023 kl 19:07 skrev Blaine Heinfeld : > Using NetBeans

Re: [platform] Generating multiple app "bundles"

2023-09-30 Thread Patrik Karlström
Thanks for the ideas, I will look into clusters, found https://netbeans.apache.org/wiki/DevFaqWhatIsACluster.html and will search my old books too. /Patrik Den lör 30 sep. 2023 kl 16:04 skrev Neil C Smith : > On Sat, 30 Sept 2023 at 11:16, Patrik Karlström wrote: > > For my maven

Two finger swipe left - right makes editor go wild

2023-10-27 Thread Patrik Karlström
I'm not sure if this is related to the OS, Fedora in my case or if it's a netbeans thing. Using the touchpad to scroll up and down also invokes a trigger happy two finger swipe left and/or right and the result is that the editor might switch tabs or jump between "editor points" within the current

Re: Two finger swipe left - right makes editor go wild

2023-10-28 Thread Patrik Karlström
Neil C Smith : > On Sat, 28 Oct 2023 at 06:34, Patrik Karlström wrote: > > > > I'm not sure if this is related to the OS, Fedora in my case or if it's > a netbeans thing. > > > > Using the touchpad to scroll up and down also invokes a trigger happy >

Re: Two finger swipe left - right makes editor go wild

2023-11-01 Thread Patrik Karlström
I just tested the latest daily with a fresh userdir with the default settings and it looks good to me. Thanks! Den tis 31 okt. 2023 kl 15:40 skrev Neil C Smith : > On Mon, 30 Oct 2023 at 14:06, Neil C Smith wrote: > > On Mon, 30 Oct 2023 at 13:51, Laszlo Kishalmi > wrote: > > > can confirm tha

Re: Two finger swipe left - right makes editor go wild

2023-11-02 Thread Patrik Karlström
nov. 2023 kl 12:19 skrev Neil C Smith : > On Thu, 2 Nov 2023 at 04:37, Patrik Karlström wrote: > > I just tested the latest daily with a fresh userdir with the default > settings and it looks good to me. > > Daily?! As in daily build, your own build of delivery, or the build >

Re: Maven + NB platform app variants

2023-11-24 Thread Patrik Karlström
I asked the very same thing earlier on this list and I ended up using standard maven profiles. It's good for excluding modules too, and adding closed source modules to an open source pom. The reference will be visible but not the content. Note that you have to select the correct profile in both pa

[platform] RELEASE200

2023-11-24 Thread Patrik Karlström
So I'm testing my maven platform applications against RELEASE200 and I've got two questions. I tend to exclude unneeded (by me) modules to make the apps more slim, or to provide newer dependencies such as for lang3 for example. Now I get messages like Some included modules/bundles depend on these

Re: [platform] RELEASE200

2023-11-27 Thread Patrik Karlström
/pull/122/ > > (NB 20 is also not released yet, the staged repositories are not permanent) > > regards, > -mbien > > On 25.11.23 07:58, Patrik Karlström wrote: > > So I'm testing my maven platform applications against RELEASE200 and I've > got two questions. &g

[platform] Remove files referred to in update_tracking

2024-03-11 Thread Patrik Karlström
I'm in the process of publishing some apps to flathub.org and got a PR comment regarding the existence of nonlinux files like dll exe dylib and some excotic architectures. I can see references to them like in I deleted the dlls and it seems to be w

Re: [platform] Remove files referred to in update_tracking

2024-03-11 Thread Patrik Karlström
Let's hope not! :) Also bringing this back to the list... Den mån 11 mars 2024 kl 14:26 skrev Pieter van den Hombergh < pieter.van.den.hombe...@gmail.com>: > probably not if you are not on windows. > > > met vriendelijke groet > Pieter van den Hombergh > > Op ma

Re: [platform] Remove files referred to in update_tracking

2024-03-12 Thread Patrik Karlström
non-windows systems since > DDE is windows specific: > > https://github.com/apache/netbeans/blob/643b64771c00c24d857773cd4d454c19f40bb57f/ide/extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java#L77-L96 > > -mbien > > On 11.03.24 14:41, Patrik Karlström w

[PLATFORM] Listening to Show Only Editor changes

2018-05-10 Thread Patrik Karlström
Hi, How do I listen to Show Only Editor changes and at the same time, get the state it's in? My primary need is to do this from a TopComponent that needs to adapt to the changes, but I'm also intereseted in a more 'global scope', (WindowManager?). -Patrik

Re: [PLATFORM] Listening to Show Only Editor changes

2018-05-14 Thread Patrik Karlström
Den fre 11 maj 2018 kl 06:32 skrev Patrik Karlström : > Hi, > How do I listen to Show Only Editor changes and at the same time, get the > state it's in? > Inspired by the source of https://github.com/apache/incubator-netbeans/blob/master/core.windows/src/org/netb

ToggleFullScreenAction fails on MacOS

2018-06-06 Thread Patrik Karlström
Hi, Actions.forID("Window", "org.netbeans.core.windows.actions.ToggleFullScreenAction").actionPerformed(null); I *think* that I have successfully run the code above on a mac a couple of years back, but that might have been before they changed their maximize/full screen handling. Today I noticed

Re: ToggleFullScreenAction fails on MacOS

2018-06-06 Thread Patrik Karlström
NS/summary > > --emi > > ‐‐‐ Original Message ‐‐‐ > > On 6 June 2018 2:36 PM, Patrik Karlström wrote: > > > Hi, > > > > Actions.forID("Window", > "org.netbeans.core.windows.actions.ToggleFullScreenAction").actionPerformed(null); > >

Re: ToggleFullScreenAction fails on MacOS

2018-06-07 Thread Patrik Karlström
creen, hold down the option > key when clicking the green button. > > On 7 Jun 2018, at 00:44, Patrik Karlström wrote: > > Den ons 6 juni 2018 kl 14:36 skrev Emilian Bold < > emilian.b...@protonmail.ch>: > >> The actual NPE might help. Maybe you have to create a dummy

Re: ToggleFullScreenAction fails on MacOS

2018-06-07 Thread Patrik Karlström
; requestToggleFulLScreen.invoke(application, window); > } catch (Exception e) { > System.out.println("An exception occurred while trying to > toggle full screen mode"); > } > } > > requestToggleFullScreen(Frame.getWindows()[0]

Re: ToggleFullScreenAction fails on MacOS

2018-06-16 Thread Patrik Karlström
n.getClass().getMethod("requestToggleFullScreen", Window.class); > > requestToggleFulLScreen.invoke(application, window); > } catch (Exception e) { > System.out.println("An exception occurred while trying to > toggle full screen mode");

Multi Release JAR files

2018-09-29 Thread Patrik Karlström
I just found out about Multi Release JAR files and began to look into it on my Apache NetBeans 9 installation. At http://wiki.netbeans.org/NetBeans_9 one can read NetBens 9 will be released from Apache Software Foundation as new Apache project. NetBeans is being donated to ASG by Oracle. NetBean

Re: Multi Release JAR files

2018-09-30 Thread Patrik Karlström
018 at 9:56 AM Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> This should help: >> >> https://blog.codefx.org/tools/multi-release-jars-multiple-java-versions/ >> >> Gj >> >> On Sat, Sep 29, 2018 at 6:26 PM Patrik Karlström >> w

Re: Multi Release JAR files

2018-10-02 Thread Patrik Karlström
ting them. > > Below is where the reading of multi-release JARs is implemented: > > > https://github.com/apache/incubator-netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingFileManager.java > > Gj > > > > On Sun, Sep 30,

NetBeansDeveloperFAQ in one big HTML file

2018-12-26 Thread Patrik Karlström
On http://wiki.netbeans.org/NetBeansDeveloperFAQ there is a link, http://deadlock.netbeans.org/hudson/job/faqsuck/lastSuccessfulBuild/artifact/other/faqsuck/build/faq.html, to the now non existing one page html. I could not find it on https://netbeans.apache.org/wiki/ and I really did enjoy that s

NetBeans Platform Showcase

2019-01-14 Thread Patrik Karlström
Do we have an "Apache version" of the Platform Showcase https://platform.netbeans.org/screenshots.html? I thought I’d add a platform app of mine Mapton - Some kind of map application https://mapton.org. /Patrik

Re: NetBeans Platform Showcase

2019-01-14 Thread Patrik Karlström
Den mån 14 jan. 2019 kl 18:34 skrev Geertjan Wielenga < geertjan.wiele...@googlemail.com>: > Awesome! > > Here's the page so far: > > https://cwiki.apache.org/confluence/display/NETBEANS/on+top+of+NetBeans > > Should definitely be the input for a new subpage of netbeans.apache.org. > > Gj > > Grea

[PLATFORM] API (Documentation) Updates

2019-04-09 Thread Patrik Karlström
I'm really happy to see the maven artifacts for NB10 & NB11, but coming from NB82 makes me think of all the new stuff I don't know anything about. How can one as developer of a platform based application keep track of changes made to new releases of the platform? Patrik

Re: [PLATFORM] API (Documentation) Updates

2019-04-09 Thread Patrik Karlström
s://bits.netbeans.org/9.0/javadoc/apichanges.html > > Gj > > > On Tue, Apr 9, 2019 at 4:46 PM Patrik Karlström wrote: > >> I'm really happy to see the maven artifacts for NB10 & NB11, >> but coming from NB82 makes me think of all the new stuff I don't kno

[platform][snap] How do I publish a platform app as a snap?

2019-07-07 Thread Patrik Karlström
My platform app Mapton is besides from being downloadable as a zip available through the AUR . Since I have noticed that NetBeans itself is available as a snap package, I thought it would be nice if Mapton was so too. The problem is

Re: [platform][snap] How do I publish a platform app as a snap?

2019-07-07 Thread Patrik Karlström
Den sön 7 juli 2019 kl 11:38 skrev Neil C Smith : > On Sun, 7 Jul 2019 at 09:32, Patrik Karlström wrote: > > Are there any documented (netbeans) steps somewhere that I can follow? > > I'm not sure if the build task is documented anywhere yet? But > definitely look at >

Re: [platform][snap] How do I publish a platform app as a snap?

2019-07-08 Thread Patrik Karlström
out of the box. >6. You can also ask Snapcraft to build the Snaps for you adding a >Github hook. > > So for start try to build a working Snap locally, then get a snapcraft > account, ask Snapcraft to build the Snap for you, then publish the Snap! > On 7/7/19 2:38 AM, Neil

Re: Netbeans 11.1 not supporting JDK 1.7

2019-07-23 Thread Patrik Karlström
It's reproduceable for me too on Manjaro Linux. Den tis 23 juli 2019 kl 15:39 skrev Geertjan Wielenga : > So far I've been able to reproduce this on Mac OSX, i.e., in 11.0 I can > register JDK 7 while in 11.1 this fails, trying to find out why. Then again > 11.0 is the LTS release, so you should

Re: Netbeans 11.1 not supporting JDK 1.7

2019-07-23 Thread Patrik Karlström
t; also tried running 11.1 itself on JDK 8 as well as JDK 12 to see if it >> makes a difference. A big thumbs up to whomever figures out the cause of >> this problem. >> >> Gj >> >> On Tue, Jul 23, 2019 at 3:48 PM Patrik Karlström >> wrote: >> >>

Re: [platform][snap] How do I publish a platform app as a snap?

2019-07-25 Thread Patrik Karlström
would be really out of the box. >6. You can also ask Snapcraft to build the Snaps for you adding a >Github hook. > > So for start try to build a working Snap locally, then get a snapcraft > account, ask Snapcraft to build the Snap for you, then publish the Snap! > On 7/7/1

[platform] Adding the WindowManager to a SwingNode

2019-09-16 Thread Patrik Karlström
I'm working on a hybrid platform app in the sense of combing Swing and JavaFx. Swing is used for the main window, dialogs and the "window manager tabs", everything else is JavaFx, including the content of the TopComponents. The tool- and statusbar is also JavaFx. https://mapton.org/wp-content/uploa

Re: [platform] Adding the WindowManager to a SwingNode

2019-09-27 Thread Patrik Karlström
va/se/trixon/stagewm/core/Initializer.java Maybe it's possible to improve it, or focus on a JavaFx WindowManager. Den mån 16 sep. 2019 kl 12:49 skrev Patrik Karlström : > I'm working on a hybrid platform app in the sense of combing Swing and > JavaFx. > Swing is used for the main

[lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Patrik Karlström
I feel somewhat stupid asking this one, but I just can't grip how to "publish" a "dynamically created" object so it will show up in lookupAll(). This is a really small library I'm working on and the only NetBeans dependency I have is org-openide-util-lookup, if that matters at all. The following

Re: [lookup] Accessing dynamically created objects through lookup

2019-10-13 Thread Patrik Karlström
* @param items >> */ >> public void putAll(Class type, Collection items) { >> synchronized (lock) { >> Collection all = lookupAll(type); >> remove(all); >> for (T item : items) { >> conten

[platform] IOProvider - org.netbeans.api.io vs org.openide.windows

2019-12-31 Thread Patrik Karlström
While trying to solve a problem related to class loading ClassNotFoundException ... starting from ... I noticed that there are actually two IOProviders available, one in org.netbeans.api.io and the other one in org.openide.windows. How come? They are similar, but not identical. Any guidelines on w

Re: [platform] IOProvider - org.netbeans.api.io vs org.openide.windows

2019-12-31 Thread Patrik Karlström
i > > On Tue, Dec 31, 2019 at 4:00 PM Patrik Karlström wrote: > > > > While trying to solve a problem related to class loading > ClassNotFoundException ... starting from ... > > I noticed that there are actually two IOProviders available, one in > org.netbeans.api.io and

Re: [platform] IOProvider - org.netbeans.api.io vs org.openide.windows

2020-01-01 Thread Patrik Karlström
far it's a happy new year. :) Den tis 31 dec. 2019 kl 16:50 skrev Emilian Bold : > IOProvider.getDefault does return the first match in the global lookup if > you look at the source. > > --emi > > mar., 31 dec. 2019, 16:41 Patrik Karlström a scris: > &

[snap] Edit netbeans.conf

2020-01-24 Thread Patrik Karlström
How do I edit netbeans.conf on a snap install? /var/lib/snapd/snap/netbeans-dev/45/netbeans/etc/netbeans.conf resides on a write protected file system.

Re: [snap] Edit netbeans.conf

2020-01-24 Thread Patrik Karlström
ki.apache.org/confluence/display/NETBEANS/Font+Rendering+Issues > On 1/24/20 5:48 AM, Patrik Karlström wrote: > > How do I edit netbeans.conf on a snap install? > /var/lib/snapd/snap/netbeans-dev/45/netbeans/etc/netbeans.conf > resides on a write protected file system. > >

Re: NetBean Badges for Git Readme?

2024-12-28 Thread Patrik Karlström
Badges are nice, and there are tags too. https://github.com/topics/netbeans-platform or only netbeans if referencing just the IDE. Den tors 26 dec. 2024 kl 20:07 skrev Amith, Muhammad F : > Hi > > > > I am curious to know if there’s any official badges to put on code > repositories to show that t

Re: Problem upgrading NB app to JDK23 / nbm plugin

2025-01-01 Thread Patrik Karlström
You should use the latest version,14.2, of nbm-maven-plugin. /Patrik Den ons 1 jan. 2025 kl 09:57 skrev Jerome Lelasseux : > Hi and happy new year to the NB devs :-) > > My maven NB platform app uses JDK17 and nbm-maven-plugin 4.8. Works fine. > > I'd like to use JDK23 with RELEASE240 cluster on

Re: Problem upgrading NB app to JDK23 / nbm plugin

2025-01-01 Thread Patrik Karlström
Indeed you did, I was too trigger happy. Den ons 1 jan. 2025 kl 11:49 skrev Jerome Lelasseux : > As explained in my email I tried this too, same problem. > > > > Le mercredi 1 janvier 2025 à 11:37:40 UTC+1, Patrik Karlström < > pat...@trixon.se> a écrit : > > >

[platform] default options and add-opens+add-exports

2025-05-27 Thread Patrik Karlström
I have over the years added 18 add-opens and 18 add-exports to my default options in my applications config. Today, with RELEASE26 and JDK 24.0.1 I realized I could remove everything but add-opens for java.io and java.net. I'm happy but curious, what has changed? /Patrik

Re: Brand new NB 26 Platform Maven Application fails to launch

2025-05-27 Thread Patrik Karlström
Regarding the security manager. You should change netbeans version in the pom to RELEASE260. It will be available in the wizzard soon I guess. Den tis 27 maj 2025 20:25Tim Mullé skrev: > Ok, commenting out the security manager in the pom.xml for the app fixes > the startup issue. > > >

Re: [platform] default options and add-opens+add-exports

2025-05-28 Thread Patrik Karlström
flags file used to generate the netbeans_default_options line? > > regards, > > -mbien > > > On 5/27/25 15:04, Patrik Karlström wrote: > > I have over the years added 18 add-opens and 18 add-exports to my > default options in my applications config. > >

[platform] App start sometimes fails (NetworkProxyReloader?)

2025-06-27 Thread Patrik Karlström
1 of perhaps 100 platform app starts fails for me and the last lines in the logs are the following: [INFO] INFO [org.netbeans.core.network.proxy.ProxyAutoConfig]: PAC script http://wpad/wpad.dat unavailable, proxy disabled [INFO] INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: Syste