Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to publish applet from project A with dynamic web project B?
How to publish applet from project A with dynamic web project B? [message #177920] Fri, 25 August 2006 20:01 Go to next message
Eclipse UserFriend
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 18:38 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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
>
Previous Topic:Plugin for JBoss EJB3/JavaEE5 support
Next Topic:Dynamic Web project
Goto Forum:
  


Current Time: Tue Apr 23 14:55:21 GMT 2024

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

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

Back to the top