Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 30046 invoked from network); 1 Mar 2010 07:19:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 07:19:09 -0000 Received: (qmail 98294 invoked by uid 500); 1 Mar 2010 04:32:30 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 98217 invoked by uid 500); 1 Mar 2010 04:32:30 -0000 Mailing-List: contact dev-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry development" Delivered-To: mailing list dev@tapestry.apache.org Received: (qmail 98209 invoked by uid 99); 1 Mar 2010 04:32:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 04:32:30 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.211.177] (HELO mail-yw0-f177.google.com) (209.85.211.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 04:32:22 +0000 Received: by ywh7 with SMTP id 7so1138106ywh.26 for ; Sun, 28 Feb 2010 20:32:00 -0800 (PST) Received: by 10.101.164.19 with SMTP id r19mr5134840ano.212.1267417920052; Sun, 28 Feb 2010 20:32:00 -0800 (PST) Received: from Unknown-00-1e-52-81-1c-6d.lan (222-154-136-68.jetstream.xtra.co.nz [222.154.136.68]) by mx.google.com with ESMTPS id 39sm974561yxd.9.2010.02.28.20.31.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Feb 2010 20:31:59 -0800 (PST) Message-ID: <4B8B433B.2090108@jsportal.com> Date: Mon, 01 Mar 2010 17:31:55 +1300 From: "Joost Schouten (ml)" User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Tapestry development Subject: Re: [T5.2.0] relative classpath Asset resolving broken for extended classes. References: <4B8AFF02.8030907@jsportal.com> In-Reply-To: <4B8AFF02.8030907@jsportal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit A little extra information: the start of the problem seems to coincide with Howards commit (911913) on feb 20th: "Rework AbstractIncludeAssetWorker to use a created field and method advice to setup and handle the assets". I can't quite see what is going on here, maybe someone else can quickly see why this stopped working. Cheers, Joost PS: at this stage I would have chosen not to extend a mixin in the first place and just build another mixin, but 18 months ago I thought this was the way forward ;-) Joost Schouten (ml) wrote: > Hi, > > I have a mixin which extends tapestry's Autocomplete mixin. I have > used this for about a year and a half but as of last week I started > experiencing some problems. I am getting the following exception: > > Unable to locate asset > 'classpath:com/joostschouten/common/http/tapestrybase/mixins/autocomplete.js' > (the file does not exist). > > I guess this is due how the mixin loads it's autocomplete.js. The > mixin itself loads it using: @IncludeJavaScriptLibrary({ > "${tapestry.scriptaculous}/controls.js", "autocomplete.js" }) which > has not changes since April 2009. So I guess something must have > changed in how Assets are resolved as it now seems to think the > relative path should be from the extending Class not the Autocomplete > class itself. > > Has anyone made any recent changes to the trunk which might cause > this? And if so, how can it be fixed? > > Cheers, > Joost --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org For additional commands, e-mail: dev-help@tapestry.apache.org