changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Improved configuration of the preferred model DSL #544

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using ConfigurableWroManagerFactory, it should be possible to specify with 
a property the preferred DSL. Example: modelFactory=xml (or groovy, or json, or 
... myFancyDSL).

It should be possible to contribute with a custom implementation of the model 
as an spi (service provider interface), similar to the way processors are 
contributed. Each contributed implementation of modelFactory should have an 
associated alias which can be used by configuration.

Original issue reported on code.google.com by alex.obj...@gmail.com on 13 Sep 2012 at 9:21

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 15 Sep 2012 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 26 Sep 2012 at 3:54

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 4 Feb 2013 at 5:59

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.6.x

A new configuration property is available (modelFactory). Which accepts the 
following aliases: xml,groovy,json,smart. (xml is available in core, while the 
rest are available in extensions module).

Original comment by alex.obj...@gmail.com on 5 Feb 2013 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 5 Feb 2013 at 10:27