DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39694





------- Additional Comments From [EMAIL PROTECTED]  2006-09-19 17:23 -------
I've just come across this issue again in Ant 1.6.5 using a non-copy operation.
 So to clarify, it looks to affect anything using an same element in more than
one <fileset> belonging to a single parent task.

This time I was writing a wrapper around the JAXB xjc task and had, e.g.:

  <macrodef name="myxjcwrapper">
    <attribute name="schema.dir"/>
    <element name="schema_fileset"/>
    <sequential>
      <xjc>
        <schema dir="@{schema.dir}">
          <schema_fileset/>
        </schema>
        <depends dir="@{schema.dir}">
          <schema_fileset/>
        </depends>
        <produces file="blah"/>
      </xjc>

Note the two uses of <schema_fileset>.  The second of which throws the error
mentioned in the initial bug report.  NB both <schema> and <depends> elements
are aliased <fileset>s.

Fortuantely after reading the xjc docs it is not neccessary to specify a depends
set if it matches your schema set, so I was able to get around the prob by
removing the <depends> set altogether.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to