« Return to Thread: MANIFEST.MF being lost on Deploy of WAR

RE: MANIFEST.MF being lost on Deploy of WAR

by Matt Wringe :: Rate this Message:

Reply to Author | View in Thread


On Tue, 2008-08-12 at 17:55 +0000, Sanjay Acharya wrote:
> Thanks for the Response. I have attached a Maven pom.xml that displays the content that was not readable.
> Additionally, yes the MANIFEST.MF file is present in the WAR and I have done a jar tvf to ensure the presence of the MANIFEST.MF.

Right, but is the manifest file even suppose to show up in the temporary
work directory or is it something that is just loaded into memory.

If you were to run this outside of cargo, would the the manifest file
show up in this directory?

>
> Additionally, the following are the lines I see when the war is extracted:
> 2008-08-12 11:34:24.039::INFO:  jetty-6.1.1rc1
> 2008-08-12 11:34:24.135::INFO:  Extract jar:file:Foo/Foo-webapp/target/Foo-webapp-1.0-SNAPSHOT.war!/ to /tmp/Jetty_0_0_0_0_9090_Foo-webapp-1.0-SNAPSHOT.war__IntegrationTest__-jvb210/webapp
> 2008-08-12 11:34:25.253::INFO:  Extract jar:file:/tmp/cargo/conf/cargocpc.war!/ to /tmp/Jetty_0_0_0_0_9090_cargocpc.war__cargocpc__tqefh9/webapp
>
> Thanks again.
> Sanjay
> ----------------------------------------
> > From: mwringe@...
> > To: user@...
> > Date: Tue, 12 Aug 2008 13:44:44 -0400
> > Subject: Re: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
> >
> >
> > On Tue, 2008-08-12 at 17:14 +0000, Sanjay Acharya wrote:
> >> Hi,
> >>
> >> I am using the following Maven/Cargo Configuration:
> >>
> >> Version 0.3 of cargo-maven2-plugin with JETTY6 and embedded container.
> >>
> >>
> >>
> >>                 com.overstock.rossi
> >>                 Foo-webapp
> >>                 war
> >>
> >>                   IntegrationTest
> >>
> >>                 http://localhost:9090/IntegrationTest
> >
> > ^^ I can't read what you have here
> >
> >> I have the deployable configured and during Maven's integration test phase, I am able to Start Jetty Via cargo. As part of deploying procedure, Cargo explodes the WAR to a temporary location, /tmp/Jetty_...Foo-webapp.../
> >>
> >> I am finding that the MANIFEST.MF entry that was present in the Foo-webapp.war is lost in the deployment. Other properties added to the META-INF folder seem to be retained.
> >
> > does the manifest file exist if you were to do this outside of cargo?
> >
> >> Any tips would be appreciated.
> >>
> >> Regards,
> >> Sanjay
> >> _________________________________________________________________
> >> Reveal your inner athlete and share it with friends on Windows Live.
> >> http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
>
> _________________________________________________________________
> Get Windows Live and get whatever you need, wherever you are.  Start here.
> http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008
> --------------------------------------------------------------------- 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


 « Return to Thread: MANIFEST.MF being lost on Deploy of WAR