Re: Moving projects & files back and forth bewteen two Macs
Re: Moving projects & files back and forth bewteen two Macs
- Subject: Re: Moving projects & files back and forth bewteen two Macs
- From: Jens Miltner <email@hidden>
- Date: Sun, 18 Jan 2004 21:30:26 +0100
Am 18.01.2004 um 18:01 schrieb Jean-Frangois Brouillet:
I'm encountering a very annoying problem with my Xcode projects.
I'm building Java projects out of the following directory structure
~/Projects/com/* for the source files, that are used by many projects
~/Projects/ProjXXX/ for each of the individual Project that access
source files in the com/* hierarchy.
I move both the sources and the project(s) between my main machine
and my laptop twice a week or so, and each time, Xcode LOSES the
"entry path" of the external files, meaning tat I have to first
delete the references, then re-add the source tree, and then, one
by one, tell Xcode which file belongs to which target!
The reason seems to be that Xcode stores the access path as absolute
path rather than project relative path. Anyway to modify this?
(For some reason, my "user name" is not the same on both machines
so the absolute path look different)
You can set the path reference style in the info window for a
file/group (or in the inspector window when the object is selected):
Select the file(s) in the "Group&Files" column (leftmost column) of
your project window and bring up the info window. In the "General" tab,
you'll see the file path (not when showing info for multiple objects)
and the "Path Type". A popup menu allows you to specify the path
type...
You can also specify the reference style when you add files: There's a
popup menu in the dialog that appears when you drag files into your
project.
Depending on the location of your projects w.r.t. the common sources,
it may also be helpful to create a separate source tree for the common
source files. In that case you'll be able to reference files relativ to
that source tree as well.
</jum>
_______________________________________________
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.