I want to build a ProjectBuilder project from the IDE. My plan is to
write a shell script to do that and run it with the Shell Tool Post
Linker. I selected that as my post linker and added the File Mapping.
When I drag my .sh file into the project, it asks what targets I want
but doesn't add the file to the project. I checked the Files tab as
well as the Link Order tab, it just isn't there. What am I missing?
(Sorry if this is covered in the docs, for whatever brain dead reason,
I didn't install the manual on my home machine and the discs are at
the office.)
( I could also use ScriptRunner but I was having problems writing an
AppleScript to get ProjectBuilder work, then I discovered pbxbuild and
thought of using sh)
Thanks!
Paul
MW Ron - 24 Jul 2003 16:37 GMT
>I want to build a ProjectBuilder project from the IDE. My plan is to
>write a shell script to do that and run it with the Shell Tool Post
[quoted text clipped - 10 lines]
>AppleScript to get ProjectBuilder work, then I discovered pbxbuild and
>thought of using sh)
Hmmm, If the file mappings are set up correctly, the file should be
added. Maybe it was mapped with a 'TEXT' filetype where the filetype
should be blank? At any rate Josef thinks that hitting factory settings
for that panel *should* set the mappings up correctly for the shell tool.
Ron

Signature
Metrowerks has moved, our new address is now
7700 West Parmer Lane
Austin, TX 78729
Sales and Support 512-996-5300 800-377-5416
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Paul Cezanne - 25 Jul 2003 00:40 GMT
> When I drag my .sh file into the project, it asks what targets I want
> but doesn't add the file to the project.
It really appears to have been an IDE bug.
I fixed it by NOT selecting only the targets I wanted a shell post
linker step, but by leaving all the checkmarks checked. It add then
added it to the project. (I of course then had to got and delete it
from the targets that i didn't want it in.)
And of course it is not repeatable. I can now delete it from the
project and add it back in to just the one target I care about.
Hope this helps somebody else someday...
Paul