Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-2978

FishEye won't start on Solaris

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.2-M3
    • 2.0.4
    • None
    • None

    Description

      FishEye (2.0.4+) won't start on Solaris, because of a problem in the bin/fisheyectl.sh script:

      /apps/fisheye/fecru-2.0.5/bin/fisheyectl.sh: syntax error at line 49: `FISHEYE_OPTS=$' unexpected
      

      The line in question:

      FISHEYE_OPTS=$($JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter)
      

      The problem is that Solaris /bin/sh doesn't understand the $() syntax. I temporarily fixed the problem by changing the

      #!/bin/sh

      line to

      #!/bin/ksh

      , since ksh does support this syntax.

      An alternative fix would be to change $() into ``.

      i.e.

      FISHEYE_OPTS=`$JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter`
      

      Attachments

        Activity

          People

            bhumphreys BrendanA
            pkamal Partha
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: