Open riceyeh opened 10 years ago
Hi Rice, There is servlet container classpath feature in Gretty: http://akhikhl.github.io/gretty-doc/Servlet-container-classpath.html Maybe, you are looking for this feature?
Hi Andrey, No. The extraClasspath in jetty-maven-plugin is used to config the classpath of the webapp, not the classpath of the servet container. This can be illustrated by the following configuration for jetty-maven-plugin:
On Tue, Sep 30, 2014 at 7:16 PM, Andrey Hihlovskiy <notifications@github.com
wrote:
Hi Rice, There is servlet container classpath feature in Gretty: http://akhikhl.github.io/gretty-doc/Servlet-container-classpath.html Maybe, you are looking for this feature?
— Reply to this email directly or view it on GitHub https://github.com/akhikhl/gretty/issues/86#issuecomment-57298520.
I find that I can use classPath like below to solve my problem:
gretty { classPath 'build/resources/test' }
On Wed, Oct 1, 2014 at 12:52 AM, Rice Yeh riceyeh@gmail.com wrote:
Hi Andrey, No. The extraClasspath in jetty-maven-plugin is used to config the classpath of the webapp, not the classpath of the servet container. This can be illustrated by the following configuration for jetty-maven-plugin:
/lavita target/test-classes target/test-classes .. ../xs-workspace-google/src/main/webapp On Tue, Sep 30, 2014 at 7:16 PM, Andrey Hihlovskiy < notifications@github.com> wrote:
Hi Rice, There is servlet container classpath feature in Gretty: http://akhikhl.github.io/gretty-doc/Servlet-container-classpath.html Maybe, you are looking for this feature?
— Reply to this email directly or view it on GitHub https://github.com/akhikhl/gretty/issues/86#issuecomment-57298520.
Good that you found the solution. Sorry for lacking documentation on this function, I'll add it as soon as I can.
Just find that classPath does not work in tomcat. Is this tomcat's problem?
On Wed, Oct 1, 2014 at 8:40 PM, Andrey Hihlovskiy notifications@github.com wrote:
Good that you found the solution. Sorry for lacking documentation on this function, I'll add it as soon as I can.
— Reply to this email directly or view it on GitHub https://github.com/akhikhl/gretty/issues/86#issuecomment-57456965.
Hi, In jetty-maven-plugin, we can use extraClasspath to add extra classpath. Is it possible to do this in gretty? If not, could this new feature be added to gretty.
Rice