On Thu, Oct 8, 2009 at 4:06 PM, Luciano Resende <[email protected]> wrote:
> On Thu, Oct 8, 2009 at 7:56 AM, Jean-Sebastien Delfino
> <[email protected]> wrote:
>> Many test cases (binding-http-runtime, binding-jsonrpc-runtime,
>> binding-ws-axis2 etc) which work in Maven fail for me with DuplicateIntent
>> policy errors in Eclipse.
>>
>> Run As / Junit Test gives me the following errors:
>>
>> Oct 8, 2009 7:40:59 AM org.apache.tuscany.sca.node.impl.NodeImpl start
>> INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0
>> domain: tuscany.apache.org
>> Oct 8, 2009 7:41:01 AM
>> org.apache.tuscany.sca.definitions.impl.DefinitionsImpl [Extension points
>> definitions] (DuplicateIntent)
>> SEVERE: Duplicate intent
>> {http://docs.oasis-open.org/ns/opencsa/sca/200903}serverAuthentication found
>> in domain
>> Oct 8, 2009 7:41:01 AM
>> org.apache.tuscany.sca.definitions.impl.DefinitionsImpl [Extension points
>> definitions] (DuplicateIntent)
>> SEVERE: Duplicate intent
>> {http://docs.oasis-open.org/ns/opencsa/sca/200903}clientAuthentication found
>> in domain
>> Oct 8, 2009 7:41:01 AM
>> org.apache.tuscany.sca.definitions.impl.DefinitionsImpl [Extension points
>> definitions] (DuplicateIntent)
>> SEVERE: Duplicate intent
>> {http://docs.oasis-open.org/ns/opencsa/sca/200903}authentication found in
>> domain
>> Oct 8, 2009 7:41:01 AM
>> org.apache.tuscany.sca.definitions.impl.DefinitionsImpl [Extension points
>> definitions] (DuplicateIntent)
>> SEVERE: Duplicate intent
>> {http://docs.oasis-open.org/ns/opencsa/sca/200903}mutualAuthentication found
>> in domain
>> ...
>>
>> Any idea on what's causing getting these errors in Eclipse?
>> --
>> Jean-Sebastien
>>
>>
>
> How did you create your eclipse projects, and how are you running the tests ?
>
> I right click on the binding-http-runtime or binding-jsonrpc-runtime,
> select Run As->JUnit Test and get all tests passing.
>

Also works ok for me right now too, having created the projects with
"mvn eclipse:eclipse".

If you're not on the latest code there was a dupicate definitions.xml
file around for a while earlier that might cause that type of problem?

  ...ant

Reply via email to