Clover and Eclipse pdebuilder

Can I instrument Eclipse plugins with pdebuilder (the command-line tool that builds Eclipse plugins)? I see the Clover plugin that allows builds inside the Eclipse IDE to be instrumented, but I have a product that includes actual Eclipse plugins that need to be instrumented.

1 answer

This widget could not be displayed.

In general yes, but it's more tricky than building it from Eclipse IDE.

Please get familiar with headless build process first.

As the process is quite complex and involves multiple ant build files - called one from another - you would have to "hack" into master build files from org.eclipse.pde.build_<version>/scripts plugin and add Clover tasks there (the <clover-setup> would be preferred over <clover-instr>).

Note: as Ant scripts might be called without the "inheritrefs" option, it can be necessary to add Clover tasks in more than one build file.

There is also a second approach possible. Instead of "hacking" you can

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 3 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

28 views 0 4
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