fisheyectl.bat on Windows loads always FISHEYE_HOME/config.xml instead of FISHEYE_INST/config.xml

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 4.8.6
    • Component/s: Runtime platform
    • None
    • Severity 3 - Minor
    • 4

      Issue Summary

      fisheyectl.bat loads aways FISHEYE_HOME/config.xml instead of FISHEYE_INST/config.xml even though all the env variables are correctly set.

      Steps to Reproduce

      1. With set command check that FISHEYE_HOME and FISHEYE_INST are set to the correct locations
      2. Use setx to correct it if neccessary
      3. Try executing fisheyectl.bat with svnrules, byteman or scannow
        C:\Atlassian\fecru-4.8.6\bin\fisheyectl.bat svnrules myrsvnrepo
        

      Expected Results

      The command executed and produced the output

      Actual Results

      The command fails to execute and an error is shown: "ERROR - Could not find a Fisheye or Crucible license."

      From the console output, you can observe that it always using FISHEYE_HOME/config.xml:

      WARN: your default encoding (windows-1252) does not support unicode.
      This is likely to cause problems if any of the filenames, branch names or tag names in one of your repositories contain unicode characters.
      Update your locale settings or start with the -Dfile.encoding=UTF-8 option to avoid these problems.
      INFO  - Using log4j configuration file: C:\Atlassian\fecru-4.8.6\log4j-client.xml
      INFO  - Fisheye SVN Symbolic Rules Verifier
      INFO  - Fisheye arguments: [myrsvnrepo]
      INFO  - loading config from file: C:\Atlassian\fecru-4.8.6\config.xml
      ERROR - Could not find a Fisheye or Crucible license.
      

      Workaround

      1. Rename FISHEYE_HOME/config.xml to FISHEYE_HOME/config.xml_old
      2. Copy FISHEYE_INST/config.xml to FISHEYE_HOME/config.xml
      3. Execute the script once again

            Assignee:
            Unassigned
            Reporter:
            Anton Shaleev (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: