Re: How to hide a secret value in my Java code?

2023-10-04 Thread Richard Grin
Thanks to everyone who replied with different solutions, especially to Neil for this detailed explanation about how to use the actions. Le 04/10/2023 à 19:07, Neil C Smith a écrit : On Wed, 4 Oct 2023 at 10:16, Richard Grin wrote: Is it possible to add an environment variable for *only one

RE: How to hide a secret value in my Java code?

2023-10-04 Thread Richard Grin
Galaxy Message d'origine De : Alonso Del Arte Date : 04/10/2023 16:49 (GMT+01:00) À : Richard Grin , NetBeans Mailing List Objet : Re: How to hide a secret value in my Java code? I suppose you could encrypt the value in a String field or function in one class and then

How to hide a secret value in my Java code?

2023-10-04 Thread Richard Grin
problem, but perhaps more difficult to solve: how to hide a secret value used in an *annotation* in my code (I can't use System.getenv). I use Maven to build the project. Kind regards, Richard - To unsubscribe, e-mail:

Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-25 Thread Richard Grin
Hi, Put dependency into a dependencies tag. Richard Le 26/08/2023 à 07:12, Zulfi Khan a écrit : Hi, dependency information to pom.xml gives error. Below i smy pom.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schem

Re: Predefined Variables for File Templates

2023-02-06 Thread Richard Grin
Extract of the link: You can add the following predefined variables, if needed: * ${date} inserts the current date, in this format: Feb 16, 2008 * ${encoding} inserts the default encoding, such as: UTF-8 * ${name} inserts the name of the file. * ${nameAndExt} inserts the n

Re: Project unloadable with Gradle 7.5.1 and NetBeans 16

2022-12-02 Thread Richard Grin
Hello Thomas, I don't use Gradle. Perhaps you will find an explanation by reading https://lists.apache.org/list.html?d...@netbeans.apache.org (problems with Gradle in version 16)? Regards, Richard Le 02/12/2022 à 08:51, Thomas Kellerer a écrit : Thomas Kellerer schrieb am 02.12.2022

RE: AutoText Completion Issue - ManagedBean

2022-11-28 Thread Richard Grin
Hello, Which version of Jakarta EE and NetBeans ? Richard Envoyé depuis mon appareil Galaxy Message d'origine De : Mehmet Fatih ÇİN Date : 28/11/2022 20:24 (GMT+01:00) À : NetBeans Mailing List Objet : AutoText Completion Issue - ManagedBean Hello, I used comp

Re: [apache/netbeans] No more option for creating an EJB singleton in the wizard that creates an EJB (Issue #4892)

2022-11-11 Thread Richard Grin
Thanks Neil for this important information. It is a big problem for me because I have a training course scheduled for a month from now, but I understand it is not easy to fix all these issues. Richard Le 11/11/2022 à 11:06, Neil C Smith a écrit : Are there any plans to fix this and

Re: registering latest Payara

2022-10-02 Thread Richard Grin
rt it with asadmin in a terminal. Is there a way to start it from NetBeans? Best regards, Richard Le 02/10/2022 à 19:36, Josh Juneau a écrit : Hi Richard, Thanks for the kind words, but all of these latest changes for Jakarta EE were from Jose Contreras and Gaurav Gupta!  I've just c

Re: registering latest Payara

2022-10-02 Thread Richard Grin
eck for Updates"  displays "Your IDE is up to date". I am teaching a course on Jakarta EE in November and I would like to use Jakarta EE 10. When do you think it will be possible to get the (pre-release) version of NetBeans 16 that will contain the PRs for Jakarta EE 10? Best regards,

Re: Unpacking the index for central repository is very long

2022-09-15 Thread Richard Grin
I wrong? 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. Was the download it

NetBeans 15. Impossible to create a Maven Web application for Jakarta EE 9.1

2022-09-08 Thread Richard Grin
Factory.findArchetypeFor(J2eeArchetypeFactory.java:79)     at org.netbeans.modules.maven.j2ee.ui.wizard.EEWizardIterator.instantiate(EEWizardIterator.java:102)     at ...     ... Notice that the creation of a Jakarta EE *8* Web application w

Unpacking the index for central repository is very long

2022-09-08 Thread Richard Grin
Hello, I have just downloaded and installed NetBeans 15 on Windows 11. A very annoying problem: the loading and unpacking of the index for central repository took almost 2 hours. I'm afraid it will be even worse in the years to come. Is there a workaround? Regards, Ri

Re: NetBeans 13 - Maven Web project - "Create entities from database" is not working

2022-03-06 Thread Richard Grin
ase, I receive an error message "Unable to add connection. Connection already exists.". Do you have the same problems with NetBeans 13? Can you reproduce? Regards, Richard Le 06/03/2022 à 08:44, Richard Grin a écrit : Sorry. I have just understood my error: the application server was no

Re: NetBeans 13 - Maven Web project - "Create entities from database" is not working

2022-03-05 Thread Richard Grin
Sorry. I have just understood my error: the application server was not started! Le 06/03/2022 à 00:03, Richard Grin a écrit : Hi, My environment: Windows 10, MySQL 8.0.25, NetBeans 13, Java 11, Payara 5.2022.1 In NetBeans I have created a new connection to a database in MySQL in the tab

NetBeans 13 - Maven Web project - "Create entities from database" is not working

2022-03-05 Thread Richard Grin
Source". A new window pops up and I give a JNDI name and the database connection I created before in NetBeans. I click on OK. No error message but no table is displayed in the window "New Entity from Database. So I can't create the entities from the database. This pro

RE: Mysql [mysql] and Netbeans [java]

2021-12-01 Thread Richard Grin
Send more details, please. The server logs for instance. Envoyé depuis mon appareil Galaxy Message d'origine De : Nigel Evenden Date : 01/12/2021 11:23 (GMT+01:00) À : James Ostrowick Cc : Apache Netbeans Mailing List Objet : Re: Mysql [mysql] and Netbeans [java] Tried b

[Support] Re: error "records are not supported in -source 11 (use -source 16 or higher to enable records)"

2021-11-12 Thread Richard Schmidt
I have installed graalvm-ce-java16-21.2.0 which provides java 16 SDK and and have downloaded and installed openjfx.io OpenJFX 16 and have developed a javafx Maven projects in NetBeans 12.4 which has ben working fine. Now I have declared the following record (the new data record type introduced in J

Re: Where to put driver JAR

2021-11-01 Thread Richard Grin
Window Services > Databases > Drivers. New Driver... and add the jar of the MySQL driver; Driver class com.mysq.cj.jdbc.Driver (for version 8 of MySQL). Le 02/11/2021 à 06:31, Greenberg, Gary a écrit : Just got a new laptop and installed NB 12.5 on it. Need to connect to mySQL (remote host).

Problem with MicroProfile

2021-10-21 Thread Richard Grin
java -jar target\demo-microbundle.jar). Now, if I type the URL localhost:8080/data/hello, it works. It seems there is a problem with NetBeans. Someone can help? Regards, Richard - To unsubscribe, e-mail: user

Insertion of the code for an EntityManager in a session bean is not good

2021-10-06 Thread Richard Grin
t);   } Example of the code of the EJB in which I try to insert the code : @Stateless public class Test { } Richard - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h..

RE: Java 17 and NetBeans

2021-10-01 Thread Richard Grin
Yes, it is what I have done in order to use Java 17 in my application. If the default Java version is not Java 17, I receive an error message. Envoyé depuis mon appareil Galaxy Message d'origine De : Pieter van den Hombergh Date : 01/10/2021 21:47 (GMT+01:00) À : Ri

Java 17 and NetBeans

2021-10-01 Thread Richard Grin
ite code with Java 17, I had to change the default JDK of NetBeans in etc/netbeans.conf. Is it always true that you can't write code in a version later than the default version of NetBeans? Besides running NetBeans code, what is the purpose of this default version? Regards,

Re: Creation of a Glassfish deployment descriptor does not work

2021-09-24 Thread Richard Grin
Hello Geertjan, I wanted to create a GlassFish descriptor, glassfish-web.xml, not the standard web.xml, in order to change the context path of the application (action not standardized in the specification). Richard Le 24/09/2021 à 08:32, Geertjan Wielenga a écrit : Is it still necessary

Creation of a Glassfish deployment descriptor does not work

2021-09-23 Thread Richard Grin
ontext path with the run properties of the project. Do you confirm? It is possible to add a glassfish-web.xml to change the context path but not with the help of NetBeans (you have to know the doctype). Richard - To unsubscr

Creation of a Glassfish deployment descriptor does not work

2021-09-23 Thread Richard Grin
ontext path with the run properties of the project. Do you confirm? Richard - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information

Re: Access to GitHub with a password is deprecated

2021-07-16 Thread Richard Grin
. Richard Le 16/07/2021 à 15:15, Neil C Smith a écrit : On Fri, 16 Jul 2021 at 14:13, Richard Grin wrote: Beginning August 13, 2021, GitHub will no longer accept account passwords when authenticating Git operations and will require the use of token-based authentication, such as a personal access token

Access to GitHub with a password is deprecated

2021-07-16 Thread Richard Grin
authenticated Git operations on GitHub.com.. I use a password to access GitHub. What other type of access is recommended to access it from NetBeans 12.4? Is there a link that explains how to do it? With the menu Team > Remote > Push... a user name and a password are asked. Regards, Richard

Local terminal

2021-05-27 Thread Richard Grin
Hello, On windows, if I want to open a local terminal in NetBeans I receive the message "Local Terminal requires cygwin. Please install cygwin and restart the IDE.". Would it be possible to use wsl2 instead of cygwin? or the command prompt Windows? Best regards

Re: Cannot remove library from project

2021-05-24 Thread Richard Grin
Hello Bayless Kirtley, Perhaps this link will help you: https://stackoverflow.com/questions/5692256/maven-best-way-of-linking-custom-external-jar-to-my-project Richard Le 24/05/2021 à 00:03, Bayless Kirtley a écrit : What is the secret for adding a dependency on a local library to a new

Re: About Git

2021-05-24 Thread Richard Grin
Thanks Andreas, Do you know how to print the version number of Git on which JGit is based? Best regards, Richard Le 23/05/2021 à 00:49, Andreas Reichel a écrit : Richerard, to my best knowledge it uses Eclipse JGIT and so is independent from your OS native Git. (At the cost of less

About Git

2021-05-22 Thread Richard Grin
we can run any Maven goal), for example git restore? Best regards, Richard - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
dules ? The method given in the book does not work, and the only help I get here is "try disabling modules one by one until it works". OK, I give up and I unsubscribe this list. Richard. Le 07/03/2021 à 18:05, Geertjan Wielenga a écrit : Don’t use the book like that. It is not there to

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
least the error message could help in finding the missing modules, but it does not help. I was trying this approach for almost an hour but I could not identify the missing modules. OK, forget this mail, I give up with NB Platform. Richard Le 07/03/2021 à 17:14, Geertjan Wielenga a écrit :

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
selected. But how can I find the missing modules ? Of course, I could start with all ide modules selected and try to unselect one module at each run until it fails, but it would take a very long time. How the error message can help ? Richard Le 07/03/2021 à 17:03, Geertjan Wielenga a écrit

[Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
modules by the "Resolve" button is not enough. Could anybody help me in finding what modules are really needed ? I join the log file that contains the errors. Note for Geertjan : this is NOT the tutorial that we discussed yesterday and that works pe

Re: [Netbeans Platform] Tutorials are unusable since transition to Apache

2021-03-06 Thread Richard
or for the community of Apache OpenOffice and LibreOffice users for which I spent most of my free time using Netbeans to develop and update a JavaDesktop tool that helps to repair corrupted documents (ODFRepar tool). Richard Le 06/03/2021 à 20:58, Geertjan Wielenga a écrit : Everything as it

Re: [Netbeans Platform] Tutorials are unusable since transition to Apache

2021-03-06 Thread Richard Grenon
the tutorials from the old netbeans.org? Richard Le sam. 6 mars 2021 à 20:05, Geertjan Wielenga < geertjan.wiele...@googlemail.com> a écrit : > > Which screenshots specifically are wrong — I’d be happy to collaborate > with you to work on the tutorials that you would like fixed

[Netbeans Platform] Tutorials are unusable since transition to Apache

2021-03-06 Thread Richard
: https://netbeans.apache.org/about/oracle-transition.html Please, could anybody check this tutorial (and maybe other tutorials) or provide a link to the correct old version ? Richard - To unsubscribe, e-mail: user

[Netbeans IDE] Uninstalling a user plugin

2021-03-05 Thread Richard
ay for uninstalling a specific module in the "User installed plugins" category ? (2) is it possible to create a new category when installing a user module or a downloaded module ? Best regards Richard

Re: Javadoc generation from within NetBeans

2021-02-22 Thread Richard Grin
With NetBeans 12.1 (Windows 10), it's "generate-sources javadoc:javadoc" too and not "compiler:compile javadoc:javadoc". Richard Le 22/02/2021 à 16:07, Glenn Holmer a écrit : On 2/21/21 9:24 PM, Bradley Willcott wrote: I am using NB 12.1 on Linux. When I right right

Re: net beans12.1 C++

2021-02-12 Thread Richard
IDE 8.2 modules providing C and C++ features. Then I configured the Tool collection with my GNU gcc / g++ installation using the CC++ option panel. Building a simple C project printing "Hello" works fine. Richard Le 12/02/2021 à 13:37, David Gradwell a écrit : Agreed – the hyperlinks

Re: [Netbeans platform] Pov-Ray renderer tutorial

2021-01-18 Thread Richard
st in my Netbeans 12 installation. Is this normal ? As a workaround, I could find the swingx jar in my Netbeans 8.2 installation. It would be nice to suggest a download link for this library if it is no longer included in the last Netbeans versions. Richard Le 18/01/2021 à 11:52, Geertjan Wielenga

[Netbeans platform] Pov-Ray renderer tutorial

2021-01-18 Thread Richard
d anyone say where I can find the source of this tutorial ? And as this tutorial was designed for Netbeans 7.1, is it always runnable with Netbeans 12 ? Richard - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org F

Re: [Netbeans platform] Illegal reflective access warning

2021-01-15 Thread Richard Grenon
Geertjan, thank you for your reply. I am continuing with this good tutorial. Richard Le ven. 15 janv. 2021 à 11:52, Geertjan Wielenga < geertjan.wiele...@googlemail.com> a écrit : > It’s unrelated to your code, it refers to something one of the JARs is > doing that is part of

[Netbeans platform] Illegal reflective access warning

2021-01-15 Thread Richard
e), but I am always receiving this warning: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Pleas

Re: Sudden erratic behaviour by Netbeans 12.0

2020-10-01 Thread Richard Grin
Hi, Configuration for a user : c:\Users\\AppData\Roaming\NetBeans\ NetBeans cache with Windows : c:\Users\\AppData\Local\NetBeans\Cache\ Check these directories with the menu Help > About (User directory and Cache directory). Regards, Richard Le 01/10/2020 à 11:30, David Gradwel

Alt-insert "Use an Entity Manager" does not work

2020-09-25 Thread Richard Grin
rked in older versions of NetBeans but I can't remember which ones. Richard - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further

Re: nbm-maven-plug for java14

2020-06-18 Thread Richard Linsdale
Richard On 18/06/2020 14:07, Eric Barboni wrote: Hi, I currently don't have jdk 14 installed. By compiling 4.6-SNAPSHOT on your machine you can test if your build pass jdk 14. I'm not sure it will because some dependencies of nbm-maven plugin may use old dependencies that cannot &

Re: nbm-maven-plug for java14

2020-06-13 Thread Richard Linsdale
Thanks for the reply.  Your reference is the the GitHub source repository, I was hoping for a maven repository url which holds the binary of the plugin snapshot (4.6-SNAPSHOT). richard On 13/06/2020 23:02, Emilian Bold wrote: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin

nbm-maven-plug for java14

2020-06-13 Thread Richard Linsdale
*Java:* 14.0.1; OpenJDK 64-Bit Server VM 14.0.1+7 *Runtime:* OpenJDK Runtime Environment 14.0.1+7 *System:* Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb) *User directory:* /Users/richard/Library/Application Support/NetBeans/12.0 *Cache directory:* /Users/richard/Library/Caches/NetBeans

Re: How to change font size of menubars in netbeans 11.3

2020-04-25 Thread Richard Grin
Hi, You can launch NetBeans with this type of command (write  your executable instead of mine at the beginning) : "C:\Program Files\NetBeans-11.3\netbeans\bin\netbeans64.exe" --fontsize 30 --console suppress Richard Le 25/04/2020 à 05:53, Brain Rebooting a écrit : HI, I

Re: I cannot find the MySQL Plugin

2020-04-19 Thread Richard Grin
Obviously, you must change "customer" in the step 2 to the name of your database... Le 19/04/2020 à 14:45, Richard Grin a écrit : Hi Francis, It's easy to use MySQL 8.0.19 with NetBeans. 1. In the tab Services, open the entry Databases > Drivers. If you don't al

Re: I cannot find the MySQL Plugin

2020-04-19 Thread Richard Grin
tBeans, but the way I just described above worked for me. Regards, Richard Le 19/04/2020 à 14:20, Dr Francis Greaves a écrit : Dear All I thought I would move from Oracle Netbeans 8.2 to the Apache 11.3 version of Netbeans, only to come unstuck at the absence of a MySQL Plugin. I know

Error: Could not find or load main class Initializing view, please wait ...

2020-04-16 Thread Richard Schmidt
I just completed a first time installation of apache netbeans 11.0 on a windows 10 system. I have previously installed netbeans 8.2 which is using jdk.1.8.0_241 installed in C:/ProgramFiles (x86)/java. I installed netbeans 11.0 in C;/Program Files/NetBeans 11.0/netbeans. netbeans64.exe would not s

Re: Netbeans and Derby

2020-03-19 Thread Richard Grin
ink you have only to add derbyclient.jar (verify...). Hope it help, Richard Le 19/03/2020 à 23:28, Klerman a écrit : Hello, Richard I want to give a try to the code generation from entities with Apache Netbeans. Following some tutorials, I installed Netbeans 11.3 and Apache Derby on a computer w

Re: NetBeans and Derby

2020-03-18 Thread Richard Grin
Hello, Do you use Payara? Richard Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : Klerman Date : 19/03/2020 05:43 (GMT+01:00) À : users@netbeans.apache.org Objet : NetBeans and Derby Hello, I'm not sure if this is the right place to post thi

Re: How to choose the browser for the administration console of Payara?

2020-03-05 Thread Richard Grin
Thanks Geertjan. My system's default browser is Chrome, so I have changed the Web browser in the General preferences and now Chrome is used for the admin console. So simple... :-) Richard Le 05/03/2020 à 23:23, Geertjan Wielenga a écrit : Probably the Options Window or change your sys

How to choose the browser for the administration console of Payara?

2020-03-05 Thread Richard Grin
Hi, NetBeans 11.3, Windows 10. In the Services tab, entry Servers > Payara Server 5.201, right click > "View Domain Admin Console" launches Internet Explorer. I'd rather Chrome or Firefox. How to configure it? Richard

Re: Internationalization with Netbeans

2020-02-04 Thread Richard Grin
Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : Jerome Lelasseux Date : 04/02/2020 14:59 (GMT+01:00) À : users@netbeans.apache.org Objet : Internationalization with Netbeans Hi, I need to internationalize my Netbeans platform app and I've never done th

Re: Adding Javadoc containing 'element-list' for a library added to a project

2019-11-29 Thread Richard Grin
I use NetBeans 11.2 without the "nb-javac Java editing support library". Richard Le 29/11/2019 à 15:00, A S a écrit : Hi Richard, I think it wasn't the correct name. What I called "Hint window" should be called "pop-up documentation window" which appears if you

Re: Abstract methods not implemented

2019-11-28 Thread Richard Grin
It is not installed. Perhaps I must install it? Richard Le 29/11/2019 à 06:19, Geertjan Wielenga a écrit : Does uninstalling nb-javac solve this problem? Gj On Fri, 29 Nov 2019 at 05:24, William Reynolds mailto:wnreyno...@stellarscience.com>> wrote: Yes, its' a known bug in

Re: Adding Javadoc containing 'element-list' for a library added to a project

2019-11-28 Thread Richard Grin
Hi Abhinav, What is this "hint window"? How do you open it? Richard Le 28/11/2019 à 16:00, A S a écrit : One additional info: With Alt-F1(or context menu) or by clicking on the "Show documentation in external web browser" button in the hint window, I do land to the

Abstract methods not implemented

2019-11-28 Thread Richard Grin
t all abstract method", nothing happens. Is it a known problem? Richard

Re: Can't build newly cloned project.

2019-10-30 Thread Richard Grin
I was not clear enough : I think that the problem about Java 11.0.5 existed before for other versions ** of Java SE **. (not of NetBeans). Le 30/10/2019 à 10:31, Neil C Smith a écrit : On Wed, 30 Oct 2019, 09:16 Richard Grin, mailto:richard.g...@univ-cotedazur.fr>> wrote: I think th

Re: Can't build newly cloned project.

2019-10-30 Thread Richard Grin
I think that the problem about Java 11.0.5 existed before for other versions. Did you try the workaround given by Lazlo? Le 30/10/2019 à 00:35, Greenberg, Gary a écrit : No, I am still running it on Java 8. C:\Users\ggreenbe>java -version java version "1.8.0_231" Java(TM) SE Runtime Environment

Re: Cannot run program "cmd": Malformed argument has embedded quote

2019-10-23 Thread Richard Grin
-3253 It has been solved for 11.2, but the solution in NETBEANS-3253 can be applied on earlier versions. On 10/23/19 2:14 PM, Richard Grin wrote: Is this problem known? https://stackoverflow.com/questions/58411279/java-with-maven-wouldnt-build-cannot-run-program-cmd-malformed-argument-has Is

Cannot run program "cmd": Malformed argument has embedded quote

2019-10-23 Thread Richard Grin
Is this problem known? https://stackoverflow.com/questions/58411279/java-with-maven-wouldnt-build-cannot-run-program-cmd-malformed-argument-has Is there a recommended workaround? Is it really a problem with the JDK version? The error message when a project of type Maven - Web application is crea

Re: Maven project with java modules

2019-10-07 Thread Richard Grin
Thanks Geertjan, all is clear for me now. Richard Le 07/10/2019 à 10:36, Geertjan Wielenga a écrit : If you’re using Maven, the point for you is to understand how Maven works with Jigsaw — there’s hundreds of tips and insights you can find on google about this. For the Java modular project

Re: Maven project with java modules

2019-10-07 Thread Richard Grin
x27;t find it in the last versions of NetBeans. Was it removed? Why? Perhaps it would be easier to understand for a first use of the modules. Regards, Richard Le 06/10/2019 à 13:02, Geertjan Wielenga a écrit : Just start by looking at the example I pointed you to on GitHub. Gj On Sun, 6 Oct 20

Re: Maven project with java modules

2019-10-06 Thread Richard Grin
is synonymous with the Java project type. Gj On Sun, 6 Oct 2019 at 12:24, Richard Grin mailto:richard.g...@univ-cotedazur.fr>> wrote: Thanks Geertjan for this example I will study. No menu in NetBeans 11.1 (I forgot the version of NetBeans in my previous message) to create a new module

Re: Maven project with java modules

2019-10-06 Thread Richard Grin
: https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples/tree/master/AnagramGameMaven Gj On Sun, 6 Oct 2019 at 12:03, Richard Grin mailto:richard.g...@univ-cotedazur.fr>> wrote: Hi, Where can I find a good example to create a Maven NetBeans project with java modules (not Ne

Maven project with java modules

2019-10-06 Thread Richard Grin
Hi, Where can I find a good example to create a Maven NetBeans project with java modules (not NetBeans modules)? I can't find a command "Create new module" in the New menu after creating a simple Java project. Re

Re: Appending data to file in a MemoryFileSystem.

2019-09-19 Thread Richard Linsdale
Neil, thanks for suggestion, less work and much tidier code than my original fall back thoughts.  Implemention done and passing the unit tests! Richard On 19/09/2019 15:25, Neil C Smith wrote: On Thu, 19 Sep 2019 at 15:04, Richard Linsdale wrote: Any suggestions welcome, as I want to avoid

Appending data to file in a MemoryFileSystem.

2019-09-19 Thread Richard Linsdale
naming the file (which is my probably short term fall back). In the longer-term, it would be nice to have .getOutputStream(boolean append) as a extension to the API, but that can come later. regards Richard - To unsubscri

Re: Injection of an EntityManager is not adapted to CMT mode

2019-08-01 Thread Richard Grin
ilter=allopenissues On Thu, Aug 1, 2019, 9:29 AM Richard Grin mailto:richard.g...@univ-cotedazur.fr>> wrote: Do I have to report this problem elsewhere for it to have a chance to be fixed? I found other problems in other codes generated by NetBeans and I prefer to report them the right wa

Re: Injection of an EntityManager is not adapted to CMT mode

2019-08-01 Thread Richard Grin
Do I have to report this problem elsewhere for it to have a chance to be fixed? I found other problems in other codes generated by NetBeans and I prefer to report them the right way. Regards, Richard Le 29/07/2019 à 16:06, Richard Grin a écrit : Hi Ortiz, The EJB in which I inject is NOT

Re: Injection of an EntityManager is not adapted to CMT mode

2019-07-29 Thread Richard Grin
gards, Richard Le 29/07/2019 à 13:33, Javier Ortiz a écrit : The current one seems completely correct to me. What error/problem are you getting? That's an atomic operation. On Mon, Jul 29, 2019, 5:31 AM Richard Grin mailto:richard.g...@univ-cotedazur.fr>> wrote: Hi, NetBeans

Injection of an EntityManager is not adapted to CMT mode

2019-07-29 Thread Richard Grin
on e) { Logger.getLogger(getClass().getName()).log(Level.SEVERE, "exception caught", e);     throw new RuntimeException(e);     }     } It should be     @PersistenceContext(unitName = xxx")     private EntityManager em;     public void persist(Object object) {     em.persist(object);     } Richard

Re: Is "Run JPQL Query" working?

2019-07-25 Thread Richard Grin
ens only with this "Run JPQL Query". Perhaps the context is not the same during the running of the application and the running of "Run JPQL Query"? Richard PS: the code in pom.xml for org.eclipse.persistance: org.eclipse.persi

Insert Code an EntityManager in an EJB uses a UserTransaction even if CMT

2019-07-25 Thread Richard Grin
utx.commit(); } catch (Exception e) { Logger.getLogger(getClass().getName()).log(Level.SEVERE, "exception caught", e); throw new RuntimeException(e); } } Normally the transaction should be managed by the container without using UserTransaction. Richard

Is "Run JPQL Query" working?

2019-07-23 Thread Richard Grin
  org.eclipse.persistence.jpa.PersistenceProvider     jdbc/sample             Any help? Richard Grin - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org F

Design and Source view of persistence.xml don't match

2019-07-19 Thread Richard Grin
sistence unit and nothing have appeared in the Design view. The design view seems unstable: sometimes good, sometimes not good. However it is not a blocker because it is always possible to use the source view. Richard - To un

Re: Versions of Java

2019-07-19 Thread Richard Grin
Thanks Neil. I wanted to test the beta 4 version before the issue of the final version but it seems I should have to study Maven deeper. Just for information, everything, including Payara, seems to work well with JDK 11 (it was not the case before). Richard Le 19/07/2019 à 12:45, Neil C

Re: Versions of Java

2019-07-19 Thread Richard Grin
en the project is built with Maven? Le 19/07/2019 à 11:39, Neil C Smith a écrit : > On Fri, 19 Jul 2019 at 10:31, Richard Grin > wrote: >> Why "JDK 10 (Default)" under the entry "Java Dependencies" in the Projects >> tab? > The (Default) sounds

Versions of Java

2019-07-19 Thread Richard Grin
s" in the Projects tab? And in pom.xml there is 1.8 1.8 No links between the content of pom.xml and the properties of the project? I am not used to Maven... Thanks for your help. Richard

Re: Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Richard Grin
Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to repair it, or to remove the functionality if it is no longer useful. Richard Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : Geertjan Wielenga Date : 18/07/2019 13:05 (GMT+

Error message during creation of an Entreprise Application with Maven

2019-07-18 Thread Richard Grin
onException = I have modified nothing; all was generated by NetBeans. I am not used to Maven. Did I missed something or is it a bug? Richard Grin - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional

Re: early access Netbeans builds

2019-06-18 Thread Richard Grin
ve a look at the features. How can I obtain such version or where is the netcat version? -- Pieter Van den Hombergh. No software documentation is complete with out it's source code. -- Cordialement, Richard Grin

Re: NetBeans for Java EE 8

2019-06-16 Thread Richard Grin
Hi Pieter, Thanks for this information. Which plugin did you use exactly? Geertjan says that the PRs are not integrated yet. Do you mean the plugins which can be found with the NetBeans menu Tools > Plugins: Payara EE Common, Payara Common, Payara Server, Payara Tooling? Richard Le 16

Re: NetBeans for Java EE 8

2019-06-15 Thread Richard Grin
Thanks a lot Josh for the information. I have just read your message after answering Geerjan (whom I was asking for it). Le 15/06/2019 à 17:37, Josh Juneau a écrit : Hi Richard, The PR for inclusion of Java EE 8 support has been issued...I'm just working out a few minor build discrepa

Re: NetBeans for Java EE 8

2019-06-15 Thread Richard Grin
f NetBeans? Around what date will it be ready (to find out if I can wait before preparing my course)? Thanks for the good work of the whole team working on NetBeans. Best regards, Richard Le 15/06/2019 à 12:30, Geertjan Wielenga a écrit : Can you be very explicit about ‘but that is not

NetBeans for Java EE 8

2019-06-15 Thread Richard Grin
rking environment was very simple for students but this is not quite the case these days. Richard - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For fu

Re: Question on Netbeans 11 and C++

2019-05-08 Thread Richard Grin
When is Java EE *8* scheduled ? I cannot see it in the link. Thanks Richard Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : Geertjan Wielenga Date : 09/05/2019 05:07 (GMT+01:00) À : Emilian Bold Cc : Koos du Preez , NetBeans Mailing Objet

How to tell NetBeans where to find a package?

2019-04-14 Thread Richard Grin
Hi, The last version of Payara (5.191) changed the place of the package javax.faces. How can I tell NetBeans where is the new place for this package after the installation of Payara? Richard - To unsubscribe, e-mail: users

Re: Problems with NetBeans 11 creating Web applications for Java EE 8

2019-04-07 Thread Richard Grin
ange the server of my project in order to provide packages, the errors in the code are automatically removed, perhaps because I have activated Java SE? "2 birds with one stone" Thanks for your help, Geertjan. Richard Le 07/04/2019 à 08:34, Geertjan Wielenga a écrit : Still having this

Re: Problems with NetBeans 11 creating Web applications for Java EE 8

2019-04-07 Thread Richard Grin
Hi Kai, I have been working with Java EE 8 for a long time too, without Maven, using NetBeans 9, but not "out of the box" (I had to add plugins from NetBeans 8.2). NetBeans 11 seems simpler now that I have solved my problems, thanks to the help of Josh and Geertjan. Regards, Rich

Re: Problems with NetBeans 11 creating Web applications for Java EE 8

2019-04-06 Thread Richard Grin
clean the environment of NetBeans without a new installation? Thanks for your work on providing a Java EE 8 support. Richard Le 06/04/2019 à 16:02, Josh Juneau a écrit : Hi Richard, Thanks for the message regarding Java EE 8 support in NetBeans 11. We are working on providing Java EE 8 su

How to tell NetBeans to parse again the code of a class?

2019-04-06 Thread Richard Grin
Hi, When I change the server of a Web application, I provide packages not provided by the former server. The problem: NetBeans is still pointing out errors ("package does not exist" with a red icon on the left of code) while there are no more errors. If I modify a single line (adding and removing

Problems with NetBeans 11 creating Web applications for Java EE 8

2019-04-06 Thread Richard Grin
Hi, I have just tried NetBeans 11 and I am a bit disappointed. My environment: Windows 10 64 bit, openjdk 11 2018-09-25. NetBeans is running over Java 10.0.1. GlassFish 5.1 (and Payara) from Eclipse is running over JDK 8. Goal: creation of a Web application for Java EE 8 1. Creation of a Web J

  1   2   >