Re: Are you sure you want to delete the targets?
Re: Are you sure you want to delete the targets?
- Subject: Re: Are you sure you want to delete the targets?
- From: Greg Guerin <email@hidden>
- Date: Sun, 21 Jan 2007 12:58:23 -0700
Finlay Dobbie wrote:
>Except that Executables and Targets are special. I can't see how you
>would get them back.
If you delete them, you presumably don't want them back. If you think you
might, make a backup first.
If you do want them back and you have no backup, then you're in the same
position as if you deleted a source file from disk and didn't have a
backup. You have to recreate it from memory (yours, not the computer's).
If you want a concrete example of deleting a target, the conversion
procedure for a Cocoa-Java target will leave the old target in place.
After confirming that the conversion has worked, I would expect to be able
to delete the old target, because it's no longer being used and has no
purpose.
<http://lists.apple.com/archives/xcode-users/2006/Apr/msg00174.html>
<http://lists.apple.com/archives/java-dev/2006/Apr/msg00212.html>
Another example: I sometimes have more than one Executable during a
transition period of the code-base, or to perform different tasks, or to
run the app with different parameters or env-vars. So I want one
executable that runs the normal configuration, and I want others that set
up different command-line parameters or env-vars. By creating an
executable for each, I can easily choose a working configuration without
having to edit a single Executable. However, after I'm done using it,
there's no reason to keep that Executable around, so I delete it. If I
want another one later on, I just add one, configure it, and use it as long
as I want, then delete it.
A final example: I've split projects by duplicating them and then removing
the pieces no longer relevant. That includes targets and executables.
Duplicating ensures that all the settings get copied over, with no
human-induced transcription errors.
If you never have to delete a Target or Executable, then that's fine: it's
a feature you never use. But for those who do have a need for it, the
capability is there.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden