Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 25147 invoked from network); 2 Oct 2002 11:18:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Oct 2002 11:18:47 -0000 Received: (qmail 5343 invoked by uid 97); 2 Oct 2002 11:19:26 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 5327 invoked by uid 97); 2 Oct 2002 11:19:26 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 5313 invoked by uid 98); 2 Oct 2002 11:19:25 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <016201c26a05$69cb0a10$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jim Birchfield" , "'Jakarta Commons Developers List '" References: <086DA37134977247BEAB8829B40793F5F67D@bcat-server9.bcatalyst.com> Subject: Re: patch for properties support in Jelly Date: Wed, 2 Oct 2002 12:18:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Jim Birchfield" > Sure...let me play with it and see how it looks. I assume I will still be > able to use the properties the same...still something like > ${someprop}? For sure! Another thought before I forget, we could patch it so that the properties files can contain expressions also. This was done in Maven. (If you grep the code for @todo you'll see where we could patch the code). So a properties file could be like this foo = ./src/foo foo_file = ${foo}/whatever.txt James ------- http://radio.weblogs.com/0112098/ > > Jim > > -----Original Message----- > From: James Strachan > To: Jakarta Commons Developers List > Sent: 10/2/2002 7:04 AM > Subject: Re: patch for properties support in Jelly > > Hi Jim > > Patch applied, many thanks. > > I made a couple of minor tweeks to it so that supports > either a file name or a URI which could be a full URL or a relative URI > from > the current Jelly script. Also both patches set variables in the > JellyContext rather than setting system properties. Lemme know if these > patches still work for you Jim as I've not tested them much yet. > > James > ------- > http://radio.weblogs.com/0112098/ > ----- Original Message ----- > From: "Jim Birchfield" > To: "Jakarta Commons Developers List" > Sent: Tuesday, October 01, 2002 9:38 PM > Subject: patch for properties support in Jelly > > > > Was a bad boy and sent them wrong to Bob the first time. Here is a > patch > to > > provide properties support in Jelly. There is also a new tag to allow > named > > properties file support. > > > > jelly.patch - patches org/apache/commons/jelly/Jelly.java > > util.patch - patches > org/apache/commons/jelly/tags/util/utilTagLibrary.java > > PropertiesTag.java - new tag in org/apache/commons/jelly/tags/util > > > > James Birchfield > > Director, Application Development > > Genscape, Inc. > > (502) 583-2298 (o) > > (502) 639-3136 (c) > > > > > > > > > > > ------------------------------------------------------------------------ > ---- > ---- > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: