Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6283

Make TestModule.getModulesDirectory public

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 20.0.0.Final
    • None
    • Test Suite
    • None

      In my case of writing a test case to deploy Resource Adapter as module, it needs to create a file META-INF/ra.xml into the test module.

      I am using TestModule to set up the test module, and as a developer, I need to know where the server modules directory is, so that I can create the file and its directories to set it up. Now the method of 

      static File getModulesDirectory(boolean create)
      

      has package level modifier, I would like to have this method to be public so that it can be used in the test suite to add more content than normal jar resources.

              rhn-engineering-lgao Lin Gao
              rhn-engineering-lgao Lin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: