Re: Re: how can I package my module suite?
Never tried myself without wrappers, but should be possible.
From harness/README:
.........
If your module bundles one or more third-party libraries, declare them:
<class-path-extension>
<!-- Deployed path, relative to dir containing module: -->
<runtime-relative-path>ext/foolib.jar</runtime-relative-path>
<!-- Path of library in your own sources, relative to project
basedir: -->
<binary-origin>external/foolib.jar</binary-origin>
</class-path-extension>
You still need to separately copy the JAR to the output directory (see
below).
This just declares that Class-Path in your module's manifest should be
defined,
and adds a compile-time classpath entry for your module and modules
depending on
it.
If your bundled library is built from sources, just use
<class-path-extension>
<runtime-relative-path>ext/foolib.jar</runtime-relative-path>
</class-path-extension>
.........
-----
Gustavo.
Sophie BARDET wrote:
>Gustavo Santucho <gustavosantucho <at> gmail.com> writes:
>
>
>
>> > Does it exist a way to package this kind of project in a single nbm file?
>>
>>No, it doesn't.
>>See
>>
http://openide.netbeans.org/servlets/BrowseList?list=dev&by=thread&from=427974
>>
>>-----
>>Gustavo.
>>
>>
>>
>>
>
>Thank you for your reply.
>But can I make a module project with external jar libraries without creating
>library wrappers?
>
>Regards,
>Sophie.
>
>
>
>