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 231031 - Cache dir is set to work dir
Summary: Cache dir is set to work dir
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.4
Hardware: PC Unix
: P1 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-10 12:42 UTC by Petr Hejl
Modified: 2013-06-12 02:05 UTC (History)
5 users (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 Petr Hejl 2013-06-10 12:42:44 UTC
Product Version: NetBeans IDE Dev (Build 201306082301)
Updates: Updates available
Java: 1.7.0_21; OpenJDK 64-Bit Server VM 23.7-b01
Runtime: OpenJDK Runtime Environment 1.7.0_21-b02
System: Linux version 3.9.5 running on amd64; UTF-8; en_US (nb)
User directory: /home/sickboy/.netbeans/netbeans-webx
Cache directory: /home/sickboy/bin

Executed with --userdir, but without --cachedir. I would expect cache dir would be the default. Definitely not the current directory. Now my home dir is full of trash.
Comment 1 Vladimir Voskresensky 2013-06-10 13:05:51 UTC
Could someone evaluate it, please.
It breaks our tests... we are so close to Beta.
Comment 2 Libor Fischmeistr 2013-06-11 06:03:18 UTC
I'm going to look at it.
Comment 3 Libor Fischmeistr 2013-06-11 07:10:36 UTC
Thanks for the report. This bug is caused by this my fix http://hg.netbeans.org/main-golden/rev/053065e01427 and is related only to linux launcher.
Comment 4 soldatov 2013-06-11 07:49:57 UTC
(In reply to comment #3)
> Thanks for the report. This bug is caused by this my fix
> http://hg.netbeans.org/main-golden/rev/053065e01427 and is related only to
> linux launcher.
It is not a true. I see this problem on my Solaris machine.
Comment 5 Libor Fischmeistr 2013-06-11 08:03:16 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Thanks for the report. This bug is caused by this my fix
> > http://hg.netbeans.org/main-golden/rev/053065e01427 and is related only to
> > linux launcher.
> It is not a true. I see this problem on my Solaris machine.

You are right. I wrote linux, but that launcher is for all Unix systems.
Comment 6 Libor Fischmeistr 2013-06-11 08:14:08 UTC
Fixed in http://hg.netbeans.org/core-main/rev/079e9d8d4972

I would ask you all to verify this fix. Especially on Solaris and MacOS

Thanks in advance
Comment 7 Quality Engineering 2013-06-12 02:05:28 UTC
Integrated into 'main-golden', will be available in build *201306112301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/079e9d8d4972
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #231031: Cache dir is set to work dir