Quantcast

app.servlet.version should be removed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

app.servlet.version should be removed

John Fletcher-3
We just upgraded to Grails 2.0 and spent some time working out the
difference between app.servlet.version in application.properties and
grails.servlet.version in BuildConfig.groovy. We ended up finding
http://burtbeckwith.com/blog/?p=1251 which states:

"Note that there is a legacy setting in application.properties with
the name app.servlet.version; you should delete this line from your
application.properties file since its value is ignored and overridden
at runtime by the value from BuildConfig.groovy."

Is this line really useless? If so, why is it still created in new
Grails 2.0 projects - should this not be removed from the template to
avoid confusing people?

John

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: app.servlet.version should be removed

pledbrook
> Is this line really useless? If so, why is it still created in new
> Grails 2.0 projects - should this not be removed from the template to
> avoid confusing people?

Can you raise an issue? The same may apply to the app.context property too.

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: app.servlet.version should be removed

burtbeckwith
I already removed it from the scripts, changed for 2.2.

Burt

pledbrook wrote
> Is this line really useless? If so, why is it still created in new
> Grails 2.0 projects - should this not be removed from the template to
> avoid confusing people?

Can you raise an issue? The same may apply to the app.context property too.

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware
Loading...