Oliver Rettig wrote:
> 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.
>>
>>
I'm trying to solve this stuff in the opposite way: having a JSE project
which delivers a JAR, plus an already packed NBM. At the moment I'm
playing with a specific Maven plugin, but I know for sure there's an Ant
extension written by Tim Boudreau... I seem to recall he blogged about
that quite a few time ago. Tim?
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@... - mobile: +39 348.150.6941