Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 81073 invoked from network); 15 Jun 2004 06:57:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jun 2004 06:57:57 -0000 Received: (qmail 19223 invoked by uid 500); 15 Jun 2004 06:58:21 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 19143 invoked by uid 500); 15 Jun 2004 06:58:20 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 19016 invoked by uid 99); 15 Jun 2004 06:58:19 -0000 Received: from [80.34.215.206] (HELO correo.che-che.com) (80.34.215.206) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 14 Jun 2004 23:58:19 -0700 Received: from localhost (localhost [127.0.0.1]) by correo.che-che.com (Postfix) with ESMTP id D4A0BC805 for ; Tue, 15 Jun 2004 08:57:38 +0200 (CEST) Received: from correo.che-che.com ([127.0.0.1]) by localhost (santiamen [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15983-04 for ; Tue, 15 Jun 2004 08:57:19 +0200 (CEST) Received: from che-che.com (yarel [192.168.1.8]) by correo.che-che.com (Postfix) with ESMTP id 95A97C7FE for ; Tue, 15 Jun 2004 08:57:18 +0200 (CEST) Message-ID: <40CE9DC9.1070303@che-che.com> Date: Tue, 15 Jun 2004 08:57:13 +0200 From: Juan Jose Pablos User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.6) Gecko/20040413 Debian/1.6-5 X-Accept-Language: es, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: svn commit: rev 21237 - in forrest/trunk/src/core/context: . WEB-INF resources/stylesheets References: <20040614214241.82716.qmail@minotaur.apache.org> <40CE348D.6070302@che-che.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------060509020607060905060806" X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at che-che.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------060509020607060905060806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Nicola Ken Barozzi escribi�: > Juan Jose Pablos wrote: > >> nicolaken@apache.org escribi�: >> >>> - >> src="{forrest:stylesheets}/declare-broken-site-links.xsl" /> >>> + > >> >> >> Why do we need a hard-code value tin this line? > > > Good question. I had forrest:stylesheets before but it seemed that the > stylesheet was not picked up. Don't ask me why, I really dunno. :-/ > Maybe I has to do with the ForrestConfModule. I would like to show you a way to mofidy values using xslt under ant. You can see it in a patch. But the summary is this one: We can pass the build time parameters using on the xstl task. Then use the value on the style sheet with so we would be able to create code like: Where target could be "site" "run" or "webapp WDTY? Cheers, Cheche --------------060509020607060905060806 Content-Type: application/x-gzip; name="patch.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="patch.tar.gz" H4sIAAAAAAAAAO1XW3PiNhTOa/0rTj192AzYxiQhTWqysNlkyjRDZgLbdB8VI0AtWF5JBJh2 /3uPZDlcQnaZdtOZzuh7sK2jc9PRuUBOVDoO1UIdvB7iWq1xfAwHoFHbegPUGycnoHmOTuLG URyDXpzEB1B7RZ+eMJOKiG+gZ/tw/xN0sgFdnIMUaZRyQfGRKbpQ0f3Vu6DTvcZ1ynkWLpA+ 9Jr/Hl4QBPtZ++6NoI9MMp5BPa6fnB56lUplX9E5F3+wbAQpz5eHXqsFQRyfVU+hUrxaLc8m X/JIJjMqL8o1UiRKXrRywX+nqQr1qpVEhrjOpIiayRXbmE9pK1pJmW0tV/B5wYZ67eTLspbB WjW8pbRXea6n/AgX08kukZXTA56+aNXEM1PBgIlWlESadU3S7r4oLcg82NJQijzXEi5Q+8ux M7tbWqyIt52uWLsjqmSZDToE3z5Ldxj5SnLulNiRk7Ufqw3MSXzFR+tJifwpUWTCRyDok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