well - still didn't understood if contributors were supposed to vote
but anyway, here's the little ruby code to switch to 2.0 (to be launched in 
velocity/src/)
in case you couldn't make it (you've got three +1 but you're at D -1 ;o)

try ruby, it's marvelous !

#!/bin/ruby

require 'tempfile'

newlic=<<__NEWLIC__
/*
 * Copyright 2003 The Apache Software Foundation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
__NEWLIC__

Dir["**/*.java"].each { |pathname|
    file = open(pathname,"r+")
    content = file.readlines().join()

    content.sub!(/\/\*\n \* The Apache.*apache.org\/>.\n \*\//m,newlic)

    # uncomment the following to avoid three successive carriage returns
    # content.gsub!(/\n\n\n/){"\n\n"}

    tmp = Tempfile.new("tmp")
    tmp<<content
    file.close
    File.delete(pathname)
    File.rename(tmp.path,pathname)
}






----- Original Message ----- 
From: "Daniel L. Rall" <[EMAIL PROTECTED]>
To: "Velocity Developers List" <[EMAIL PROTECTED]>
Sent: Friday, February 27, 2004 9:25 PM
Subject: Re: [VOTE] release 1.4


> Geir Magnusson Jr wrote:
> > 1.4 has been in rc1 now for months with no reported problems.   We 
> > should get this out before 3/1 to avoid the 2.0 license update requirement.
> > 
> > +1 from me.
> 
> +1
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to