ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Babu Koya <sk...@quark.co.in>
Subject RE: Errors with Ant
Date Tue, 20 Aug 2002 11:33:34 GMT
It was a fragment from a target in which I was running JUnit task.

>>-----Original Message-----
>>From: Tibor Strausz [mailto:Tibor.Strausz@tridion.com]
>>Sent: Tuesday, August 20, 2002 5:01 PM
>>To: 'Ant Users List'
>>Subject: RE: Errors with Ant
>>
>>
>>should this be
>><target>
>>or do you have your own task named test
>>then use this:
>>  <taskdef name="Registry" 
>>classname="com.tridion.ant.tasks.Registry"/>
>>
>>> -----Original Message-----
>>> From: Suresh Babu Koya [mailto:skoya@quark.co.in]
>>> Sent: Tuesday, August 20, 2002 1:26 PM
>>> To: ant-user@jakarta.apache.org
>>> Subject: Errors with Ant
>>> 
>>> 
>>> Hi group,
>>>  
>>>   I am using Ant and on defining the following task I get 
>>> errors as belows. 
>>> 
>>> <test name="com.myproduct.CreateObject" haltonfailure="no" 
>>> outfile="result">
>>> 
>>> <formatter type="xml"/>
>>> 
>>> </test>
>>> 
>>> Am I doing anything wrong...... 
>>>  
>>> BUILD FAILED
>>> java.lang.LinkageError: loader constraints violated when linking
>>> org/w3c/dom/Document class
>>>         at
>>> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentB
>>> uilder(Documen
>>> tBuilderFactoryImpl.java:92)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFor
>>> matter.getDocu
>>> mentBuilder(XMLJUnitResultFormatter
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFor
>>> matter.startTe
>>> stSuite(XMLJUnitResultFormatter.jav
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.f
>>> ireStartTestSu
>>> ite(JUnitTestRunner.java:433)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.r
>>> un(JUnitTestRu
>>> nner.java:279)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute
>>> InVM(JUnitTask
>>> .java:804)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute
>>> (JUnitTask.jav
>>> a:551)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute
>>> (JUnitTask.jav
>>> a:527)
>>>         at org.apache.tools.ant.Task.perform(Task.java:317)
>>>         at org.apache.tools.ant.Target.execute(Target.java:309)
>>>         at org.apache.tools.ant.Target.performTasks(Target.java:334)
>>>         at 
>>> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>>         at 
>>> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>>>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>>>         at org.apache.tools.ant.Main.start(Main.java:196)
>>>         at org.apache.tools.ant.Main.main(Main.java:235)
>>>  
>>> Total time: 3 seconds
>>> java.lang.LinkageError: loader constraints violated when linking
>>> org/w3c/dom/Document class
>>>         at
>>> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentB
>>> uilder(Documen
>>> tBuilderFactoryImpl.java:92)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFor
>>> matter.getDocu
>>> mentBuilder(XMLJUnitResultFormatter
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFor
>>> matter.startTe
>>> stSuite(XMLJUnitResultFormatter.jav
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.f
>>> ireStartTestSu
>>> ite(JUnitTestRunner.java:433)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.r
>>> un(JUnitTestRu
>>> nner.java:279)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute
>>> InVM(JUnitTask
>>> .java:804)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute
>>> (JUnitTask.jav
>>> a:551)
>>>         at
>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute
>>> (JUnitTask.jav
>>> a:527)
>>>         at org.apache.tools.ant.Task.perform(Task.java:317)
>>>         at org.apache.tools.ant.Target.execute(Target.java:309)
>>>         at org.apache.tools.ant.Target.performTasks(Target.java:334)
>>>         at 
>>> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>>         at 
>>> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>>>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>>>         at org.apache.tools.ant.Main.start(Main.java:196)
>>>         at org.apache.tools.ant.Main.main(Main.java:235)
>>> loader constraints violated when linking org/w3c/dom/Document class
>>> 
>>
>>--
>>To unsubscribe, e-mail:   
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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


Mime
View raw message