Re: how to add a jar to war.rb that's not in the maven repositories?

Thanks, that did the trick!

----- Original Message ----
From: Robert E. [email protected]
To: [email protected]
Sent: Tuesday, October 2, 2007 3:46:53 PM
Subject: Re: [jruby-user] how to add a jar to war.rb that’s not in the
maven repositories?

I’d suggest dropping the jar in rails-app/WEB-INF/lib then it’ll be
included in the resulting war automatically.

Alternatively, if you’d rather keep the libraries separate, if you put
the jar at rails-app/lib/java/name-version.jar, and then add this line
to war.rb, it’ll copy it into WEB-INF/lib for you:
include_library ‘name’, ‘version’

Cheers,
Robert

Forrest C. wrote:


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email