Export feature for ANT?

23 views
Skip to first unread message

Danish Arain

unread,
Mar 14, 2022, 4:07:09 AMMar 14
to PIT Users
I want to get details of mutation on classes. I discovered that there is an export plugin for this very purpose. 

The Github mentions Maven and Gradle but not Ant so I am confused about where to get it implemented on Ant projects. I need help.

Henry Coles

unread,
Mar 14, 2022, 11:50:53 AMMar 14
to pitu...@googlegroups.com
As noted on the repo's Readme, the export plugin was rolled into the main pitest codebase in release 1.3.0.

In any release from 1.30 onwards you can activate by activating the EXPORT feature.

The pull request that merged it in is here


On Mon, 14 Mar 2022 at 08:07, Danish Arain <arain.da...@gmail.com> wrote:
I want to get details of mutation on classes. I discovered that there is an export plugin for this very purpose. 

The Github mentions Maven and Gradle but not Ant so I am confused about where to get it implemented on Ant projects. I need help.

--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pitusers/3501f6e1-ebdd-4730-a01b-5f6cee29e797n%40googlegroups.com.

Danish Arain

unread,
Mar 15, 2022, 8:06:12 AMMar 15
to PIT Users

I never activated any feature in ANT so that is what is causing my confusion. Can anyone direct me how to activate a feature?

Danish Arain

unread,
Mar 15, 2022, 8:29:05 AMMar 15
to PIT Users
I need a code example of how to activate the EXPORT feature in my ANT build file. 

Henry Coles

unread,
Mar 15, 2022, 8:56:40 AMMar 15
to pitu...@googlegroups.com

Danish Arain

unread,
Mar 15, 2022, 11:53:27 AMMar 15
to PIT Users
I am getting this error:

Screenshot 2022-03-15 at 8.49.16 PM.png

Screenshot 2022-03-15 at 8.40.27 PM.png

Henry Coles

unread,
Mar 15, 2022, 11:58:47 AMMar 15
to pitu...@googlegroups.com
What version of pitest are you using?

Danish Arain

unread,
Mar 15, 2022, 12:09:39 PMMar 15
to PIT Users
I downloaded the example and worked on that. Is there a command to know which version I am using? 

Danish Arain

unread,
Mar 15, 2022, 12:14:39 PMMar 15
to PIT Users
I got it! The Jar file says 1.2 no wonder it didn't work. 
Thank you so much for your time. I really appreciate it. 
Reply all
Reply to author
Forward
0 new messages