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

Support automation of offline parsing and typechecking

    Details

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

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            adinn Andrew Dinn added a comment -

            Bumping this to2.0.2 so I can release 2.0.1

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

            punting to next release

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

            Removing fix version until we have a release slot for this

            Show
            adinn Andrew Dinn added a comment - Removing fix version until we have a release slot for this
            Hide
            paul.robinson 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 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 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 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
            adinn 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
            adinn 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
            adinn Andrew Dinn added a comment -

            Done. Only needs documentation.

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development