On 7/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have a problem where a target defined in an <include>d build file > isn't being found when I make it a dependency of a target in my main > build file, although the file appears to have been <include>d > successfully. The included build file is valid and runs correctly if I > use it alone using the -f command line option. > > -- > Bruce Davidson
Bruce, I can't comment on whether depend across build files should or should not work as you expect (I could go either way, personally)... a workaround to get your builds working for now is to <call> your prepare targets rather than depending on them. If you want your log to be in the same kind of order as if you'd used prepare, then you can wrap the call task in a "prepare-wrapper" target in your top-level build file which is depended on by your other targets. Hope this helps, -- Troy ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users