This is fixed now: http://jira.codehaus.org/browse/GRADLE-1023
On 8/07/10 3:25 AM, Spencer Allain wrote:
Attempting to add some wsdl/xsd files to a war file and got some
unexpected behavior using the webInf() closure.
webInf
{
from project(':common_interfaces').projectDir.toString() + '/interfaces'
into 'wsdl'
include('**/MyInterfaces.*')
}
I specify into 'wsdl', and it puts it at the top level of the war
file, not in WEB-INF/wsdl.
Maybe this is the expected behavior, but digging into the War.groovy
file implies otherwise.
I can obviously do
into('WEB-INF/wsdl')
{
from project(':common_interfaces').projectDir.toString() + '/interfaces'
include('**/MyInterfaces.*')
}
But it seems that both should work. BTW, this is with 0.9 preview 3.
-Spencer
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz