Re: Run-Time Error: email Validation project still giving errors

2024-03-14 Thread Ernie Rael
failure comes from. I think I recently saw some email that points out the problem with info on how to fix it. -ernie Kindly help solve my email validation problem. Zulfi. On Tuesday, March 12, 2024 at 12:24:57 PM CDT, Ernie Rael wrote: I don't remember if this has been asked and ans

Re: Compile error but no line indicators

2024-06-13 Thread Ernie Rael
On 24/06/12 8:10 PM, Owen Thomas wrote: I have experienced this as well. The best that I have been able to do is rely on build output. Don't know if anyone else is looking into this problem. It gets tedious when this happens for a complex build. It seems to happen for me most often when there i

Re: Create my own License file

2024-08-28 Thread Ernie Rael
On 24/08/28 12:44 PM, Arbol One wrote: I was reading about changing the default license in Netbeans, however, I could not ignore the language use to create such files. Anyone knows the name of this language and of a good tutorial for it? https://netbeans.apache.org/tutorial/main/tutorials/n

Re: Hellooooo

2024-08-30 Thread Ernie Rael
On 24/08/30 2:29 PM, Arbol One wrote: Thanks, your reply is so reassuring. I thought I had been banned from the group! If you're unsure if something got through, you can take a look at https://lists.apache.org/list.html?users@netbeans.apache.org -ernie

Re: Show in project shortcut.

2020-02-17 Thread Ernie Rael
Menu>Tools>Options>Keymap then Search: select in pro program your own shortcut or ... -ernie On 2/17/2020 4:48 AM, Ivan Ivanov wrote: Hello! Is it possible to perform (file open tab)->right_click->"Select in Projects" as a shortcut? Thank you for your help Regards ---

Fwd: Re: Show in project shortcut.

2020-02-17 Thread Ernie Rael
I missed this entirely. Existing shortcuts can be determined from main screen. Forwarded Message Subject:Re: Show in project shortcut. Date: Mon, 17 Feb 2020 21:47:54 +0100 From: Sven Reimers To: Ernie Rael Go to the search textfield on the upper right

Re: NB 11.2 change default project path

2020-02-24 Thread Ernie Rael
On 2/21/2020 12:06 AM, Neil C Smith wrote: On Fri, 21 Feb 2020, 01:42 Laszlo Kishalmi, > wrote: I haven't known this one either. Just spent  one minute to dig it up from the source code. Always good advice! I didn't either until just before you poste

Re: NB 11.2 change default project path

2020-02-25 Thread Ernie Rael
On 2/25/2020 10:39 AM, Neil C Smith wrote: On Mon, 24 Feb 2020 at 18:18, Ernie Rael wrote: And to close the loop. The latest directory used is saved/used. It's stashed as a preference at /org/netbeans/modules/projectui keyed with projectsFolder. Have you tried that? If it actually w

Re: Best strategy to solve JavaHelp issue

2020-03-16 Thread Ernie Rael
On 3/11/2020 9:58 AM, Jean-Claude Dauphin wrote: My application is a modules suite and non commercial. I know that JavaHelp is not part of Apache NetBeans but what would be the best strategy to solve that issue I've been wondering about this myself. Maybe an integrated JavaFX web browser?

No NetBeans platform/IDE associated with the project

2020-03-16 Thread Ernie Rael
New with 11.3? I get the above subject message when I open a tiny nbm maven project. I'm pretty sure I didn't get this with 11.2. Is there some place/way to define this as part of project properties? To move forward, I added something to the properties. It still doesn't work. Any idea what I'm

Re: No NetBeans platform/IDE associated with the project

2020-03-16 Thread Ernie Rael
On 3/16/2020 10:20 PM, Ernie Rael wrote: New with 11.3? I get the above subject message when I open a tiny nbm maven project. I'm pretty sure I didn't get this with 11.2. Is there some place/way to define this as part of project properties? OK, this was just a warning, I can s

Re: Running a modules suite with OpenJavaFX

2020-03-21 Thread Ernie Rael
Hi, I put together a proof of concept module that might solve your problem. See http://mail-archives.apache.org/mod_mbox/netbeans-dev/202002.mbox/%3Ceba18c5b-44cb-9c39-a9b3-1e4d7f2ad5b6%40raelity.com%3E and let me know if those steps look good to you. And any comments you might have on ide

Re: No multi-catch suggestion?

2020-03-26 Thread Ernie Rael
On 3/26/2020 1:16 PM, Alonso Del Arte wrote: My question is just this: was it also this way in NetBeans 8.2, or am I remembering incorrectly? Just a guess. If you use the same variable name for the three cases does it work then? -ernie When I was writing up this toy example with NetBeans

dlight terminal emulator

2020-04-09 Thread Ernie Rael
The NetBeans terminal emulator gets an error when I start it. (cygwin). Any insights that might provides a solution, or save me some time tracking it down appreciated. Malformed argument has embedded quote:     exec /cygdrive/F/cygwin64/bin/bash.exe \"--login\" The extra quotes directly

Re: dlight terminal emulator

2020-04-09 Thread Ernie Rael
On 4/9/2020 9:01 AM, Neil C Smith wrote: On Thu, 9 Apr 2020 at 16:57, Ernie Rael wrote: I haven't found any docs on dlight yet, or maybe some system property I can set or ??? Is this related to https://issues.apache.org/jira/browse/NETBEANS-3254 ? Guess not, I tried turning on

Re: dlight terminal emulator

2020-04-09 Thread Ernie Rael
On 4/9/2020 6:04 PM, Ernie Rael wrote: On 4/9/2020 9:01 AM, Neil C Smith wrote: On Thu, 9 Apr 2020 at 16:57, Ernie Rael wrote: I haven't found any docs on dlight yet, or maybe some system property I can set or ??? Is this related to https://issues.apache.org/jira/browse/NETBEANS

Re: Netbeans, JavaFX, and Maven

2020-04-15 Thread Ernie Rael
I don't know enough about maven/javafx to give a definitive answer. The pom generated by NB for a javafx project seems to imply that there is a separate artifact for each javafx-module (as in java defined module). The program runs, so stuff is getting downloaded. Here's an excerpt        

Re: Error badge on the correct code

2020-05-07 Thread Ernie Rael
This can frequently be cleared up by removing "Cache Directory" only, see Menu > Help > About. This won't loose your settings/windows/openFiles/... An aficiaonado could tell you which subdirectory of cachedir to remove. -ernie On 5/7/2020 1:29 PM, Greenberg, Gary wrote: I have in one of my

Re: 12.0-beta-4

2020-05-20 Thread Ernie Rael
Menu > Tools > Options > Import > Browse Either * browse to previous userdir you used to run netbeans (see "Menu > Help > About" when running the old version if you're not sure where that is). Do import. * If you did export, then browse to the zip file that was created. Do import. -e

OT: java map where key is in the value

2020-05-20 Thread Ernie Rael
Hi, I've have a vague memory of a map implementation where the key is extracted from the value on a put. I thought it was Java, but I can't find it. Am I hallucinating? More to the point, does anyone know of such a map. I'm only using a few methods, so I could make a wrapper; but I like usi

Re: OT: java map where key is in the value

2020-05-20 Thread Ernie Rael
the use of a getKey method: map.put(value.getKey(),value); Yes, thanks. That's like what I do, but I feel some obligation to scatter "assert key.equals(value.getKey())" around. With a lib, I would feel better... HTH.   Owen. On Thu, 21 May 2020 at 09:06, Ernie R

Re: Find Usages does not work

2020-06-16 Thread Ernie Rael
Previous message timed out. On 6/16/2020 12:19 AM, slipbits wrote: *Product Version:* Apache NetBeans IDE 12.0 *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2 *Java:* 1.8.0_111; Java HotSpot(TM) 64-Bit Server VM 25.111-b14 *Ru

Re: Command line parameter with JUnit

2020-06-20 Thread Ernie Rael
There's also http://plugins.netbeans.org/plugin/20356/jlogman It runs on NB-11.0 or later. (it's in the process of being made available on maven and should end up in the new plugin portal soon). You can see its docs via raelity.com/jlogman -ernie On 6/20/2020 9:48 AM, Jerome Lelasseux wrote:

dynamically changing logging levels in NetBeans

2020-06-30 Thread Ernie Rael
Greetings, The "LogMan-Netbeans" plugin is now available through the plugin-manager/plugin-portal, PP3, for 11.0/12.0. In a pinch, if you want to turn on some logging, this plugin can be installed without restart. -ernie Here's some of the intro/description from the plugin portal: Provides

php development

2020-07-06 Thread Ernie Rael
Hi all, Perhaps I'm finally reaching the late 20th century... I've gotten a web hosting package (starter kit). It has mysql and php; php 5.6 by default, can select 7.0. (MySql seems to be 5.6, coincidence?) Will someone(kindly or otherwise) point me to docs that show how to set up NB-12 with

Re: php development

2020-07-06 Thread Ernie Rael
any other problems. I strongly suggest finding a better one. [my day job is web hosting, I have seen many horror stories from cheap hosts]. On 2020-07-06 18:55, Ernie Rael wrote: Hi all, Perhaps I'm finally reaching the late 20th century... I've gotten a web hosting package (starter

Re: php development

2020-07-09 Thread Ernie Rael
ion are welcome :-) Cheers, Antonio El 7/7/20 a las 0:55, Ernie Rael escribió: Will someone(kindly or otherwise) point me to docs that show how to set up NB-12 with a server to write/debug/test php/mysql stuff locally? - To unsu

Re: php development

2020-08-04 Thread Ernie Rael
I lost track of this... https://issues.apache.org/jira/browse/NETBEANS-4679 -ernie On 7/11/2020 1:02 AM, Antonio wrote: That is a bug! El 10/07/2020 a las 3:56, Ernie Rael escribió: Perfect, many thanks. (and lots to go through) It's probably worth noting that the main page,

Re: JavaFX 12

2020-08-05 Thread Ernie Rael
The easiest way to run jfx with NetBeans is through maven. In NetBeans you can do NewProject.. > JavaWithMaven > "Simpe JavaFX Maven Archetype" (or the FXML one if that's what you're after) This gives you a simple project that you can run and debug. -ernie On 8/5/2020 11:52 AM, HRH wrote:

Re: JavaFX 12

2020-08-10 Thread Ernie Rael
On 8/10/2020 5:51 AM, HRH wrote: Bad habits got me in trouble. I am used to using Shift-F6 on each main class and that's why led to the problem. I used the Run->Set Main project, then chose Clean and Build Main project and finally Run -> Run Main Project. It works great now. If you take a loo

Re: JavaFx maven with FXML

2020-08-14 Thread Ernie Rael
I didn't completely follow this. How are these files created (the ones that have to be moved?) If they come from standard NetBeans operations, then there is a bug. Please file it and either post the issue number here, or add me as a watcher. Thanks. -ernie On 8/14/2020 11:11 AM, HRH wrote: T

Re: JavaFx maven with FXML

2020-08-15 Thread Ernie Rael
I indicated earlier if one doesn't need to use FXML or just uses the Ant built for JavaFx then, there aren't any issues. If you feel this ought to be reported as a bug, please let me know and I will file a report. Thanks, Anthony. On Saturday, August 15, 2020, 2:06:17 AM GMT+4:30, E

Re: JavaFx maven with FXML

2020-08-15 Thread Ernie Rael
e manual move. However, that would be a lucky > guess if you are new to Netbean JavaFx. As I indicated earlier if one > doesn't need to use FXML or just uses the Ant built for JavaFx then, > there aren't any issues. > > If you feel this ought to be reported as a bug, please l

Re: IDE occasionally removes JavaFX from New File categories

2020-08-18 Thread Ernie Rael
On 8/18/2020 9:28 AM, HRH wrote: Hi, This morning I started the Netbeans 12.0 IDE and created a new project -> Java with Maven-> FXML JavaFX Maven Archtype (Gluon). Then I attempted to create a New File with a category of JavaFx with a file type of Empty FXML and for some inexplicable reason,

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Ernie Rael
The "reflective access" warnings are not unusual. Not being able to get a thread dump is unusual. Have you tried it *before* it hangs to insure your process is good? You can also try uSoft/SysInternals Process Explorer, if you get properties on a parent, there is a threads tab. Have you take

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Ernie Rael
og\OutputRecord_120.dump'. SEVERE [org.openide.util.Exceptions] Dump file contains source code of the file (it does contain errors because I haven't finished editing it), bootPath, classpath and the same exception. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: gg

Re: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Ernie Rael
5-th one I got these un-ending problems. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message----- From: Ernie Rael Sent: Friday, August 28, 2020 6:39 PM To: users@netbeans.apache.org Subject: Re: Try out and vote

Re: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Ernie Rael
On 8/30/2020 6:59 PM, Greenberg, Gary wrote: I have deleted .m2 and also installed new version of Maven (3.5.4 -> 3.6.3) Did you inform NetBeans about it? Tools>Options>Java>Maven>Execution. And some of the other Maven Categories might have some bearing on the problem, like "Index". -erni

Re: Maven deployment plugin for JavaFX

2020-09-04 Thread Ernie Rael
On 9/3/2020 11:04 AM, HRH wrote: Hi, Does anyone know, if Maven has a plugin deployment for JavaFX application that will render a self-contained installable package Is jlink of any use here? The projects created with "NewProject > SimpleJavaFX > ..." have a jlink action. -ernie for a give

Re: Maven deployment plugin for JavaFX

2020-09-06 Thread Ernie Rael
re. Any idea? Thanks On Friday, September 4, 2020, 8:08:24 PM GMT+4:30, HRH wrote: Thanks, Ernie, I recall someone on Stackoverflow had mentioned it while back. I will look into it. On Friday, September 4, 2020, 7:45:30 PM GMT+4:30, Ernie Rael wrote: On 9/3/2020 11:04 AM,

Re: Resource sub-folder for Maven based JavaFX

2020-09-17 Thread Ernie Rael
On 9/17/2020 5:11 AM, HRH wrote: Hi, The "Simple JavaFX Maven Archetype (Gluon)" template from the "New Projects->Java with Maven" does not create a resource sub-folder under the src subtree, so the developer can store required artifacts (i.e. jpg images,etc.) for the project in that folder.

Re: Resource sub-folder for Maven based JavaFX

2020-09-17 Thread Ernie Rael
make it compliant and be done with this whole issue of manually copying files around? -ernie Thanks as always for your insight On Thursday, September 17, 2020, 7:47:21 PM GMT+4:30, Ernie Rael wrote: On 9/17/2020 5:11 AM, HRH wrote: > Hi, > > The "Simple JavaFX Maven Archet

Re: Resource sub-folder for Maven based JavaFX

2020-09-17 Thread Ernie Rael
ecifically need) the resources are not copied for one project (simple javafx) but they are copied for a different project (fxml). So this is a problem that has nothing to do with NetBeans. -ernie On Thursday, September 17, 2020, 10:16:20 PM GMT+4:30, Ernie Rael wrote: On 9/17/2020 9:

Re: Resource sub-folder for Maven based JavaFX

2020-09-17 Thread Ernie Rael
e: Ernie I have done that (making a "resources" sub-folder under the src/main) but Maven does not copy its content to the "target" subtree. Not sure why? On Thursday, September 17, 2020, 10:16:20 PM GMT+4:30, Ernie Rael wrote: On 9/17/2020 9:58 AM, HRH wrote: > &g

Re: Resource sub-folder for Maven based JavaFX

2020-09-29 Thread Ernie Rael
me and the project name, so there must be a reason why they behave differently. Thanks On Thursday, September 17, 2020, 11:11:27 PM GMT+4:30, Ernie Rael wrote: On 9/17/2020 11:33 AM, HRH wrote: > Ok, I need to be more specific vis-a-vis my last reply. Initially, > when I created the

Re: Sudden erratic behaviour by Netbeans 12.0

2020-10-01 Thread Ernie Rael
On 10/1/2020 2:44 AM, David Gradwell wrote: It’s probably bad form to answer one’s own question ! Not at all. However: 1. Look at the About window gives the cache location. 2. https://stackoverflow.com/questions/8689780/how-to-clear-the-cache-in-netbeans is helpful. 3. Clearing the

Re: Resource sub-folder for Maven based JavaFX

2020-10-01 Thread Ernie Rael
folder. The generated pom.xml files for both templates seem identical with the exception of the main class name and the project name, so there must be a reason why they behave differently. Thanks On Thursday, September 17, 2020, 11:11:27 PM GMT+4:30, Ernie Ra

Re: Resource sub-folder for Maven based JavaFX

2020-10-01 Thread Ernie Rael
ng up properly after I submit this email. Thanks On Thursday, October 1, 2020, 10:45:19 PM GMT+3:30, Ernie Rael wrote: @HRH, Could you provide the directory structure under src/main/resources for both the working project and the failing project. -ernie On 10/1/2020 11:17 AM, HRH wrote: &g

Developing ant module suite against an nbm made with maven

2020-10-29 Thread Ernie Rael
I have a module suite project built with ant. I've got a module project built with maven. What's the best way for the suite to use the module? If the module was built by ant, I could add it to the suite's platform.properties; and then use it. In project "a_proj" after mvn install, in target th

gradle issues/questions

2020-12-26 Thread Ernie Rael
Season's greetings to all, I'm working with a maven project that uses a library; I need to fix a bug in the library. After the fix, I'll want to publish the library to my maven groupid. After downloading the project, I discovered it used gradle for building. My final fix to get it to build was

Re: Netbeans/Maven Resource Bundle problem (classpath?)

2021-01-01 Thread Ernie Rael
On 1/1/2021 6:28 AM, Jeff Schmidt wrote: Hello, ...   For some reason, I got it in my head after getting the CelsiusConverter tutorial project created and working, It can be fun to play to run NetBeans's Internationalization Wizard to internationalize the project (ie move string cons

Re: JDK 15 Javadoc wrong location

2021-01-19 Thread Ernie Rael
Seems very important. https://issues.apache.org/jira/projects/NETBEANS/issues Would be appreciated. On 1/19/2021 10:23 AM, Dragan Bjedov wrote: Hello all, I have a problem with Javadoc for Java default packages. For example for java.util.Optional, NetBeans is searching it on https://docs.o

Re: Netbeans 11.3 - can't push to remote

2021-01-19 Thread Ernie Rael
On 1/19/2021 5:25 PM, Jack W. wrote: Thanks Thomas Wolf, but that didn't work for my situation. Are there Issues on NB https://issues.apache.org/jira/projects/NETBEANS/issues ssh already or should I file one? On Tue, Jan 19, 2021 at 5:41 PM Thomas Wolf > wrote: F

Re: JDK 15 Javadoc wrong location

2021-01-20 Thread Ernie Rael
7;s simple. I'd call this highest priority. уто, 19. јан 2021. у 20:06 Ernie Rael <mailto:err...@raelity.com>> је написао/ла: Seems very important. https://issues.apache.org/jira/projects/NETBEANS/issues <https://issues.apache.org/jira/projects/NETBEANS/issues

Re: gradle issues/questions

2021-01-22 Thread Ernie Rael
I see "updated gradle to 4.4.1", but ./gradlew -v gives "Gradle 5.3.1". And doing ./gradlew build gives Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. On 12/26/20 10:16 AM, Ernie Rael wrote: Season's greetings to all,

Re: gradle issues/questions

2021-01-23 Thread Ernie Rael
suggested looking at https://docs.gradle.org/5.3.1/userguide/troubleshooting_dependency_resolution.html#sub:configuration_resolution_constraints So I'll struggle with this for a while... On 1/22/2021 8:04 PM, Ernie Rael wrote: On 12/26/2020 12:26 PM, Laszlo Kishalmi wrote: https://docs.gra

Getting a gradle project to work in NetBeans

2021-01-26 Thread Ernie Rael
Greetings, I'm doing some work with a gradle built project (github). it looks like this project was gradle 3, then minial changes to get it to work with 5. The projects under :extensions don't open in NetBeans correctly, (imports from :core not found), the maintainer says it works fine in Ecl

Re: Getting a gradle project to work in NetBeans

2021-01-27 Thread Ernie Rael
sted this in the last week dev built from master. That one has a few good fixes compared to 12.2, though maybe not critical ones. On 1/26/21 9:58 AM, Laszlo Kishalmi wrote: I'm going to try to check that, but life is demanding me elsewhere at the moment. On 1/26/21 9:50 AM, Ernie Rael w

Re: [base ide] No help available in Apache Netbeans 12.0?

2021-02-18 Thread Ernie Rael
Seems like the real question is when will NetBeans have help. Comments about JavaHelp being GPL, while historically interesting, don't address the real issue. Aren't some GPL issues with NetBeans addressed through update center tricks? Is that possible here? -ernie On 2/13/2021 2:48 PM, Gee

Re: Single step debugging stopped working after renaming project !

2021-03-05 Thread Ernie Rael
Some things causing breakpoint problems I've run into recently - Check that the name in the debugger's sources window matches the name the project was opened under. Somtimes I have two ways to reference the package directory, one is a windows mount; if the package was opened under one name, and

Re: Cannot download JavaFX plugin

2021-06-04 Thread Ernie Rael
Doesn't Visa allow using google search? This looks like it has a solution, got it through google search: what is the .openjfx directory/cache https://stackoverflow.com/questions/53382810/configure-openjfx-11-to-extract-its-dlls-into-a-different-user-specified-directo And this was a total su

Re: How to send "Report Problem"

2021-09-04 Thread Ernie Rael
https://netbeans.apache.org/participate/report-issue.html The IDE log may show a java exception -ernie On 9/4/2021 4:22 PM, Vladimir Kokovic wrote: Can anyone tell me how to send a "Report problem" from Netbeans (any version) ? You have found a bug in the application! Please help Apache NetBe

Re: jvi suddenly quit working in Netbeans 12.0

2021-09-13 Thread Ernie Rael
There's a suggested workaround in a response to the request that you filed in the jVi project on sourceforge. HTH BTW, jVi uses java's preferences not a .viminfo file. -ernie On 9/12/2021 6:03 PM, Lisa Ruby wrote: Hi, I've been using Netbeans 12.0 with jvi on Windows 8.1 for at least 10 mont

Re: Automatic config backup?

2021-10-13 Thread Ernie Rael
Did you see/use Menu>Tools>Options>Import ? Browse to a backed up userdir, import Project>ProjectGroups. There are many variations you can have around this. During startup, a plugin could probably backup userdir (make sure cache isn't included). I'm not sure what you'd have to do to insure a

Re: NB 12.4 creating new project I get this error...

2021-12-03 Thread Ernie Rael
There's a plugin, https://plugins.netbeans.apache.org/catalogue/?id=40, that allows *dynamic* control of loggers in the /running/ NetBeans. Its wiki has an example, http://raelity.com/jlogman/Home.html#example, showing how to control logging for sub-trees of the logger hierarchy. Changes can be

Re: Netbeans 12.2 Maven local repository question

2022-02-03 Thread Ernie Rael
On 2/3/22 8:33 AM, pszud...@throwarock.com wrote: Ok, I was running out of disk space on my C: drive, and the local maven repository was located at c:\users\\.m2 I wanted to get rid of that and move it to the E: drive where I have terabytes of room.  So I used the Options Maven experimen

Re: [apache netbeans12[ [javafx] [install] Can't install correctly.

2022-02-13 Thread Ernie Rael
On 2/13/22 6:08 PM, Scott Palmer wrote: I haven’t touch Swing in years and I have no plans to use it again.  JavaFX is the way to go… though there are still a few missing pieces. Scott Hi Scott, just wondering in you have any insight into this. I fell in love with JavaFX, and was sorely dis

Re: JMenu: Can't see the output window

2022-03-16 Thread Ernie Rael
I copied the file from your email into an empty project. Right click in the file and select "Run File". A JFrame with menu bar (as shown in your gui builder) was displayed in the upper left corner. To simplify things, you can click on "Source" in the editor toolbar window, and just display the

junit 5 on NB-13

2022-05-11 Thread Ernie Rael
Hi all, Feels like I'm in deep with this one. Using NB-13, I have an old *ant* based project. I was using junit-4.13/JUnitParams-1.1.1. I needed to build a parameterized test, and decided to upgrade to junit-5. The junit-4 tests have been working fine. Added the junit-5.6 library (comes bund

Re: junit 5 on NB-13

2022-05-11 Thread Ernie Rael
8:17 PM, Laszlo Kishalmi wrote: Maybe you need to change the testrunner in the Ant task. AFAIN JUnit 5 uses a new TestRunner. On 5/11/22 14:27, Ernie Rael wrote: Hi all, Feels like I'm in deep with this one. Using NB-13, I have an old *ant* based project. I was using junit-4.13/JUnitPar

Re: BufferedReader and BufferedWriter : non-static variable cannot be accessed from the static context

2022-05-23 Thread Ernie Rael
On 5/23/22 11:04 PM, slipbits wrote: It is true that there other people on this list nicer than you. But let's look at your reply for a second. You provided no help, only criticism. IMO, that's not accurate. If someone wants to succeed as a programmer, they need to find solutions of all k

Re: Beans Binding

2022-06-03 Thread Ernie Rael
Maybe this would be of some use https://github.com/emilianbold/nb-apache-form-binding I get confused about what depends on what. But form binding was dropped due to Apache licensing issues. -ernie On 6/3/22 12:10 PM, Bill Babbitt wrote: I am using NetBeans version 12.0 with Java 17.0.2.

Re: Beans Binding

2022-06-05 Thread Ernie Rael
-1.0/nbproject/build-impl.xml:19: You must define 'nbplatform.${nbplatform.active}.harness.dir’. I’m sorry, but I have no clue what this is telling me. Have you tried to build this? ~Bill On Jun 3, 2022, at 2:27 PM, Ernie Rael wrote: Maybe this would be of some use https://github.com/e

Re: Should I exclude ./gradle/nb-cache from commit?

2022-08-09 Thread Ernie Rael
About gradlew. I occasionally work with 3rd party stuff that is incompatible with latest/greatest gradle. A few days ago, I split off a few classes from a 20 year old project (ant based) into a lib and decided to use gradle on one of my projects for the first time. (I figure moving all my stuff

gradle project: how to pass jvm args for debug/run

2022-09-04 Thread Ernie Rael
Just converted an ancient project from ant to gradle. With ant and I did project.properties:run.jvmargs=-Dcom.raelity.jvi.DEBUG\=true -ea With gradle I tried, on the "Main Project" properties > BuildActions > ConfigureAction > debug I added "-Dcom.raelity.jvi.DEBUG\=true -ea" to the arug

Re: gradle project: how to pass jvm args for debug/run

2022-09-05 Thread Ernie Rael
On 9/4/22 4:47 PM, Ernie Rael wrote: Just converted an ancient project from ant to gradle. With ant and I did    project.properties:run.jvmargs=-Dcom.raelity.jvi.DEBUG\=true -ea With gradle I tried, on the "Main Project" I was hoping to find a way to *do it from NetBeans*, but the

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread Ernie Rael
r project is a good way to do that. On Tue, Sep 6, 2022 at 4:10 AM Neil C Smith wrote: On Mon, 5 Sept 2022 at 19:56, Ernie Rael wrote: > > On 9/4/22 4:47 PM, Ernie Rael wrote: > > Just converted an ancient project from ant to gradle. With ant and I did >

Using the same userdir from previous release

2022-09-09 Thread Ernie Rael
With release 15 I did something like mkdir 15 cp -a 14/userdir 15/userdir Then start NetBeans-15 using 15/userdir and a fresh cachedir. Simpler than import settings. Is there any problem/downside doing this? -ernie - T

gradle: any way to specify JAVA_HOME for use with gradle?

2022-09-09 Thread Ernie Rael
I use gradle 6.8.x with some projects because of gradle issue https://github.com/gradle/gradle/issues/15942 Support for java based compilers like Eclipse Compiler... I use frgaal. (any idea if this gradle issue is being addressed in gradle 8 (or sooner)?) Set ProjectProperties > Build >

Re: How to get a reference to CloneableEditor or JScrollPane of the Editor

2022-09-09 Thread Ernie Rael
On 9/9/22 7:06 PM, Moacir da Roza wrote: Hi, there is a way to get a reference of JScrollPane of a CloneableEditor i would like to attach a listener on it.] SwingUtilities.getAncestorOfClass(javax.swing.JScrollPane.class, cloneableEditor.getEditorPane()) Thanks -- Moacir R.F Desenvolvedor

Re: gradle: any way to specify JAVA_HOME for use with gradle?

2022-09-10 Thread Ernie Rael
when changing jdkhome. # There are two NetBeans launchers for Windows (32-bit and 64-bit) and # installer points to one of those in the NetBeans application shortcut # based on the Java version selected at installation time. # #netbeans_jdkhome="/path/to/jdk" -- bye,     Dav

Re: gradle: any way to specify JAVA_HOME for use with gradle?

2022-09-11 Thread Ernie Rael
p 10, 2022, at 11:47 AM, Ernie Rael wrote: Thanks Davide, but I wasn't clear about what's going on. Let's say I run NetBeans with jdk-17. I have some gradle projects that require jdk-11. So, while running NetBeans with jdk-17, I'd like to work on the gradle projects

Re: gradle: any way to specify JAVA_HOME for use with gradle?

2022-09-13 Thread Ernie Rael
tt On Sep 10, 2022, at 11:47 AM, Ernie Rael wrote: Thanks Davide, but I wasn't clear about what's going on. Let's say I run NetBeans with jdk-17. I have some gradle projects that require jdk-11. So, while running NetBeans with jdk-17, I'd like to work on the gradle p

Gradle plugin to merge @ServiceProvider namedservices

2022-09-15 Thread Ernie Rael
Slightly off topic. I work on a plain old java project that uses org.openide.util.lookup's @ServiceProvider. I've converted that ancient project (which ends up in a NetBeans plugin) to use gradle instead of ant. While doing this, I've split the sources into separate sub-projects and combine so

Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-15 Thread Ernie Rael
/ -ernie On 9/15/22 6:35 PM, Ernie Rael wrote: Slightly off topic. I work on a plain old java project that uses org.openide.util.lookup's @ServiceProvider. I've converted that ancient project (which ends up in a NetBeans plugin) to use gradle instead of ant. While doing this, I&

Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-16 Thread Ernie Rael
, let's see if there are any issue reports :-) 16. 9. 2022 v 3:35, Ernie Rael : Slightly off topic. I work on a plain old java project that uses org.openide.util.lookup's @ServiceProvider. I've converted that ancient project (which ends up in a NetBeans plugin) to use gradle

Re: Netbeans Application/Maven configuration and memory issue

2022-09-18 Thread Ernie Rael
Note the: maven-default-http-blocker: (http://0.0.0.0/) You can google about that. Fix the issue you have, or use an older version of maven -ernie On 9/18/22 9:57 AM, Amitabh Choudhury wrote: Hi Have installed Netbeans IDE 14. Started new "Netbeans Application" project (Maven) Following

Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-20 Thread Ernie Rael
FYI: https://plugins.gradle.org/plugin/com.raelity.namedservices-merge -ernie On 9/16/22 7:53 AM, Ernie Rael wrote: On 9/16/22 6:27 AM, Jaroslav Tulach wrote: Something like https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files, right? -jt Yes

Gradle: how to get IDE pickup source from open project

2022-09-20 Thread Ernie Rael
(Apologies if you see a duplicate) Using NB-15, jdk-11 I have a library on MavenCentral (published from a gradle project), that I use in another project. I'm creating new version of that library. I'm into problems and peculiarities. 1. NetBeans remembered some method signatures that were not

Re: [platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-10-01 Thread Ernie Rael
There's an open PR, Check for EnvVar/SysProp for preferred screen https://github.com/apache/netbeans/pull/4714, which references this thread. In particular, I've identified two types of "dialog goes to wrong screen", 1. Random, don't know how to reproduce 2. Consistent, due to not specifying pa

Re: Design View throwing exception with NetBeans 12

2022-10-02 Thread Ernie Rael
Could it have something to do with this? https://github.com/emilianbold/nb-apache-form-binding -ernie On 10/2/22 3:19 PM, Craig A Garrett wrote: Hi, I have a NetBeans Platform-based application, originally built in NetBeans 8.2, and migrated to NetBeans 12 and OpenJDK 11 and using Maven

Re: jre version issues

2022-10-24 Thread Ernie Rael
On 22/10/24 9:50 PM, Amitabh Choudhury wrote: Hi I am not exposed to under the hood of netbeans settings, hence require hand-holding. Application is working fine in Netbeans IDE. But when I use a shortcut link to the jar file or try to run in the console, I get the following error message.

Re: jre version issues

2022-10-24 Thread Ernie Rael
On 22/10/24 10:14 PM, Ernie Rael wrote: On 22/10/24 9:50 PM, Amitabh Choudhury wrote: Hi I am not exposed to under the hood of netbeans settings, hence require hand-holding. Application is working fine in Netbeans IDE. But when I use a shortcut link to the jar file or try to run in the

Re: jre version issues

2022-10-25 Thread Ernie Rael
th your path. -ernie deleted the string from "Path" and was able to get the app (GabellatteMVPn) running. Meanwhile got aware of (https://javaalmanac.io/bytecode/versions/). TQ Ernie. Warm regards Amitabh Choudhury On Tue, Oct 25, 2022 at 10:49 AM Ernie Rael wrote: On 22/10/

Re: How to add Xlint compiler options?

2022-10-26 Thread Ernie Rael
On 22/10/26 1:29 PM, djvanpeur...@gmail.com wrote: I’m running NetBeans 14. I have added some plugins and I’m seeing these messages. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe op

Re: How to add Xlint compiler options?

2022-10-26 Thread Ernie Rael
ar (or under any of these). If I go to the specific Project and right-click on Properties, I don’t see any Build or Compiling branches. Sorry … I need more help on this. Sincerely, David *From:* Ernie Rael *Sent:* Wednesday, October 26, 2022 1:40 PM *To:* users@netbeans.apache.org *Subje

dialogs with null parents and other misplaced dialogs

2022-10-29 Thread Ernie Rael
In NB-16-rc, there's a PR: "Dialog parent should not be null" https://github.com/apache/netbeans/pull/4739 Any test/feedback of changed dialogs' behavior, and observations for dialogs that are misplaced, appreciated. Before this change, these dialogs would show up in the center of Java's def

Re: What happened with Netbeans bug reporting?

2022-12-07 Thread Ernie Rael
On 22/12/07 7:05 AM, Neil C Smith wrote: On Mon, 5 Dec 2022 at 22:28, Greenberg, Gary wrote: It used to be a feature that allows to submit exceptions along with some other info to Netbeans development team with a click of a button. Now you can only open notification and view the exception stac

File's run/debug doesn't work with --enable-preview

2022-12-13 Thread Ernie Rael
With JDK19/NB16, maven project, I can compile and the run/debug buttons work. But if I use Run/debug file, error because preview not enabled. Ah, I finally see that the file actions, in project properties, didn't have --enable preview. Guess I must have added them to the actions for run/debug

Re: Netbeans compiles Project, but cannot load it

2023-01-03 Thread Ernie Rael
Within a few days (maybe today) there will be a patch release to fix some severe Gradle issues. Suggest trying that and see how things go. distributed directly on our NetBeans 16 Update Center. There are no other binaries planned for this release. Apache NetBeans 16-u1 contains only two module

  1   2   >