You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by George Troulis <ge...@gmail.com> on 2018/07/19 19:51:07 UTC

[ module ] [ nbm ] [ jar ] Packaging external jar libraries into nbm for distribution

I am developing a module for NetBeans IDE 8.2, and I am using the external
JFreeChart API in my module. I have set up the IDE to include the necessary
library jar files as “Wrapped Libraries,” and the module works well.



When I package the module into an NBM plugin file, I wish to package those
external jar libraries as well, such that I only need to distribute that
single NBM file.


What is the best way to do this? Thanks in advance

Re: [ module ] [ nbm ] [ jar ] Packaging external jar libraries into nbm for distribution

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
When you use Wrapped Libraries, those JARs should automatically be wrapped
into the NBM.

Also get leanpub.com/nbp4beginners if you don’t have it yet.

Gj



On Thursday, July 19, 2018, George Troulis <ge...@gmail.com> wrote:

> I am developing a module for NetBeans IDE 8.2, and I am using the external
> JFreeChart API in my module. I have set up the IDE to include the necessary
> library jar files as “Wrapped Libraries,” and the module works well.
>
>
>
> When I package the module into an NBM plugin file, I wish to package those
> external jar libraries as well, such that I only need to distribute that
> single NBM file.
>
>
> What is the best way to do this? Thanks in advance
>

Re: [ module ] [ nbm ] [ jar ] Packaging external jar libraries into nbm for distribution

Posted by Attila Kelemen <at...@gmail.com>.
It depends on what build you are using. I'm using Radim's Gradle plugin
<https://github.com/radimk/gradle-nbm-plugin>, and it works fine: You
should add NB modules to providedCompile and modules wrapped into the nbm
to simply compile and then just run the "nbm" task.

bye,
Attila Kelemen

George Troulis <ge...@gmail.com> ezt írta (időpont: 2018. júl. 20.,
P, 10:51):

> I am developing a module for NetBeans IDE 8.2, and I am using the external
> JFreeChart API in my module. I have set up the IDE to include the necessary
> library jar files as “Wrapped Libraries,” and the module works well.
>
>
>
> When I package the module into an NBM plugin file, I wish to package those
> external jar libraries as well, such that I only need to distribute that
> single NBM file.
>
>
> What is the best way to do this? Thanks in advance
>