Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24807

(7.4.z) WFCORE-6283 - Make TestModule.getModulesDirectory public

XMLWordPrintable

      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:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: