Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » publish jar to Jboss ..server/default/lib
publish jar to Jboss ..server/default/lib [message #182024] Mon, 30 October 2006 19:04
Eclipse UserFriend
Originally posted by:

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.
Previous Topic:Geronimo-tomcat-j2ee-1.1.1 and webtool 1.5.2
Next Topic:Multiple EJBs with One .java?
Goto Forum:

Current Time: Mon Jun 14 15:48:03 GMT 2021

Powered by FUDForum. Page generated in 0.02120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top