2014-03-03 0:21 GMT+04:00 Mark Thomas <ma...@apache.org>:
> On 25/02/2014 12:17, Konstantin Kolinko wrote:
>
>> Regarding the use of filesonly="true" in
>> http://svn.apache.org/r1570629
>>
>> It is known that such setting breaks some jar scanning technologies, e.g
>> https://ecosystem.atlassian.net/browse/PLUG-949
>> https://jira.springsource.org/browse/SPR-8551
>>
>> I think none of those would scan Tomcat jars, so not a stopper.
>> Just mentioning it to encourage testing.
>
>
> I've just hit a problem with this and the ASF's Jira instance. It looks
> like Jira uses Apache Felix which turns Tomcat's Servlet JAR into an
> OSGI bundle somehow but the missing directories means that fails. The
> result is that Jira fails to start.
>
> I'm going to revert the filesonly change. I'll look into explicit
> excludes for the empty directories.
>

It looks that it is possible to restrict resource collection itself to
"files only" with resource set filtering.

<restrict><fileset .../><type type="file"/></restrict>

http://ant.apache.org/manual/Types/resources.html#rsel.type

I wonder whether zip task will create directory entries in this case.
Just noting. I have not experimented with this option.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to