You should probably try using Dir.glob:

package(:war).with :libs => Dir.glob(_('WebContent\WEB-INF\lib\*.jar'))

On Thu, Oct 14, 2010 at 06:23, Artyom <[email protected]> wrote:

>
> Hello,
> I have lib directory under WEB-INF and I need to include local libraries
> from that directory into war file. Can I somehow in buildfile mark that all
> jars(not mapping one ) in that directory so they will be included in war
> file ?
>
> P.S. I tried package(:war).with:libs=>[_('WebContent\WEB-INF\lib\*.jar')]
> but no luck with that...
>
> Thank you for answer!
> --
> View this message in context:
> http://software.780142.n2.nabble.com/Put-local-artifacts-into-war-file-tp5634744p5634744.html
> Sent from the Apache Buildr - User mailing list archive at Nabble.com.
>

Reply via email to