ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7926] New: - XmlLogger creates wrong output for own task
Date Wed, 10 Apr 2002 15:17:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7926>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7926

XmlLogger creates wrong output for own task

           Summary: XmlLogger creates wrong output for own task
           Product: Ant
           Version: 1.5 alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: zastrow@dai-lab.de


I have a task "ontoc".

if i put the <taskdef> line direct before the <ontoc> task the
XmlLogger does not assign the messages from the ontoc task to the <ontoc> node 
in the xml file.

<taskdef name="ontoc" classname="de.dailab.jiac41.ant.Ontoc"/>  
<ontoc ontologypath="${build.ontojavas}" ontologysourcepath="${source.java}">
</ontoc>


log.xml

<message priority="info"><![CDATA[Was expecting:]]></message>
<message priority="info"><![CDATA[    "(" ...]]></message>
<message priority="info"><![CDATA[    ]]></message>
<task name="ontoc" location="D:\DAI\Projekte\JIAC\core\build.xml:247: "...>
  <message priority="debug"><![CDATA[   +Task: ontoc]]
</task>


Placing the <taskdef> line in the project node (build.xml) the output is fine:

<task name="ontoc" location="D:\DAI\Projekte\JIAC\core\build.xml:247: "...>
  <message priority="info"><![CDATA[Was expecting:]]></message>
  <message priority="info"><![CDATA[    "(" ...]]></message>
  <message priority="info"><![CDATA[    ]]></message>
  <message priority="debug"><![CDATA[   +Task: ontoc]]
</task>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message