HackyInstaller will say it is out of date if its version number does not match the version number specified by the user's Hackystat host. As of now, the version on the hackystat host (specified in the sensor.properties) will always be considered to be the newest one. Building the system on your own and using the hackyInstaller.jar you built will generate the message about being out of date because the version doesn't match the hackystat server.

If you have any questions on hackyInstaller you can email me directly and CC Philip.

~Julie

Philip Johnson wrote:

--On Thursday, September 15, 2005 4:47 PM -0400 Lorin Hochstein <[EMAIL PROTECTED]> wrote:

Hi Philip,

Some curious behavior about Hackystat command-line installer.(Note that I've had to modify your suggested script to integrated it into our data collection setup).

Here's an example. I have hackyInstaller.jar in
~collect/umdinst/setup/hackyInstaller.jar. If I try to use that one, I get a complaint about versions (although everything works fine otherwise). However, if I have the
jarfile in my home directory, no complaint. To wit:

[EMAIL PROTECTED] ~]$ java -jar ~collect/umdinst/setup/hackyInstaller.jar -SetPath
.EMACS_FILE_DIR $HOME
Rhino classes (js.jar) not found - Javascript disabled
WARNING: HackyInstaller is out of date.  New version 6.7.909 available.
The .EMACS_FILE_DIR path has been saved.
Success

(Complains about installer being out of date. Copying the file to home directory and
trying again)

[EMAIL PROTECTED] ~]$ cp ~collect/umdinst/setup/hackyInstaller.jar .

[EMAIL PROTECTED] ~]$ java -jar ~collect/umdinst/setup/hackyInstaller.jar -SetPath
.EMACS_FILE_DIR $HOME
Rhino classes (js.jar) not found - Javascript disabled
The .EMACS_FILE_DIR path has been saved.
Success

(no version complaint this time. Confirm they are the same file)

[EMAIL PROTECTED] ~]$ diff hackyInstaller.jar ~collect/umdinst/setup/hackyInstaller.jar
[EMAIL PROTECTED] ~]$

(Files are identical. Remove the home directory file and reproduce the problem)

[EMAIL PROTECTED] ~]$ rm hackyInstaller.jar
[EMAIL PROTECTED] ~]$ java -jar ~collect/umdinst/setup/hackyInstaller.jar -SetPath
.EMACS_FILE_DIR $HOME
Rhino classes (js.jar) not found - Javascript disabled
WARNING: HackyInstaller is out of date.  New version 6.7.909 available.
The .EMACS_FILE_DIR path has been saved.
Success



Do you know why this would be happening?


Hmm. Not offhand. One question: does ~lorin/.hackystat/sensor.properties reference a hackystat host that is different from the hackystat host referenced by ~/collect/.hackystat/sensor.properties? That might help diagnose the bug, although there's no reason why the presence of hackyInstaller.jar in one's current directory should influence the execution of a jar file located elsewhere...

I've posted this as:

<http://hackydev.ics.hawaii.edu:8080/browse/HACK-342>

Julie and Austen will get on it right away. :-)

Also, is there a way for me to query hackyInstaller to check the version?


The 6.8 daily builds will now print out the hackyInstaller version number when you do 'java -jar hackyInstaller.jar -Help

There is also a more detailed '-Status' command in the works for the next stable release.

(Is there a point of contact other than you I should use for Hackystat installer

issues?)


Thanks,
Lorin


Feel free to email the two HackyInstaller Wizards, Julie Sakuda <[EMAIL PROTECTED]> and Austen Ito <[EMAIL PROTECTED]>, who are the ones who will actually be fixing the bugs. However, please continue to keep me in the emails so I can keep up with what's going on and post Jira issues as necessary.

Cheers,
Philip

Reply via email to