• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Renaming Files...or even project?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Renaming Files...or even project?


  • Subject: Renaming Files...or even project?
  • From: Timothy Carpenter <email@hidden>
  • Date: Tue, 30 Mar 2004 15:12:25 +0100

I am exploring Xcode after a pause from PB.

Is there any clean way to clone a project and/or rename files within it?
Rename does NOT work properly.

I have xpetstore project but want to use it as a basis for exploring J2EE
functionality, but not starting from scratch - that would take an age.

I made the mistake (?) of wanting to clone the project with a new name,
doing global rename of petstore to <myprojname> and to rename files using
the rename option within Xcode (i.e. Not via Finder).

I now have Xcode telling me:

EJBModule/xpetstore/services/petstore/ejb/<myproj>EJB.java:130: class
<myproj>EJB is public, should be declared in a file named <myproj>EJB.java

Urrr...

The class IS in that file but there is a duplicate entry in the class
browser for this class, one in <myproj>EJB.java, the other in
petstoreEJB.java...but, oh, it cannot find the original petstoreEJB.java
file so gives an error.

Is there some way to rebuild the database for the project. I have cleaned
all targets and this does not solve it.

Thanks in advance.
Tim
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: where to get man documentation?
  • Next by Date: Warnings during build resulting in disallowing further builds
  • Previous by thread: Re: where to get man documentation?
  • Next by thread: Warnings during build resulting in disallowing further builds
  • Index(es):
    • Date
    • Thread