ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Telang, Nandan" <>
Subject Duplicate project name with antcall and import
Date Thu, 10 Nov 2005 19:10:46 GMT

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" />


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 ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message