Sorry, I guess I should say that you have to get the SCLC perl script.
Right now, you must run the perl script on it own. The you can use an
Ant target to send the data to Hackystat. This is the sample target:
<target name="sclc" depends="compile" description="Compute size data
on the source code using SCLC.">
<property name="sclc.dir" location="${build.dir}/sclc" />
<mkdir dir="${sclc.dir}" />
<!-- Generate total size data in XML format and send to Hackystat. -->
<taskdef name="hacky-sclc"
classname="org.hackystat.sensor.sclc.SclcSensor" />
<!-- Send SCLC size data to hackystat -->
<hacky-sclc verbose="${hackystat.verbose.mode}">
<fileset dir="${sclc.dir}">
<include name="*.xml" />
</fileset>
</hacky-sclc>
</target>
~Julie
Julie Ann Sakuda wrote:
Greetings all,
The initial version of hackySensor_Sclc has been uploaded to the
SVN repository. Feel free to check it out and let us know about any
problems.
Just as a note: The installer code for the sensor has already been
written so if you build your own copy of HackyInstaller with
hackySensor_Sclc available you should be able to install the SCLC
sensor. Remember that you have to point to your local Hackystat
server. You will probably need to run autoconfig.
Happy Holidays,
~ Austen & Julie