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

Add support for specifyiing script locations in jars

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Optional Optional
    • 4.0.23
    • 4.0.22
    • None

      For some usecases it would be beneficial to supply the helper classes and byteman rule scripts in a single jar and access the scripts from the jar using a jar url. I have a PR that provides this feature, and this snippet from the test illustrates the configuration syntax:

       

      javaagent:byteman-agent.jar=script:jar:file://target/byteman-agent-tests.jar!/scripts/jar/TestScriptFromJar.btm

       

              rhn-engineering-sstark Scott Stark
              rhn-engineering-sstark Scott Stark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: