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 205543 - --help does not work when netbeans.user is missing
Summary: --help does not work when netbeans.user is missing
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 01:20 UTC by Masaki Katakai
Modified: 2012-01-01 15:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2011-11-25 01:20:36 UTC
"netbeans.user points to a non-existent directory." is displayed instead of help
when NetBeans user directory does not exist.

Product Version: NetBeans IDE 7.1 RC1 (Build 201111232200)

$ /tmp/mkatakai/netbeans-7.1rc1/bin/netbeans  -help
Usage: /tmp/mkatakai/netbeans-7.1rc1/bin/../platform/lib/nbexec {options} arguments

General options:
  --help                show this help 
  --jdkhome <path>      path to Java(TM) 2 SDK, Standard Edition
  -J<jvm_option>        pass <jvm_option> to JVM

  --cp:p <classpath>    prepend <classpath> to classpath
  --cp:a <classpath>    append <classpath> to classpath
netbeans.user points to a non-existent directory.
$

Once NetBeans is started - ~/.netbeans/7.1rc1 is created, it's working properly
without this message.
Comment 1 Jaroslav Tulach 2011-12-30 07:15:05 UTC
ergonomics#1fda7f41f64f
Comment 2 Quality Engineering 2012-01-01 15:57:20 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1fda7f41f64f
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #205543: We don't really need real userdir to print help