Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » applet dependecy
applet dependecy [message #186082] Fri, 12 January 2007 09:07 Go to next message
Eclipse User
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 15:12 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
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 Apr 16 21:06:18 EDT 2014

Powered by FUDForum. Page generated in 0.04656 seconds