Hi Team,
The CLI SDT has now been evolved with the suggestions made in [HACK-628].
These include:
* Add required attribute entry for "path"
To accomplish this, the following was performed:
hackySdt_Cli
1) SDT definition updated with the new attribute and defaulter information
2) Wrapper class updated with accessor (getPath) and defaulter
(getDefaultPath) methods
3) Help string in the CliShellCommand class amended to add new attribute
4) Test cases updated to include new attribute entry
hackySensor_Cli
5) Sensor now adds path information to the CLI SDT entry.
All changes are contained in the branches/HACK-628 repository. Ready
for review!
Best regards,
Mike
Hongbing Kou wrote:
Hi, Philip,
I've finished the evolution of activity sensor already. As said in the
slide:
getFile() was added and file is a required attribute.
To the old data, Activity SDT extracts file from "data" attribute and
discards
other information, which is ok because we don't use them in Zorro
anymore.
Methods getData() and getDataList() are deleted. help documentation of
ActivityShellCommand was updated as well.
The daily analysis and daily project objects are updated as well to
use the
evolved Activity SDT. All unit tests passed.
Upgraded following sensors to send out new format data :
hackySensor_Eclipse
hackySensor_JBuild
hackySensor_Office
hackySensor_Vim (No change needed)
hackySensor_VisualStudio
hackySensor_Emacs
I installed all sensors and made sure that correct sensor data are
sent and received.
All the changes are in the repository. I think it is ready for review
and merge.
Cheers,
Hongbing