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

      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.

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development