Re: FlatLat not available in options dialog (NetBeans platform application)

2024-10-18 Thread Michael Bien
On 14.10.24 09:15, avaluedcusto...@freenet.de wrote: Hello, I have a NetBeans Platform application (migrated all the way from 8.x to 23) btw kudos to this achievement, this is quite a version jump :) best regards, michael ---

Re: [platform] Broken workflow with RELEASE230

2024-10-02 Thread Michael Bien
Hi Patrik, I noticed before that simply hitting "run" wasn't enough to get changes in using the nbm-maven-plugin, but I just tried to edit code and and build+run worked. It might depend however on where the changes are. changing an action registration might require a clean (not sure). Test

Re: Upgrading embedded Tomcat instance

2024-10-28 Thread Michael Bien
Hi Wyatt, the embedded tomcat instance is used to preview generated javadoc and similar usecases. Since it isn't facing the web, the typical CVEs often don't apply there. Are you worried about something in particular? The embedded instance is a regular NetBeans dependency which can't be upda

Re: Upgrading embedded Tomcat instance

2024-10-29 Thread Michael Bien
s the Tomcat vulnerabilities. Will this be in the next release? PR #7919 is targeting NetBeans 25 right now. best regards, michael Thanks, Wyatt -Original Message- From: Michael Bien Sent: Monday, October 28, 2024 12:40 PM To: Tellis, Wyatt ; 'users@netbeans.apache.org'

Re: Netbeans 22 can't load some modules

2024-11-01 Thread Michael Bien
module load failures often indicate that there is a problem yes. Would recommend to not import your config into NetBeans 23 and start fresh once you update to the current release. regards, michael On 01.11.24 18:58, slipbits wrote: I opened NB 22 and got the following warning message:    

Re: Is it possible to change build/ and dist/ directories from within NB?

2024-11-05 Thread Michael Bien
Hi Thomas, I use ram disks quite often on linux, expectation wise: if you already have a NVMe drive you will rarely see any noteworthy speedup. So I use them for tasks i would have typically used /tmp before. For example a clone/build/run script for PR reviews. The advantage there is that ra

Re: Adding new features

2024-10-28 Thread Michael Bien
Text blocks are part of the java language since JDK 15 or so. You can simply start using them if the JDK you target is recent enough. Make sure the language level on the project is set accordingly. -mbien On 28.10.24 09:17, Arbol One wrote: java 22.0.2 2024-07-16 Java(TM) SE Runtime Environ

Re: change fonts NB23 Snap

2024-11-10 Thread Michael Bien
sure, check out $ netbeans --help ...   --fontsize set the base font size of the user interface, in points regards, -mbien On 10.11.24 15:01, Phil Longenecker wrote: Had to use the snap pkg to install NB23 on rPi5. The IDE fonts are tiny, basically a smudge on the screen for my eyes.

Re: [ config ] [ projects ] [ folder ]

2024-09-28 Thread Michael Bien
you can set it with the netbeans.projects.dir property -J-Dnetbeans.projects.dir=D:\NetBeansProjects -mbien On 28.09.24 16:58, Tony Franco wrote: Dear Sirs, Sorry to disturb you. Please, how can i change the default projects folder on Netbeans 23? I want to save all my projects at 'D:\NetBe

Re: netbeans 23 - problem with creating a netbeans module

2024-09-20 Thread Michael Bien
Hi, this does work for me. Do you have anything unusual in your global maven settings.xml? The wizard is checking the central repo for version information, for some reason it is null which is unusual since it is the standard repo. -mbien On 20.09.24 16:01, Rafał Ziółkowski wrote: Hallo,

Re: Detached head problem

2024-09-25 Thread Michael Bien
"detached HEAD" can have many reasons. It only means that your workspace is not on any branch at the moment. e.g if you check out a specific commit hash or if you merge something which needs manual conflict resolution. 'git status' might tell you more. If nothing needs to be resolved and ev

Re: "Remove Trailing Whitespace From" option not working for the line you have your cursor in

2024-11-08 Thread Michael Bien
Hi, I am not sure but this might be indeed intended. It would be weird if the cursor would move if the line isn't finished yet. is this a problem? regards, michael On 08.11.24 12:09, Lakshika Bandara wrote: Hi, I am currently using NetBeans version 18. I have set the option to remove tr

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-16 Thread Michael Bien
Hi, the index updates happen in the background, can you clarify what you mean by being "blocked by the indexer"? It shouldn't block anything. If it happens at a time you don't want it to run and it already started (e.g low battery), you can simply cancel the task and it won't try again for a

Re: jpa metamodelgen in maven project

2024-11-15 Thread Michael Bien
Hi, can you check that compile-on-save is disabled? you should be able to pass the output dir directly to javac, without extra plugin. something like this:         maven-compiler-plugin     ${project.build.directory}/generated-sources/annotation-processors         if you fi

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread Michael Bien
the exec.mainClass property of pom.xml is the main entry point of your program and becomes relevant if you want to run the project in the shell or once its built. NB can run anything which has a main method or any test simply via right click -> run/debug. It doesn't really care what is in the

Re: Problems with Printing from NetBeans

2024-04-16 Thread Michael Bien
print to html and then print the html with a browser? -mbien On 16.04.24 21:04, Hanley, Chris wrote: Hi, I am new to this user group. I teach at a high school in New York. We have successfully printed from NB printing option. My IMS imaged computers 2 months ago and we get No Print Services Fou

Re: New source files open near to "Output" tab

2024-04-16 Thread Michael Bien
you can probably fix this by moving the output out of the tab group of the files and then the files to the central area where you want them, but if this doesn't work you can always reset the UI with windows -> reset windows. -mbien On 16.04.24 14:29, Daehyun wrote: Hi, I just upgraded to the

Re: Netbeans and Emmet

2024-04-23 Thread Michael Bien
this is likely the project you are looking for: https://github.com/emmetio/netbeans it seems to lack maintainers but the last release might still work. Simply download the nbm and try to install it using tools -> plugins -> downloaded -> add plugins -mbien On 23.04.24 22:09, Tom Rushworth wr

Re: Using Netbeans with SE 22

2024-06-02 Thread Michael Bien
Hi Owen, regarding NetBeans: you will need NetBeans 22 or later for Java 22 features (NB 22 should be officially released soon). Also keep in mind that JEP 447 (Statements before super) is a preview feature and preview features create non-portable bytecode which lock the bytecode to one JDK ve

Re: Netbeans notification requests permission for Maven repo. But how?

2024-06-03 Thread Michael Bien
you can click the links. Since this looks like a local repo, it won't have an index file anyway so you can click the "deny" link and it won't ask again for this repo ID. This is meant for remote repos like maven central which offer big index files. -mbien On 03.06.24 21:21, Mark Koch wrote:

Re: Adding support for a file extension

2024-06-05 Thread Michael Bien
try options -> miscellaneous -> files This should be able to associate extensions with known mime types. -mbien On 05.06.24 18:33, Will Hartung wrote: I have my own little HTML templating files, but they have their own extension. So, even though they're 99% HTML, the IDE does not consider t

Re: NB 22 - java.lang.ExceptionInInitializerError on opening JavaEE xhtml files

2024-06-07 Thread Michael Bien
sounds like https://github.com/apache/netbeans/issues/7436 -mbien On 07.06.24 12:55, Jens Zurawski wrote: I've just made a test with NB-21. The problem/Exception does not occur. Also tested both installs, with and without importing of my NB-20 settings. So it's new in 22. cu Jens Am 07.06.

Re: "Index Download Permission Request for 'Central Repository'"

2024-07-22 Thread Michael Bien
Hi, I can't answer the mac questions, but the table in the maven indexer options is mostly there to inspect and reset existing permissions - default is an empty list. So if you don't see an entry with the URL for maven central, NB either didn't need that permission yet (can be triggered by o

Re: "Index Download Permission Request for 'Central Repository'"

2024-07-22 Thread Michael Bien
On 22.07.24 22:38, Will Hartung wrote: On Mon, Jul 22, 2024 at 12:45 PM Michael Bien wrote: Hi, I can't answer the mac questions, but the table in the maven indexer options is mostly there to inspect and reset existing permissions - default is an empty list. So i

Re: can't run tests from Netbeans in a certain project

2024-08-07 Thread Michael Bien
i replied directly under the linked issue https://github.com/IQSS/dataverse/issues/10728#issuecomment-2273697543 (spoiler: its compile-on-save again) best regards, -mbien On 06.08.24 22:54, Philip Durbin wrote: HI! I put the details in https://github.com/IQSS/dataverse/issues/10728 but can an

Re: netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Michael Bien
Hi Rafal, pack200 is an outdated bytecode compression method. If you create a new NetBeans Application, the project template you would get should not make use of it by default. I just tried it again using NetBeans 22 on JDK 18 and "clean install" worked. btw JDK 18 itself is no longer supp

Re: netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Michael Bien
allation of netbeans. There another installations of older versions od Netbeans, may be something interferes with new installation Thank's for answer With Regards Rafal Z W dniu 23.08.2024 o 15:25, Michael Bien pisze: Hi Rafal, pack200 is an outdated bytecode compression method. If

Re: netbeans 22 does not build a maven project for netbeans application

2024-08-26 Thread Michael Bien
u are right! Release802 is as version reference. Interesting why, ideed I maintain an old Netbeans Application, but this should not bother new netbeans with java 18. Thank You! Now it's building correctly Rafal Z W dniu 23.08.2024 o 16:31, Michael Bien pisze: if you open the po

Re: Variable information is not available in debugger

2024-09-11 Thread Michael Bien
Hi Will, On 11.09.24 19:45, Will Hartung wrote: I'm sorry, my earlier message was prematurely sent, so this is the complete message (I hope), I've been debugging some code and dropping into some libraries. While I have the source code, when I mouse over local variables, I get the message:

RE: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
Hi Tom, "NetBeans Java Hints" should be there out of the box. Its the same system which is responsible for the in-editor hints. Difficult to say what is going on there. But in general: There are two configs, one is global which is applied to all projects by default, and the per-project confi

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
Sure looks like a big ‘ole bug to me. I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s relevant here. Thanks, Tom On Jan 13, 2022 at 3:03:49 PM, Michael Bien wrote: Hi Tom, "NetBeans Java Hints" should be there out of the box. Its the same system which is responsibl

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
nning NB 12.6 w. Java 17 on macOS, but I don’t think that’s relevant here. Thanks, Tom On Jan 13, 2022 at 3:03:49 PM, Michael Bien wrote: Hi Tom, "NetBeans Java Hints" should be there out of the box. Its the same system which is responsible for the i

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-14 Thread Michael Bien
may provide an alternative for code analysis features. Eric Bresie ebre...@gmail.com On January 13, 2022 at 5:07:48 PM CST, Michael Bien wrote: this is fixing it as far as i can tell: https://github.com/apache/netbeans/pull/3455 since you are good at finding bugs (:-)) - maybe you could give

Re: Offline Install of Netbeans on JDK 8 (with nb-javac)

2022-01-16 Thread Michael Bien
filing an issue would be pointless since as Geerjan already mentioned, the next version will have nb-javac installed by default - so you could close that issue right away. Several options, like for example: upgrading the JDK itself (which would be the easiest) were already provided. best reg

Re: Updating an Old Plugin and Having Issues

2022-01-16 Thread Michael Bien
the class seems to be still there https://github.com/apache/netbeans/blob/c084119009d2e0f736f225d706bc1827af283501/java/form.nb/src/org/netbeans/modules/nbform/FormEditorSupport.java which is in org.netbeans.modules.form.nb but it doesn't appear to be public API unless i overlooked something.

Re: How to run/debug Integration Test class from contextual menu?

2022-01-18 Thread Michael Bien
i saw it, looks good on first glance but i had no time to test it so far - thanks! i put it on the NB14 milestone since NB13 is in feature freeze. congrats for your first contribution, -mbien On 18.01.22 06:38, Arnaud bourree wrote: Hi, Here it is my first contribution to NetBeans: https:/

Re: How to run/debug Integration Test class from contextual menu?

2022-01-18 Thread Michael Bien
existing one? My feeling about tutorial should be more how Netbeans help us to write/run tests than what are JUnit tests. What do you think? Regardes Arnaud Le mar. 18 janv. 2022 à 20:12, Michael Bien a écrit : i saw it, looks good on first glance but i had no time to test it so far

Re: JUnit Tutorial Update

2022-01-18 Thread Michael Bien
atest version using maven. -mbien On 19.01.22 07:56, Arnaud bourree wrote: Yes this outdated tutorial Le mer. 19 janv. 2022 à 07:22, Michael Bien a écrit : this tutorial? https://netbeans.apache.org/kb/docs/java/junit-intro.html or do you mean something else? -mbien On 19.

Re: adding tomcat server location as enviornment variable

2022-01-23 Thread Michael Bien
have you tried using a symlink? I don't think NB resolves env variables for server paths. On 23.01.22 18:50, Mar R wrote: Sorry guys I think I didn't explain myself well. In NetBeans if you go to Tools -> Servers --> Add Server... then after selecting "Apache Tomcat or TomEE", it asks for the

Re: Installing C/C++ 8.2 in NB 12.6

2022-01-24 Thread Michael Bien
you should be able to install old plugins if you start NB on JDK 8 or 11 since they still have pack200 support. after its installed you can start on JDK 17 again. you can change the path to the JDK in etc/netbeans.conf -mbien On 24.01.22 10:58, Jonathan Bergh wrote: hi, I was wondering whet

Re: Introduction to Profiling Java Applications in NetBeans IDE

2022-01-30 Thread Michael Bien
nothing about “profiling”, but thought this was a good opportunity to learn something new. I started reading the tutorial, and with Michael’s help was able to get started, but cannot get through calibration. See attached messages.Probably user error. On 2022/01/29 15:36:33 Michael Bien wrote: &

Re: Netbeans outdated method references

2022-02-18 Thread Michael Bien
yes there is a cache stored somewhere :) help -> about will show where the cache directory is on your system usually you shouldn't have to worry about it. But if you think its an caching issue you could try to empty the folder (while NB is not running). -mbien On 18.02.22 17:20, Luff, Chris

Re: [ANNOUNCE] Apache NetBeans 13 released

2022-03-05 Thread Michael Bien
your config should be in ~/.netbeans/13 rename that folder and start NetBeans to try with the defaults. I believe swing does also support scaling, I never tried it though, maybe someone else can help - it might require a flag to be set. fonts, sizes etc can be also changed in the options if e

Re: [ANNOUNCE] Apache NetBeans 13 released

2022-03-06 Thread Michael Bien
On 05.03.22 18:05, Amn Ojee Uw wrote: Yes, I'll follow your advice. Having stated that, how do I stop/remove the current settings? Thank you. On 3/5/22 8:26 AM, Geertjan Wielenga wrote: On 3/5/22 5:09 AM, Michael Bien wrote: your config should be in ~/.netbeans/13 rename that folde

Re: Netbeans suddenly reporting CRC errors for several dependencies

2022-04-15 Thread Michael Bien
Interesting, thanks for posting the results of your investigation. If i remember correctly, the zip implementation can vary dependent on the JDK distribution. It does make sense that the JDK provided by arch is using the system's zlib since they have control over it. But some (most?) other ven

Re: How to increase NB Search limit ?

2022-05-06 Thread Michael Bien
Hi, this is likely hardcoded, I think I remember seeing some runaway limits in search code. you could run the same search/replace action multiple times, right? -mbien On 06.05.22 16:50, Bilu wrote: Hello, When Replacing in a large project i get: *the search was stopped because the limit

Re: How to increase NB Search limit ?

2022-05-06 Thread Michael Bien
code./     => too bad /you could run the same search/replace action multiple times, right?/ /    => /this /is what i was doing since the morning. it is not very helpfull with remote folders like smb sharing (very slow)/ / / Le 06/05/2022 à 19:30, Michael Bien a écrit : Hi, this is l

Re: How to increase NB Search limit ?

2022-05-07 Thread Michael Bien
? <http://13.app/Contents/Resources/NetBeans/netbeans/etc/netbeans.conf?>)? I don’t see those properties there. On 2022/05/06 22:36:16 Michael Bien wrote: actually I was wrong - it has been indeed changed into properties not too long ago. try setting the "netbeans.search.count.limit"

Re: Switching to wrapped output?

2022-05-11 Thread Michael Bien
check the right click menu of the output window. Terminal would be a different window. regards, michael On 12.05.22 06:06, Greenberg, Gary wrote: I am developing a web service and for debugging purposes logging the output of it, which is a lengthy JSON. I am getting …line is too long, ple

Re: Netbeans with Snap packaged OpenJDK

2022-05-24 Thread Michael Bien
the snap packages are no official packages they are provided by the community. but in general: netbeans/etc/netbeans.conf has the property "netbeans_jdkhome" which you can use to tell NetBeans which JDK it should run on. I don't know much about snap so this might work differently there since t

Re: call to deprecated System::setSecurityManager on netbeans startup

2022-05-25 Thread Michael Bien
that is just a warning due to https://openjdk.java.net/jeps/411, nothing to worry about - for users at least. -mbien On 25.05.22 19:42, Stroud Custer wrote: I received this message when starting netbeans 13 from the command line in Ubunutu 22.04 LTS. stroud@stroud-Latitude-E6530:~$ netbeans

Re: setting default Java platform

2022-06-03 Thread Michael Bien
Hi Glen, the default platform is the JDK NB is running on. If you don't define any platform that is what NB is going to use. I suppose NB could allow setting a different platform as default, but it can't do that atm, since default means "runtime". changing it right now would require to set

Re: setting default Java platform

2022-06-03 Thread Michael Bien
On 03.06.22 18:53, Glenn Holmer wrote: On 6/3/22 09:12, Michael Bien wrote: the default platform is the JDK NB is running on. If you don't define any platform that is what NB is going to use. I suppose NB could allow setting a different platform as default, but it can't do that

Re: Beans Binding

2022-06-05 Thread Michael Bien
Hi Bill, keep in mind that JSR-295 is inactive. There haven't been any bugfix releases of beansbinding in over a decade. The last attempt I am aware of keeping beans binding alive was from Fabrizio Giudici in form of betterbeansbinding* unless you are maintaining an old project, I would adv

Re: FlatLAF on NB 14

2022-06-28 Thread Michael Bien
awesome! thanks for posting how you solved it, since this is often not done these days. -mbien On 28.06.22 20:32, Mike Hallan wrote: Got it working. Don't do step 3) that I described because adding the dependencies as per step 4) will already include the relevant classes. On Monday, June

Re: [IDE Font Size] in Netbeans 14

2022-06-29 Thread Michael Bien
something must be wrong with your netbeans_default_options list since this exception would happen if some of the module config flags are missing. you can simply launch netbeans with the font option bin/netbeans --fontsize 20 regards, michael On 29.06.22 23:35, Ing Sergio Basurto J. wrote:

Re: Java Platform Javadoc

2022-07-11 Thread Michael Bien
Hi, On 11.07.22 06:56, Bradley Willcott wrote: Hi there. I am sure someone has asked this before, but I haven't found such as yet. How do I set-up NB 14 to access the online Javadocs for each JDK? I have every version since 1.5 installed. Whilst the older ones work fine, the newer ones don't.

Re: NB 14 IDE freezes on popup menu in Swing Navigator

2022-07-20 Thread Michael Bien
On 20.07.22 21:20, Mike Hallan wrote: I'm using NB 14 and I've tried running the IDE on JDK 11 and 18, both from Adoptium, on Win 10. I've found that very often the IDE will freeze if in the Swing Navigator, I select a component eg.a JPanel, then right-click on it and move the mouse over to t

Re: NB 14 IDE freezes on popup menu in Swing Navigator

2022-07-21 Thread Michael Bien
Thank you again to you and NB dev team! On Wednesday, July 20, 2022 at 10:41:03 PM GMT+3, Michael Bien wrote: On 20.07.22 21:20, Mike Hallan wrote: I'm using NB 14 and I've tried running the IDE on JDK 11 and 18, both from Adoptium, on Win 10. I've found that very often the

Re: NB 14, 15 Platform Applications and Java 8 compatibility

2022-07-30 Thread Michael Bien
On 29.07.22 12:28, Mike Hallan wrote: I want to know whether to tell end users that they must move to J11+, or that J8 is still OK. it highly depends on what user base you have, but there is usually no good reason to use anything else outside of the latest java LTS release. You get the late

Re: Java NetBeans IDE14 Project (Unloadable) pom.xml Error

2022-08-12 Thread Michael Bien
Hi Mike, when declaring the plugin you added the group ID of your project. This is not correct. GroupID + ArtifactID are the coordinates of a maven artifact, they belong together. The specific plugin you are using is a default plugin, so you don't have to declare the groupID, (but you can if

Re: Simple navigation question

2022-08-18 Thread Michael Bien
ctrl+shift+1 opens/selects the file in the Projects window. 2 for Files, 3 for Favorites. On 18.08.22 21:37, Blake McBride wrote: 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 particula

Re: Unpacking the index for central repository is very long

2022-09-14 Thread Michael Bien
Hi, 2h is indeed long. Last time i measured it was about 20mins on my workstation which is about 6 years old by now. Would be interesting to try to figure out what causes the such big difference. Was the download itself slow? This can happen of course due to outside factors. The good news

Re: NetBeans 14/15 not scanning for external changes on Mac

2022-09-14 Thread Michael Bien
On 07.09.22 23:33, Ludvík Michálek wrote: Update: I found the cause of the issue, finally (thanks Stan). 1) I've created a git repository where I saved "default" preferences created by fresh install of NB nice! i used to do that too for my whole etc folder once to debug OS issues. 2) next,

Re: Unpacking the index for central repository is very long

2022-09-15 Thread Michael Bien
IDE normally. -mbien Best regards, Richard Le 15/09/2022 à 03:14, Michael Bien a écrit : Hi, 2h is indeed long. Last time i measured it was about 20mins on my workstation which is about 6 years old by now. Would be interesting to try to figure out what causes the such big difference.

Re: Unpacking the index for central repository is very long

2022-09-19 Thread Michael Bien
On 17.09.22 15:36, Neil C Smith wrote: On Thu, 15 Sept 2022 at 19:38, Michael Bien wrote: If IDEs provide functionality which uses data which is not available in your local maven repository they gonna have to use a web service or cache things just like netbeans does. There are pros and cons

Re: registering latest Payara

2022-10-01 Thread Michael Bien
Hi Glenn, there is a PR in the queue which is fixing this: https://github.com/apache/netbeans/pull/4695 saw many Jakarta EE related PRs recently targeted for NB 16. best regards, michael On 01.10.22 22:06, Glenn Holmer wrote: I haven't done much EE programming since I retired, but want to up

Re: jre version issues

2022-10-26 Thread Michael Bien
oh. This sounds like you installed both, a 32bit and a 64bit JVM. Since windows keeps them separated in those two folders. java -version should show what is what in case of doubt. with JNI you have to be extra careful when the architecture changes. best regards, michael On 26.10.22 18:06, Am

Re: Font too small

2022-10-31 Thread Michael Bien
interesting. Since it was filed against JDK 11.0.5 which was a few updates ago. Was it not fixed/backported since then? A lot of those linked JDK bugs are marked resolved. -mbien On 31.10.22 07:58, negora wrote: Besides editing the "$NETBEANS_HOME/etc/netbeans.conf" file (to add the "--fons

Re: Font too small

2022-10-31 Thread Michael Bien
ings. (open the bin/netbeans script and scroll down) main challenge would be to detect when this is needed and when not. I suppose this isn't something to enable by default on linux. -mbien Thank you. On 31/10/2022 14:33, Michael Bien wrote: interesting. Since it was filed agains

Re: Clicking on stack trace in output window

2022-11-08 Thread Michael Bien
Hi Will, is this from the output window or the "Analyze Stack" window? in any case.. would be good to file a bug report since this sounds like a bug. best regards, michael On 08.11.22 23:04, Will Hartung wrote: It seems that when developing code using the Java module system (i.e. using a

Re: Search for maven dependency

2022-11-10 Thread Michael Bien
late reply but: the maven central index does not contain class names anymore. So you will only see results there once you have the artifact in your local .m2 repository since NetBeans indexes that one too. so once you press build you will see results, since it downloads the dependencies into

Re: NetBeans `Convert to for (Iterator...) {}' suggestion

2022-11-28 Thread Michael Bien
Hi John, suggestions which are only active at the current line where your cursor is, don't necessary produce better code, they are just there to transform parts of it in case you want to change something. Internally they are hints of a kind called actions. The doc describes it well: "The hi

Re: What happened with Netbeans bug reporting?

2022-12-07 Thread Michael Bien
the most important part of an issue report is a minimal reproducer or steps how to reproduce the issue. Since the main user base of an IDE are devs, it is often possible to get good quality submissions in some cases. It is really difficult to automate this. Telemetry can do only so much and pr

Re: NetBeans release notes?

2022-12-08 Thread Michael Bien
On 07.12.22 22:08, Fred Welland wrote: an interesting surprise I don't know if this is the official release notes, but this has some info on it: https://github.com/apache/netbeans/releases/tag/16 yep, those notes are the official ones. On Wed, Dec 7, 2022 at 3:00 PM Thad Humphries

Re: [java] Netbeans 16 platforms

2022-12-10 Thread Michael Bien
how did you solve the issue? a similar issue just got filed which reports that the migration of remote platforms doesn't work: https://github.com/apache/netbeans/issues/5065 Looks like the config import did work in your case or did you patch something? -mbien On 10.12.22 16:00, Geert Va

Re: [java] Netbeans 16 platforms

2022-12-11 Thread Michael Bien
dows PC was defaulted to JDK17 (due to the switch to NB16) while the one on my Raspberry Pi was/is set to JDK11.  Changing the JDK for my Netbeans project on my Windows machine to JDK11 was in the end solving the issue. Best rgds, -- Geert On 2022/12/10 16:31:42 Michael Bien wrote: > how did

Re: Stack Trace hyperlinks no longer working in NetBeans

2022-12-12 Thread Michael Bien
I suppose your project uses the java module system and maven? Is the link you are clicking on pointing to your code or third party deps? sounds like: https://github.com/apache/netbeans/issues/4516 regards, -mbien On 12.12.22 01:27, Mark J Koch wrote: Also grabbed the latest Open Java v19

Re: Stack Trace hyperlinks no longer working in NetBeans

2022-12-13 Thread Michael Bien
ounds like https://github.com/apache/netbeans/issues/4516 is what I’m experiencing.   My code gets compiled and placed into my local maven cache and run from there. Mark On Dec 12, 2022, at 3:09 AM, Michael Bien wrote: I suppose your project uses the java module system and maven? Is the

Re: Old Problem - Pack200 - Compiling Netbeans Platform

2023-01-03 Thread Michael Bien
On 03.01.23 15:13, ad...@netcrystals.at.INVALID wrote: Hello, this may be an old problem and I already tried to find a solution in the internet but couldn’t find a usefull hint. After years I decided to continue my Netbeans project. In the meantime, the Pack200 Program from java.util seems

Re: Python development

2023-01-05 Thread Michael Bien
Tim Boudreau has a mavenized copy of the old contrib cluster https://github.com/timboudreau/netbeans-contrib which includes the python modules which are known as nbPython I believe. I don't know how much of this still works or what the license situation is - I just know that it exists :) -mb

Re: Embedded Language Question

2023-01-08 Thread Michael Bien
this might be of interest for some here: https://github.com/apache/netbeans/pull/4885 dependent on the usecase this might be a quick && elegant way to embed other languages. -mbien On 08.01.23 21:59, Oliver Rettig wrote: Hi, I am also interested in such functionality to put code written in

Re: --boot-classpath errors in NB 16

2023-01-14 Thread Michael Bien
On 14.01.23 16:55, Frank Griffin wrote: On 1/14/23 02:22, Mark Eggers wrote: Frank, That's a very old version of the maven-compiler-plugin. From version 3.6 of the compiler plugin, you can use the maven.compiler.release property, which sets the JDK >=9 --release option. So the configurat

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Michael Bien
what look and feel are you using for NetBeans? Did you change the default? the white items shouldn't be white, those should be "grayed out" to make the other versions stick out more. Red means no longer supported. -mbien On 22.01.23 15:49, Emma Atkinson wrote: Hello I'm using NB IDE 16 on Ub

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Michael Bien
btw good that you brought this up since I found a UI bug while trying to reproduce the issue you encountered. https://github.com/apache/netbeans/pull/5343 best regards, michael On 22.01.23 15:49, Emma Atkinson wrote: Hello I'm using NB IDE 16 on UbuntuStudio and I have a minor problem with a

Re: Python development with NB

2023-01-31 Thread Michael Bien
On 30.01.23 21:46, Greenberg, Gary wrote: I already asked this question some time ago, but didn’t get any clear answers. No, NetBeans does not support Python at the moment. -mbien

Re: Payara 6 Plugin

2023-02-09 Thread Michael Bien
Hi Mike, On 09.02.23 14:04, Mike Ryan wrote: Hello, Does anyone know when a Payara 6 Jakarat EE 10 plugin will be available in NetBeans? Thanks, Mike not sure what you mean by Jakarta EE 10 plugin, but NB 17 will have better support for Jakarta EE. You can test it in 17rc3 if you like.

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

2023-02-13 Thread Michael Bien
this sounds like your project was still configured to use JDK 11 while you tried to bump the language level (?). JDK version has to be >= language level, which is just a compiler setting (e.g --release=17 won't work on JDK 11 since it doesn't have the API and the compiler for that). best reg

Re: Broken links in output window with mvnd build

2023-02-15 Thread Michael Bien
yeah file an issue please with some example to reproduce it if possible this was supposed to fix this problem: https://github.com/apache/netbeans/pull/5099 does it help if you toggle "print maven output logging level" in the maven settings? -mbien On 15.02.23 21:14, Alexander Kronenwett wro

Re: Broken links in output window with mvnd build

2023-02-16 Thread Michael Bien
wouldn't surprise me if the cause is indeed it being a multi-pom project. I don't think I tested that. At least NB 17 will have a working output window for *some* mvnd use cases, links didn't work at all in NB 16 due to the differences in formatting between maven and mvnd. there is always the

Re: Netbeans platform project compiling with JDK 17

2023-02-19 Thread Michael Bien
Hi Toni, there was a thread about this a few days ago on the dev list: https://lists.apache.org/thread/djoy8qmoy6y0tt8314olbp6jj2y72639 short version:  yes, you are going to need those flags. The IDE itself uses the following flags: https://github.com/apache/netbeans/tree/master/nbbuild/jms-c

Re: Netbeans 17 vertical alignment of rows

2023-03-07 Thread Michael Bien
Hi Andreas, first as a note: NB requires JDK 11 or later as runtime as you can see on the download page (and readme etc). NB 17 specifically was tested on 11, 17 and 19. NB 18 will support running on JDK 20 too. (update that first) But this might not fix this issue. I never saw that happening

Re: Maven indexing

2023-03-09 Thread Michael Bien
Hi Glenn, the index is downloaded to tmp in compressed form and then imported into a lucene index which should be in the netbeans cache folder (about 1.9GB). The cache location can be changed via the regular netbeans_default_cachedir property (netbeans.conf or CLI flag). All temp files shou

Re: Maven indexing

2023-03-11 Thread Michael Bien
On 11.03.23 17:29, Glenn Holmer wrote: On 3/9/23 23:52, Michael Bien wrote: Hi Glenn, the index is downloaded to tmp in compressed form and then imported into a lucene index which should be in the netbeans cache folder (about 1.9GB). The cache location can be changed via the regular

Re: Maven indexing

2023-03-11 Thread Michael Bien
https://github.com/apache/netbeans/pull/5655 On 11.03.23 22:05, Glenn Holmer wrote: On 3/11/23 14:43, Michael Bien wrote: We could however, potentially tell maven-indexer to use a sub folder of tmp and clean that folder on IOException - just to be sure - as second fallback. i'll take a

Re: Maven indexing

2023-03-14 Thread Michael Bien
On 14.03.23 18:17, Neil C Smith wrote: On Tue, 14 Mar 2023 at 17:01, László Kishalmi wrote: Also one day the Gradle plugin may be smart enough to use that Maven index for its own good. Like offering a dependency to add when you add an import statement for a class... That would be great. I s

Re: Maven indexing

2023-03-14 Thread Michael Bien
On 14.03.23 13:29, Emma Atkinson wrote: I gave up on Maven a couple of years ago for the reasons already given.  No matter what size partition I used it would be too small within a year or so.  I used to grab the dependencies I needed and switched off the Maven Index download in NB. if your p

Re: Maven indexing

2023-03-14 Thread Michael Bien
So, a spindle of DVD's? Tim On 2023-03-14 7:20 p.m., Michael Bien wrote: On 14.03.23 13:29, Emma Atkinson wrote: I gave up on Maven a couple of years ago for the reasons already given.  No matter what size partition I used it would be too small within a year or so.  I used to grab the depe

Re: java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible:

2023-04-13 Thread Michael Bien
you are essentially running into this: https://cwiki.apache.org/confluence/display/NETBEANS/Java+Module+System+and+NetBeans+Platform+Applications -mbien On 13.04.23 20:23, ingrosariocirr...@libero.it.INVALID wrote: I upgraded my app from NB12 (java version 8) toNB17 (java version 20) Build and

Re: How to run a program in Netbeans 17 with the -D option

2023-04-23 Thread Michael Bien
Tim, I can imagine you are excited about your program, but can you please stop advertising it on the NetBeans mailing lists? every single mail from you attempts to convince people to download it from your page. this is not a platform for advertisements. -mbien On 22.04.23 05:31, Tim de V

  1   2   >