Re: How to define a language inheriting from HTML?

2018-07-07 Thread Peter Nabbefeld
, 2018 at 8:08 PM, Peter Nabbefeld wrote: Hello, using XHTML with wicket seems to work, but using HTML gives a bunch of errors because the namespace isn't known and so are the wicket attributes. How can I filter those like "wicket:id"? Is it possible to define a language using the H

How to define a language inheriting from HTML?

2018-07-07 Thread Peter Nabbefeld
Hello, using XHTML with wicket seems to work, but using HTML gives a bunch of errors because the namespace isn't known and so are the wicket attributes. How can I filter those like "wicket:id"? Is it possible to define a language using the HTML module, defining the wicket attributes as an

Re: ModuleInstall.restore() seems not to be called

2018-07-07 Thread Peter Nabbefeld
Found the problem: No OpenIDE-Module-Install added to manifest. And found a better solution for my case: Using @OnShowing. Regards Peter Am 07.07.2018 um 19:18 schrieb Peter Nabbefeld: Hello, I tried to do some debugging of the Installer class, but the breakpoint in the restore method

ModuleInstall.restore() seems not to be called

2018-07-07 Thread Peter Nabbefeld
Hello, I tried to do some debugging of the Installer class, but the breakpoint in the restore method doesn't seem to be hit: https://github.com/OldGrumble/NBWicketSupport/blob/master/src/main/java/org/netbeans/modules/web/wicket/installer/Installer.java Could somebody tell me what I'm doing

Re: How to fix a ClassLoader in a NetBeans module with external libraries?

2018-06-28 Thread Peter Nabbefeld
Thank You Geertjan, I'll go to ask him. Peter Am 28.06.2018 um 18:57 schrieb Geertjan Wielenga: The person to interact with 100% on this is Tim Boudreau who wrote that code. Gj On Thu, Jun 28, 2018 at 6:39 PM, Peter Nabbefeld wrote: nb-javac is used to scan the Java source code e.g

Re: How to fix a ClassLoader in a NetBeans module with external libraries?

2018-06-28 Thread Peter Nabbefeld
functionality does it add? Gj On Thu, Jun 28, 2018 at 6:05 PM, Peter Nabbefeld wrote: In some Ant-based module I found this: "OpenIDE-Module-Hide-Classpath-Packages: com.sun.tools.javac.**, com.sun.tools.javadoc.**, com.sun.tools.javap.**, com.sun.tools.classfile.*". Is there sth. I can

Re: How to fix a ClassLoader in a NetBeans module with external libraries?

2018-06-28 Thread Peter Nabbefeld
to the same class loader, I'd be fine. Peter Am 28.06.2018 um 17:49 schrieb Geertjan Wielenga: The real question is why the plugin needs to do any of this. Gj On Thu, Jun 28, 2018 at 10:59 AM, Peter Nabbefeld wrote: Hello, I've got a LinkageError when running a NetBeans plugin with a depe

How to fix a ClassLoader in a NetBeans module with external libraries?

2018-06-28 Thread Peter Nabbefeld
Hello, I've got a LinkageError when running a NetBeans plugin with a dependency on nb-javac. The plugin uses Maven, and I've noticed the following entry in MANIFEST.MF: Maven-Class-Path: org.netbeans.external:nb-javac-api:RELEASE82 org.netbeans.external:nb-javac-impl:RELEASE82 This

loader constraint violation in maven plugin project

2018-06-27 Thread Peter Nabbefeld
Hello, in a maven plugin project, I get the following LinkageError in JavaTreeBuilder: "loader constraint violation: loader (instance of org/netbeans/StandardModule$OneModuleClassLoader) previously initiated loading for a different type with name "javax/lang/model/util/Elements"" My

Re: Why do I still need to implement "getName()" for an action annotated with "@ActionRegistration"?

2018-06-24 Thread Peter Nabbefeld
/org-openide-nodes/org/openide/util/actions/CookieAction.html Gj On Sun, Jun 24, 2018 at 7:28 PM, Peter Nabbefeld wrote: Hello, in my class file, I've got the following lines of code: @ActionRegistration(displayName = "#CTL_GotoHTMLAction", lazy = false) public class GotoHTMLActi

Re: Module org.netbeans.modules.java.hints/1 missing?

2018-06-24 Thread Peter Nabbefeld
a fresh user directory, i.e., just to make sure nothing's corrupt or reused from some previous NetBeans installation? Gj On Sun, Jun 24, 2018 at 2:21 PM, Peter Nabbefeld wrote: Hello, just switched from release build 316 to 320. When I try to start it, I get a message "m

Module org.netbeans.modules.java.hints/1 missing?

2018-06-24 Thread Peter Nabbefeld
Hello, just switched from release build 316 to 320. When I try to start it, I get a message "module org.netbeans.modules.java.hints/1 missing", but I've checked that, the modules are present in their appropriate folders. So I'm wondering what happened - does anybody else use this build?

Where ha wicket plugin gone?

2018-06-23 Thread Peter Nabbefeld
Hello, I've found there's been some wicket support implemented by Geertjan, sources had been at java.net. Does somebody know where those have gone? Kind regards Peter - To unsubscribe, e-mail:

Re: How to create a module suite using Maven?

2018-06-05 Thread Peter Nabbefeld
Seems I've made some mistakes in configuration, probably because of some copy/paste done wrong. Am 05.06.2018 um 12:33 schrieb Peter Nabbefeld: Other strange things now happen, like duplicated jar files (using different names) and duplicated clusters (default one + one with artifact name

Re: How to create a module suite using Maven?

2018-06-05 Thread Peter Nabbefeld
e-root" plugin is working in general, but it refuses to load external dependencies if OSGi modules are allowed as dependencies; I've filed an issue. However, this is not a problem in my case. Kind regards Peter Am 05.06.2018 um 12:09 schrieb Peter Nabbefeld: The archetyp

Re: How to create a module suite using Maven?

2018-06-05 Thread Peter Nabbefeld
Peter Am 05.06.2018 um 12:09 schrieb Peter Nabbefeld: The archetype is working, but only without "useOSGiDependencies". When adding new modules to some POM project (like the one generated by "nbm-suite-root"), usually "Allow OSGi modules as dependencies" is selected by d

Re: How to create a module suite using Maven?

2018-06-05 Thread Peter Nabbefeld
ormal" POM projects containing NB modules etc. Kind regards Peter Am 05.06.2018 um 11:24 schrieb Peter Nabbefeld: Hi Geertjan, thank You! At the beginning of the tutorial I found a little mistake: While the "sticker" says, "Requires NetBeans 8.1", there's a "Note

Re: How to create a module suite using Maven?

2018-06-05 Thread Peter Nabbefeld
enga: Tutorial: https://platform.netbeans.org/tutorials/nbm-maven-quickstart.html Gj On Tue, Jun 5, 2018 at 8:09 AM, Peter Nabbefeld wrote: Thank You, Tim! What does an application project make so special? I guess, it's not "only" the branding? BTW, can I drop it, to turn the applicati

Re: How to create a module suite using Maven?

2018-06-05 Thread Peter Nabbefeld
etc.), you can start that and it should load the dependencies (that one will have dependencies on all your other modules). You could also create a dummy one for testing purposes. -Tim On Tue, Jun 5, 2018 at 1:53 AM, Peter Nabbefeld wrote: Hello, using Maven, there's a project type for N

How to create a module suite using Maven?

2018-06-04 Thread Peter Nabbefeld
Hello, using Maven, there's a project type for NetBeans Applications, but not for a NetBeans Module Suites. So I created a POM project and added some NetBeans Modules. But I cannot start it. The POM project cannot be started with NetBeans, and the single modules aren't required (though

How to add a template file to some category?

2018-06-03 Thread Peter Nabbefeld
Hello, I'd like to add my own template to the "New File" dialog under category "Web Services". It should be available at the same time as the other templates. I've been looking around, as the result trying this in package-info.java: @TemplateRegistration(folder = "Web Services", category =

Re: How to implement a new language support?

2018-06-03 Thread Peter Nabbefeld
Hi Stephen, thank You for these explanations. For Flex, Bison etc. I found this: http://jflex.de/ (despite of the German TLD it's in English). There are links on this page to further related technologies. However, while the responses are all very interesting, none of them are really

Re: How to implement a new language support?

2018-06-01 Thread Peter Nabbefeld
’s org.antlr.v4.runtime.CharStream interface up to NetBeans’ org.netbeans.spi.lexer.LexerInput interface: https://gist.github.com/eirikbakke/51cf4c9375880acd4741 — Eirik On 6/1/18, 1:02 PM, "Peter Nabbefeld" mailto:peter.nabbef...@gmx.de><mailto:peter.nabbef...@gmx.de>> wr

How to implement a new language support?

2018-06-01 Thread Peter Nabbefeld
Hello, latest tutorial I found is at https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html - but JavaCC seems to be no longer actively supported. I'm also not sure, if this is using latest language infrastructure: Though it states "Requires NetBeans 8.1", it uses e.d.

Re: OSGi archetype problem (NETBEANS-595)

2018-05-25 Thread Peter Nabbefeld
‐‐‐ Original Message ‐‐‐ On 25 May 2018 1:23 PM, Peter Nabbefeld <peter.nabbef...@gmx.de> wrote: Hello, will it be possible to fix https://issues.apache.org/jira/browse/NETBEANS-595 before release? I added a comment so it should be straightforward for somebody knowing about the Maven m

Re: Correct place for plugin development questions

2018-05-25 Thread Peter Nabbefeld
I'll try looking up the pcpmi if the visibility will let me - The pcpmi can at least provide a list of the extensible source groups, which should lead to the right value for the second parameter to addLibraries. How do get the list of types for parameter 3 I wonder? On 2018/05/25 11:57:42, Peter

Re: Correct place for plugin development questions

2018-05-25 Thread Peter Nabbefeld
Oops, sorry for the duplicate postings - had some problems with my email client. Regards Peter Am 25.05.2018 um 12:11 schrieb Peter Nabbefeld: Hi Stephen, what does it mean, You "cannot get it working"? Which problems (behaviour or exceptions) do You have exactly? Kind reg

Re: Correct place for plugin development questions

2018-05-25 Thread Peter Nabbefeld
// Fails regardless On 2018/05/25 10:11:41, Peter Nabbefeld <peter.nabbef...@gmx.de> wrote: Hi Stephen, what does it mean, You "cannot get it working"? Which problems (behaviour or exceptions) do You have exactly? Kind regards Peter Am 25.05.2018 um 11:50 schrieb sgpa..

Re: Correct place for plugin development questions

2018-05-25 Thread Peter Nabbefeld
ibraries(new Library[]{lib}, projectRoot, ClassPath.COMPILE); // Fails regardless pcpm.addLibraries(new Library[]{lib}, sgRoot, ClassPath.COMPILE); // Fails regardless On 2018/05/25 10:11:41, Peter Nabbefeld <peter.nabbef...@gmx.de> wrote: Hi Stephen, what does it mean, You &quo

OSGi archetype problem (NETBEANS-595)

2018-05-25 Thread Peter Nabbefeld
Hello, will it be possible to fix https://issues.apache.org/jira/browse/NETBEANS-595 before release? I added a comment so it should be straightforward for somebody knowing about the Maven modules implementation. Kind regards Peter

Re: Correct place for plugin development questions

2018-05-25 Thread Peter Nabbefeld
Hi Stephen, what does it mean, You "cannot get it working"? Which problems (behaviour or exceptions) do You have exactly? Kind regards Peter Am 25.05.2018 um 11:50 schrieb sgpa...@mainscreen.com: Hi, Can someone please direct me to the correct place for asking questions regarding plugin

Re: Bugtracking API question / Mylyn usage

2018-04-04 Thread Peter Nabbefeld
I've looked into NB sources, it seems Mylyn is only used to bridge the bugzilla module in NB to the BugzillaRepositoryConnector of Eclipse, so I'll probably not need it. Regards Peter Am 04.04.2018 um 09:44 schrieb Peter Nabbefeld: Hi, while looking for some information about

Bugtracking API question / Mylyn usage

2018-04-04 Thread Peter Nabbefeld
with Mylyn? Kind regards Peter Nabbefeld - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans

Re: Exception reporting broken

2018-04-03 Thread Peter Nabbefeld
Hm, where does the plugin originate from? Is it closed source? Regards Peter Am 29.03.2018 um 09:29 schrieb Antonio: Hi, It could be. Too bad we still don't have the source code of the plugin to hack on it! We'll have to wait to fix that. Cheers, Antonio On 29/03/18 02:51, Eirik Bakke

Re: Exception reporting broken

2018-03-28 Thread Peter Nabbefeld
apache.org/jira/projects/NETBEANS/issues/NETBEANS-491 Gj On Wed, Mar 28, 2018 at 11:46 AM, Peter Nabbefeld <peter.nabbef...@gmx.de> wrote: Hello, trying to submit an exception report leads me to http://statistics.netbeans.org/analytics/detail.do?id=232241 As I'd expect JIRA on Apache web sit

Exception reporting broken

2018-03-28 Thread Peter Nabbefeld
Hello, trying to submit an exception report leads me to http://statistics.netbeans.org/analytics/detail.do?id=232241 As I'd expect JIRA on Apache web site should be used (and NetBeans BugZilla seems to be empty now), I'd see this as a broken (important) feature. My original problem is a

Re: Apache HTML/Java UI instead of ... Oracle will remove JavaFX from Oracle JDK

2018-03-12 Thread Peter Nabbefeld
Hi, as far as I can see, there's nothing about end of awt or swing support: "Oracle will continue developing Swing and AWT in Java SE 8 and Java SE 11 (18.9 LTS). This means they will be supported by Oracle through at least 2026." Kind regards Peter Am 12.03.2018 um 16:59 schrieb

Re: Apache HTML/Java UI instead of ... Oracle will remove JavaFX from Oracle JDK

2018-03-12 Thread Peter Nabbefeld
Ouch - just answered to the thread, but used the wrong article to respond, sorry. Regards P. Am 12.03.2018 um 18:12 schrieb Geertjan Wielenga: Well, when I read the blog below from Oracle's Donald Smith, in charge of all Java things, Swing isn't even mentioned, i.e., it is all about JavaFX:

Re: Apache HTML/Java UI instead of ... Oracle will remove JavaFX from Oracle JDK

2018-03-12 Thread Peter Nabbefeld
Hi, has everybody discussing here actually read the document ("Java Client Roadmap Update")? There's nothing about end of awt or swing support: "Oracle will continue developing Swing and AWT in Java SE 8 and Java SE 11 (18.9 LTS). This means they will be supported by Oracle through at

[Plugins] How to open archive files by MIME type?

2018-01-21 Thread Peter Nabbefeld
Hello, it seems impossible to open files from LibreOffice, MS Office etc. with NetBeans, as they're detected as archives, and special handling is assigned. How can I open such files using DataLoaders? Kind regards Peter -

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-07 Thread Peter Nabbefeld
Am 07.01.2018 um 11:37 schrieb Geertjan Wielenga: I’ve never used ‘ant all’. Probably best to take another look at the README and just use ‘ant’, as stated there. Not sure if that’s the same as ‘ant all’ but based on your result it probably isn’t. Gj On Sunday, January 7, 2018, Peter Nab

[NB Git] Why are there two JDK definitions?

2018-01-07 Thread Peter Nabbefeld
Hello, when I try to debug the build of incubator-netbeans, I get the following output: ant -f /home/peter/incubator-netbeans/nbbuild/nbproject/nbjdk.xml tryme-debug tryme-debug: Duplicated project name in import. Project jdk defined first in

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-07 Thread Peter Nabbefeld
ards P. Am 07.01.2018 um 08:54 schrieb Geertjan Wielenga: Just start by building it on the command line, following the standard instructions. If/when that works, do your special thing -- i.e., build NetBeans inside NetBeans. Thanks, Gj On Sun, Jan 7, 2018 at 8:50 AM, Peter Nabbefeld <pete

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-06 Thread Peter Nabbefeld
Hm, sorry, stopping validation of commits isn't obviously this easy. :-/ Am 07.01.2018 um 08:50 schrieb Peter Nabbefeld: [...] (2) run.validation=false  # only needed in case of uncommitted local changes - To unsubscribe

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-06 Thread Peter Nabbefeld
ld 1.8.0_151-8u151-b12-1~deb9u1-b12) OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode) Cheers, Antonio P.S.: I don't set any "nbjdk.bootclasspath" nor any other weird things. I also have Java 9 installed, when I want to run with Java 9 I use: ./nbbuild/netbeans/bin/netbeans --jdkhome

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Peter Nabbefeld
8 um 17:19 schrieb Jan Lahoda: Hi Peter, On Fri, Jan 5, 2018 at 3:44 PM, Peter Nabbefeld <peter.nabbef...@gmx.de> wrote: Hi, I'm getting "/home/peter/incubator-netbeans/core.network/src/org/netbean s/core/network/proxy/pac/impl/ClassFilterPacHelpers.java:21: error: package jdk.nasho

[NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Peter Nabbefeld
Hi, I'm getting "/home/peter/incubator-netbeans/core.network/src/org/netbeans/core/network/proxy/pac/impl/ClassFilterPacHelpers.java:21: error: package jdk.nashorn.api.scripting does not exist", when trying to build NetBeans from incubator repository. Value of "nbjdk.bootclasspath" is:

Re: Possible new splashscreen for NetBeans 9.0

2017-07-12 Thread Peter Nabbefeld
Hello all, I'm working with NetBeans since several years, and I do like the 3D logo. The flat design maybe modern, but it's not the NetBeans logo, and I don't like it. Just my opinion.. Kind Regards Peter Am 12.07.2017 um 13:13 schrieb Christian Lenz: It was only to let you know that VS

<    1   2