I have instrumented a sample java program in windows, using clover-ant and was able to get the coverage info when running the .jar file using commandline.
Query : How to run an instrumented build in Linux.
Plan A : I tried using the same build which we instrumented in windows and tried runnning the same in linux environment by using the same clover.jar and same coverage.db file. (This didnt work out because the clover.jar path in windows cant be matched to any similar path in linux, similarly the same issue with initstring)
Plan B : Installed ant in the linux environment, copied the same java project in to linux machine, modified the build.xml to the expected paths of clover.jar present in the linux machine. When trying to run the .jar file I am seeing the below error :
/home/sv186037/Desktop/code_coverage/CloverInstrumentBuild/build/jar/CIB.jar: line 1: $'PK\003\004': command not found
/home/sv186037/Desktop/code_coverage/CloverInstrumentBuild/build/jar/CIB.jar: line 2: $'\bS#\261J': command not found
/home/sv186037/Desktop/code_coverage/CloverInstrumentBuild/build/jar/CIB.jar: line 3: syntax error near unexpected token `)'
/home/sv186037/Desktop/code_coverage/CloverInstrumentBuild/build/jar/CIB.jar: line 3:R#�J�C8�s�META-INF/MANIFEST.MFM�1�0
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...
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!
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