How to publish applet from project A with dynamic web project B? [message #177920] |
Fri, 25 August 2006 16:01  |
Eclipse User |
|
|
|
Originally posted by: wolfgang.schell.siemens.com
Hi!
I'm using Eclipse 3.2 and WTP 1.5 (Callisto).
I have a system composed of servlets and applets, which should be deployed
as a web application. I would like to have the applet in a separate
project (my.applet) but deploy it along with the dynamic web project
(my.server).
In dialog "Properties" -> "J2EE Module Dependencies" I can only specify
modules, which will be put into WEB-INF/lib, which is inaccessible from
web clients.
Would it be possible to hack .settings/org.eclipse.wst.common.component to
include something like
<dependent-module deploy-path="/lib" handle="module:/resource/my.applet">
<dependency-type>uses</dependency-type>
</dependent-module>
to get my applet files in /lib instead of /WEB-INF/lib?
Thanks in advance for any hints!
Regards,
Wolfgang
|
|
|
Re: How to publish applet from project A with dynamic web project B? [message #178049 is a reply to message #177920] |
Mon, 28 August 2006 14:38  |
Eclipse User |
|
|
|
I'm not aware of a way to include class files from a separate project as
content as opposed to classes that belong in a jar under WEB-INF/lib.
However, in the web project, you can create a separate Java source
folder with its own separate build output directory. Then manually
modify the ".component" file to include this separate build directory as
content like the typical WebContent folder. This at least gives you a
little separation.
Cheers,
Larry
Wolfgang Schell wrote:
> Hi!
>
> I'm using Eclipse 3.2 and WTP 1.5 (Callisto).
>
> I have a system composed of servlets and applets, which should be
> deployed as a web application. I would like to have the applet in a
> separate project (my.applet) but deploy it along with the dynamic web
> project (my.server).
> In dialog "Properties" -> "J2EE Module Dependencies" I can only specify
> modules, which will be put into WEB-INF/lib, which is inaccessible from
> web clients.
>
> Would it be possible to hack .settings/org.eclipse.wst.common.component
> to include something like
> <dependent-module deploy-path="/lib" handle="module:/resource/my.applet">
> <dependency-type>uses</dependency-type>
> </dependent-module>
>
> to get my applet files in /lib instead of /WEB-INF/lib?
>
> Thanks in advance for any hints!
>
> Regards,
>
> Wolfgang
>
|
|
|
Powered by
FUDForum. Page generated in 0.04098 seconds