Bug 71318 - import existing project: network path not allowed (have to choose a directory)
Summary: import existing project: network path not allowed (have to choose a directory)
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: appwizard (show other bugs)
Version: 1.0.0
Platform: Compiled Sources Solaris
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 75630 108015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-27 19:46 UTC by Daniel Franke
Modified: 2009-01-22 23:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Franke 2003-12-27 19:46:06 UTC
Version:           3.0.0b2 (using KDE 3.1.4)
Installed from:    compiled sources
Compiler:          gcc version 3.2.2
OS:          SunOS (sun4u) release 5.8

I tried to import a project from a network host (sftp://user@host) and was allowed to choose the complete path in "Choose directory to import"-dialog. OK-button: "You have to choose a directory." :(

I only got ssh access to this host ... using vi again would be rather hard - I learned to love kdevelop :)

This just a problem of this dialog - or a more principle one?
Comment 1 Jens Dagerbo 2003-12-27 23:54:39 UTC
"Import" attempts to create a project in the given directory. For most (probably all) project types this won't work as the tools KDevelop fronts cannot work on remote files.

In short, KDevelop only supports local filesystem projects (or NFS, but that is not recommended).

Or do I misunderstand your report?
Comment 2 Daniel Franke 2003-12-29 02:42:20 UTC
No, I don't think you misunderstand me. I'm using kdevelop successfully and without any problems locally and with filesystems mounted via NFS. 

Here again what I tried to do - in more words:
I was granted ssh access to a host where some tools of significance used in my field of research are developed. I checked out these tools from cvs and tried to grasp the interaction of classes and files. As to expect: I failed. I am still as confused as I was before. Next idea: why not using the class browser and all these other features and goodies kdevelop provides instead of grep and less? Project -> Import -> Custom C++ Makefiles 
Comment 3 Jens Dagerbo 2003-12-29 08:13:29 UTC
Hmm.. if you have ssh (and cvs?) access to the machine with the source, why not simply copy the source to your local box (using for instance fish:/ in konqueror) and then create a project locally? 

I half think the real bug here is that the filedialog fools you into believing that remote source is supported, which it isn't for most (all?) languages.

Maybe it does already make sense for some project types (PHP?) but I don't know. Altering KDevelop to "transparently" support remote source for most project types would be a MAJOR undertaking, and one I'm personally not convinced is recommendable at this point.

Changing to LATER and hoping for some more discussion about this one.
Comment 4 Daniel Franke 2003-12-29 15:43:49 UTC
As obvious your suggestion is, it's not that easy. Additional to problems concerning copyrights and things like that, the build process is really _custom_. To get a full build on my boxes *ouh* ... this may take a while (various libraries and includes, even a tool chain I never used before). In the meantime I copied the files I'm most interested in on my local box, syncing edited files by hand. 

> I half think the real bug here is that the filedialog fools you into
> believing that remote source is supported, 
I agree with this. 

> support remote source for most project types
Why not adding a new project type(s) "Remote (C/C++/...) Project" or something similar?
The first step could be to disable anything not related to files. Then re-add the features step by step as solutions are available - without changing anything of the current Import-Project-Setup?!
Comment 5 Amilcar do Carmo Lucas 2004-01-21 15:12:50 UTC
Reopen, because the REMIND state "hides" the bug
Comment 6 Sascha Cunz 2004-02-23 10:45:28 UTC
*** Bug 75630 has been marked as a duplicate of this bug. ***
Comment 7 Jens Dagerbo 2005-01-03 04:30:13 UTC
Heh. This one is still open? Well.. it is WISH for sure!
Comment 8 Matt Rogers 2005-06-24 01:33:56 UTC
*** Bug 108015 has been marked as a duplicate of this bug. ***
Comment 9 Richard Faasen 2005-06-24 10:42:29 UTC
I reported a dup of this bug and "Amilcar do Carmo Lucas" commented there:

> This is a duplicate.
>
> And it will probably be closed as wontfix.
>
> AFAIK the line does not work:
> gcc -c sftp://blabla.com/bla.c
>
> And unless you "fix" gcc it never will

I can see the point if you use kdevelop only for c/c++ but I'm using kdevelop for Perl. We have a development server with apache and mod_perl installed on it, with identical setup as the production servers. It's not possible to do development on my own box because I use a different distribution with different versions of apache, mod_perl, etc. So it would be very handy for me to be able to develop directly on the development server. 

I think it's not a complex fix because kdevelop supports the sftp:// prefixes in the file browser, and it can open existing projects on sftp locations.

It can also be an improvement for c++ developers. Of course they have to run 'make' on the other computer then. kdevelop can always show a warning/error saying something like: "cannot compile project at remote location".
Comment 10 strozzino 2005-08-28 23:04:09 UTC
Hi, 
I've tried also with smb service but also fail.
i've solved the problem using NFS mount.
It seems to work well

regards
strozzino
Comment 11 Andreas Pakulat 2008-06-29 17:11:31 UTC
kdev4 supports remote projects - or rather the general API's do. The various implemented plugins usually don't (particularly buildtools, c++ support, grepview and so on).