Use the "Run" button on the toolbar for a specific maven project
Panayotis Katsaloulis <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAEYTe9gBgnaS+O_1wGa_FRux1qRZKXbGvjBeezuxXUjBm_qeDg@mail.gmail.com> |
Hello all I am trying to create e plugin for a specific type of maven jar project. In this project "Run" is customizable in a way that Netbeans nb-actions.xml does not suffice. Ideally I'd like to have a way to "capture" this specific action and "override" it with my own actions, like for example add a specific profile to the currently selected profiles -- or in any other way possible to let me call my own java code, instead of the default one. I was even considering using another package format instead of "jar", if this makes things easier, since only "jar" format "enables" the "Run" button (although I'd prefer to stick to the "jar" package). Taking into account that the "war" project also supports "Run", and can really do something completely irrelevant, I believe this is possible, but I don't know how. Can you direct me to some information on how to accomplish this? Thanks in advance. -- Panayotis Katsaloulis