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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

59 views 2 6
Read article

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