On 11/9/07, Rob Wilson <[EMAIL PROTECTED]> wrote: > I have two separate projects and currently Project B uses files from > project A using relative paths, but if I update project A and forget > to build it, project B could fail. The question is, can Ant have a > dependency on another ant script? (I.e. not 'import'ing, but some > form of project dependency?)
Nope. Typically you should setup the two projects separately, which have project B *declare* it's dependency on project A in some descriptor, and have a tool fetch a given version (or the latest version) of A's build products. You do this with Ant + Ivy, or with Maven. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]