This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102632

Summary: Combined command line arguments does not work.
Product: installer Reporter: Michael Nazarov <michaelnazarov>
Component: NBIAssignee: dlipin <dlipin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Michael Nazarov 2007-04-26 15:26:43 UTC
"installer --extract --help" command does not extract nor show help nor install
anything. Installer just prepares something then exit silently.
Comment 1 dlipin 2007-04-26 15:35:41 UTC
Actually it does extract the data to directory named "--help" as it should do.
Comment 2 Michael Nazarov 2007-04-26 15:41:09 UTC
Really, I missed somehow...
Anyway --something should be treated as argument not as parameter.
--extract --javahome <java> doesn't extract anything to --javahome directory as
I see.
Comment 3 dlipin 2007-04-26 15:51:45 UTC
I`d rather say no, it should not.
The supported launcher arguments are specified as well as their syntax.

If I really wanna to extract to "--help" directory what should I do in the case 
you are proposing? :)

--javahome arguments (with <java> parameter) is read first so the rest of the 
command results in data extracting to the current directory.
Comment 4 Michael Nazarov 2007-04-26 15:57:56 UTC
Did you ever try to use ant task name with dash first? :)

> --javahome ... is read first
Very good, how about "--extract --verbose"?

> If I really wanna to extract to "--help" directory...
Currently I want to extract to "--verbose". Help me! :)
Comment 5 dlipin 2007-04-26 16:06:05 UTC
what is the common between ant and nbi launcher?

To extract to "--verbose" directory just try
<installer> --verbose --extract --verbose
Comment 7 Michael Nazarov 2007-04-26 16:10:43 UTC
Common way to treat parameters with special prefixes - or -- or / or something
else. There are some limitations, yes.

> <installer> --verbose --extract --verbose
I hope you agree this is bit sophisticated :)
Comment 8 Kirill Sorokin 2007-04-26 16:17:53 UTC
Not really, given that the workaround is nicely described here.
Comment 9 Kirill Sorokin 2007-05-04 07:04:10 UTC
This issue is in fact an issue in the NBI engine, not the NetBeans installer.
Comment 10 dlipin 2007-05-04 13:47:41 UTC
Fixed.