MANIFEST.MF being lost on Deploy of WAR

View: New views
7 Messages — Rating Filter:   Alert me  

MANIFEST.MF being lost on Deploy of WAR

by Sanjay Acharya-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 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.

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



Re: MANIFEST.MF being lost on Deploy of WAR

by Matt Wringe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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



Parent Message unknown RE: MANIFEST.MF being lost on Deploy of WAR

by Sanjay Acharya-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.

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

<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
      http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <groupId>com.overstock.rossi</groupId>
  <artifactId>Foo-integration-test-1</artifactId>
  <version>1.0-SNAPSHOT</version>

  <!--  Although not a deployable Artifact, resource properties do not work if not a jar -->
  <packaging>jar</packaging>
  <name>Foo Integration Test 1</name>

  <description>
    Integration Test between clients and webapp.
  </description>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

    <!--  Define version of Client. It is a depenedency -->
    <dependency>
      <groupId>com.overstock.rossi</groupId>
      <artifactId>Foo-client</artifactId>
      <version>1.0-SNAPSHOT</version>
    </dependency>

    <!--  Define version of installed Webapp-->
    <dependency>
      <groupId>com.overstock.rossi</groupId>
      <artifactId>Foo-webapp</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>war</type>
    </dependency>

  </dependencies>

  <build>
    <!-- Reconfigure Test Source Directory from Default Setting -->
    <testSourceDirectory>src/test</testSourceDirectory>
    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
        <filtering>true</filtering>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>testCompile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>

        <configuration>
          <excludes>
            <exclude>**/*IntegrationTest.java</exclude>
          </excludes>
        </configuration>

        <!--  Dont run integration test in Test(s) phase -->
        <executions>
          <execution>
            <id>integration-tests</id>
            <phase>integration-test</phase>
            <goals>
              <goal>test</goal>
            </goals>
            <configuration>
              <skip>false</skip>
              <excludes>
                <exclude>none</exclude>
              </excludes>
              <includes>
                <include>**/*IntegrationTest.java</include>
              </includes>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>
        <version>0.3</version>
        <configuration>
          <wait>false</wait>
          <container>
            <containerId>jetty6x</containerId>
            <type>embedded</type>
            <systemProperties>
              <org.apache.commons.logging.Log>
                org.apache.commons.logging.impl.SimpleLog
              </org.apache.commons.logging.Log>
            </systemProperties>
          </container>
          <configuration>
            <properties>
              <cargo.servlet.port>9090</cargo.servlet.port>
            </properties>
            <deployables>
              <deployable>
                <groupId>com.overstock.rossi</groupId>
                <artifactId>Foo-webapp</artifactId>
                <type>war</type>
                <properties>
                  <context>IntegrationTest</context>
                </properties>
                <pingURL>http://localhost:9090/IntegrationTest</pingURL>
              </deployable>
            </deployables>
          </configuration>
        </configuration>
        <executions>
          <execution>
            <id>start-container</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>start</goal>
            </goals>
          </execution>
          <execution>
            <id>stop-container</id>
            <phase>post-integration-test</phase>
            <goals>
              <goal>stop</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <properties>
    <cargo.container>jetty6.x</cargo.container>
    <global.config.dir>
      ${basedir}/src/test/global-config-dir/unit-test
    </global.config.dir>
  </properties>

</project>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

RE: MANIFEST.MF being lost on Deploy of WAR

by Matt Wringe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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



RE: MANIFEST.MF being lost on Deploy of WAR

by Sanjay Acharya-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Not sure if this is what you are getting at. The war is deployed in tomcat. Tomcat explodes the WAR and the META-INF folder in the deployed case contains the MANIFEST.MF file. So yes it does show up in the directory.
----------------------------------------

> From: mwringe@...
> To: user@...
> Date: Tue, 12 Aug 2008 14:47:43 -0400
> Subject: RE: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
>
>
> 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
>
>

_________________________________________________________________
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



RE: MANIFEST.MF being lost on Deploy of WAR

by Sanjay Acharya-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


In addition, if I change my configuration to use Tomcat as follows:
     
 
     tomcat5x
     
          http://www.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.zip
          /tmp
       
 

Then the deployed directory>/tmp/cargo/conf/webapps/IntegrationTest/META-INF/  contains the MANIFEST.MF file. The problem seems to be occuring only when using Jetty.

Thanks,
Sanjay

----------------------------------------

> From: mwringe@...
> To: user@...
> Date: Tue, 12 Aug 2008 14:47:43 -0400
> Subject: RE: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
>
>
> 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
>
>

_________________________________________________________________
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



RE: MANIFEST.MF being lost on Deploy of WAR

by Matt Wringe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, 2008-08-12 at 20:28 +0000, Sanjay Acharya wrote:

> In addition, if I change my configuration to use Tomcat as follows:
>      
>  
>      tomcat5x
>      
>           http://www.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.zip
>           /tmp
>        
>  
>
> Then the deployed directory>/tmp/cargo/conf/webapps/IntegrationTest/META-INF/  contains the MANIFEST.MF file. The problem seems to be occuring only when using Jetty.

Ok, what I was trying to ask before was if you were to use Jetty itself
and were to deploy a webapp with a META-INF/MANIFEST.MF would you see
the manifest file in the temp directory (ie what happens when you don't
use cargo).

I have just tried this situation and Jetty doesn't have the manifest
file in the temp directory. So this is definitely not a cargo issue.

Next time please at least try and see if this is the fault of cargo or
if it is the behaviour of the web server.

>
> ----------------------------------------
> > From: mwringe@...
> > To: user@...
> > Date: Tue, 12 Aug 2008 14:47:43 -0400
> > Subject: RE: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
> >
> >
> > 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
> >
> >
>
> _________________________________________________________________
> 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