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
  • Labels:
    None
  • Environment:
    n/a
  • Patch Submitted:
    Yes

Description

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.

Activity

Hide
Steve Krenek added a comment -

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 - 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 -

Seems to be a duplicate of GRAILS-4442

Show
Markus Kramer added a comment - Seems to be a duplicate of GRAILS-4442

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: