How to change port of internal http server

2021-02-28 Thread Orlyanskiy Vladimir
Hello. NetBeans shows JavaDoc for libraries with internal HttpServer on port 8082. I want to change the default port from 8082 to something else. I have found file org-netbeans-modules-httpserver.xml I tried to copy file org-netbeans-modules-httpserver.xml to folder config\Modules\ and set par

how to add library to Maven module project

2021-01-24 Thread Orlyanskiy Vladimir
Hello. I am working with plugin for start Groovy scrips as simple scripts, without creation for them project. My module can be found here https://github.com/Enroi/GroovyScripts My module uses clear maven for build. Current NetBeans has old groovy 2.5. I try to add fresh Groovy 3.0.7 as library.

How to add or remove nodes on first level of project?

2020-12-29 Thread Orlyanskiy Vladimir
Hello. I try to create NetBeans module for start Groovy scripts as external processes. I have problem with adding and removing nodes in first level of project in Projects tab. Look to attached picture. If I will add new nodes to first level they will be shown only after restart NetBeans. But if w

RE: How to disable this annoying thing

2020-11-29 Thread Orlyanskiy Vladimir
Hello. I think problem in version of spring-boot-starter-actuator maven artifact in your project. Look to “Services” tab in NetBeans. There is not “source” marker for this artifact for your version 2.1.3 From: Greenberg, Gary Sent: Monday, November 30, 2020 7:15 AM To: users@netbeans.ap

RE: How to get Project from custom action ?

2020-11-29 Thread Orlyanskiy Vladimir
://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectapi/org/netbeans/api/project/FileOwnerQuery.html#getOwner-org.openide.filesystems.FileObject- On 11/28/20 3:13 PM, Orlyanskiy Vladimir wrote: Do you mean replace DataObject to Project as I have done in new example? In this case my action is disabled in

RE: How to get Project from custom action ?

2020-11-28 Thread Orlyanskiy Vladimir
).lookup(Project.class); Project project2 = context.getLookup().lookup(Project.class); } } From: Geertjan Wielenga Sent: Sunday, November 29, 2020 1:41 AM To: Orlyanskiy Vladimir Cc: users@netbeans.apache.org Subject: Re: How to get Project from custom action ? Repl

How to get Project from custom action ?

2020-11-28 Thread Orlyanskiy Vladimir
Hello. I try to create module with new action for existing file type. I have created action with code that I have put below. I have problem with loading Project in method actionPerformed. Project is null in both cases. How to load current Project from action ? @ActionID( categ