Re: [platform] Sharing "platform" between two platform apps

Neil C Smith <[email protected]> Wed, 21 Jan 2026 19:15:17 +0000
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <CAMYaZEs0tX+VB-Fu5GuoT+QT=72ft=5X+bSno2WSsf1dQhKfnQ@mail.gmail.com>
On Wed, 21 Jan 2026 at 17:58, Patrik Karlstr=C3=B6m <[email protected]> wrot=
e:
>
> Perhaps my most confusing subject so far... :)
>
> I plan to distribute a platform app within another platform app and would=
 like for them to share resources, primarily the "platform" dir in order to=
 save space.
>
> At first I tried with a symlink on linux at it worked just fine but I wan=
t it also to work on windows.
>
> So then I tried editing nestedapp.clusters adding ../ before platform
> It just resulted in
> ../platform*/lib/nbexec: No such file or directory
>
> Then I found nbexec=3D`echo "$progdir"/../platform*/lib/nbexec` in the la=
uncher script.
> I guess I perhaps could patch that, but not the exe.
>
> Is it possible to do what I want?

Can they be at the same level?  Or do you need the other application
to be in a separate subfolder?

I used to ship a platform application that had two parts, with
separate launchers in bin, separate cluster and conf files in etc, and
different cluster sets for each.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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