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 193215 - run command should support spaces paths and other problems
Summary: run command should support spaces paths and other problems
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC All
: P2 normal (vote)
Assignee: igor_nikiforov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 10:17 UTC by igor_nikiforov
Modified: 2010-12-23 10:50 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 igor_nikiforov 2010-12-10 10:17:50 UTC
Run command field doesn't support paths with spaces currently. This should be fixed.
Comment 1 Thomas Preisler 2010-12-10 17:23:27 UTC
I can't find a way for make to accept spaces in targets so it is going to very difficult to support this. It is a limitation in make and has been a limitation in our projects since the beginning and is why the space is not allowed in the text field.
Comment 2 Vladimir Voskresensky 2010-12-10 17:26:32 UTC
it is about "Run" command which should not belong to run through any makefiles
Comment 3 Thomas Preisler 2010-12-10 17:53:57 UTC
Ahh, now I understand. And I agree. It should accept spaces.
Comment 4 Thomas Preisler 2010-12-10 18:04:05 UTC
There are more problems:

- type a command that doesn't exists (/bin/xxx) and you get no feedback that it wasn't executed. 

- the Run Command property should have a default: right-click on Run Command and Restore Default Value should be enabled. Other similar properties have defaults.
Comment 5 Thomas Preisler 2010-12-10 18:12:38 UTC
IIt does correctly check for non-existing binary. Sorry....
Comment 6 Thomas Preisler 2010-12-10 18:46:01 UTC
Fixed Restore Default:

changeset:   184617:18cdb4f0ef8f
tag:         tip
user:        Thomas Preisler <thp@netbeans.org>
date:        Fri Dec 10 10:36:27 2010 -0800
summary:     #193215 - run command should support spaces paths and other problems

Igor, you should consider using StringNodeProp instead of PropertySuppor. It has many of these features already built in.
Comment 7 Quality Engineering 2010-12-11 06:34:56 UTC
Integrated into 'main-golden', will be available in build *201012110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/18cdb4f0ef8f
User: Thomas Preisler <thp@netbeans.org>
Log: #193215 - run command should support spaces paths and other problems
Comment 8 Alexander Pepin 2010-12-22 17:07:12 UTC
This is a critical issue for Windows as "C:\Documents and Settings\..." is a default path to the project directory.
Comment 9 igor_nikiforov 2010-12-23 10:50:37 UTC
The issue with spaces is resolved here:
  http://hg.netbeans.org/cnd-main/rev/4518d9898b0f

Other changes are already implemented by Thomas.