You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Blaine Bergeson (bbergeson)" <bb...@micron.com> on 2018/05/08 14:11:18 UTC

Implementation Dependency using Maven

Hi,

I am trying to remove the remaining menu items from a window tab in my rcp application.  Unfortunately, I need to add an implementation dependency on the core.windows module but I can't see how to do that using maven.  If I add a runtime instead of compile dependency on the module then the code won't compile.  Any ideas?

Thx Blaine

RE: [EXT] Re: Implementation Dependency using Maven

Posted by Emilian Bold <em...@protonmail.ch>.
So, bug https://netbeans.org/bugzilla/show_bug.cgi?id=246527 is still relevant even today.

Would you be comfortable making a PR for it or at least move it to Apache http://issues.apache.org/jira/browse/NETBEANS ?

If you figure out nbm-maven-plugin module.xml, that solution should still work.

Another option I approve is to just start keeping a small in-house fork of NetBeans Platform with your preferred patches. It seems like something big, but you'll find you spend more time finding these workarounds; a patch is a much more cleaner fix too. We have great APIs but the secret is in patching the source once in a while.

SP: https://netbeans.apache.org/help/commercial-support.html

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 10 May 2018 1:20 AM, Blaine Bergeson (bbergeson) <bb...@micron.com> wrote:

> I was hoping to use Geertjan's solution: https://blogs.oracle.com/geertjan/removing-menu-items-from-window-tabs
> 
> If there is another way to do it I am all ears.
> 
> Blaine
> 
> -----Original Message-----
> 
> From: Emilian Bold [mailto:emilian.bold@protonmail.ch]
> 
> Sent: Wednesday, May 9, 2018 3:53 PM
> 
> To: Blaine Bergeson (bbergeson) bbergeson@micron.com
> 
> Cc: users@netbeans.incubator.apache.org
> 
> Subject: [EXT] Re: Implementation Dependency using Maven
> 
> Do you really need a dependency to hide some action in the layer?
> 
> Not sure about Maven impl dependency, the documentation mentions module.xml.
> 
> --emi
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> 
> On 8 May 2018 5:11 PM, Blaine Bergeson (bbergeson) bbergeson@micron.com wrote:
> 
> > Hi,
> > 
> > I am trying to remove the remaining menu items from a window tab in my rcp application.  Unfortunately, I need to add an implementation dependency on the core.windows module but I can’t see how to do that using maven.  If I add a runtime instead of compile dependency on the module then the code won’t compile.  Any ideas?
> > 
> > Thx Blaine
> 
> --
> 
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> 
> For additional commands, e-mail: users-help@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


RE: [EXT] Re: Implementation Dependency using Maven

Posted by "Blaine Bergeson (bbergeson)" <bb...@micron.com>.
I was hoping to use Geertjan's solution:  https://blogs.oracle.com/geertjan/removing-menu-items-from-window-tabs

If there is another way to do it I am all ears.

Blaine

-----Original Message-----
From: Emilian Bold [mailto:emilian.bold@protonmail.ch] 
Sent: Wednesday, May 9, 2018 3:53 PM
To: Blaine Bergeson (bbergeson) <bb...@micron.com>
Cc: users@netbeans.incubator.apache.org
Subject: [EXT] Re: Implementation Dependency using Maven

Do you really need a dependency to hide some action in the layer?

Not sure about Maven impl dependency, the documentation mentions module.xml.

--emi


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 8 May 2018 5:11 PM, Blaine Bergeson (bbergeson) <bb...@micron.com> wrote:

> Hi,
> 
>  
> 
> I am trying to remove the remaining menu items from a window tab in my rcp application.  Unfortunately, I need to add an implementation dependency on the core.windows module but I can’t see how to do that using maven.  If I add a runtime instead of compile dependency on the module then the code won’t compile.  Any ideas?
> 
>  
> 
> Thx Blaine



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Implementation Dependency using Maven

Posted by Emilian Bold <em...@protonmail.ch>.
Do you really need a dependency to hide some action in the layer?

Not sure about Maven impl dependency, the documentation mentions module.xml.

--emi


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 8 May 2018 5:11 PM, Blaine Bergeson (bbergeson) <bb...@micron.com> wrote:

> Hi,
> 
>  
> 
> I am trying to remove the remaining menu items from a window tab in my rcp application.  Unfortunately, I need to add an implementation dependency on the core.windows module but I can’t see how to do that using maven.  If I add a runtime instead of compile dependency on the module then the code won’t compile.  Any ideas?
> 
>  
> 
> Thx Blaine



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists