JSP file coverage using clover

Hi , i have a application which is multi modules say(A B C D) in which each have webapp folder .inside each webapp folder i have other folders (having jps files each lets say A>WebApp >AFolder--jsps , A>WebApp >BFolder--jsps)

 

i need to instrument all jsps available inside C> webapp

issues is some jsp files from C> webapp includes jsp files from other projects say<%@ include file="A/WebApp/WebINF/layouts/xyz.jsp" %>

It is giving file not found exception . can some one help

Thanks

 

 

1 answer

0 votes

Clover can't instrument JSP files. It works on Java source code level so technically I could imagine you'll be able to instrument generated Java classes, I'm not sure though how it's going to work in an container  environment. 

 

That being said, there's no built-in support for this so you'll have to handle this manually. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

2,692 views 8 7
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you