AnsweredAssumed Answered

Create Probes from Java source code

Question asked by somad01 Employee on Jul 13, 2010
Latest reply on Apr 21, 2015 by Hiko_Davis
Hi guys,

I am trying to use PBD Generator ant tasks to create the probe file directly from the source code, but I'm having problems doing it.

I mean, I don't get any error but I get an empty pbd file as result.

Any of you guys are using the PBD Generator? Could you send an example, os snippet of your code?

Here follows my ant task:

<javadoc

access="public"

destdir="${javadoc.dir}"

author="true"

version="true">

<classpath refid="master-classpath" />

<fileset dir="${src.dir}" defaultexcludes="yes">


<include name="**/*.java" />


<exclude name="**/*Test.java" />

</fileset>



<doclet
name="com.wily.util.build.javadoc.PBDInstrumentDoclet"


path="war/WEB-INF/lib/WilyPBDGenerator.jar">


<param name="-d" value="${javadoc.dir}" />

</doclet>



</javadoc>

About the @instrument, I was wondering how to use them. If I should apply to the class, to the method, and the correct syntax. I would apreciate if you could send me an working example of it.

Best Regards,

Adilson

Outcomes