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