run ant with different jdk

2023-11-14 Thread Tom Eicher
Hello, so NB19 needs Java11+ to run, which is fine. But (for now) I need to run my ant task with Java8, but it seems ant is always launched within the JVM that runs NB. Testing, with Java8, on command line "ant dist" builds my ear, whereas with Java11 I get errors like cannot find symbol

Re: Migrating NB platform app to maven

2023-05-16 Thread Tom Eicher
Hi Jerome, I would be really interested in this script. Cheers Tom. Am 16.05.23 um 00:01 schrieb Jerome Lelasseux: PS: I used a bash script to automate the migration process as much as possible. When I'm done I'll be happy to share it -there is not much info on the web...

Re: JDK 8 vs 11 JAXB problem

2022-01-28 Thread Tom Eicher
Thanks for your input everybody! I was hoping I could just tell NB to run the ant command with the Java8 JAVA_HOME or any of those variables or properties. I also tried modifying the bin/ant in NetBeans/netbeans/extide/ant to get an export JAVA_HOME but nothing helped. So got the 4 jars from

JDK 8 vs 11 JAXB problem

2022-01-28 Thread Tom Eicher
Hello, I'm back to my problem that has hindered me updating to any Netbenas after 8.2... My Application (ear, ejb, war) is still on JDK 8 with an ant build. When I start NB 12.6 with JDK8 runtime, all is fine with the application. But I can't edit; the editor has strange behaviour and reports

migrate EE6 project from ant buiild to mvn/gradle

2022-01-25 Thread Tom Eicher
Hello, I have an ear project with one ejb and one war subprojects, that originates from Netbeans 7.2, using an ant build. I have been unable to upgrade for a long time (after NB8) due to missing wildfly plugin and other troubles, but now I'm up and running with Apache Netbeans 12.6 ! We did