Install module from command line
"Marco Peters" <[email protected]> Fri, 20 Oct 2017 15:36:56 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart message in MIME format.
------=_NextPart_000_0A55_01D349B9.4350C2E0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I'm trying to install a module via command line into my application (based
on NetBeans Platform 8.2). But unfortunately, it's not working.
I run the following command:
snap64 --nosplash --nogui --modules --install "C:\Program
Files\VITO\iCOR\sta\iCOR-landsat8-sta-1.0.0.nbm"
I only get this response:
The launcher has determined that the parent process has a console and will
reuse it for its own console output.
Closing the console will result in termination of the running program.
Use '--console suppress' to suppress console output.
Use '--console new' to create a separate console window.
Cannot understand regular expession 'C:\Program
Files\VITO\iCOR\sta\iCOR-landsat8-sta-1.0.0.nbm'
Cannot install. No match for [null].
A user of our software has a similar error on Linux:
[root@daemsd bin]# ./snap --modules --install
/opt/vito/icor/sta/iCOR-landsat8-sta-1.0.0-LINUX.nbm
Cannot install. No match for
[/opt/vito/icor/sta/iCOR-landsat8-sta-1.0.0-LINUX.nbm].
Listing the modules or updating them does work.
Is something wrong with the module or is it a bug in NetBeans?
Thanks
Marco
------=_NextPart_000_0A55_01D349B9.4350C2E0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
mso-style-link:"Code Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.CodeZchn
{mso-style-name:"Code Zchn";
mso-style-link:Code;
font-family:"Courier New";}
span.E-MailFormatvorlage20
{mso-style-type:personal-compose;
font-family:"Times New Roman",serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-family:"Times New Roman",serif'>I’m trying to =
install a module via command line into my application (based on NetBeans =
Platform 8.2). But unfortunately, it’s not =
working.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Times New Roman",serif'>I run the following =
command:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Times New =
Roman",serif'><o:p> </o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>snap64 --nosplash =
--nogui --modules --install "C:\Program =
Files\VITO\iCOR\sta\iCOR-landsat8-sta-1.0.0.nbm"<o:p></o:p></span></=
p><p class=3DMsoNormal><span style=3D'font-family:"Times New =
Roman",serif'><o:p> </o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Times New Roman",serif'>I only get this =
response:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>The launcher has =
determined that the parent process has a console and will reuse it for =
its own console output.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>Closing the console =
will result in termination of the running =
program.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>Use '--console =
suppress' to suppress console output.<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>Use '--console new' to create a separate console =
window.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Courier New"'>Cannot understand =
regular expession 'C:\Program =
Files\VITO\iCOR\sta\iCOR-landsat8-sta-1.0.0.nbm'<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>Cannot install. No match for [null].<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'><o:p> </o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Times New Roman",serif'>A user of our software has =
a similar error on Linux:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN =
style=3D'font-size:9.0pt;font-family:"Courier =
New";color:#222222'>[root@daemsd bin]# ./snap --modules --install =
/opt/vito/icor/sta/iCOR-landsat8-sta-1.0.0-LINUX.nbm<br>Cannot install. =
No match for =
[/opt/vito/icor/sta/iCOR-landsat8-sta-1.0.0-LINUX.nbm].</span><span =
style=3D'font-size:9.0pt;font-family:"Courier =
New"'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'><o:p> </o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Times New =
Roman",serif'>Listing the modules or updating them does =
work.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Times New Roman",serif'>Is something wrong with =
the module or is it a bug in NetBeans?<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Times New =
Roman",serif'><o:p> </o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Times New =
Roman",serif'>Thanks<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DDE style=3D'font-family:"Times New Roman",serif'> =
Marco<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p> </o:p></p></div></body></html>
------=_NextPart_000_0A55_01D349B9.4350C2E0--