> -----Original Message----- > From: Maarten Coene [mailto:[email protected]] > Sent: Saturday, December 05, 2009 8:25 AM > To: [email protected] > Subject: Re: ivy retrieve type attribute and ! > > I've taken a quick look at the code and I don't think that "!jar" or > "(?!jar)" will work. > And as far as I could see, this has never worked in Ivy before.
Ah, my mistake. Regex does not work for the type attribute. Setting the attribute type="(?!jar)" excludes every artifact type, not just jar types. However, literal strings do work as expected (if anyone was wondering). Setting type="zip" restricts only to zip files. ***CONFIDENTIALITY NOTICE and DISCLAIMER*** This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and solely for the use of the person(s) or entity to whom it is intended. If you have received this message in error and are not the intended recipient, please notify the sender immediately and delete this message and any attachment from your system. If you are not the intended recipient, be advised that any use of this message is prohibited and may be unlawful, and you must not copy this message or attachment or disclose the contents to any other person.
