Anyone have a solution to this? I've been trying NB12 and liking it, apart from it crashing randomly once a day but I haven't found the cause yet.
CoS still grayed out for war maven project using JDK 8. Any idea? I just switched back to 11.1 (last version it works in) and it appears NB12 has deleted my 11.1 profile. On Thu, 7 May 2020 at 12:53, Brett Ryan <brett.r...@gmail.com> wrote: > Thanks Juan. I did have it installed. I use maven projects and haven’t > been on ant for some time. > > I did uninstall nb-javac as it doesn’t allow newer language features. For > example if you run with jdk14 you get record support which is a preview > feature in jdk14 (hope it sticks btw). > > > On 6 May 2020, at 15:37, Juan Algaba <jalg...@colef.mx> wrote: > > > > My memory failed me, it's not a dialog, but a notification: > > > https://lists.apache.org/thread.html/r3743d8d20e8760be2c91da7c236382a63d60358aca4415ba5743b7a3%40%3Cusers.netbeans.apache.org%3E > > > > I believe it's not installed by default because it wasn't donated (and > > won't be apparently) to Apache, and also because some users report > > issues caused by it when not running > > on JDK 8: > > > https://lists.apache.org/thread.html/r3743d8d20e8760be2c91da7c236382a63d60358aca4415ba5743b7a3%40%3Cusers.netbeans.apache.org%3E > > > > Here's an overview of nb-javac > > > https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac > > > > What I gather from the mailing list is that Netbeans is clearly moving > > away from nb-javac. What I don't understand is if it's also moving > > away from CoS and "Copy Static Resources" or maybe implement it in a > > more maintainable way (like, only for Maven/not-JDK8 users) > > > > I personally run netbeans 11.3 on OpenJDK 11.0.7 and my ant web > > project is compiled with that same JDK using --source 8, and haven't > > encountered any issues. Out of curiosity can I know what type of > > project, JDK version, and source level you are using? > > > > > >> On Tue, May 5, 2020 at 10:02 PM Juan Algaba <jalg...@colef.mx> wrote: > >> > >> I'm on 11.3, ant-based web app, and do have CoS. > >> Make sure nb-javac plugin is installed in Plugins -> Installed -> > >> Search nb-javac > >> NB should offer you to install it, but IIRC it may not if you open an > >> existing project, if that's the case try creating a new java web > >> project to see if it triggers that dialog. > >> > >> > >>> On Tue, May 5, 2020 at 7:27 PM Brett Ryan <brett.r...@gmail.com> > wrote: > >>> > >>> Hi all, I've been wanting to switch off of NB 11.0 for some time, > however; the one thing that is stopping me is CoS is not working for web > applications. > >>> > >>> Since moving from 11.0 the Build > Compile > Compile On Save is now > greyed out. > >>> > >>> Run > "Deploy on Save" is enabled but appears to do nothin, as is > "Copy Static Resources". > >>> > >>> > >> > >> > >> -- > >> -Juan Algaba > > > > > > -- > > -Juan Algaba >