How does the shell operate with webapps? I've tried loading helloworld-webapp with mvn tuscany:run and I got a ClassNotFoundException on a jetty related class. I've added jetty dependencies to the shell module and now i'm getting:
Feb 7, 2011 8:33:48 PM org.apache.tuscany.sca.core.runtime.impl.EndpointReferenceBinderImpl [] (ComponentReferenceTargetNotFound) WARNING: Component reference target not found at deployment time, it might be a remote service elsewhere in the SCA Domain so well try and resolve it again at runtime: {1} 2011-02-07 20:33:48.163::INFO: Logging to STDERR via org.mortbay.log.StdErrLog Embedded error: org.apache.tuscany.sca.runtime.ActivationException: java.lang.UnsupportedOperationException Could you give me some tips on what to do next? On Mon, Feb 7, 2011 at 10:43 PM, Florian Moga <moga....@gmail.com> wrote: > I gave it a try and it found the same problem. It looks like it is not > expected that the junit jar to be specified amongst dependencies but in the > $ANT_HOME/lib folder... I've added the build.test.classpath to the > test-junit-present target and tests are working now. > > <target name="test-junit-present"> > <available classname="junit.framework.Test" property="junit.present"> > <classpath refid="build.test.classpath"/> > </available> > </target> > > After that, at the package target I'm getting "maven-build.xml:250: > Attributes must have name and value" and I cannot find what it's all about. > > > On Mon, Feb 7, 2011 at 9:13 PM, ant elder <antel...@apache.org> wrote: > >> On Sun, Feb 6, 2011 at 12:50 PM, Florian MOGA <moga....@gmail.com> wrote: >> > I've just checked out "mvn ant:ant" and seems to do a decent job in >> > generating an ant build file. >> >> I didn't know about "mvn ant:ant" that does look good. I haven't quite >> got it to work properly yet though, if i run "mvn ant:ant" in >> getting-started/helloworld-contribution it all seems to work but then >> when running it fails to run the unit tests saying junit isn't >> available, which is odd as it seems to download junit ok and looks >> like it is where it says its looking. Does that work for anyone else? >> >> ...ant >> > >