• 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
Re: Using Xcode for other types of projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Xcode for other types of projects


  • Subject: Re: Using Xcode for other types of projects
  • From: Chris Giordano <email@hidden>
  • Date: Thu, 29 Apr 2004 18:09:13 -0400

Andy,

On Apr 29, 2004, at 3:55 PM, Andy Satori wrote:

Using a Script Target you can readily do this, by modifying the script phase in your script target.

I do have a script target working that tars up all of my files, but I still have to manually enter each dependent file in the list of input files, and my shell script has to manually list all of the files. I was hoping to be able to have something like the "Sources" build phase in an Application target, say, that lets me add the files that I want to have acted upon by this process. I'm mainly looking to capitalize on the ability of Xcode to list the relevant files as associated to the target and use that association in my scripts so I don't have to separately maintain a list of the files in question. I can't figure out how to fit that into the existing Shell Script Target, though.


Or am I missing something?


The other option would be to add the target specifications, I haven't actually finished this yet, but it looks possible, just not trivial :-).

Good suggestion. I was actually playing (somewhat unsuccessfully) with the project templates a few days ago. I hadn't thought about this. I managed to make a bit of progress by creating a Legacy target. I still have a bit of work, but it looks like worst case I could have a CopyFiles build phase to move the relevant files into a temp directory and then tar all of the files in that directory. What's getting me now is that I can't find a way of getting a list of the files -- they're not showing up in the environment variables and my lack of experience/knowledge in this area doesn't provide other places to look.



I'm working on native build system for C# projects using Mono (soon to be 1.0!), but I've not had time to finish that work.

From what I've stumbled across, it sounds like Build Rules are in your future!



Andy

Thanks for your suggestions. I've definitely made some progress.

chris




On Apr 29, 2004, at 1:05 PM, Chris Giordano wrote:

I'm wondering if someone can point me to some documentation or share some information on using Xcode to manage source for some "non-typical" (to Xcode) projects.

I've been using Xcode to manage and edit source for a number of different types of projects, including some html-type (Cold Fusion) projects and some Oracle scripts. Currently, I'm writing a set of Oracle and shell scripts to manage a data project (soon to be a suite of projects). I'm at the point now of having a finished set of scripts, but I'd like to be able to package (i.e., tar) the appropriate files so that I can more easily transfer them to the production machine and run them. My main issue here is that I only need to package up some of the files and transfer them, and I was hoping to be able to add just these files to a target and have them packaged (tar'ed) rather than having to maintain the list of these files separately and by hand. I'm having trouble finding a way to do this in Xcode, and I'm wondering if Xcode is built to let me do this.

I've tried using a number of the target types ("External Target" and "Shell Script Target" under "Special Targets") but neither of these let me add the files to the target, and my options for adding build phases for these target types is very limited. The closest I've been able to come is doing something akin to a makefile, writing a script that tars the files specified in the script.

Am I hoping for more than Xcode can do right now? And I too far outside what Xcode is written to do? Is it time to submit an enhancement request? Or has someone figured out how to do something similar and would like to share their knowledge or point me to the documentation of this process that I have yet to uncover.

thanks,
chris
_______________________________________________
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.


References: 
 >Using Xcode for other types of projects (From: Chris Giordano <email@hidden>)
 >Re: Using Xcode for other types of projects (From: Andy Satori <email@hidden>)

  • Prev by Date: Re: Using Xcode for other types of projects
  • Next by Date: Re: Can't use install option with native build targets
  • Previous by thread: Re: Using Xcode for other types of projects
  • Next by thread: Complete GUI freezes
  • Index(es):
    • Date
    • Thread