Re: [jetty-user] Re: Jetty 8 and Maven Jetty Plugin jetty:run-war not working

Jan Bartel <[email protected]> Mon, 19 Mar 2012 17:55:35 +1100
Newsgroups gmane.comp.java.jetty.support
Message-ID <CALg=Vpj0NxBxKZdJ_BZDYPtiL_pJ+xsm+hCL8ooCQ0DKh8tUQA@mail.gmail.com>
Hi Rowatt,

https://jira.codehaus.org/browse/JETTY-1499

Fixed!

thanks
Jan

On 19 March 2012 13:48, rowatt <[email protected]> wrote:

> Hi Jan,
>
> Attached is the little tar gzip of the maven project with the
> XyzWebApplicationInitializer code in it.
>
> Thanks for looking at this issue,
> *Shane Rowatt*
> ArchitectT
> M
> F
> E
> W+61 7 3252 1650
> +61 401 550 697
> +61 7 3252 1350
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4631885&i=0>
> gcpgroup.com <http://www.gcpgroup.com/>GCP Brisbane
> 24 Chester Street
> Newstead QLD 4006
> Australia
> *GCP Australia Limited*
>    |   Sydney   |   Brisbane   |   Singapore   |   London*Important
> Notice:*
> The information in this email and/or any of the attachments may contain
> Confidential, Legally Privileged and/or Copyright material of GCP Australia
> Limited or third parties.
>
> If you are not an authorised recipient of this email, please contact GCP
> Australia Limited immediately by return email or by telephone on +61 7
> 3252 1650 and delete the email from your system. We do not accept any
> liability in connection with any computer virus, data corruption,
> interruption or any damage generally as a result of transmission of this
> email.
>
> On 19/03/12 12:41 PM, "Jan Bartel-3 [via Jetty]" <[hidden email]<http://user/SendEmail.jtp?type=node&node=4631885&i=1>>
> wrote:
>
> Hi Rowatt,
>
> That message got a bit garbled - the "replace the pom with this" was
> missing, as was the java class.
>
> Any chance you could generate the project then zip it and attach it?
>
> thanks
> Jan
>
> On 19 March 2012 11:54, rowatt <[hidden email]<http://user/SendEmail.jtp?type=node&node=4631872&i=0>>
> wrote:
>
> > Hi Jan,
> >
> > Below are the instructions for recreating the issue I see.
> >
> > *Create a maven project:*
> >
> > mvn archetype:generate -B -DarchetypeGroupId=org.apache.maven.archetypes
> > -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.0
> > -DgroupId=com.gcpgroup -DartifactId=gcp-jetty -Dversion=1.0
> >
> > *Remove the sample App.java and AppTest.java from created project:*
> >
> > cd gcp-jetty
> > rm –f src/main/java/com/gcpgroup/App.java
> > rm –f src/test/java/com/gcpgroup/AppTest.java
> >
> > *Replace the pom.xml with this:*
> >
> >
> >
> > *Put the following java file in src/main/java/com/gcpgroup/*
> >
> >
> > *Run the jetty:run command and grep for the test string:*
> >
> > mvn clean jetty:run 2>&1 | grep @@@@
> >
> > *You will see in stdout the following string which means
> > XyzWebApplicationInitializer was called:*
> >
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> >
> > *Run the jetty:run-war command and grep for the test string:*
> >
> > mvn clean jetty:run-war 2>&1 | grep @@@@
> >
> > *This command will not output the test string and hence
> > XyzWebApplicationInitializer was not called.*
> >
> > I hope this helps. Let me know if you need more information,
> >
> > Thanks, Shane.
> >
> > --
> > View this message in context:
> http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-not-working-tp4627356p4631715.html
> > Sent from the Jetty Support mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-not-working-tp4627356p4631872.html
>  To unsubscribe from Jetty 8 and Maven Jetty Plugin jetty:run-war not
> working, click here.
> NAML<http://jetty.4.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> *gcp-jetty.tar.gz* (1K) Download Attachment<http://attachment/4631885/0/gcp-jetty.tar.gz>
>
> ------------------------------
> View this message in context: Re: Jetty 8 and Maven Jetty Plugin
> jetty:run-war not working<http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-not-working-tp4627356p4631885.html>
> Sent from the Jetty Support mailing list archive<http://jetty.4.n6.nabble.com/Jetty-Support-f1260.html>at Nabble.com.
>