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 64570 - [50cat] branding application: default_userdir
Summary: [50cat] branding application: default_userdir
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 11434
Blocks:
  Show dependency tree
 
Reported: 2005-09-16 20:00 UTC by lordy
Modified: 2005-09-16 20:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2005-09-16 20:00:48 UTC
[ BUILD # : 200509151800 ]
[ JDK VERSION : 1.5.0_02 ]

Try feedreader-suite example, and "build ZIP Distribution". When 
running the generated application it creates a folder ${HOME}/$
{APPNAME}/dev.

I think should create .{APPNAME}/dev that User don't see the 
folder. For a better Mac like support it should add this:
etc/feedreader.conf:
default_mac_userdir="${HOME}/Library/Application Support/$
{APPNAME}/dev"

replace in bin/feedreader:
userdir=${default_userdir}

with:
case "`uname`" in
    Darwin*)
        userdir=${default_mac_userdir}
        ;;
    *)
        userdir=${default_userdir}
        ;;
esac

This should be default for all application brandings.
Comment 1 Jesse Glick 2005-09-16 20:52:25 UTC
Good points. I will change the default generic Unix userdir to be ~/.app/dev and
the default Mac userdir to be ~/Library/Application Support/app/dev as you
recommend. (Can only test on Linux but it seems to be fine there.)

committed   * Up-To-Date  1.3         harness/release/etc/app.conf
committed   * Up-To-Date  1.2         harness/release/launchers/app.sh