Network Share and FTP Deployment

Hello,

We're using a big Fileserver - with all web based projects on it - if more then 2 ppl using the 'Open Directory' feature - the IDE sais everytime something like "the project has changed".
Creating project from existing files (over a network shere) doesnt give us the possibility to commit active changes to the FTP automaticly.

Is there any solution for this?

Greetings
Tobias

5 comments
Comment actions Permalink

Hello Tobias,

First of all, working with non-local project files is officially not supported, since IDE relies on instant access to the files to provide reasonable performance with code analysis and assistance.
Suggested workflow in your case is to create project from existing files (over network share) and turn on 'Upload changed files automatically' option at File | Settings | Deployment | Options page.

Regards,
Kirill

0
Comment actions Permalink

Hello again,

this option is no solution at all - because i can enter only one deployment destination.
The access to (some) network mountes are very fast - so where is the problem to implement something like this?
Or is there any workaround?

Regards,
Tobias

0
Comment actions Permalink

Hello Tobian,

this option is no solution at all - because i can enter only one deployment destination


You can enter multiple mappings (e.g. /project/A -> /deploy/site/A, project/B -> /deploy/site/B, project/B/C -> /deploy/site/C). If this does not help, can you please give more details on your project setup?

The access to (some) network mountes are very fast - so where is the problem to implement something like this?


Still network is network, so it can be latent, and application may become slow or unresponsive.

Regards,
Kirill

0
Comment actions Permalink

Hello Kirill,

We have 2 Ways of developing a Project:
1st: Create a project on one of our (intern) servers - with the whole team working on this network share / files - so everyone has everytime the newest code-base.
2nd: Create a project on one of our (intern) servers - but the changed files have to get uploaded (in real time) to another FTP-Server.

Workflow:
Person 1 opens the index.php
Person 2 the style.css

both are making changes and want them to see in real-time at the FTP-Server.
But the Person 2 have to look inside the file of Person 1 - to look for class names .. and so on.

Same thing with 3 or 4 developers.

So we need Mapping like
/projects/A -> /network/projects/A
/projects/A -> ftp://server

We need (for several reasons) everytime a working copy of the Project on one of our Intern Servers.
Other IDE's can handle it (multiple persons on multiple computers at one folder) like Aptana or VS.PHP - but Aptana is sometimes very buggy and vs.php cant handle some of our biggest projects.

Regards,
Tobias

0
Comment actions Permalink

Hello Tobias,

I see, your workflow is currently not supported (in "traditional" development developers exchange files using version control server that helpes to ensure consistency - e.g. single file won't be modified by several people in the same time resulting in 'last wins' problem). Currently you can set up two servers: one for shared location (/network/projects/A) and other for FTP server and deploy your files twice. Then this may be useful once implemented: http://youtrack.jetbrains.net/issue/WI-1284.

Regards,
Kirill

Message was edited by: Kirill Safonov

0

Please sign in to leave a comment.