Cargo

Update support for latest stable jetty-distribution 7.1.6.v20100715

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.0.3
  • Component/s: Core
  • Labels:
    None
  • Environment:
  • Complexity:
    Intermediate
  • Tested on JDKs:
    1.6.0_15
  • Number of attachments :
    1

Description

Issue Links

Activity

Hide
Jason Thrasher added a comment -

Apply patch with:
svn co https://svn.codehaus.org/cargo/core/trunk core
cd core
patch -p0 < CARGO-805-eclipse-jetty-7.1.5.v20100705.patch
mvn install

Run tests with:
cd core/samples
mvn test -P jetty7x

Show
Jason Thrasher added a comment - Apply patch with: svn co https://svn.codehaus.org/cargo/core/trunk core cd core patch -p0 < CARGO-805-eclipse-jetty-7.1.5.v20100705.patch mvn install Run tests with: cd core/samples mvn test -P jetty7x
Hide
Savas Ali Tokmen added a comment -

Targeting version 1.0.3.

Show
Savas Ali Tokmen added a comment - Targeting version 1.0.3.
Hide
Savas Ali Tokmen added a comment -

New version: 7.1.6.v20100715

Show
Savas Ali Tokmen added a comment - New version: 7.1.6.v20100715
Hide
Savas Ali Tokmen added a comment -

Committed revision 2404.

Show
Savas Ali Tokmen added a comment - Committed revision 2404.
Hide
Jason Thrasher added a comment -

Here's a sample cargo config using Jetty7.1 (this patch) for integration tests.

<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.0.2-CARGO805</version>
<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>
<configuration>
<wait>false</wait>
<container>
<containerId>jetty7x</containerId>
<zipUrlInstaller>
<url>file:///path/or/url/to/jetty7.1.zip</url>
<installDir>${installDir}</installDir>
</zipUrlInstaller>
</container>
<configuration>
<home>target/jetty7x/container</home>
<properties>
<cargo.hostname>localhost</cargo.hostname>
<cargo.servlet.port>9876</cargo.servlet.port>
</properties>
</configuration>
</configuration>
</plugin>

Show
Jason Thrasher added a comment - Here's a sample cargo config using Jetty7.1 (this patch) for integration tests. <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0.2-CARGO805</version> <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> <configuration> <wait>false</wait> <container> <containerId>jetty7x</containerId> <zipUrlInstaller> <url>file:///path/or/url/to/jetty7.1.zip</url> <installDir>${installDir}</installDir> </zipUrlInstaller> </container> <configuration> <home>target/jetty7x/container</home> <properties> <cargo.hostname>localhost</cargo.hostname> <cargo.servlet.port>9876</cargo.servlet.port> </properties> </configuration> </configuration> </plugin>
Hide
Savas Ali Tokmen added a comment -
Show
Savas Ali Tokmen added a comment - Hello Since revision 2404, the CARGO samples use: http://download.eclipse.org/jetty/7.1.6.v20100715/dist/jetty-distribution-7.1.6.v20100715.tar.gz

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: