[ http://jira.codehaus.org/browse/MOJO-384?page=comments#action_81285 ] 
            
Valerio Schiavoni commented on MOJO-384:
----------------------------------------

ok, this is a concrete issue: using tomcat:run, the application is deployed in 
an 'anonymous' context, that is the finalName property (specified in the pom) 
is being ignored. 
Even forcing it with:
<plugin>
                <groupId>org.codehaus.mojo</groupId>
                         <artifactId>tomcat-maven-plugin</artifactId>
                         <configuration>
                                <path>/my-webapp</path>
                         </configuration>
</plugin>

once tomcat starts, the application is available at:
http://localhost:8080/index.jsp 

and not 
http://localhost:8080/my-webapp/index.jsp

as I was expecting. is this intended ? If so..why ?


> New goal 'run', which starts an embedded tomcat
> -----------------------------------------------
>
>                 Key: MOJO-384
>                 URL: http://jira.codehaus.org/browse/MOJO-384
>             Project: Mojo
>          Issue Type: New Feature
>          Components: tomcat
>            Reporter: Jurgen Lust
>         Assigned To: Mark Hobson
>         Attachments: tomcat-embedded.patch
>
>
> This patch adds a 'run' goal, which starts an embedded tomcat, using the 
> project's classpath, and the src/main/webapp directory as context root. The 
> advantage of this goal is that you don't need an installation of Tomcat, the 
> mojo handles everything for you

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email

Reply via email to