Fix resources generation bug

Add support for try.
This commit is contained in:
Paulo Gustavo Veiga
2012-08-23 22:07:37 -03:00
parent 73056de872
commit dcd15d8fa4
8 changed files with 44 additions and 47 deletions

View File

@@ -61,7 +61,7 @@
println "Converting ${file.name} to ${outfile.name}";
outfile.withWriter('UTF-8') { out ->
out.writeLine "mindplot.Messages.BUNDLES['${lang}'] = { ";
out.writeLine "mindplot.Messages.BUNDLES['${lang.toLowerCase()}'] = { ";
file.eachLine('UTF-8') { line ->
if( line.trim()!="" && line[0]!='#' ) {
matcher = line =~ /(.+)=(.+)/;
@@ -245,7 +245,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<skipTests>true</skipTests>
</configuration>