From commons-user-return-8432-apmail-jakarta-commons-user-archive=jakarta.apache.org@jakarta.apache.org Sun Aug 01 13:36:52 2004 Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 11738 invoked from network); 1 Aug 2004 13:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Aug 2004 13:36:52 -0000 Received: (qmail 14162 invoked by uid 500); 1 Aug 2004 13:36:46 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 14150 invoked by uid 500); 1 Aug 2004 13:36:46 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 14137 invoked by uid 99); 1 Aug 2004 13:36:46 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [80.91.224.249] (HELO main.gmane.org) (80.91.224.249) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 01 Aug 2004 06:36:44 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BrGVy-0003zl-00 for ; Sun, 01 Aug 2004 15:36:38 +0200 Received: from dsdf-d9bbd8d4.pool.mediaways.net ([217.187.216.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Aug 2004 15:36:38 +0200 Received: from Peter.Nabbefeld by dsdf-d9bbd8d4.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Aug 2004 15:36:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: commons-user@jakarta.apache.org From: Peter Nabbefeld Subject: Re: [Jelly/Jexl] How to add two int values? Date: Sun, 01 Aug 2004 15:40:53 +0200 Lines: 90 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsdf-d9bbd8d4.pool.mediaways.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113 X-Accept-Language: de-at, de, en-us, en In-Reply-To: Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dion Gillard schrieb: > This works for me: > > result is '${1 + 2}' > > > result is '${x + y}' > > Can you simplify your example? > Thank You! Your example worked for me, too, so I can now look, why the other doesn't work. Most important for me, that I've an example for the correct syntax, and now I know it *must* work - I've a better chance to fix it now. Thank You for Your help! Peter > On Sun, 01 Aug 2004 15:13:10 +0200, Peter Nabbefeld > wrote: > >>I've asked to add two int values. Here's some of the code (I've tried >>different versions - without success): >> >> >> line = ${line} >> >> >> >> >method="parseInt"> >> >> >> >> >> >>Peter >> >>Dion Gillard schrieb: >> >> >> >> >>>What types are x and y? >>> >>>On Sun, 01 Aug 2004 14:27:08 +0200, Peter Nabbefeld >>> wrote: >>> >>> >>>>Hi, >>>> >>>>I'm trying to write a Jelly script for Maven. I've tried "${x + y}" and >>>>"${x} + ${y}" as the value argument, both don't work for me. I don't >>>>know, if this is a problem with the archaic versions, Maven uses (e.g. >>>>ant 1.5.3), or if it is a problem with Jelly/Jexl. If it is a solved >>>>problem, please give me the right syntax, so I can file a bug for Maven. >>>> >>>>Kind regards >>>> >>>>Peter Nabbefeld >>>> >>>>--------------------------------------------------------------------- >>>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >>>>For additional commands, e-mail: commons-user-help@jakarta.apache.org >>>> >>>> >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: commons-user-help@jakarta.apache.org >> >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org