• 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
Adding files to Xcode 2.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding files to Xcode 2.0


  • Subject: Adding files to Xcode 2.0
  • From: email@hidden
  • Date: Sat, 14 May 2005 21:42:04 -0500

Hello,

I'm having trouble with something that should easy. When I add a file to my Xcode project using "File->New File..." the file is never placed where I specify.

My project is based on the "J2EE Web Module" template which automatically creates a folder (not a Group) called src containing HelloWorldServlet.java. If I select "New File..." selecting the J2EE- >Servlet template and just use the defaults for both "Choose name and location" and "Choose Servlet Properties" Xcode creates the new file not in the src directory as specified in Location, but rather it creates the file within a sub-sub folder of src, the path being .../ projectName/src/projectName/servlet/newfile.java

I have tried various different combinations of options (suffix, package, etc.) trying to get Xcode to actually put the file specified by Location with no luck.

A follow on question, why can't I move the source file in the file hierarchy within Xcode? I have to go to Finder to fix my file path issues.

A finally, when using "Add to Project...", how do you specify the destination group for the "Copy items into destination group's folder..."? Files seem to get added to the top level of the project, I can't select an alternate location, and then I can't move them.

Obviously I'm missing something fundamental. I've read the file organization section in the Xcode documentation but that didn't really shed light on my problem. If anybody can explain where I'm going wrong I would appreciate it.

Thanks,
Michael
_______________________________________________
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


  • Follow-Ups:
    • Re: Adding files to Xcode 2.0
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Programmatic Internationalization of NIB files
  • Next by Date: cmath with gcc-3.3
  • Previous by thread: Re: Header files not found
  • Next by thread: Re: Adding files to Xcode 2.0
  • Index(es):
    • Date
    • Thread