4 Replies Latest reply on Dec 4, 2012 10:13 AM by paul.robinson

    org.jboss.byteman.agent.submit.Submit a script from the classpath?

    paul.robinson

      Hello,

       

      I'm using org.jboss.byteman.agent.submit.#addRulesFromFiles(files). Currently I have to specify a location on the file system for my Byteman script(s). I'd prefer to find these on the classpath. I understand how to find the scripts on the classpath, by loading them as a resource, but I don't see a way that I can pass them to Byteman.

       

      Is there a way to do this?

       

      Thanks,

       

      Paul.