|
I'd love to see this patch applied, so it'd be possible to do "tomcat:run" like you do "jetty:run". I'd also like to see a run-war if possible, so merging WARs with the war-plugin works. this patch is very useful to early evaluate the cross-application-server compatibility of your webapps. please apply it Apologies for the inactivity, I'll try to find some time to apply the patch soon. Applied with changes, thanks! I've opened i've just tested it (from the latest mojo snapshot). the new goal works just fine, but it introduces a minor problem (for me, at least): compiled classes and all the files needed to launch the applications are kept on the main sources tree. This causes a mix of sources and compiled class files in the same directory. would it be possible to clean them on exit ? I'm not sure I understand your scenario - which sources and classes are being mixed? sorry Mark, 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. once tomcat starts, the application is available at: and not as I was expecting. is this intended ? If so..why ? Yep I noticed this too - this was how the original patch worked. I was going to add support for finalName and path soon. Is this a blocker for you right now? actually it is: i have some paths used by ajax invocation, and i hard-coded (poor me) the context name as part of the URL.. Okay, I'll try to fix it sometime today for you. Fixed and deployed - see new 'path' config param: Does this plugin have a scanInterval setting like the Jetty Plugin does? <plugin> Not yet, but feel free to open a new JIRA issue for this enhancement. thanks mark, it works as expected now. Great work. I had to jump through some hoops to be able to run my app against POJOs instead of EJBs when deployed this way. Now that I've got it working, things are so much easier. Thanks for making it happen on this end. This will save me a ton of time. I'm having difficulties using this plugin with root context. I've tried the following 3 configurations <path>/</path> The first one almost works. The server response at http://localhost:8080/ |
|||||||||||||||||||||||||||||||||||||||||||
Has this patch been applied at all?
This functionality would be incredibly useful.