TomEE
  1. TomEE
  2. TOMEE-126

More configurable scanning via a scanning.xml file in jars of webapps

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Activity

      Transition Time In Source Status Execution Times Last Executer Last Execution Date
      Open Open Closed Closed
      160d 8h 14m 1 Romain Manni-Bucau 08/Jul/12 22:17
      Romain Manni-Bucau made changes -
      Field Original Value New Value
      Status Open [ 1 ] Closed [ 6 ]
      Fix Version/s 1.0.0 [ 12319497 ]
      Resolution Fixed [ 1 ]
      Hide
      Romain Manni-Bucau added a comment -

      scan.xml defines inclusions (classes or packages)

      here is the format:

      <scan>
      <packages>
      <package>p1.p11</package>
      <package>p2.p22</package>
      </package>
      <classes>
      <class>p.a.MyClass</class>
      <class>p.b.MyClass2</class>
      </classes>
      </scan>

      for exclusions it can be done at container level on jars through the file conf/exclusions.list (1 line = 1 prefix of excluded jar). openejb.additional.exclude and openejb.additional.include works too for jars.

      Show
      Romain Manni-Bucau added a comment - scan.xml defines inclusions (classes or packages) here is the format: <scan> <packages> <package>p1.p11</package> <package>p2.p22</package> </package> <classes> <class>p.a.MyClass</class> <class>p.b.MyClass2</class> </classes> </scan> for exclusions it can be done at container level on jars through the file conf/exclusions.list (1 line = 1 prefix of excluded jar). openejb.additional.exclude and openejb.additional.include works too for jars.
      David Blevins created issue -

        People

        • Assignee:
          Unassigned
          Reporter:
          David Blevins
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development