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'm trying to bundle a JVM for a mavenized=C2=A0netbea= ns platform project.<div><br></div><div>I've found lots of documentatio= n for configuring the ant scripts, and although there are a lot of steps it= doesn'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,"Segoe UI&= quot;,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe = UI Emoji","Segoe UI Symbol";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,"Segoe UI",Helvetica,Ar= ial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",&qu= ot;Segoe UI Symbol";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,"Sego= e UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","S= egoe UI Emoji","Segoe UI Symbol";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,"Segoe UI"= ;,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI E= moji","Segoe UI Symbol";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,"Segoe UI",Hel= vetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji&= quot;,"Segoe UI Symbol";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,"Segoe UI",Helvetica,Arial,sans-serif,"Apple C= olor Emoji","Segoe UI Emoji","Segoe UI Symbol";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,"Segoe UI"= ,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Em= oji","Segoe UI Symbol";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't see any optio= n 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 n= ot clear about how.</div></div><div><br></div><div>Any guidance would be ap= preciated.</div></div> --f403045c2d024a2ac90558def3c7--