Skip to content
Browse files

don't include plugin zips in war file

  • Loading branch information...
1 parent 1da2cde commit 4f5138f9fa079cf4839210af46f2384dc40210e5 @graemerocher graemerocher committed Dec 2, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/_GrailsWar.groovy
View
3 scripts/_GrailsWar.groovy
@@ -66,7 +66,8 @@ defaultWarDependencies = { antBuilder ->
def dependencies = grailsSettings.runtimeDependencies
if (dependencies) {
for (File f in dependencies) {
- fileset(dir: f.parent, includes: f.name)
+ if(f && f.name.endsWith(".jar"))
+ fileset(dir: f.parent, includes: f.name)
}
}
}

0 comments on commit 4f5138f

Please sign in to comment.
Something went wrong with that request. Please try again.