Additionally to that JIRA comment, the suggested idea does seem useful so i've ported the patch to the webapp distribution to try it out. There's a test snapshot build of this from the latest code at:
http://people.apache.org/~antelder/tuscany/tuscany.war Deploy that war to tomcat, create a folder "c:\TuscanyRepository" and then copy sca contribution jars to that folder and they should get hot deployed (hot update of previously deployed contributions isn't go just now). ...ant On 10/31/07, ant elder (JIRA) <tuscany-dev@ws.apache.org> wrote: > > > [ > https://issues.apache.org/jira/browse/TUSCANY-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539051] > > ant elder commented on TUSCANY-1884: > ------------------------------------ > > Thanks for the patch, this is an interesting idea. > > This isn't based on the latest trunk code and when i try adjusting the > change for the current code I can't get it to work. That could be that I'm > misunderstanding how it should be configurered though - what is expected to > be at the location pointed to by the tuscanyConfigLocation parameter? Just > the composite scdl file, a contribution jar, something else? > > Also is there any chance you could try with the latest trunk code? > > > > Allow the setting of the contribution root in the web.xml > > --------------------------------------------------------- > > > > Key: TUSCANY-1884 > > URL: https://issues.apache.org/jira/browse/TUSCANY-1884 > > Project: Tuscany > > Issue Type: Improvement > > Components: Java SCA Web App Integration > > Affects Versions: Java-SCA-1.0 > > Environment: Solaris, WebSphere > > Reporter: Sunny Ip > > Assignee: ant elder > > Priority: Minor > > Attachments: WebAppServletHost.java > > > > > > Currently, the composite file must be located in the classpath, but it > is sometime useful to be able to specify the location of the composite file. > In our case, we'd like to place it outside of the EAR/WAR so the composite > file can be modified for different environments without modifying the > EAR/WAR. The attached code allows the servlet/filter to be configured in the > web.xml with the path to the contribution root. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >