Maven with shared sources on 2 modules
I have two modules in maven that both produce slightly different configurations of a war file. Lets call them war1 and war2. War1 has all the html js, css, etc and base config. War2 uses the same html, css and most of the same js and some different configurations in web and context xml files. This was accomplished via the war plugin with the webResource configuration option. See https://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html Loading this up in netbeans gives me the following view War1's sources are inaccessible with the message war1 cannot be used here, see issue #13810 for more information. War2 however has access to all the sources. This is the complete opposite of what it should be in my opinion. The files are in the war1/src/main however war2's src/main/ is pretty much empty. This isn't isolated to war files eithers. Within the pom jar projects can be the following: - ${project.basedir}/src/main/java - ${project.basedir}/src/test/java - - ${project.basedir}/src/main/resources - - - - - ${project.basedir}/src/test/resources - - src: https://maven.apache.org/pom.html - - This isn't a new problem. I recall seeing this in at least NB8 and possibly sooner. - - So there a configuration to have the NB UI listed the correct ownership of the resources instead of the opposite?
Maven IT integration tests not recognized?
Hi I was experimenting with surefire integration tests vs unit tests. I noticed that NB completely ignores the "it" folder src/it/java etc. Is there a workaround for this?
Re: module removal
You all are awesome, thanks! On Wed, Apr 1, 2020 at 6:54 PM Laszlo Kishalmi wrote: > Just go to: Tools -> Options -> Java -> Gradle and set the Prefer Maven > projects over Gradle, then reboot the IDE > > > On 4/1/20 2:15 PM, Alex O'Ree wrote: > > Hi is there a way to remove an installed module? I have a project that > > has both maven and gradle files and NB keeps asking me to install > > gradle (and i really just don't want to) and i'd rather NB load the > > module as a maven project instead. > > > > a) can i disable and remove the groovy module and if so how > > b) alternatively can i force loading as a maven project instead of > gradle? > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >
module removal
Hi is there a way to remove an installed module? I have a project that has both maven and gradle files and NB keeps asking me to install gradle (and i really just don't want to) and i'd rather NB load the module as a maven project instead. a) can i disable and remove the groovy module and if so how b) alternatively can i force loading as a maven project instead of gradle?
Re: Fonts in the project tree with darcula ?
I think i figured it out. i was using an older build of the theme from NB8.2. i downloaded and compiled from the github repo and all is good now. Thanks! On Sat, Nov 2, 2019 at 8:22 PM Josh Juneau wrote: > Hi Alex, > > I have not noticed a dark font with Darcula. Have you tried with a new > userdir to see if perhaps something may be configured incorrectly in the > one you are using? > > Thanks > > Josh Juneau > juneau...@gmail.com > http://jj-blogger.blogspot.com > https://www.apress.com/us/search?query=Juneau > > On Nov 2, 2019, at 8:02 AM, Alex O'Ree wrote: > > > When running both the darcula look and feel and editing settings, i've > noticed that the project tree view now has a very dark background with > black text, making it a bit hard to read. Is this adjustable in a setting > or menu somewhere? > >
Fonts in the project tree with darcula ?
When running both the darcula look and feel and editing settings, i've noticed that the project tree view now has a very dark background with black text, making it a bit hard to read. Is this adjustable in a setting or menu somewhere?
was org-netbeans-modules-showtodos donated\
org-netbeans-modules-showtodos there's been some recent traffic on the old bugzilla tracker. https://netbeans.org/bugzilla/show_bug.cgi?id=247416 i am a huge fan of this plugin and would love if either this was included out of the box, made available again as a download, or have its feature reimplemented in a asf compatible way...
[netbeans] source packages are owned by project x and cannot be used here, see 138310
I could use some help bypassing this if possible. it's a maven project (apache juddi) with a bit of a strange layout. juddi-core/src/main/java - normal maven layout juddi-core-openjpa/src in juddi-core-openjpa/pom.xml, we use an alternate source directory which references the same sources from juddi-core. ../juddi-core/src/main/java ../juddi-core/src/test/java ../juddi-core/src/main/resources in netbeans, juddi-core shows up as a non-editable project"source packages are owned by project juddi-core-openjpa and cannot be used here, see 138310" i think this is wrong and the logic is reversed. anyhow is there a way to bypass this in netbeans so that juddi-core shows up as a normal maven module?
UDDI server plugin?
I remember with older versions of NB, probably 8.2 and older, there were some plugins/adapters to discovering soap/rest services in a UDDI registry. After searching the current code base, I don't see any references to it anymore. Did oracle donate that bit of code? If not, are there any similar existing components that i should look at in order to recreate the uddi plugin or something similar? I'm thinking the hudson plugin may be a good starting point.
making an offline portable setup
After unzipping and running NB11, there's a number of cases where "features" need to be downloaded and activated. Where are the downloaded components stored? I have a case where I need to get a functioning NB environment setup, then transferred to another computer that is offline.
Re: tutorials on plugin development?
Thanks for the link. I'm walking through the video now and hit a snag on the "make a new window" part. This is with 8.2 NB. My NB11 has a similar error (cannot access HelpCtx class file for org.openide.util.HelpCtx not found) error: cannot access Lookup public class MyTopComponent extends TopComponent { class file for org.openide.util.Lookup not found warning: Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.7' error: cannot find symbol setDisplayName("hello world"); symbol: method setDisplayName(String) location: class MyTopComponent C:\Program Files\NetBeans 8.2\harness\common.xml:225: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 2 seconds) If i remove the call to setDisplayName, i get an angry error message warning: Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.NbBundleProcessor' less than -source '1.7' An exception has occurred in the compiler (1.8.0_101). Please file a bug against the Java compiler via the Java bug reporting page ( http://bugreport.java.com) after checking the Bug Database ( http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.NullPointerException at com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2027) at com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHashIfNeeded(Check.java:2017) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4274) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4200) at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4175) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1248) at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860) at com.sun.tools.javac.main.Main.compile(Main.java:523) at com.sun.tools.javac.main.Main.compile(Main.java:381) at com.sun.tools.javac.main.Main.compile(Main.java:370) at com.sun.tools.javac.main.Main.compile(Main.java:361) at com.sun.tools.javac.Main.compile(Main.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:58) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1395) at org.netbeans.nbbuild.CustomJavac.compile(CustomJavac.java:125) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1121) at org.netbeans.nbbuild.CustomJavac.execute(CustomJavac.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:599) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) On Sun, Apr 21, 2019 at 4:20 PM Geertjan Wielenga wrote: > But best is to buy this: https://leanpub.com/nbp4beginners > > Gj > > On Sun, Apr 21, 2019 at 10:18 PM Geertjan Wielenga > wrote: > >> https://netbeans.org/features/platform/all-docs.html >> >> Gj >> >> On Sun, Apr 21, 2019 at 9:59 PM Alex O'Ree wrote: >> >>> Are there any how to guides on netbeans plugin development? >>> >>> I found this: >>> http://wiki.netbeans.org/IntroNetBeansPluginDev >>> which was last updated in 2013 and doesn't seem to be accurate any >>> longer. >>> >>
tutorials on plugin development?
Are there any how to guides on netbeans plugin development? I found this: http://wiki.netbeans.org/IntroNetBeansPluginDev which was last updated in 2013 and doesn't seem to be accurate any longer.
Re: Questions related to the use of Netbeans
https://netbeans.org/bugzilla/show_bug.cgi?id=247416 The TODO Syntax highlighter is a must for me. It should be in baked in IMO. On Wed, Apr 17, 2019 at 5:29 PM Jonathan Bergh wrote: > 1. What are the best Netbeans plugins to use you think? And do you know > some funny ones?? > SpringBoot, Darcula > > 2. Are there any upcoming cool features? > C/C++ > > 3. What could be improved? > Gradle integration used to be slightly irritating (Netbeans used to always > open a project preferentially as a maven project if a pom.xml was also > present, even if the previous session opened it as a gradle project) > but gradle support is now integrated and this shouldnt be a problem > anymore. > > 4. Why should the whole world use this IDE? > Open source, multi-language support, from HTML / JS to Java / Groovy to > C/C++, even Python. You never have to switch to another IDE between > projects. > Awesome for J2EE support > > 5. First IDE that you ever used? And why? > Eclipse, as this is what the institute i was at recommended. > > On Tue, Apr 16, 2019 at 1:31 PM Ko Turk wrote: > >> Hi Netbeans Users, >> >> currently I am researching the strengths and weaknesses of different >> IDEs. I think Netbeans is awesome in the integration with Maven. But I am >> also curious what you think about this great IDE! >> >> I hope you can help me in answering the following questions: >> >> 1. What are the best Netbeans plugins to use you think? And do you know >> some funny ones?? >> 2. Are there any upcoming cool features? >> 3. What could be improved? >> 4. Why should the whole world use this IDE? >> 5. First IDE that you ever used? And why? >> >> Hope you can help me. Thanks! >> >> Regards, >> Ko Turk >> >
Re: Code palette?
Thanks for the pointer. I opened a few issues at source forge. Couldn't get it to work even with the local database setup. I'm basically looking for the existing functionality that works on html/jsp pages to be enabled for java filesI think this is what I'm looking for. https://github.com/apache/incubator-netbeans/blob/master/ide/html/src/org/netbeans/modules/html/palette/HtmlPaletteFactory.java I tried including the java mime type text/x-java to load the html palette but it did not have any noticeable affect. On Sun, Apr 14, 2019 at 11:44 AM arsi wrote: > Hi, > > Some time ago I made one, but it is necessary to finish it and port it to > ANB. > > But I currently devote all my free time to NBANDROID-V2 project... > > https://sourceforge.net/projects/cscm/ > https://github.com/arsi-apli/cscm > > ArSi > NBANDROID-V2 <https://github.com/NBANDROIDTEAM/NBANDROID-V2> > > ------ > *From:* Alex O'ree > *Sent:* Sunday, April 14, 2019 5:27PM > *To:* Users > *Subject:* Code palette? > > Does a plugin exist that will allow me to drag and drop code snippets into > a palette? I found a few articles on someone creating one but I had some > difficult getting them to work. There's a few hits with some of the > dev/latest plugin catalogues but nothing seems to fit the need. > > > >
Code palette?
Does a plugin exist that will allow me to drag and drop code snippets into a palette? I found a few articles on someone creating one but I had some difficult getting them to work. There's a few hits with some of the dev/latest plugin catalogues but nothing seems to fit the need.
Re: Minor NetBeans 11 issues
Oh, cool. Is there a plugin required or something or is it baked into to the distribution? On Wed, Mar 27, 2019 at 2:28 AM Geertjan Wielenga wrote: > In fact, web app support is the major feature introduced in Apache > NetBeans 11.0. > > Gh > > On Wed, 27 Mar 2019 at 02:51, Alex O'Ree wrote: > >> Still no web app/war/jsp support :( >> >> On Tue, Mar 26, 2019 at 8:50 PM Brenden Towey >> wrote: >> >>> I have VC4, according the the name of the zip file I got today. >>> >>> incubating-netbeans-11.0-vc4-bin >>> >>> >>> >>> On 3/26/2019 5:27 PM, Chuck Davis wrote: >>> > Works here on VC 4 >>> > >>> > On Tuesday, March 26, 2019 3:16:26 PM PDT Brenden Towey wrote: >>> >> - "Alt-Enter" to show hints in the editor didn't work for me in NB10, >>> >> and it doesn't work in NB11. Example: add "implements Runnable" to a >>> >> random class, and try to use Alt-Enter to show the menu. Nothing >>> >> happens when I press alt-enter, no pop-up appears. (Clicking on the >>> >> light bulb that appears in the left margin does work however.) >>> > >>> > >>> > >>> > - >>> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>> > For additional commands, e-mail: users-h...@netbeans.apache.org >>> > >>> > For further information about the NetBeans mailing lists, visit: >>> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>> > >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>> For additional commands, e-mail: users-h...@netbeans.apache.org >>> >>> For further information about the NetBeans mailing lists, visit: >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>> >>>
Re: [netbeans] offline installation
Is nb-javac on the roadmap for being donated to apache? On Sat, Dec 29, 2018 at 10:54 AM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Why can't we just bundle it all together and have it ready to go in the >> zip? >> > > Because, for example, in the case of Java support in Apache NetBeans, the > nb-javac compiler belongs to Oracle and is GPL licensed and hence cannot be > distributed by Apache. You need to install it yourself, i.e., individually > accept the licensing terms. > > Gj > > On Sat, Dec 29, 2018 at 4:52 PM Alex O'Ree wrote: > >> For what it's worth, I often have to install netbeans on computers that >> are not connected to the internet. In v8.2 and prior, I could download the >> EE version and have everything I need to get up and running (except for >> maven dependencies and any additional netbeans plugins). Maven dependencies >> can be synced using a local nexus server and some swivel chair action and i >> was able to find a way to clone the entire netbeans plugin repo for local >> installations. >> >> With the newer installs, we're pretty much forced o be online during the >> first "activation" of a specific feature. Why can't we just bundle it all >> together and have it ready to go in the zip? Alternatively, if there a >> single place there all of the online activation stuff downloads the >> necessary dependencies from then it's possible that i can just clone that >> website/repo. Is this how it works? If so, where is the repo? >> >
Re: Checking for external changes - Suspended, high cpu usage
Am I reading this right? Android support for NB? Super exciting! On Fri, Dec 28, 2018 at 8:47 AM Emilian Bold wrote: > Oh, I see the patches here > > https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches/tree/master/patches_NB82_MAVEN_SRC > > --emi > > On Fri, 28 Dec 2018 at 14:43, arsi wrote: > >> Hello, >> >> I tested it in another project, this is just the result. >> I made patches to the NB82 Maven source tree. >> They are commited to >> https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches >> And I added a test app there. >> >> >> Finally, I found out that I forgot to delete the Files.isSymbolicLink() >> from the method FileObjectFactory.touchExists(). >> Probably during the test I had a problem with online code update and it >> works.. >> So I made better version of FileObjectFactory patch. >> >> >> >> >> Arsi >> -- >> >> *From:* Emilian Bold >> *Sent:* Friday, December 28, 2018 11:23AM >> *To:* Arsi >> *Cc:* Users >> *Subject:* Re: Checking for external changes - Suspended, high cpu usage >> >> >> Interesting work. Could you point me to the individual patches / commits? >> You fixed 3 problems but I can't seem to find the individual commits for >> them. >> >> PS: what license are your changes? >> >> --emi >> >> On Fri, 28 Dec 2018 at 10:19, arsi wrote: >> >>> Hello, >>> >>> I fixed the problem with Checking for external changes - Suspended on >>> Linux and I created modules with patches for Netbeans 8.2 >>> >>>- org-netbeans-modules-masterfs-patch-module >>> - fixed problem with broken Symbolic Links, recursive >>> Created/Deleted file changed event >>> - fixed problem with files other that Link, File and Dir, >>> recursive Created/Deleted file changed event >>>- org-netbeans-modules-versioning-masterfs-patch-module >>> - fixed problem with registering new filechangedlistener, after >>> file delete event >>> >>> >>> Installation: >>> Add new update center http://server.arsi.sk/masterfs/updates.xml and >>> install the modules >>> >>> or >>> >>> Manually download the modules from http://server.arsi.sk/masterfs >>> >>> or >>> >>> Compile your own version >>> https://github.com/NBANDROIDTEAM/org-netbeans-modules-masterfs-patches >>> >>> >>> >>> Details are here: >>> https://github.com/NBANDROIDTEAM/NBANDROID-V2/issues/139 >>> >>> https://issues.apache.org/jira/browse/NETBEANS-168 >>> >>> >>> >>> Arsi >>> >> -- >> --emi >> >> >> >> -- > --emi >
Java EE version?
Hi everyone, first of all, the new netbeans looks great! Question 1) Plugin/update repos Here's the list of plugin repos I'm currently using, Are these still supported and/or recommended for use? I've lost track of what is what. http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz https://netbeans.apache.org/nb/updates/9.0/updates.xml.gz http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz http://updates.netbeans.org/netbeans/updates/8.2/uc/final/certified/catalog.xml.gz http://updates.netbeans.org/netbeans/updates/dev/uc/final/main/catalog.xml.gz Question 2) Autocomplete for JSP pages Perhaps I'm missing a plugin or something, but autocomplete for java code in a jsp page does not appear to be resolving. Html autocomplete works just fine but it's the java code that's not working. For previous versions of NB, this was usually due to not installing the "EE" version. Does this still exist? From what I gathered, most of the extra functionality in the EE version looks like it's all available in the plugin repo. I installed pretty much all of the web related plugins that are available in the above repos however jsp autocomplete isn't working. Is there something i need to enable? And yes, i know no one likes to use jsp pages anymore.