Mailing Lists: Apple Mailing Lists

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

Configure Xcode project to create a folder as Product or target



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:
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.