Grails

War file does not include all plugin resources

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: 1.1.2
  • Component/s: None
  • Patch Submitted:
    Yes
  • Description:
    Hide

    My plugin uses xfire and requires xml files to be distributed with the plugin. These files are for xfire aegis mappings. I have put these files in src/java and grails-app/conf, but neither works when I package the application as a war (run-app works)

    The files that I need are packaged in the plugin zip file (here is a partial listing of the zip contents of my plugin)
    555 Sun May 03 22:34:24 EDT 2009 src/java/org/authsum/stitches/external/AttributeHolder.aegis.xml
    794 Thu Apr 23 09:20:22 EDT 2009 src/java/org/authsum/stitches/external/AttributeValueHolder.aegis.xml

    When I war an application that contains my plugin, these files are not in the resultant war file.

    Show
    My plugin uses xfire and requires xml files to be distributed with the plugin. These files are for xfire aegis mappings. I have put these files in src/java and grails-app/conf, but neither works when I package the application as a war (run-app works) The files that I need are packaged in the plugin zip file (here is a partial listing of the zip contents of my plugin) 555 Sun May 03 22:34:24 EDT 2009 src/java/org/authsum/stitches/external/AttributeHolder.aegis.xml 794 Thu Apr 23 09:20:22 EDT 2009 src/java/org/authsum/stitches/external/AttributeValueHolder.aegis.xml When I war an application that contains my plugin, these files are not in the resultant war file.
  • Environment:
    n/a
  1. grails_4538_partial_patch.patch
    (0.7 kB)
    Steve Krenek
    15/May/09 2:15 PM

Activity

Hide
Steve Krenek added a comment - 15/May/09 2:15 PM

Here's a partial patch that will fix the omission of plugin resource bundles from war files. There was a typo in one of the ant includes in _GrailsWar.groovy.

Show
Steve Krenek added a comment - 15/May/09 2:15 PM Here's a partial patch that will fix the omission of plugin resource bundles from war files. There was a typo in one of the ant includes in _GrailsWar.groovy.
Hide
Markus Kramer added a comment - 17/Jun/09 2:54 AM

Seems to be a duplicate of GRAILS-4442

Show
Markus Kramer added a comment - 17/Jun/09 2:54 AM Seems to be a duplicate of GRAILS-4442

People

Dates

  • Created:
    12/May/09 11:14 AM
    Updated:
    17/Jun/09 5:12 AM
    Resolved:
    17/Jun/09 5:12 AM