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

be able to get the version of the Byteman agent at runtime

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.2.1
    • None
    • None
    • None

      The build.xml should stamp the byteman jar (and client submit.jar) with an Implementation-Version in MANIFEST.MF. This allows anyone to introspect the jar and know what version of byteman it is.

      We should then use that manifest entry to allow the byteman agent to tell a user what version it is. This means:

      a) the transport listener should accept a VERSION command and output the version string
      b) the Submit client should provide an API to get they agent version (in addition, the Submit client should have an API to get its own version, so Submit can tell you what version the client code is vs. what version the remote agent is - allows you to detect mismatch in versions between client and server)
      c) the Submit main() command line utility should provide a -v option to get the version information

            jmazzitelli John Mazzitelli
            jmazzitelli John Mazzitelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: