Jon Tirsen wrote:
> Sure, my patch is only about fixing the fact that there are a lot  
> more things you can do with the Configuration object than you can do  
> with the "DSL". I definitely don't need "per-task" configurations.
> 
> In general the war.rb "DSL" is a bit quirky. I think something along  
> the lines of the standard config/environment.rb would be more  
> familiar to Rails developers. That would have the added benefit that  
> we wouldn't need to mirror the API of War::Configuration into a  
> special War::Configuration DSL.
> 
> Example:
> 
> War::Configuration.setup do |config|
>    config.add_jetty_library(config.java_library('jetty', '6.6.1'))
>    # ... etc ...
> end

What about YAML?

- Charlie
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to