Changes in project unwantingly deployed also to other project
Hi,
I have project A and B and Folder C. Folder C contains classes I use in A and B and therefore C is included in Project A and B.
Problem is that when I upload files in C in Project B, they are also uploaded in Project A. A und B are deployed to completely different servers, and the server config A only shows in Project A, same to B.
C is also shared in other projects, but in these other projects this does not happen.
I checked in the .idea folders, but I can't find where the connection comes from.
请先登录再写评论。
Could you please tell a little bit more about your setup?
How exactly C is included both in A and B, with any symlinks or something?
Do I understand it correctly that you have both projects opened at the same time (a new window or attached?) and when upload is triggered in B, files are uploaded automatically in A?
Thanks!
Hi,
I include C in both projects by clicking 'Open' and then choose 'Attach'.
"Do I understand it correctly that you have both projects opened at the same time (a new window or attached?) and when upload is triggered in B, files are uploaded automatically in A?"
Correct.
Please clarify whether you have one
A + Cwindow and oneB + Cwindow or oneA + B + Cwindow? I suppose it's the first option, but just to make it sure.Unless I am missing something, this does not explain how C files are being uploaded by A and B deployment configurations. If you just attach C to another project, you'll see it in the Project tool window, but deployment configurations won't have any effect on it unless C is somehow put inside the project.
Maybe you can record a brief screencast displaying your issue?
Thanks for answering. Before I do the screencast: I include C in the mappings of the FTP settings.
Oh, OK, thank you.
Sorry for being insistent, but could you please answer the first question too?
Sorry, missed that. A+C and B+C
How exactly are you uploading C project? Literally: right click this, select that, etc... Or have you an auto-deployment enabled?
Please also attach a screenshot of your FTP mappings for B+C project.
Hi,
thanks for helping:
Auto Deployment.
I made a video, hope that helps.
https://1drv.ms/v/s!An8DmI2d7yYBlcAQURdbaKbQVJb3dA?e=thY2Ap
Thank you for your descriptive video! I tried to replicate your setup, but the bug just isn't there for me: https://recordit.co/86c1QzF5Vc
A couple of questions:
It makes sense to backup both .idea folders (just to keep it for the history) and try item 2 if you haven't tried it yet.
Only now managed to try. I deleted .idea in one project and created the Deployment a new. Still the same problem ...
When I switch off Automatic Upload in both(!) projects, I seem to be fine.