Re: [ANNOUNCE] Apache Velocity Engine 1.6.2

2009-03-31 Thread Malcolm Edgar
Hi Guys, Is there a process by which Velocity JARs are getting published to the maven repositories? I haven't seen the 1.6.x JARs in any of the repositories. regards Malcolm Edgar On Tue, Mar 24, 2009 at 6:51 AM, wrote: > The Apache Velocity Team announces the immediate availability of the of

Re: [ANNOUNCE] Apache Velocity Engine 1.6.2

2009-03-31 Thread Malcolm Edgar
Please ignore my previous email... thanks Malcolm On Tue, Mar 31, 2009 at 10:00 PM, Malcolm Edgar wrote: > Hi Guys, > > Is there a process by which Velocity JARs are getting published to the > maven repositories? > > I haven't seen the 1.6.x JARs in any of the repositories. > > regards Malcolm E

Need help with $velocityHasNext macro

2009-03-31 Thread Steve Cohen
Given this macro, which will only be called with lists of size >=2 and whose members are Strings representing dates #if ( $list.size() == 2) #foreach( $member in $list )#if( $velocityHasNext )${member}#else and ${member}#end#end #else #foreach( $member in $list )#if( $velocityHasNext )${member

Re: Need help with $velocityHasNext macro

2009-03-31 Thread Nathan Bubna
Which version of Velocity? $velocityHasNext doesn't work right in 1.6 and is absent in earlier versions. You should use 1.6.2. On Tue, Mar 31, 2009 at 8:34 AM, Steve Cohen wrote: > Given this macro, which will only be called with lists of size >=2 and whose > members are Strings representing da

Re: Need help with $velocityHasNext macro

2009-03-31 Thread Steve Cohen
Thanks, Nathan, yes, I just googled the problem, found the bug (657), got 1.6.2 (I had been using 1.6.1) and that took care of it. Nathan Bubna wrote: Which version of Velocity? $velocityHasNext doesn't work right in 1.6 and is absent in earlier versions. You should use 1.6.2. On Tue, Mar 3