Bug 51281

Summary: New file from automake manager doesn't honor "Use template" option
Product: [Applications] kdevelop Reporter: Manuel Fierlbeck <manuel.fierlbeck>
Component: Build tools: AutomakeAssignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Manuel Fierlbeck 2002-11-28 10:39:06 UTC
Version:            (using KDE KDE 3.0.9)
Installed from:    Compiled From Sources
Compiler:          gcc-2.95.3 
OS:          Linux

Create a new C++-header or source file from automake manager.Check box "Use file template". The file is created, but template isnot used; the resulting file is always empty. It doesn't matter ifthe file is created in the main source tree or in a subproject.
Comment 1 Caleb Tennis 2003-01-01 05:32:12 UTC
As a side note, this is in addfiledlg.cpp and it happens specifically when you  
have subprojects inside of subprojects.  When it attempts to make the path, it  
can't resolve it out completely because it doesn't know about what subprojects  
it's nested in.  
Comment 2 Alexander Dymo 2003-07-28 00:33:50 UTC
It seems to be no longer valid for kdevelop cvs (file creation is now handled by 
filecreate part which correctly works with templates).