Re: Packaging Netbeans on Gentoo

"William L. Thomson Jr." <[email protected]> Fri, 24 Nov 2017 19:58:48 -0500
Newsgroups gmane.comp.java.netbeans.devel
Organization Obsidian-Studios, Inc.
Message-ID <[email protected]>
--Sig_/fU.LIfw43mbHxEfuZR8wSl_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 24 Nov 2017 19:39:36 -0500
"William L. Thomson Jr." <[email protected]> wrote:

> On Sat, 25 Nov 2017 02:11:35 +0200
> Emilian Bold <[email protected]> wrote:

> > TopLogging has these lines
> >=20
> >         String buildNumber =3D System.getProperty
> > ("netbeans.buildnumber"); // NOI18N
> >         String currentVersion =3D
> > NbBundle.getMessage(TopLogging.class, "currentVersion", buildNumber
> > );
> >=20
> > where it calls NbBundle expecting to find the `currentVersion` key
> > in ./core.startup/src/org/netbeans/core/startup/Bundle.properties =20
>=20
> Odd, I have that packaged but something must be up with the Bundle
> generation. I am not 100% there, but new to reflection. I thought I
> may need a CLI for such. It ended up being just a compiler
> flag/option. Though I may need to do more there.
>=20
> To process Bundle.properties and get a Bundle.java/.class I add the
> following to compile.
> -processor org.netbeans.modules.openide.util.NbBundleProcessor

I feel like I am missing an argument or something
currentVersion=3DNetBeans Platform Dev (Build {0})
https://github.com/apache/incubator-netbeans/blob/master/core.startup/src/o=
rg/netbeans/core/startup/Bundle.properties#L29

Seems like that variable {0} should be processed by something. Maybe
that is why its being excluded from the generated Bundle.class. I can
easily sed that to some value. Unless I should be passing something to
NbBundleProcessor, like some arguments.

--=20
William L. Thomson Jr.

--Sig_/fU.LIfw43mbHxEfuZR8wSl_
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTEeldqZjmVut8bVHJNcbKkg6ozUAUCWhjASAAKCRBNcbKkg6oz
UHntAKCLD0bi/4DFWNCT3J8QgcHpB7lcIACeOfvLuJfybx4VEhNn73aVRKsw0Lw=
=KwO6
-----END PGP SIGNATURE-----

--Sig_/fU.LIfw43mbHxEfuZR8wSl_--