Bug 103578 - No method to import entire source code trees
Summary: No method to import entire source code trees
Status: RESOLVED DUPLICATE of bug 64078
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.2.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 01:34 UTC by Aaron Williams
Modified: 2008-06-29 22:52 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 Aaron Williams 2005-04-10 01:34:08 UTC
Version:           3.2.0 (using KDE 3.4.0 Level "b" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.14-athlon-preempt

There appears to be no way to import additional C++ or header files into an existing project.  I am trying to create a new project due to problems with Kdevelop working with a Kdevelop 2 project and would like to just import all the .cpp and .h files into the new project.  I should be able to just drag and drop the files into the file selector, file tree, or file list but that does not work.  Besides that, I tried just copying the files into the src subdirectory but there appears to be no way to get the project to recognize the new files.  This seems to be a very serious limitation and I find it difficult to believe there is no simple method of importing external files.  I do not want to import the whole project since that appears to be totally broken in my case.
Comment 1 Matt Rogers 2005-04-10 02:00:20 UTC
and what type of build system are you working with? 
Comment 2 Amilcar do Carmo Lucas 2005-04-10 02:58:53 UTC
Did you read the FAQ?
Did you read the user manual?
Thousands of persons use this software every day. Do you really think that there could be a bug that would not allow you to add files ?
Comment 3 Aaron Williams 2005-04-11 23:22:24 UTC
As a matter of fact I did search the user manual and FAQ for importing 
files and could not find anything relevant.  What I did was create a new 
basic C++ project.  I do not want to import an existing directory, since 
it just uses the old existing directory.  I want to basically just be 
able to drag and drop C++ files into the project source directory.  
There appears to be no way to do this.

The reason I am trying to do this is that I had nothing but trouble 
trying to import an old KDevelop project from several years ago into 
KDevelop 3.2.  Since it wasn't a big project I decided to start over, 
which I figured would be easier.  The old project was basically some 
fairly generic command-line C++ code in a couple dozen files.  I figured 
by starting over I could add proper version control with subversion and 
a modern version of autoconf.

I finally managed to get the files "imported" but to do this I basically 
had to create a new file with the same name then copy the original file 
over it.  Otherwise I could find no way to get kdevelop to import the 
new file.

And yes, I do think there really is a bug.  Now it may be a usability or 
documentation issue, but there should be a menu option to import a 
specific file and copy it into the project or else allow me to drag and 
drop files from elsewhere into the directory tree and add them to a project.

-Aaron

Amilcar do Carmo Lucas wrote:

[bugs.kde.org quoted mail]
Comment 4 Aaron Williams 2005-04-11 23:38:11 UTC
For the build system I am running on SuSE Linux 9.2.  I created a new simple C++ project to use with subversion and autoconf.  I wanted to basically copy a number of C++ and header files from a very old project into the src subdirectory of the new project.
Comment 5 Amilcar do Carmo Lucas 2005-04-12 00:09:54 UTC
Did you read this http://www.kdevelop.org/mediawiki/index.php/FAQ#How_to_add_existing_files_to_a_project.3F

Do you still have any questions after reading it ?
Comment 6 Matt Rogers 2005-04-12 00:14:02 UTC
then this would be a thing that is missing from our autotools support if i understand you correctly.
Comment 7 Aaron Williams 2005-04-12 00:14:35 UTC
I must admit I did not see this section.  I had not thought to go into 
automake for this.

I still feel that it should just be possible to drag and drop files into 
the proper location and/or add a menu option to add existing files.

-Aaron

Amilcar do Carmo Lucas wrote:

[bugs.kde.org quoted mail]
Comment 8 Amilcar do Carmo Lucas 2005-04-12 10:48:24 UTC
No matt, AFAIK whe can import directories with a makefile.am
But I've never tested it.

Drag and drop support was removed by teatime AFAIK.

I'll change the title of this BR
Comment 9 Amilcar do Carmo Lucas 2005-04-12 11:03:02 UTC
Seams like a dupe of http://bugs.kde.org/show_bug.cgi?id=51555 and http://bugs.kde.org/show_bug.cgi?id=64078
Comment 10 Andreas Pakulat 2008-06-29 22:52:46 UTC

*** This bug has been marked as a duplicate of 64078 ***