Re: Maybe OT: Xcode, strange behaviour
Re: Maybe OT: Xcode, strange behaviour
- Subject: Re: Maybe OT: Xcode, strange behaviour
- From: Philipp Ringli <email@hidden>
- Date: Fri, 25 Feb 2005 17:01:57 +0100
Thanks for the responses!
I can reproduce this issue every time:
Steps to repro:
1. Make a new empty Project.
2. Add a group folder named "Classes" to the project, and select a
physical directory for it on your machine (create a new one if nec.)
3. Add a new Empty File to the Project by right-clicking on "Classes".
Name it "Test.as". (actionscript file, dunno if it happens with other
extensions as well)
This should save "Test.as" to the Classes directory on your machine.
3a. Add some text to the file. (just for distinction purposes) and save
it.
4. Rename "Test.as" to "Test_bu.as".
5. Copy the contents of "Test_bu.as".
6. Create a new file (see Step 3) and name it Test.as.
Result:
You don't even need the clipboard contents, since the new "Test.as" has
the code from the old one!
Thing is... if you edit the new one, "Test_bu.as" also changes (see it
becoming gray in the g&f bar). It is as if they're linked.
What's this called? A bug?
Definitely *not* intuitive and probably rather dangerous.
Cheers,
Phil
On 24.02.2005, at 01:45, Andrew White wrote:
I've seen some similar wierd behaviours, but haven't been able to
reproduce them:
* Changing the path on some header files lost them for compile
purposes until I removed them and re-added them, even though the
editor could find them.
* Restoring some previously deleted files from CVS caused the files in
the editor to actually point to different files on disk.
eg:
Rename A.m to B.m in XCode 1.5 IDE.
Restore A.m from CVS.
Add A.m to project.
File called A.m in IDE shows contents of B.m. Changing "A.m" actually
changes B.m! A.m on disk is unchanged.
Good thing I'd already backed up B.m, so could easily restore it from
CVS.
-- Andrew White
-----------------------------------------------------------------------
---
This email and any attachments are confidential. They may contain
legally
privileged information or copyright material. You should not read,
copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete
both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or
unauthorised
amendment. This notice should not be removed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden