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 161312 - Several issues with collect usage
Summary: Several issues with collect usage
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: D-Light (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Andrew Krasny
URL:
Keywords:
: 161228 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-26 22:00 UTC by Andrew Krasny
Modified: 2013-05-17 09:58 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 Andrew Krasny 2009-03-26 22:00:38 UTC
There are several issues that should be fixed:

1. on Linux experiments should be stored in /tmp instead of /var/tmp (request from soldatov@netbeans.org)
2. when external terminal is used it's title should not contain 'collect' in it
3. experiment directories are not deleted on crash ... 
4. (relates to 3.) if there are problems with preparing a directory for an experiment, dlight should create another one 
   instead of failing
5. "ER_PRINT SAYS" should be removed from logs
6. "Creating experiment... " as well as other collect/er_print - related messages should be hidden from user (perhaps, 
   controlled with some flag... )
7. (?) Should it act specifically on 'unsupported' platforms (when collect complains about it)? Should we ever use 
   collect on such platforms?
Comment 1 Andrew Krasny 2009-03-26 23:23:09 UTC
5) fixed with http://hg.netbeans.org/cnd-main/rev/918520d3ef45
Comment 2 Andrew Krasny 2009-03-26 23:24:00 UTC
5) fixed with http://hg.netbeans.org/cnd-main/rev/37becff7609e
Comment 3 Alexey Vladykin 2009-03-27 09:25:38 UTC
*** Issue 161228 has been marked as a duplicate of this issue. ***
Comment 4 Vladimir Voskresensky 2009-03-27 11:23:06 UTC
Agree with 2-5
I don't agree with 1)
Let's use System.getProperty("java.io.tmpdir"),
because on my Linux (Ubuntu 8.10 x64) /tmp is mapped to memory as on Solaris
Comment 5 Andrew Krasny 2009-04-16 20:18:13 UTC
2) fixed with http://hg.netbeans.org/cnd-main/rev/ba25d2a9e85c
Comment 6 Andrew Krasny 2009-04-27 12:20:42 UTC
Item 6. With fix http://hg.netbeans.org/cnd-main/rev/83dec29be72e I just disregard any output from collect (with -O
/dev/null)
Comment 7 Quality Engineering 2009-04-28 18:56:01 UTC
Integrated into 'main-golden', will be available in build *200904281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/83dec29be72e
User: Andrew Krasny <akrasny@netbeans.org>
Log: #161312: Several issues with collect usage. Fix for item 6
Comment 8 Maria Tishkova 2013-05-17 09:58:16 UTC
component is removed from NB