applet dependecy [message #186082] |
Fri, 12 January 2007 14:07  |
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 20:12  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03426 seconds