Are you using maven in offline mode (mvn -o) ? >From ant's experience, one must do a mvn in online mode first, before it can use the mvn -o. Please let me know if this helps.
On Jan 14, 2008 12:59 PM, Simon Nash <[EMAIL PROTECTED]> wrote: > I'm having the same problem as Ant when building the 1.1 branch from > the samples folder. I did an "svn up" around lunchtime today my time. > I'll comment out this sample from my build so that I can make progress. > > Simon > > > Simon Laws wrote: > > > On Jan 13, 2008 10:35 PM, Luciano Resende <[EMAIL PROTECTED]> wrote: > > > > > >>I made some progress by setting a repository in the samples\pom.xml > >>and also setting sure-fire to use the systemClassloader when running > >>the quote-xquery sample. > >> > >>Let me see if it works for you too. > >> > >>On Jan 13, 2008 12:46 PM, Simon Laws <[EMAIL PROTECTED]> wrote: > >> > >>>On Jan 13, 2008 7:28 PM, Luciano Resende < [EMAIL PROTECTED]> wrote: > >>> > >>> > >>>>I'm seeing some exceptions when trying to build quote-xquery sample. > >>>>It works ok from the sample project folder, but from samples root or > >>>>source root it fails with the exception below. I'm stil investigating > >>>>the issue, but just want to check if anyone else seeing this ? > >>>> > >>>>SEVERE: java.lang.ClassCastException: net.sf.saxon.value.FloatValue > >>>>org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException: > >>>>net.sf.saxon.value.FloatValue > >>>> at > >> > >>org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke > >> > >>>>(RuntimeWireInvoker.java:122) > >>>> at > >> > >>org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke > >> > >>>>(RuntimeWireInvoker.java:88) > >>>> at > >> > >>org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke > >> > >>>>(RuntimeWireInvoker.java :82) > >>>> at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke( > >>>>RuntimeWireImpl.java:126) > >>>> at > >>>> > >> > >>org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTarget( > >> > >>>>Axis2ServiceProvider.java:589) > >>>> at > >>>> > >> > >>org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic > >> > >>>>(Axis2ServiceInOutSyncMessageReceiver.java :59) > >>>> at > >>>> > >> > >>org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic > >> > >>>>(AbstractInOutSyncMessageReceiver.java:42) > >>>> at org.apache.axis2.receivers.AbstractMessageReceiver.receive ( > >>>>AbstractMessageReceiver.java:96) > >>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java > >> > >>:145) > >> > >>>> at > >>>> > >> > >>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest( > >> > >>>>HTTPTransportUtils.java:275) > >>>> at org.apache.axis2.transport.http.AxisServlet.doPost( > >>>>AxisServlet.java:120) > >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > >>>> at org.mortbay.jetty.servlet.ServletHolder.handle( > >>>>ServletHolder.java:487) > >>>> at org.mortbay.jetty.servlet.ServletHandler.handle( > >>>>ServletHandler.java:367) > >>>> at org.mortbay.jetty.servlet.SessionHandler.handle( > >>>>SessionHandler.java:181) > >>>> at org.mortbay.jetty.handler.ContextHandler.handle ( > >>>>ContextHandler.java:712) > >>>> at org.mortbay.jetty.handler.HandlerWrapper.handle( > >>>>HandlerWrapper.java:139) > >>>> at org.mortbay.jetty.Server.handle(Server.java:285) > >>>> at org.mortbay.jetty.HttpConnection.handleRequest( > >>>>HttpConnection.java:502) > >>>> at org.mortbay.jetty.HttpConnection$RequestHandler.content( > >>>>HttpConnection.java :835) > >>>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) > >>>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java > >> > >>:208) > >> > >>>> at org.mortbay.jetty.HttpConnection.handle (HttpConnection.java > >> > >>:378) > >> > >>>> at org.mortbay.io.nio.SelectChannelEndPoint.run( > >>>>SelectChannelEndPoint.java:368) > >>>> at org.apache.tuscany.sca.core.work.Jsr237Work.run( > >> > >>Jsr237Work.java > >> > >>>>:61) > >>>> at > >>>> > >> > >>org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork.run( > >> > >>>>ThreadPoolWorkManager.java:205) > >>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask ( > >>>>ThreadPoolExecutor.java:650) > >>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run( > >>>>ThreadPoolExecutor.java:675) > >>>> at java.lang.Thread.run(Thread.java:595) > >>>>Caused by: java.lang.ClassCastException: net.sf.saxon.value.FloatValue > >>>> at net.sf.saxon.value.ObjectValue.convertToJava( > >> > >>ObjectValue.java > >> > >>>>:133) > >>>> at net.sf.saxon.functions.ExtensionFunctionCall.setupParams ( > >>>>ExtensionFunctionCall.java:332) > >>>> at net.sf.saxon.functions.ExtensionFunctionCall.call( > >>>>ExtensionFunctionCall.java:213) > >>>> at net.sf.saxon.functions.ExtensionFunctionCall.iterate ( > >>>>ExtensionFunctionCall.java:112) > >>>> at net.sf.saxon.expr.ComputedExpression.evaluateItem( > >>>>ComputedExpression.java:503) > >>>> at net.sf.saxon.expr.ComputedExpression.process ( > >>>>ComputedExpression.java:578) > >>>> at net.sf.saxon.instruct.ElementCreator.processLeavingTail( > >>>>ElementCreator.java:164) > >>>> at net.sf.saxon.instruct.Block.processLeavingTail (Block.java > >> > >>:332) > >> > >>>> at net.sf.saxon.instruct.Instruction.process(Instruction.java > >> > >>:91) > >> > >>>> at net.sf.saxon.instruct.ElementCreator.processLeavingTail( > >>>>ElementCreator.java:164) > >>>> at net.sf.saxon.instruct.Instruction.process(Instruction.java > >> > >>:91) > >> > >>>> at net.sf.saxon.expr.ForExpression.process(ForExpression.java > >> > >>:535) > >> > >>>> at net.sf.saxon.expr.LetExpression.process (LetExpression.java > >> > >>:202) > >> > >>>> at net.sf.saxon.expr.ForExpression.process(ForExpression.java > >> > >>:535) > >> > >>>> at net.sf.saxon.expr.LetExpression.processLeavingTail( > >>>>LetExpression.java:330) > >>>> at net.sf.saxon.instruct.Block.processLeavingTail(Block.java > >> > >>:332) > >> > >>>> at net.sf.saxon.instruct.Instruction.process(Instruction.java > >> > >>:91) > >> > >>>> at net.sf.saxon.instruct.ElementCreator.constructElement ( > >>>>ElementCreator.java:250) > >>>> at net.sf.saxon.instruct.ElementCreator.evaluateItem( > >>>>ElementCreator.java:195) > >>>> at net.sf.saxon.expr.ExpressionTool.eagerEvaluate ( > >>>>ExpressionTool.java:297) > >>>> at net.sf.saxon.expr.ExpressionTool.lazyEvaluate( > >>>>ExpressionTool.java:245) > >>>> at net.sf.saxon.instruct.UserFunction.call(UserFunction.java:163) > >>>> at net.sf.saxon.expr.UserFunctionCall.callFunction( > >>>>UserFunctionCall.java:255) > >>>> at net.sf.saxon.expr.UserFunctionCall.iterate( > >> > >>UserFunctionCall.java > >> > >>>>:206) > >>>> at net.sf.saxon.query.XQueryExpression.iterator( > >>>>XQueryExpression.java:199) > >>>> at > >>>>org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.doInvoke( > >>>>XQueryInvoker.java:168) > >>>> at > >>>>org.apache.tuscany.sca.implementation.xquery.XQueryInvoker.invoke( > >>>>XQueryInvoker.java:185) > >>>> at > >>>> > >> > >>org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke > >> > >>>>(DataTransformationInterceptor.java:74) > >>>> at > >> > >>org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke > >> > >>>>(RuntimeWireInvoker.java:113) > >>>> ... 29 more > >>>> > >>>>-- > >>>>Luciano Resende > >>>>Apache Tuscany Committer > >>>>http://people.apache.org/~lresende<http://people.apache.org/%7Elresende><http://people.apache.org/%7Elresende > >>> > >>>>http://lresende.blogspot.com/ > >>>> > >>>>--------------------------------------------------------------------- > >>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>>Hi Luciano > >>> > >>>I've seen that also. I haven't investigated yet but I did have problems > >> > >>with > >> > >>>the versions of Saxon being pulled in. I had to revert to 8.7 from > >>>9.0.0.2so maybe something is amiss with versions somewhere. > >>> > >>>Simon > >>> > >> > >> > >> > >>-- > >>Luciano Resende > >>Apache Tuscany Committer > >>http://people.apache.org/~lresende <http://people.apache.org/%7Elresende> > >>http://lresende.blogspot.com/ > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >>It has worked for me this morning. I got a clean build of the 1.1 branch > > > > from the top level (WinXP, IBM JDK). However ant is still having problems > > and has reported https://issues.apache.org/jira/browse/TUSCANY-1985 > > > > I'll be trying a full build again shortly so I'll report back with any > > problems. > > > > Simon > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
