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 68885 - default_userdir in app.conf
Summary: default_userdir in app.conf
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jan Chalupa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 07:30 UTC by gaucho72
Modified: 2005-11-18 12:22 UTC (History)
0 users

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 gaucho72 2005-11-17 07:30:52 UTC
Try feedreader-suite example, and "build ZIP Distribution". When 
running the generated application it should create a folder 
${HOME}/.${APPNAME}/dev (as configured in app.conf).

Result on windows is: <user.home>\Application Data\..feedreader

Default should be a single dot (.feedreader), or not?

I've tested on nb-5-0-beta1 and JDK 1.4.2_08
Comment 1 Jesse Glick 2005-11-17 19:20:54 UTC
I imagine that the line

  strcat(userdir, ".");

in apisupport/harness/windows-launcher-src/app.cpp should be removed. Not sure
what it is doing there.
Comment 2 Jan Chalupa 2005-11-18 12:07:45 UTC
I guess you're right. Fixed.

/cvs/apisupport/harness/release/launchers/app.exe,v  <--  app.exe
new revision: 1.2; previous revision: 1.1

/cvs/apisupport/harness/release/launchers/app_w.exe,v  <--  app_w.exe
new revision: 1.2; previous revision: 1.1

/cvs/apisupport/harness/windows-launcher-src/app.cpp,v  <--  app.cpp
new revision: 1.2; previous revision: 1.1
Comment 3 gaucho72 2005-11-18 12:22:26 UTC
Works for me.