>> I suggest hackyCore_Build.checkModuleAvailability.
Since hackyCore_Build.checkModuleAvailability depends on
"checkProperties" in globals.build.xml, I made "checkProperties" depends
on "hackyCore_Build.installBuildSensor".
"hackyCore_Build.installBuildSensor" is in build.xml.
Problem 1: Dependency target is not right:
The build sensor is loaded when you use freshStart, quickStart,
all.junit, all.compile, etc. But when I am developing software, most of
the time, I only care my own module and use ant command like "ant
hackyApp_BuildAnalysis.junit" or "ant
hackyApp_BuildAnalysis.checkstyle". In those cases, the build sensor
will not be loaded, because those taskes are not dependent on
"checkProperties".
I went over our entire build script, it seems there is no target which
all other targets depend on.
Problem 2: Philip mentioned there is error message about bad build data
on hackystat console,
I still don't know why. I did some experiment and all the expected build
sensor data appears on hackystat "List Build Sensor Data" page.
However, I do have on error message with offline storage:
hackyCore_Build.installBuildSensor:
[hacky-build] Problem during load of file C:\Documents and
Settings\Cedric\.hack
ystat\offline\2005.11.08.01.12.47.782.serjava.lang.ClassNotFoundException:
org.hackystat.kernel.shell.OfflineEntry
[hacky-build] Build sensor ant listener installed.
I have been using V7 sensorshell.jar and sensor.ant.jar since Nov 5, and
I have home network problem for the entire weekend.
Since the "ser" file got deleted automatically by sensorshell, I have no
idea what's inside it.
I searched all V7 source, there is no string
"org.hackystat.kernel.shell.OfflineEntry" in our java files..
My question is:
Can "offline\2005.11.08.01.12.47.782.ser" contain sensor data for the
day before Nov 8?
Cheers,
Cedric
checkProperties:
makeInstallDirs: