Re: Adding dependencies in Gradle

2021-04-22 Thread Laszlo Kishalmi
You can have a file dependency to the other project artifact. Or use composite Gradle builds: https://docs.gradle.org/current/userguide/composite_builds.html On 4/22/21 2:55 PM, Don wrote: That shows a general dependency on another project.  In a NetBeans Ant project there are 2 main

Re: Adding dependencies in Gradle

2021-04-22 Thread Don
That shows a general dependency on another project.  In a NetBeans Ant project there are 2 main folders:   Source   and Library.  Right-click on library brings up a menu which allows me to add a Project, a Jar, and a predefined library containing several jar files. Can I add a jar as a

Re: Maven EJB project creates all modules as WAR files

2021-04-22 Thread Will Hartung
On Thu, Apr 22, 2021 at 7:36 AM Wayne Gemmell | Connect < wa...@connect-mobile.co.za> wrote: > Hi Will > > Thanks for the feedback. I've changed my app to be a war. It was > surprisingly easy. What should I watch out for in terms of changes? > I presumy my timer beans will have to be replaced by

Re: Adding dependencies in Gradle

2021-04-22 Thread joe foe
You have to add the project as a dependency. See https://docs.gradle.org/current/userguide/declaring_dependencies.html#sub:project_dependencies Regards, JoeFoe On Thu, 22 Apr 2021, 16:25 Don, wrote: > With the reduction of support for Ant, which I have been using for my > Java projects since

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Oliver Rettig
+1 > On Thu, 22 Apr 2021 at 08:15, Geertjan Wielenga > > wrote: > > should we consider downplaying the prominence of Ant by removing from > > NetBeans the ability to create new Ant projects > -1 from me. I think we made the right steps previously, and perhaps > should look at whether particular

Re: Netbeans 12.3 - Gradle

2021-04-22 Thread Helmut Leininger
Thanks for the info. Helmut Am 22.04.2021 um 16:16 schrieb Geertjan Wielenga: Neither Java 16 nor Gradle 7 are supported in 12.3. But both are in 12.4, join the dev mailing list where we're currently working on 12.4 and where we're also trying out a release candidate. Gj On Thu, Apr 22,

Re: Deployment Tutorial Source Files

2021-04-22 Thread antonio
Hi all, Maybe we could scan all tutorial pages and replace the links that end with ".zip" ".tgz" or similar things with direct links to the web archive, so people can download them. Many of these samples have unkown licenses, so I don't think we can include these directly in the website.

Re: Maven EJB project creates all modules as WAR files

2021-04-22 Thread Wayne Gemmell | Connect
Hi Will Thanks for the feedback. I've changed my app to be a war. It was surprisingly easy. What should I watch out for in terms of changes? I presumy my timer beans will have to be replaced by cron jobs. Is there anything else that may sneak up on me. I'm starting testing at the moment.

Re: Netbeans 12.3 - Gradle

2021-04-22 Thread Geertjan Wielenga
Neither Java 16 nor Gradle 7 are supported in 12.3. But both are in 12.4, join the dev mailing list where we're currently working on 12.4 and where we're also trying out a release candidate. Gj On Thu, Apr 22, 2021 at 4:14 PM Helmut Leininger wrote: > Hi, > > I am running Netbeans 12.3 with

Adding dependencies in Gradle

2021-04-22 Thread Don
With the reduction of support for Ant, which I have been using for my Java projects since 2004 or so, I decided to start learning Gradle.  I downloaded NetBeans 12.3 and proceeded to re-create the library/.jar files I use to implement some basic classes that are specialized for our

Netbeans 12.3 - Gradle

2021-04-22 Thread Helmut Leininger
Hi, I am running Netbeans 12.3 with Gradle 7.0 and Openjdk 16 on Windows 10. When running a Gradle task (like clean, build etc.) I get the following error message: Unable to watch the file system for changes net.rubygrapefruit.platform.NativeException: Could not query file systems: could not

Re: Deployment Tutorial Source Files

2021-04-22 Thread Sean Carrick
Just as a quick aside: Whenever you are looking at tutorials or StackOverflow answers regarding Java, a lot of the links will be to either netbeans.org, Project Kenai, or java.net. So, what you should always do is: 1. Rright-click the link 2. Copy the address 3. Go to The Wayback Machine at 

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Sean Carrick
> -1 from me.  I think we made the right steps previously, and perhaps > should look at whether particular templates need updating or removing > entirely.  But Ant still has its place, particularly with regard to > the platform. > > I'd also prefer an unopinionated IDE.  And from an ASF

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Geertjan Wielenga
Good point, Neil. :-) We should reach out to the Apache Ant (and other Apache projects) for collaboration with us. In an ideal world, the Apache Ant community would be developing and promoting the Apache Ant features in Apache NetBeans. Gj On Thu, 22 Apr 2021 at 10:17, Neil C Smith wrote: >

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Neil C Smith
On Thu, 22 Apr 2021 at 08:15, Geertjan Wielenga wrote: > should we consider downplaying the prominence of Ant by removing from > NetBeans the ability to create new Ant projects -1 from me. I think we made the right steps previously, and perhaps should look at whether particular templates need

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Owen Thomas
On Thu, 22 Apr 2021 at 17:15, Geertjan Wielenga wrote: > I don’t think we’re going to resolve this, several people in this > discussion don’t understand the key point with which this thread started: > should we consider downplaying the prominence of Ant by removing from > NetBeans the ability to

Re: [External] : Re: removing the "new project" support for Ant projects

2021-04-22 Thread John Mc
Just keep it simple: "Apache NetBeans recommends for beginners creating new projects with modern build/dependency frameworks like Maven or Gradle" I wouldn't include a reference, warning of its potential removal, since that's not been the common consensus here... Regards John On Thu, 22 Apr

Re: [External] : Re: removing the "new project" support for Ant projects

2021-04-22 Thread Ewan Slater
I think a warning message that: 1. Recommends Maven or Gradle 2. Warns that Ant project creating may be removed in a future release. My €0.02 From: Geertjan Wielenga Sent: 22 April 2021 08:15 Cc: users@netbeans.apache.org Subject: [External] : Re:

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Geertjan Wielenga
Hi all, I don’t think we’re going to resolve this, several people in this discussion don’t understand the key point with which this thread started: should we consider downplaying the prominence of Ant by removing from NetBeans the ability to create new Ant projects (while keeping all other Ant

Re: removing the "new project" support for Ant projects

2021-04-22 Thread Bilu
+1 for not removing Ant support or Ant New project creation. I personnally still use Ant for my projects Le 22/04/2021 à 03:40, Owen Thomas a écrit : > If one wants to create an Ant project from within NetBeans, then one > should be able to do that. > > I've encountered both Maven and Gradle