On Fri, Jun 3, 2011 at 10:59 AM, Florian Moga <moga....@gmail.com> wrote: > Hi Ant, > It now works fine with the helloworld sample. I've checked and it uses > alpha3 with mvn help:describe > -Dplugin=org.apache.tuscany.sca:tuscany-zip-plugin. > I've tried packaging webapps as zip and running them with something like > node = NodeFactory.newInstance().createNode(new Contribution("foo", > "target/helloworld-webapp-2.0-SNAPSHOT.zip")); > node.start(); > but the Tuscany runtime simply logs > INFO: Loading contribution: > file:/home/fmoga/coding/apache-tuscany/trunk/samples/getting-started/helloworld-webapp/target/helloworld-webapp-2.0-SNAPSHOT.zip > and doesn't deploy the webapp. Is this plugin intended to support webapps as > well? Couldn't find any information related to this in the README. > Thanks, > Florian >
No I don't expect that would work presently, but from what you've said it sounds like the tuscany-zip-plugin did work ok and create a zip contribution but the issue is that the NodeFactory Node doesn't know who to run that as a webapp. Is this something that needs to be supported, why would you want a webapp not packaged as a .war? Either way, is this an issue for this plugin release or could it be left for a later release? ...ant