Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 102632 - Combined command line arguments does not work.
Combined command line arguments does not work.
Status: RESOLVED FIXED
Product: installer
Classification: Unclassified
Component: NBI
6.x
All All
: P3 (vote)
: 6.x
Assigned To: dlipin
issues@installer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-26 15:26 UTC by Michael Nazarov
Modified: 2007-05-04 13:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo