Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-327

Class Install errors for jar lookup should include invalid path rather than string "BYTEMAN_HOME"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.7, 4.0.0
    • 3.0.6
    • Tools
    • None

      Class Install uses first system property org.jboss.byteman.home and then env var BYTEMAN_HOME to identify the location of the byteman agent jar, finally resorting to searching the classpath. If either of the first two settings identifies an invalid path Install prints an error and exits with a failure code.

      The error messages currently report that BYTEMAN_HOME should be set to a valid path or include a valid lib dir and jar. This is true even if the path being searched was identified using the system property which is i) confusing and ii) fails to identify the invalid path.

      The messages should be modified to report that the path itself is invalid and shoud not refer to its provenance via the env var or system property.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: