Byteman
  1. Byteman
  2. BYTEMAN-190

Support automation of offline parsing and typechecking

    Details

    • Type: Feature Request Feature Request
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.3
    • Component/s: Tools
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      It would be very useful if it were possible to automate the process of running the offline type checker during a build, derailing the build process if any Byteman rules failed to parse or typecheck.

      The basic requirement is to modify the current TestScript class so that it can be driven from a Java client rather than the command line. It currently provide a main method which reports outcomes via printout to System.out and System.err. A new API which reports outcomes by returning suitably structured data should be defined and implemented.

      More sophisticated usage could be supported by developing a maven plugin and, possibly, an ant plugin which drive the new TestScript API.

        Issue Links

          Activity

          Hide
          Andrew Dinn
          added a comment -

          Bumping this to2.0.2 so I can release 2.0.1

          Show
          Andrew Dinn
          added a comment - Bumping this to2.0.2 so I can release 2.0.1
          Hide
          Andrew Dinn
          added a comment -

          punting to next release

          Show
          Andrew Dinn
          added a comment - punting to next release
          Hide
          Andrew Dinn
          added a comment -

          Removing fix version until we have a release slot for this

          Show
          Andrew Dinn
          added a comment - Removing fix version until we have a release slot for this
          Hide
          Paul Robinson
          added a comment -

          Assigning to Amos as a Maven plugin for detecting Byteman script errors is a high priority to the transactions team

          Show
          Paul Robinson
          added a comment - Assigning to Amos as a Maven plugin for detecting Byteman script errors is a high priority to the transactions team
          Hide
          Paul Robinson
          added a comment -

          Andrew,

          This issue seems rather general. Can it be focused on just the Maven plugin aspect? Alternatively, I could create a sub-issue for the Maven plugin bit.

          Show
          Paul Robinson
          added a comment - Andrew, This issue seems rather general. Can it be focused on just the Maven plugin aspect? Alternatively, I could create a sub-issue for the Maven plugin bit.
          Hide
          Andrew Dinn
          added a comment -

          The only extra thing mentioned in the original request beyond providing the Java client API (needed for any solution) and a maven plugin (needed by you) is the option of providing an ant plugin. Implementing the first two will be quite satisfactory to resolve this feature request. If Amos does not implement an ant plugin and someone else wants one they can raise a second JIRA and then implement it.

          Show
          Andrew Dinn
          added a comment - The only extra thing mentioned in the original request beyond providing the Java client API (needed for any solution) and a maven plugin (needed by you) is the option of providing an ant plugin. Implementing the first two will be quite satisfactory to resolve this feature request. If Amos does not implement an ant plugin and someone else wants one they can raise a second JIRA and then implement it.
          Hide
          Andrew Dinn
          added a comment -

          Done. Only needs documentation.

          Show
          Andrew Dinn
          added a comment - Done. Only needs documentation.

            People

            • Assignee:
              Amos Feng
              Reporter:
              Andrew Dinn
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: