Install module from command line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Install module from command line

marpet

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

 

Reply | Threaded
Open this post in threaded view
|

Re: Install module from command line

Matthias Bläsing
Hey,

Am Freitag, den 20.10.2017, 15:36 +0200 schrieb Marco Peters:
> 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"

snap64 has nothing to do with netbeans. The netbeans launcher is called
 netbeans and is located in the $netbeans/bin folder.

I'll risk a guess: You are running ubunutu? Then read about https://sna
pcraft.io/.

Greetings

Matthias
Reply | Threaded
Open this post in threaded view
|

Re: Install module from command line

geertjan.wielenga@oracle.com

snap64 (http://step.esa.int/main/download/) is ESA’s platform on top of NetBeans.




Geertjan Wielenga | Principal Product Manager
Phone: +31620320056 | 
Oracle Developer Tools

ORACLE Netherlands | Hertogswetering 163-167 | 3543 AS Utrecht | Netherlands


Oracle is committed to developing practices and products that help protect the environment

On 20 Oct 2017, at 18:49, Matthias Bläsing <[hidden email]> wrote:

Hey,

Am Freitag, den 20.10.2017, 15:36 +0200 schrieb Marco Peters:
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"

snap64 has nothing to do with netbeans. The netbeans launcher is called
netbeans and is located in the $netbeans/bin folder.

I'll risk a guess: You are running ubunutu? Then read about https://sna
pcraft.io/.

Greetings

Matthias