JBoss AS Plugin
  1. JBoss AS Plugin
  2. GPJBOSSAS-1

Add custom lib to collection of libs to delete from war

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Grails-JBossAS 1.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      If I want to add my own lib to the default list of those to delete because provided by JBoss, I have to redefine the whole list this way :

      grails.plugin.jbossas.deleteJarPatterns = ['my-provided-lib*', 'log4j*', 'slf4j*', 'jcl-over-slf4j*', 'jul-to-slf4j*']

      I would like to be able to write

      grails.plugin.jbossas.deleteJarPatterns.addAll ['my-provided-lib*', 'my-other-provided-lib*']

      This does not work because grails.plugin.jbossas.deleteJarPatterns has no default value. If it is not possible to define a default, it could be done by adding another config property.

      I also wanted to point out that the doc mention the default value to be ['log4j', 'slf4j', 'jcl-over-slf4j', 'jul-to-slf4j'] while the fallback value in the code contains wildcards.

      Thanks for your great plugin!

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Ludovic Ronsin
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: