Before you can apply a new or modified probe from the command line,
you must compile it.
To compile a probe:
- In the Navigator or Package Explorer view, right-click the Probekit
source file (probe file) that contains the probe that you want to
compile.
- Click . This command generates the following files:
Generated File |
File Name (based on a Probekit source file sample.probe) |
Comments |
A Java™ source code file based on the probe
specifications |
sample_probe.java |
This file is always generated in the src directory. |
Class files that contain the compiled probe fragments,
as well as the supporting code that executes when you run your instrumented
application |
sample_probe*.class |
Eclipse generates this file automatically only if
your workspace is set to auto-build modified resources. Otherwise, click or to
generate it.
This file is generated in the bin directory if
one is configured; otherwise it is generated in the src directory.
|
A file that contains instructions for the byte-code
instrumentation engine |
sample.probescript |
This file is always generated in the src directory. |
If your probe contains references to other packages and classes,
it may be necessary to change the probe's project settings so that the compile-time
references can be resolved. To change these settings, click ,
and go to the Java Build Path page.