Re: How to rename a component in Xcode?
Re: How to rename a component in Xcode?
- Subject: Re: How to rename a component in Xcode?
- From: Mike Schrag <email@hidden>
- Date: Sat, 22 Jul 2006 22:27:18 -0400
But if you have referenced the compoennt by name through your
project, you will need to manually change those references, correct?
With Eclipse/WOLips, I would recommend that when you call
pageWithName, use pageWithName(YourComponent.class.getName()) vs
pageWithName("YourComponent"). The cool thing with this is that
Eclipse can refactor your component names properly. Currently if you
have String references in your components, you will need to manually
change those (though I'm probably going to work on a refactoring
cotribution for this one at eventually).
ms
On Jul 22, 2006, at 9:54 PM, Art Isbell wrote:
On Jul 22, 2006, at 3:32 PM, email@hidden wrote:
I want to change the name of a page component, and it looks like
the only way to do this is to find each use of the old name and
rename it manually. Is that true, or am I missing some magic
feature?
You can change the name of any Xcode project file or file package
by selecting its entry in the Groups & Files listing, clicking the
File > Rename menu, and then entering the new file name. When you
change a component name, you'll also need to change the name of the
component's java and api files. Then you should "build clean" the
project to delete the old component from the build products prior
to rebuilding with the new component name.
See, Xcode isn't so bad :-)
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden