Forgot to answer the other question: why the log is sent to C:\Documents
and Settings\user\....
Internally, there is a sub-process running java sensorshell. The log is
written by the sensorshell.jar. I think the java code hard codes a
user's home directory.
Cheers,
Cedric
Austen Ito wrote:
Hi everyone,
I attempted to install the visual studio 2003 sensor today, but I
got a weird error:
http://www2.hawaii.edu/~austen/img/vs_2003_error.JPG
<http://www2.hawaii.edu/%7Eausten/img/vs_2003_error.JPG>
Basically it says that the sensor has failed to start because it
cannot find my .hackystat directory and sensor.properties file. I
actually do have the directory and config file in the normal location
(C:\Documents and Settings\user\...), but it is attempting to find it
in the directory that I have my code in, which is a another drive
letter (E:\) and it just so happens that the drive letter is a virtual
drive. Its weird that the visual studio sensor has a problem as my
eclipse sensor works just fine.
The sensor actually works if I copy the .hackystat folder to the root
directory of the virtual drive, but now I have two .hackystat
folders. Also the logs for the sensor data that gets sent goes to the
log directory in C:\Documents and Settings\user\....
Has anyone else run into this problem? Perhaps the sensor needs to be
updated? I don't think any of us even use this sensor haha.
Anyways, works work, but hackystat is fun.
Cheers,
austen