You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Christofer Dutz <ch...@c-ware.de> on 2017/02/18 17:59:14 UTC

[FlexJS] Running FlexJS examples in Tomcat

Hi,

I just committed a little change to the examples maven configuration, that makes it possible to automatically run a tomcat server in the examples directories.
So if you want to run MDLExample, all you need to do, is to change to the MDLExample directory and run:

mvn tomcat7:run

It should start tomcat and make the application available at http://localhost:8081/MDLExample

I haven’t tried it, but if you started the server and simply run “mvn package” (notice without a “clean”) the application should be automatically updated without having to re-start or re-deploy the server. A simple page-refresh in the browser should do.

Chris

Re: [FlexJS] Running FlexJS examples in Tomcat

Posted by Josh Tynjala <jo...@gmail.com>.
Good idea, Chris!

- Josh

On Feb 18, 2017 9:59 AM, "Christofer Dutz" <ch...@c-ware.de>
wrote:

> Hi,
>
> I just committed a little change to the examples maven configuration, that
> makes it possible to automatically run a tomcat server in the examples
> directories.
> So if you want to run MDLExample, all you need to do, is to change to the
> MDLExample directory and run:
>
> mvn tomcat7:run
>
> It should start tomcat and make the application available at
> http://localhost:8081/MDLExample
>
> I haven’t tried it, but if you started the server and simply run “mvn
> package” (notice without a “clean”) the application should be automatically
> updated without having to re-start or re-deploy the server. A simple
> page-refresh in the browser should do.
>
> Chris
>