Configure Xcode project to create a folder as Product or target
Configure Xcode project to create a folder as Product or target
- Subject: Configure Xcode project to create a folder as Product or target
- From: Joël Brogniart <email@hidden>
- Date: Tue, 31 Oct 2006 14:22:35 +0100
Hi,
With Xcode I want to create a folder populated with files created by
applying a XSLT transformation to an XML data file.
I've created an empty project. That project contain an xml schema
file "my_schema.xsd", an xml data file based on the previous schema
file "my_data.xml" and an XSLT transformation file
"my_transformation.xsl".
The folder is created and populated with the following steps :
- validate the xml file against the schema,
- transform the xml file to a temporary text file apply the XSLT
transformation,
- applying a script to create the final folder and populate it with
files generated from the temporary file.
For now, I've created a Shell Script target "my_target" with a
sequence of "Run Script" with the steps above to populate a folder.
That works.
But I can't associate project files with my_target (except in passing
them as parameter to scripts). And the resulting folder doesn't
appeart in the "Product" folder as when I create an application project.
How can I tell Xcode that the resulting folder is the product I want
to create in my project. How could I use compile rule in such a
project as some dependant could be automated based on file extension
(ie .xml -> .xml-validated -> .xslt-parsed...)?
Thanks.
Joël Brogniart _______________________________________________
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