Re: Need help calling one build file from another

2008-05-22 Thread Bryan Richardson
Hi Carlos, Thanks for responding. I was under the impression that the dir value in the ant element would set the basedir property in the build file being executed. Thus, in the Foo build file, I was hoping that ${basedir}/src would point to Foo's src directory rather than Bar's... -- Bryan On

Re: Need help calling one build file from another

2008-05-22 Thread Carlos Alonso
Well Bryan, I think that the problem here relies on the target, you are invoking a target that belongs to other ant file, but the basedir and further properties belongs to the Bar ant file.To avoid this problem, follow the next example: Substitute both your and tasks with something like thi

Need help calling one build file from another

2008-05-21 Thread Bryan Richardson
Hello all, I'm having trouble calling one build file from another. I'm using Eclipse, and I have two projects: Foo Bar Each project has a build.xml file, and the Bar project depends on a jar file generated by the Foo project. The following is the build.xml file for project Foo: Build fil