Bug 118180 - add project directory to run options
Summary: add project directory to run options
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 14:16 UTC by Luser
Modified: 2008-06-30 20:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luser 2005-12-12 14:16:31 UTC
Version:           3.3 (using KDE 3.5.0 Level "a" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.18-smp

Add to Project Options/Run Options/Directory: 'Run from the project directory'.

It would be useful to have a non-absolute-hard-coded directory independent from configuration (build) and binary (install) directories, for example .kdevelop path.
Comment 1 Amilcar do Carmo Lucas 2005-12-12 14:22:01 UTC
Well you have the "custom directory" why don't you use that ??
Comment 2 Luser 2005-12-12 15:31:24 UTC
Sorry, my fault, custom directory never worked for me with relative paths so I wrongly assumed it only allows absolute paths.

Then it is a bug:

Setting a relative path as custom directory in the UI dialog is stored correctly in .kdevelop, but target program working directory is not set. Also opening UI dialog again does not restore directory (field is blank).

However, editing .kdevelop by hand, setting 'customdirectory' to 'path' and opening and running with kdevelop does work (say 'path' in ('data', 'data/', './data', './data/').
Comment 3 Tranquillity 2006-03-31 16:00:17 UTC
Hello, this seems similar to bug #70800
Comment 4 Jens Dagerbo 2006-04-04 16:14:27 UTC
Not sure if it's a dupe, but apparently it's a bug. 

Changing severity.
Comment 5 Jens Dagerbo 2007-01-01 15:48:20 UTC
I'm changing my mind on this one..

'Run from the BUILD directory' and 'Run from the directory where the executable is' were designed to be relative paths, inside the project directory tree.
'Custom directory' was designed to be an absolute path.

Requests for extensions to this behaviour are wishes, not bugs.
Comment 6 Andreas Pakulat 2008-06-30 20:14:06 UTC
its a plain edit field nowadays so this isn't applicable anymore.