Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding files to Xcode 2.0



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.