How to setup different path mapping on synced project?

Hi,

I have a project synced between two different platforms, with different project paths; when a x-debug session is started I have to update project path mapping (because it is stored in relation to other platform path).

How can I set them differently between two different operating systems and keep my project (files and settings) synced?

Thank you,

Alex

0
4 comments

You need to exclude the .idea/webServers.xml from syncing between the systems in order to let them have separate mappings.

0
Avatar
Permanently deleted user

Hi Eugene and thank you for the quick answer, but I don't have that file in .idea folder.

I have phpstorm version 2016.3.

Thanks

Alex

0

Try to exclude .idea\deployment.xml 

0
Avatar
Permanently deleted user

I've excluded .idea\deployment.xml  but the issue is still there.

I've also noticed that apparently the $PROJECT_DIR$" root is stored in workspace.xml.

So i think there's no solution for this.

Alex

0

Please sign in to leave a comment.