Bug 252768 - Create a PHP project from existing sources
Summary: Create a PHP project from existing sources
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: 4.0.1
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 16:29 UTC by Thomas PIERSON
Modified: 2011-02-01 14:23 UTC (History)
1 user (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 Thomas PIERSON 2010-09-29 16:29:52 UTC
Version:           4.0.1 (using KDE 4.4.5) 
OS:                Linux

Hi,

I want to migrate old PHP project with existing sources on Kdevelop, but there is no features for create a PHP project from existing sources. 

I will try to create a new project from a PHP model and I will select a directory containing old sources but I must choose an application name. After that a sub-directory is created under it with the new application name. Finally my old sources are not detected and integrated in this new project.

So, I think a special feature is needed to permit creating a new project from existing sources like in Netbeans or Eclipse IDE.

Regards,
Thomas PIERSON


Reproducible: Didn't try




OS: Linux (x86_64) release 2.6.32-5-amd64
Compiler: cc
Comment 1 Milian Wolff 2010-09-29 17:43:00 UTC
open/import project => select your PHP project's folder

done
Comment 2 Thomas PIERSON 2010-09-30 11:52:14 UTC
Ok! Thanks.

First time I tried to open/import a project, it seem to works only with a makefile. And when you select a directory, you can not click on 'terminate.
In fact, I click on 'next' and there is an option for create a genereic project. 

Sorry for the noise.

Regards,
Thomas PIERSON
Comment 3 Szczepan Hołyszewski 2011-02-01 12:53:13 UTC
What Milian Wolff states is ***NOT TRUE***. The method given by him ***DOES NOT WORK***.

After pressing "Finish", an alert is shown saying "Unable to load the project file /path/to/mydir/mydir.kdev4", and no project is created.

How do you seriously expect people to start using Kdevelop-PHP if they cannot migrate their existing work into a Kdevelop-PHP project?

Why do you refuse to acknowledge that the problem even exists?

This bug should be reopened.
Comment 4 Milian Wolff 2011-02-01 13:07:49 UTC
Szczepan Hołyszewski, did you even consider that it might be working for *everybody* except you? Have you looked at the permissions of the folder where the file is about to be created? I bet it is not writable to you.

Really, you should be nicer when communicating with developers.
Comment 5 Szczepan Hołyszewski 2011-02-01 13:27:53 UTC
> Have you looked at the permissions of the folder
> where the file is about to be created? I bet it
> is not writable to you.

How much do I win then? The folder is perfectly writable by me. Yes, it is a davfs2 mount, but no, I have no problems creating directories and files in it using Dolphin, Midnight Commander, or touch/mkdir, and no, I am not running KDevelop as a different user.
Comment 6 Milian Wolff 2011-02-01 14:23:37 UTC
then it's a bug, thus create a new report and make sure you include the steps required for me to reproduce this.