Bug 108268

Summary: Adding files from subdirectory to project fails
Product: [Applications] kdevelop Reporter: Felix <junkmail.hoefling>
Component: Build tools: Custom MakefilesAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.2.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Felix 2005-06-28 14:57:25 UTC
Version:           3.2.1 (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs

I've imported some files from a subdirectory into a custom project. In the "Groups" tab as well as in the "File tree" tab these files are recognised as project files. However, right mouse click on the files opens a menu with 
 add to project 
The filename is just missing! Selecting this entry invokes cvs with 
cvs -f add '.' 2>&1 
which of course crashes. 
(However, the commands in the subdirectory of CVS Service work correctly.) 
For me, the only way to add another file from the subdir to the project seems to be editing the *.kdevelop.filelist... 

In order be understood right: If I select a file from the top level directory, i.e. where the *.kdevelop.* project files are, I can add this file to the project. Right mouse click yields a menu entry "add 'filename' to the project" (I'm not sure about the exact English version) and everything is fine. 

This bug may be related to bug #102706, however my *.kdevelop.filelist has relative paths.
Comment 1 Felix 2005-06-28 15:14:40 UTC
This bug seems to be another version of bug #98852. However, release 3.2.1 hasn't seen the patch proposed there.
Comment 2 Alexander Neundorf 2005-11-24 19:43:46 UTC
Fixed in svn, relative and absolute paths were not handled correctly.
http://lists.kde.org/?l=kde-commits&m=113285732705490&w=2

Alex