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

Patrik Karlström <[email protected]> Thu, 22 Jan 2026 19:17:56 +0000
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <-Q5skMa5iO8YtSuhBpCAuY1nzR03ALhWYUQIuoMa5tI7-GIl_Lac_CfLtLYyXe4ahlzlEAy71nJ0hPrWTK8cMJEA7FYaskB4f4rARVdU8WQ=@trixon.se>
Den onsdag 21 januari 2026 kl. 20:16, Neil C Smith <[email protected]> =
skrev:

> On Wed, 21 Jan 2026 at 17:58, Patrik Karlstr=C3=B6m [email protected] wrot=
e:
>=20
> > Perhaps my most confusing subject so far... :)
> >=20
> > I plan to distribute a platform app within another platform app and wou=
ld like for them to share resources, primarily the "platform" dir in order =
to save space.
> >=20
> > At first I tried with a symlink on linux at it worked just fine but I w=
ant it also to work on windows.
> >=20
> > So then I tried editing nestedapp.clusters adding ../ before platform
> > It just resulted in
> > ../platform*/lib/nbexec: No such file or directory
> >=20
> > Then I found nbexec=3D`echo "$progdir"/../platform*/lib/nbexec` in the =
launcher script.
> > I guess I perhaps could patch that, but not the exe.
> >=20
> > Is it possible to do what I want?
>=20
>=20
> Can they be at the same level? Or do you need the other application
> to be in a separate subfolder?
>=20
> 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.
>=20
> Best wishes,
>=20
> Neil
>=20

I just thought it would clash somehow being on the same level so I did not =
test that.

It works perfectly with your suggestion, thank you!

/Patrik

---------------------------------------------------------------------
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