Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » applet dependecy
applet dependecy [message #186082] Fri, 12 January 2007 14:07 Go to next message
Eclipse UserFriend
Originally posted by: exquisitus.nospam.net

hi folks!

how can i setup a dependency between a applet (jar) and a web project,
so every time i export a war, it will contain the packaged jar applet in
WebContent/something?

tnx,
exquisitus, alias xmas_spirit :)
Re: applet dependecy [message #186145 is a reply to message #186082] Fri, 12 January 2007 20:12 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
exquisitus wrote:
> hi folks!
>
> how can i setup a dependency between a applet (jar) and a web project,
> so every time i export a war, it will contain the packaged jar applet in
> WebContent/something?
>
> tnx,
> exquisitus, alias xmas_spirit :)

I'm not aware of any dependency support for web content like there is
for Java classes and Java utility projects. You could try adding an Ant
Builder to the applet project that builds a jar file in the web project.
The Ant script could write the jar directly to the WebContent folder
(or subfolder) of the web project. Alternatively it could write the jar
to a different folder (such as AppletContent) in the web project and
manually modify the ".settings/org.eclipse.wst.common.component" file to
include the jar in the desired location of war's web content.

Cheers,
Larry
Previous Topic:turning off tomcat logs
Next Topic:Axis2 Integration
Goto Forum:
  


Current Time: Wed May 08 04:59:54 GMT 2024

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

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

Back to the top