Hi Matt,
you can add the following snippet to your buildfile:
----
processResources{
exclude '**/system.properties'
}
----
regards,
René
Am 31.01.11 21:07, schrieb Matt Stine:
> I'm trying to exclude a properties file that is located in
> src/main/resources from the war generated via "gradle war." This will be
> deployed directly into Tomcat on various environments. The version located
> in the source tree is only for development on local workstations (i.e.
> running in the IDE or via gradle jettyRun).
>
> Here's what I have:
>
> war {
> exclude '**/system.properties'
> }
>
> Lo and behold, system.properties is still included in the war.
>
> What am I missing?
>
> Thanks in advance for the help.
>
--
------------------------------------
Rene Groeschke
[email protected]
http://www.breskeby.com
http://twitter.com/breskeby
------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email