« Return to Thread: Create Single JAR file fron a Module

Re: Create Single JAR file from a Module

by Oliver Rettig :: Rate this Message:

Reply to Author | View in Thread

Hallo,

I had a simlar problem. And I descided to create normal java SE projects for
the APIs I also want to use in the Matlab environment. Then I create Library-
wrapper modules for them to use them in my netbeans app. This works well.  
There is a nice blog from Geertjan which describes how to change the build
scripts etc. to manage that after changes all is up to date: The wrapper
module links to the jar in the se project etc.
I don not remember the link the blog but I think you can find it.

best regards
Oliver

> Ok I beleive it is not possible then, what I did right now was to create a
> new Java Project and then included the built JARs that I need from my
> NetBeans Platform application into that project, this way if I make any
> change in the Platform application I will just need to build that Platform
> application and then go to my Java project and recompile with the pre-jar
> options to get a single JAR file with all of the classes and objects I
> need. Its a bit messy but this way I can have my API separated from my
> platform project but include the necessary module classes that I need for
> my API.
>
>
>
> Thanks anyway, hope this helps someone else.

 « Return to Thread: Create Single JAR file fron a Module