JaCoCo is built and tested agains 1.7.1.
-marc
On 11.07.14 12:03, Dhinesh wrote:
Hi Marc,
I have solved the issue now. 2 diffrent ANT versions was there in my
PC. ANT 1.6 was configured in Environment variables. Now I canged into
1.8. Its works fine.
Thanks for asking this question. What version of Ant are you using? -
I focused more on this are today.
Thanks
Dhinesh.
On Friday, July 11, 2014 1:35:05 PM UTC+5:30, Marc R. Hoffmann wrote:
To be honest I've no idea what's going on with your build.
Please try using the file type outside JaCoCo e.g.:
<copy todir="somedir">
<union>
<file file="somefile"/>
</union>
</copy>
Does this work in your environment?
Regards,
-marc
On 11.07.14 09:24, Dhinesh wrote:
On Friday, July 11, 2014 12:30:09 PM UTC+5:30, Dhinesh wrote:
Hi Marc,
I am using apache-ant-1.8.2 version
Please find attached build.xml file.
I extrated and verfied this jar file
(C:\Software\apache-ant-1.8.2\lib\ant.jar), it contains the
Union.class under the folder org.apache.tools.ant.types.resources
Prerequisites for the JaCoCo Ant tasks require Ant 1.7.0 or
higher. I am using apache-ant-1.8.2 version
Thanks,
Dhinesh
On Friday, July 11, 2014 11:55:37 AM UTC+5:30, Marc R.
Hoffmann wrote:
Hi Dhinesh,
that's strange. Looks like your Ant installation does not
know the built in type 'file'.
* What version of Ant are you using?
* Can you please provide your build file?
Regards,
-marc
On 10.07.14 13:22, [email protected] wrote:
Hi,
I am using JaCoCo with ANT task for my sample application.
I am following the sample ANT task (below link) which is given in
the
JaCoCo > Documentation
http://www.eclemma.org/jacoco/trunk/doc/examples/build/build.xml
<http://www.eclemma.org/jacoco/trunk/doc/examples/build/build.xml>
I got the below error while executing the <jacoco:report> task.
Class org.apache.tools.ant.types.resources.Union doesn't support the
nested "file" element.
Kindly please suggest me how to solve this issue.
Thanks
Dhinesh
--
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.