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

So I want to add the oracle jdbc jar and can’t use maven_library.

I also won’t have access to the ultimate destination app server lib dir
(weblogic in this case), so I’d like to add it to the war.

What’s the right way to do this?

Thanks

Forrest


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

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