You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by John Simone <jo...@heroku.com> on 2012/01/13 21:30:42 UTC

Tomcat Runner

I've been working on a small project and I want to see what you guys think
of it. It's a jar file that uses the embedded API and allows you to launch
a war based webapp into Tomcat with a simple `java -jar tomcat-runner.jar
myApp.war`. I took inspiration from Jetty's Jetty-Runner (
http://blogs.webtide.com/janb/entry/jetty_runner) and wanted to have that
ease of use with Tomcat.

You can check out the code and usage here:
https://github.com/jsimone/tomcat-runner

The command line options are limited now, but my idea is that they'd be
expanded to cover most, if not all, of what the embedded API offers.

Re: Tomcat Runner

Posted by Mark Thomas <ma...@apache.org>.
On 13/01/2012 20:30, John Simone wrote:
> I've been working on a small project and I want to see what you guys think
> of it. It's a jar file that uses the embedded API and allows you to launch
> a war based webapp into Tomcat with a simple `java -jar tomcat-runner.jar
> myApp.war`. I took inspiration from Jetty's Jetty-Runner (
> http://blogs.webtide.com/janb/entry/jetty_runner) and wanted to have that
> ease of use with Tomcat.
> 
> You can check out the code and usage here:
> https://github.com/jsimone/tomcat-runner

The first thing you need to do is fix the name so it conforms to the
trademark policy. [1]

> The command line options are limited now, but my idea is that they'd be
> expanded to cover most, if not all, of what the embedded API offers.

Kind regards,

Mark

[1] http://tomcat.apache.org/legal.html



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Tomcat Runner

Posted by John Simone <jo...@heroku.com>.
Sorry about that. I didn't realize that my name wasn't allowed. I've
renamed it and it's now available here:
https://github.com/jsimone/webapp-runner

Thanks for pointing out that feature in the maven plugin. I like that
approach a lot and I'm excited to see it released. However it fits a little
bit of a different use case. I think that something like webapp-runner is
cool because it can be used to run either an archived or exploded war file
regardless of what the chosen build system is. This opens it up not only to
other build tools, but also to running apps that get generated from
frameworks like Grails and Play! or even to war files that are exported
from tools like Eclipse. Could be that I'm the only one that finds this
useful, though. I'd love to hear feedback and know if anyone else does.

On Fri, Jan 13, 2012 at 1:16 PM, Olivier Lamy <ol...@apache.org> wrote:

> Hello,
> The current Tomcat Maven plugin have a similar feature (not yet
> released) see
> http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/executable-war-jar.html
> .
>
> 2012/1/13 John Simone <jo...@heroku.com>:
> > I've been working on a small project and I want to see what you guys
> think
> > of it. It's a jar file that uses the embedded API and allows you to
> launch
> > a war based webapp into Tomcat with a simple `java -jar tomcat-runner.jar
> > myApp.war`. I took inspiration from Jetty's Jetty-Runner (
> > http://blogs.webtide.com/janb/entry/jetty_runner) and wanted to have
> that
> > ease of use with Tomcat.
> >
> > You can check out the code and usage here:
> > https://github.com/jsimone/tomcat-runner
> >
> > The command line options are limited now, but my idea is that they'd be
> > expanded to cover most, if not all, of what the embedded API offers.
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: Tomcat Runner

Posted by Olivier Lamy <ol...@apache.org>.
Hello,
The current Tomcat Maven plugin have a similar feature (not yet
released) see http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/executable-war-jar.html
.

2012/1/13 John Simone <jo...@heroku.com>:
> I've been working on a small project and I want to see what you guys think
> of it. It's a jar file that uses the embedded API and allows you to launch
> a war based webapp into Tomcat with a simple `java -jar tomcat-runner.jar
> myApp.war`. I took inspiration from Jetty's Jetty-Runner (
> http://blogs.webtide.com/janb/entry/jetty_runner) and wanted to have that
> ease of use with Tomcat.
>
> You can check out the code and usage here:
> https://github.com/jsimone/tomcat-runner
>
> The command line options are limited now, but my idea is that they'd be
> expanded to cover most, if not all, of what the embedded API offers.



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org