Hi

I have an ANT script that looks something like this:

<project name="foo">  
      <import file="bar" />

      <target name="A">
       .....

       <target name="B">
       ....


       <target name="C">
             <antcall target="A" />
             <antcall target="B" />
       </target>

</project>

I get a "Duplicated project name in import" that says the project name of the 
project in bar is redefined in another file that bar imports(that has no 
project name)
However it works fine if I use depends instead of the antcall or if I call the 
targets A and B directly ?

How do I fix this ?

Thanks,
-Nandan

Reply via email to