That's how I would do it, but I'd make the applet jar a dependency in the war project, because it is a dependency. But you don't want the applet jar in the WEB-INF/lib directory of your webapp, because then it can't be reached directly by the user's browser. Instead you want it to be copied to the directory above WEB-INF. You could probably use the antrun-plugin to copy the applet jar from WEB-INF/lib to it's correct place.

Henri Tremblay wrote:
Hello everyone,

I'm trying to do something that I think is quite common but can't find an
easy way to do it. Here's how it goes:

I have a war that basically contains nothing except a jar which contains an
applet. The applet jar is for performance reason an ueber jar.

How would you do something like this?

My current solution is to have a jar project that creates and ueber jar and then a war project that includes the ueber jar by referencing it directly as
a ressource (since I don't think it can be a dependency).

Thanks a lot,
Henri



--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to