Bundling a JVM for a mavenized project

William Winder <[email protected]> Sun, 10 Sep 2017 20:24:30 -0400
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAJYutcjSD-QEWQb4i26bK3p3YH6sfeF6AAbZzQ6xS+4g4ogDGA@mail.gmail.com>
--f403045c2d024a2ac90558def3c7
Content-Type: text/plain; charset="UTF-8"

I'm trying to bundle a JVM for a mavenized netbeans platform project.

I've found lots of documentation for configuring the ant scripts, and
although there are a lot of steps it doesn't seem very complicated to
configure:
http://wiki.netbeans.org/NBIBundledJVM
https://dzone.com/articles/including-jre-in-nbi
https://blogs.oracle.com/geertjan/installing-the-jre-via-an-applications-installer-via-windows
https://platform.netbeans.org/tutorials/nbm-nbi.html#bundling-jre

There is also a lot of detail about configuring the NBI using
nbm-maven-plugin properties here (mainly the ConfigurationLogic.java file):
http://www.mojohaus.org/nbm-maven-plugin/buildinstexample.html

But I don't see any option for configuring the value of
"nbi.bundled.jvm.file" which seems to be the missing piece. There is a
template.xml file which I'm hoping can somehow bridge the gap between the
ant and maven builds, but I'm not clear about how.

Any guidance would be appreciated.

--f403045c2d024a2ac90558def3c7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m trying to bundle a JVM for a mavenized=C2=A0netbea=
ns platform project.<div><br></div><div>I&#39;ve found lots of documentatio=
n for configuring the ant scripts, and although there are a lot of steps it=
 doesn&#39;t seem very complicated to configure:<div><a href=3D"http://wiki=
.netbeans.org/NBIBundledJVM" style=3D"box-sizing:border-box;color:rgb(3,102=
,214);outline-width:0px;font-family:-apple-system,system-ui,&quot;Segoe UI&=
quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe =
UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:14px">http://wiki.netb=
eans.org/NBIBundledJVM</a><br style=3D"box-sizing:border-box;color:rgb(36,4=
1,46);font-family:-apple-system,system-ui,&quot;Segoe UI&quot;,Helvetica,Ar=
ial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&qu=
ot;Segoe UI Symbol&quot;;font-size:14px"><a href=3D"https://dzone.com/artic=
les/including-jre-in-nbi" style=3D"box-sizing:border-box;color:rgb(3,102,21=
4);text-decoration-line:none;font-family:-apple-system,system-ui,&quot;Sego=
e UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;S=
egoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:14px">https://dzo=
ne.com/articles/including-jre-in-nbi</a><br style=3D"box-sizing:border-box;=
color:rgb(36,41,46);font-family:-apple-system,system-ui,&quot;Segoe UI&quot=
;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI E=
moji&quot;,&quot;Segoe UI Symbol&quot;;font-size:14px"><a href=3D"https://b=
logs.oracle.com/geertjan/installing-the-jre-via-an-applications-installer-v=
ia-windows" style=3D"box-sizing:border-box;color:rgb(3,102,214);text-decora=
tion-line:none;font-family:-apple-system,system-ui,&quot;Segoe UI&quot;,Hel=
vetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&=
quot;,&quot;Segoe UI Symbol&quot;;font-size:14px">https://blogs.oracle.com/=
geertjan/installing-the-jre-via-an-applications-installer-via-windows</a><b=
r style=3D"box-sizing:border-box;color:rgb(36,41,46);font-family:-apple-sys=
tem,system-ui,&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple C=
olor Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;fon=
t-size:14px"><a href=3D"https://platform.netbeans.org/tutorials/nbm-nbi.htm=
l#bundling-jre" style=3D"box-sizing:border-box;color:rgb(3,102,214);text-de=
coration-line:none;font-family:-apple-system,system-ui,&quot;Segoe UI&quot;=
,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Em=
oji&quot;,&quot;Segoe UI Symbol&quot;;font-size:14px">https://platform.netb=
eans.org/tutorials/nbm-nbi.html#bundling-jre</a><br></div><div><br></div><d=
iv>There is also a lot of detail about configuring the NBI using nbm-maven-=
plugin properties here (mainly the=C2=A0<span style=3D"color:rgb(51,51,51);=
font-family:Arial,Helvetica,Verdana;font-size:12px">ConfigurationLogic.java=
 file)</span>:</div><div><a href=3D"http://www.mojohaus.org/nbm-maven-plugi=
n/buildinstexample.html">http://www.mojohaus.org/nbm-maven-plugin/buildinst=
example.html</a><br></div><div><br></div><div>But I don&#39;t see any optio=
n for configuring the value of &quot;nbi.bundled.jvm.file&quot; which seems=
 to be the missing piece. There is a template.xml file which I&#39;m hoping=
 can somehow bridge the gap between the ant and maven builds, but I&#39;m n=
ot clear about how.</div></div><div><br></div><div>Any guidance would be ap=
preciated.</div></div>

--f403045c2d024a2ac90558def3c7--