@@ -128,29 +128,29 @@ Model(
128128 target = Config (
129129 mkdir = Config (`@dir` = " ${project.basedir}/target/classes/de/tototec/cmdoption" ),
130130 // run msgmerge on the translation files to generate property files
131- apply = new Config ( Seq (
132- " @executable" -> Some ( " msgmerge" ) ,
133- " @verbose" -> Some ( " true" ) ,
134- " @failOnError" -> Some ( " true" ) ,
131+ apply = Config (
132+ ` @executable` = " msgmerge" ,
133+ ` @verbose` = " true" ,
134+ ` @failOnError` = " true" ,
135135 // one invocation for each translation files
136- " @parallel" -> Some ( " false" ) ,
137- " @dest" -> Some ( " ${project.basedir}/target/classes/de/tototec/cmdoption" ) ,
136+ ` @parallel` = " false" ,
137+ ` @dest` = " ${project.basedir}/target/classes/de/tototec/cmdoption" ,
138138 // ensure, we pass the files relative to their fileset roots
139- " arg" -> Some ( Config (`@value` = " --output-file" ) ),
139+ arg = Config (`@value` = " --output-file" ),
140140 // marker for the target file position
141- " targetfile" -> Some ( Config (`@suffix` = " " ) ),
142- " arg" -> Some ( Config (`@value` = " --properties-output" ) ),
141+ targetfile = Config (`@suffix` = " " ),
142+ arg = Config (`@value` = " --properties-output" ),
143143 // marker for the source file position
144- " srcfile" -> None ,
144+ srcfile = Config (`@suffix` = " " ) ,
145145 // source files
146- " fileset" -> Some ( Config (`@dir` = " ${project.basedir}/src/main/po" , `@includes` = " *.po" ) ),
147- " arg" -> Some ( Config (`@value` = " ${project.basedir}/target/po/messages.pot" ) ),
148- " mapper" -> Some ( Config (
146+ fileset = Config (`@dir` = " ${project.basedir}/src/main/po" , `@includes` = " *.po" ),
147+ arg = Config (`@value` = " ${project.basedir}/target/po/messages.pot" ),
148+ mapper = Config (
149149 `@type` = " glob" ,
150150 `@from` = " *.po" ,
151151 `@to` = " Messages_*.properties"
152- ))
153- ))
152+ )
153+ )
154154 ) // < target
155155 )
156156 )
@@ -174,19 +174,19 @@ Model(
174174 configuration = Config (
175175 target = Config (
176176 // run msgmerge on the translation files to update them
177- apply = new Config ( Seq (
178- " @executable" -> Some ( " msgmerge" ) ,
179- " @verbose" -> Some ( " true" ) ,
180- " @failOnError" -> Some ( " true" ) ,
177+ apply = Config (
178+ ` @executable` = " msgmerge" ,
179+ ` @verbose` = " true" ,
180+ ` @failOnError` = " true" ,
181181 // one invocation for each translation files
182- " @parallel" -> Some ( " false" ) ,
183- " arg" -> Some ( Config (`@value` = " --backup=none" ) ),
182+ ` @parallel` = " false" ,
183+ arg = Config (`@value` = " --backup=none" ),
184184 // ensure, we pass the files relative to their fileset roots
185- " arg" -> Some ( Config (`@value` = " --update" ) ),
186- " srcfile" -> None ,
187- " fileset" -> Some ( Config (`@dir` = " ${project.basedir}/src/main/po" , `@includes` = " *.po" ) ),
188- " arg" -> Some ( Config (`@value` = " ${project.basedir}/target/po/messages.pot" ) )
189- ))
185+ arg = Config (`@value` = " --update" ),
186+ srcfile = Config (`@suffix` = " " ) ,
187+ fileset = Config (`@dir` = " ${project.basedir}/src/main/po" , `@includes` = " *.po" ),
188+ arg = Config (`@value` = " ${project.basedir}/target/po/messages.pot" )
189+ )
190190 ) // < target
191191 )
192192 )
0 commit comments