I tried that, but looking at the source code for the FileSystem resolver, it 
uses patterns[0] during a publish.  Therefore, it looks only at the first 
pattern when publishing and does NOT try to find the best match.

---
Shawn Castrianni
Landmark
Halliburton Drilling, Evaluation and Digital Solutions
Building 2
2101 City West Blvd.
Houston, TX  77042
Work:  713-839-3086
Cell:  832-654-0888
Fax:  713-839-2758

-----Original Message-----
From: Jing Xue [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 8:59 AM
To: [email protected]
Subject: Re: resolvers that handle publish


Quoting Jing Xue <[EMAIL PROTECTED]>:

>
> Not a perfect solution, but maybe you can try putting specific
> extensions in the patterns. For instance, replace the "[ext]" in the
> first artifact pattern with "jar", and that in the second one with
> "dll".

And add a third one with "so". 8-)

>
> Cheers.
> --
> Jing


----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.

Reply via email to