|publish jar to Jboss ..server/default/lib [message #182024]
||Mon, 30 October 2006 19:04
Originally posted by: natgross.oneeasysystemSNIP.com|
In a [simplified] workspace I have two projects, an ejb project as well as
a 'lib' project which the ejb project includes on the build path in order
to build correctly.
The ejb project publishes ok to ..default/deploy, but will only run
correctly if a jar of the 'lib' project is in its classpath. Preferably I
would like to automatically include the lib's jar in the ejb's jar, but
the publisher wouldn't do that regardless of the dependencies (and build
order/export) between projects. (Actually I don't understand what the
'dependency' setting is for, if I have it anyhow in the build/dependent
My other option is to manually jar up the 'lib' project's binaries and
manually place em in jboss' ../default/lib dir. (However, although this
works, I have to [depending on what changed in the code] restart jboss in
order for it to load the newer version of my lib jar. Which is why the
previous method is preferred, for me.) All this leads to the question, how
do I get wtp to publish the lib jar to the aforementioned directory?
Thank you much.
Powered by FUDForum
. Page generated in 0.04042 seconds