You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Adam Estrada (Closed) (JIRA)" <ji...@apache.org> on 2012/02/11 20:54:59 UTC

[jira] [Closed] (SIS-30) Jetty Integration

     [ https://issues.apache.org/jira/browse/SIS-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Estrada closed SIS-30.
---------------------------

    Resolution: Fixed

Merged changes and committed to trunk
                
> Jetty Integration
> -----------------
>
>                 Key: SIS-30
>                 URL: https://issues.apache.org/jira/browse/SIS-30
>             Project: Spatial Information Systems
>          Issue Type: New Feature
>          Components: website
>    Affects Versions: 0.2-incubating
>         Environment: All
>            Reporter: Adam Estrada
>            Priority: Minor
>              Labels: maven
>             Fix For: 0.2-incubating
>
>
> We would like to add Jetty (run) and basic logging to the sis-webapp pom.xml. Referenced here: http://mail-archives.apache.org/mod_mbox/incubator-sis-dev/201202.mbox/browser. I got it working by adding the following to the webapp xml file.
> <build>
> 	<plugins>
> 		<plugin>
> 			<groupId>org.mortbay.jetty</groupId>
> 			<artifactId>maven-jetty-plugin</artifactId>
> 			<configuration>
> 				<contextPath>/sis-webapp</contextPath>
> 				<webApp>${basedir}/target/sis-webapp-0.2-incubating-SNAPSHOT.war</webApp>
> 			</configuration>
> 			<executions>
> 				<execution>
> 					<id>start-jetty</id>
> 					<phase>pre-integration-test</phase>
> 					<goals>
> 						<goal>run</goal>
> 					</goals>
> 					<configuration>
> 						<scanIntervalSeconds>0</scanIntervalSeconds>
> 						<daemon>true</daemon>
> 					</configuration>
> 				</execution>
> 			</executions>
> 		</plugin>
> 	</plugins>
> </build>
> Alan Canbera commented on the same thread with:
>    <build>
>        <plugins>
>            <plugin>
>                <groupId>org.mortbay.jetty</groupId>
>                <artifactId>maven-jetty-plugin</artifactId>
>                <version>6.1.21</version>
>                <configuration>
>                    <!-- Uncomment this if you want recompilation from your IDE to trigger reloading the app -->
>                    <scanIntervalSeconds>10</scanIntervalSeconds>
>                    <contextPath>/sis</contextPath>
>                    <systemProperties>
>                        <systemProperty>
>                            <name>org.apache.commons.logging.Log</name>
>                            <value>org.apache.commons.logging.impl.Jdk14Logger</value>
>                        </systemProperty>
>                        <systemProperty>
>                            <name>java.util.logging.config.file</name>
>                            <value>./src/test/resources/logging.properties</value>
>                        </systemProperty>
>                    </systemProperties>
>                </configuration>
>            </plugin>
>        </plugins>
>    </build>
> Maybe we can marry the two together in the working version of the application?
> Adam

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira