Return-Path: Mailing-List: contact velocity-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list velocity-dev@jakarta.apache.org Received: (qmail 19096 invoked from network); 1 Mar 2001 03:35:31 -0000 Received: from mta4.srv.hcvlny.cv.net (HELO mta4) (167.206.5.10) by h31.sny.collab.net with SMTP; 1 Mar 2001 03:35:31 -0000 Received: from optonline.net (ool-18bf42e3.dyn.optonline.net [24.191.66.227]) by mta4.srv.hcvlny.cv.net (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0G9I003081ZB3C@mta4.srv.hcvlny.cv.net> for velocity-dev@jakarta.apache.org; Wed, 28 Feb 2001 22:35:35 -0500 (EST) Date: Wed, 28 Feb 2001 23:31:23 -0500 From: "Geir Magnusson Jr." Subject: Re: concatenation eccentricity Sender: gmj@mta4.srv.hcvlny.cv.net To: velocity-dev@jakarta.apache.org Message-id: <3A9DD09B.F9DC587E@optonline.net> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.16 i686) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en References: <3A9D8228.96CADD9A@collab.net> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N John McNally wrote: > > I had something similar to: > > #set ( $a = "$b${c}foo.java" ) > #set ( $d = "$b${c}.java" ) > > if $b=boy and $c=cat > this gives $a=boycatfoo.java and $d=boy${c}.java > > changing to > > #set ( $d = "${b}${c}.java" ) > it works => $d = boycat.java > > I have no problem with requiring the braces but not sure why it works > for $a but not $d. > > John McNally Should be fixed now, so give it a whirl. Thanks again. geir -- Geir Magnusson Jr. geirm@optonline.com Developing for the web? See http://jakarta.apache.org/velocity/