Hi,

Isis simpleapp (and any other demo app) has config for Jetty-Console:

 <plugin>
                <groupId>org.simplericity.jettyconsole</groupId>
                <artifactId>jetty-console-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>createconsole</goal>
                        </goals>
                        <configuration>

<backgroundImage>${basedir}/src/main/jettyconsole/isis-banner.png</backgroundImage>

<destinationFile>${project.build.directory}/${project.build.finalName}-jetty-console.jar</destinationFile>
                        </configuration>
                        <phase>package</phase>
                    </execution>
                </executions>
            </plugin>


This is handy to start the app from .jar.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Nov 7, 2016 at 6:58 AM, Kevin Meyer <[email protected]> wrote:

> Hi,
> I haven't tried in a while, but I used to use the shade plugin to create a
> standalone jar.
> Cheers,
> Kevin
>
>
> On 6 November 2016 23:46:54 CET, Bilgin Ibryam <[email protected]> wrote:
> >Hi all,
> >
> >I was wondering what is the most common way for running isis apps?
> >I know while developing I can use jetty plugin or the WebServer
> >classes, but what about for running it on other environments?
> >
> >For my semat app I have used the .war file in a tomcat instance. And
> >ll that in a docker container.
> >You can see my pom.xml used for building docker container and running
> >at [1] and the demo app running at [2]
> >
> >Also noticed that with tomcat 9 the app was throwing lot's of errors
> >with some not allowed cookie values, so moved back to tomcat 7.
> >
> >Is anyone running isis w/o a web container, as standalone Java app?
> >How do you package the app in the case?
> >
> >
> >[1] https://github.com/bibryam/semat/blob/master/pom.xml
> >[2] http://semat.ofbizian.com/
> >
> >Cheers,
>
> --
> Sent from my phone with K-9 Mail.
> Please excuse my brevity.
>

Reply via email to