geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject m2: no versions in project.properties
Date Sat, 05 Nov 2005 00:16:29 GMT
Just pasting this here so i don't loose it.  Disregard if not  
interested.

It takes the versions out of project.properties and puts them in  
project.xml

#!/bin/bash
for n in $(cat project.properties | grep '_version='); do
    echo "artifactId: ${n/=*/}, version:  ${n/*=/}"
    perl -i -pe "s/..${n/=*/}./${n/*=/}/" project.xml;
done

Something like it will help m2 conversion of the various projects.

-David

Mime
View raw message