Mailing Lists: Apple Mailing Lists

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

script phase and its relation to compilation



In our ada compiler that we have integrated (mostly) with PB we do dependencies a bit differently than c does. In most cases the c rules work ok for us, but sometimes we get cases where we have to manually touch some of the source files to get PB to recompile all the files that are required.

so what we thought would be an acceptable kludge is to put a script phase in the project template that as the first phase in the project so that it would determine what needed recompilation and then touch the source files that need to be recompiled due to a change in a spec file (kind of like c's header in some ways but like code in others). problem is when you do this, the compilation phase seems to decide what needs recompiled before it gets to our script phase (which is first phase).

Are we interpreting what we are seeing correct (is the recompilations computed before the first phase)?

if so is there a way short of hacking the jambase to get our script phase done before the dependencies are computed?

if not can we call a shell script from jambase if we need to so we can patch in a call to our script in the jambase before it computes what files need recompiled?

thanks jim
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.



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.