Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 68490 invoked from network); 16 Apr 2007 20:43:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 20:43:01 -0000 Received: (qmail 90842 invoked by uid 500); 16 Apr 2007 20:42:58 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 90794 invoked by uid 500); 16 Apr 2007 20:42:58 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 90783 invoked by uid 99); 16 Apr 2007 20:42:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 13:42:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [82.209.166.4] (HELO smtp.bredband2.net) (82.209.166.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 13:42:51 -0700 Received: (qmail 9315 invoked from network); 16 Apr 2007 20:41:54 -0000 Received: from me-67-111-233-83.3.cust.bredband2.com (HELO [192.168.0.3]) ([83.233.111.67]) (envelope-sender ) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for ; 16 Apr 2007 20:41:54 -0000 Message-ID: <4623DFB1.3050704@apache.org> Date: Mon, 16 Apr 2007 22:42:25 +0200 From: Dennis Lundberg User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Maven Users List Subject: Re: Applet with maven 2 References: <5e4a5d3f0704161308g5044aebdyb962e0caa95b5a27@mail.gmail.com> In-Reply-To: <5e4a5d3f0704161308g5044aebdyb962e0caa95b5a27@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org