Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Dynamic Servlet Registration

Ken Siprell wrote
> ... Unfortunately, the Grails Jetty plugin uses version 7.6.0. 

You can alter this. Use standard Grails features for build dependencies.

1. conf/BuildConfig.groovy. add jetty 8 jars to dependencies closure:

2. conf/BuildConfig.groovy. to remove jetty 7 jars added from grails-jetty
plugin, add to plugins closure:

3. conf/BuildConfig.groovy. to remove jetty-7 jars from war file, add
grails.war.resources closure:

Also you can add to scripts/_Events.groovy handler for CreateWarStart event:


Hope this helps.

-- 
Best regards,
    Igor Poteryaev




--
View this message in context: http://jetty.4.x6.nabble.com/jetty-users-Dynamic-Servlet-Registration-tp4961419p4961435.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top