You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2010/07/16 08:47:25 UTC
Re: Build failed in Hudson: Tuscany-2x #773
On Fri, Jul 16, 2010 at 1:19 AM, Apache Hudson Server
<hu...@hudson.zones.apache.org> wrote:
> See <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/773/changes>
>
> Changes:
>
> [bdaniel] Use binding type from system definitions to obtain mayProvide/alwaysProvide values
>
> [slaws] Trying to get the async version of the service working. However it's failing with a policy error that I think is caused by the recent policy changes.
>
> [slaws] A bit of tidying to remove some chaff and add the async callback pattern into the sample
>
> [kelvingoodson]
>
> [bdaniel] Check extension type for unresolved service side intents, only throw a warning for unresolved reference side intents
>
> [slaws] Add new OSGi dependency required by changes at r964321
>
> [slaws] some more detail on the style/format tests
>
> [slaws] Add doc-list contribution to the build
>
> [slaws] Add launcher for doc lit contribution
>
> [slaws] Add contribution to demonstrate doc-lit(or bare) message style
>
> [bdaniel] Validate that the noListener intent isn't specified on a service
>
> [bdaniel] Add noListener intent to constants
>
> ------------------------------------------
> [...truncated 2268 lines...]
> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding/target/tuscany-databinding-2.0-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-databinding/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-databinding/2.0-SNAPSHOT/tuscany-databinding-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Tuscany SCA DataBinding for JAXB
> [INFO] task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target>
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [dependency:copy {execution: copy}]
> [INFO] Configured Artifact: javax.xml.bind:jaxb-api:2.1:jar
> [INFO] Copying jaxb-api-2.1.jar to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/endorsed/jaxb-api-2.1.jar>
> [INFO] [build-helper:add-test-source {execution: add-test-source}]
> [INFO] Test Source directory: <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/jaxb-source> added.
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 21 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/classes>
> [INFO] [jaxb2:generate {execution: generate-jaxb}]
> Cannot find CatalogManager.properties
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 21 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/test-classes>
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/surefire-reports>
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.tuscany.sca.databinding.jaxb.JAXBDataBindingTestCase
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.467 sec
> Running org.apache.tuscany.sca.databinding.jaxb.JAXBContextCacheTestCase
> 77ms vs. 0ms
> 367ms vs. 25ms
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.509 sec
> Running org.apache.tuscany.sca.databinding.jaxb.JAXBReflectionTestCase
> {http://www.example.com/IPO#schema1.xsd=<?xml version="1.0" standalone="yes"?>
> <xs:schema version="1.0" targetNamespace="http://www.example.com/IPO" xmlns:tns="http://www.example.com/IPO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <xs:element name="comment" type="xs:string"/>
>
> <xs:element name="note" type="tns:Note"/>
>
> <xs:element name="purchaseOrder" type="tns:PurchaseOrderType"/>
>
> <xs:complexType name="PurchaseOrderType">
> <xs:sequence>
> <xs:element name="shipTo" type="tns:Address"/>
> <xs:element name="billTo" type="tns:Address"/>
> <xs:element name="comment" type="xs:string" form="qualified" minOccurs="0"/>
> <xs:element name="items" type="tns:Items"/>
> </xs:sequence>
> <xs:attribute name="orderDate" type="xs:date"/>
> </xs:complexType>
>
> <xs:complexType name="Address">
> <xs:sequence>
> <xs:element name="name" type="xs:string"/>
> <xs:element name="street" type="xs:string"/>
> <xs:element name="city" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
>
> <xs:complexType name="UKAddress">
> <xs:complexContent>
> <xs:extension base="tns:Address">
> <xs:sequence>
> <xs:element name="postcode" type="xs:string"/>
> </xs:sequence>
> <xs:attribute name="exportCode" type="xs:positiveInteger"/>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
>
> <xs:complexType name="USAddress">
> <xs:complexContent>
> <xs:extension base="tns:Address">
> <xs:sequence>
> <xs:element name="state" type="tns:USState"/>
> <xs:element name="zip" type="xs:positiveInteger"/>
> </xs:sequence>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
>
> <xs:complexType name="Items">
> <xs:sequence>
> <xs:element name="item" nillable="true" minOccurs="0" maxOccurs="unbounded">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="productName" type="xs:string"/>
> <xs:element name="quantity" type="xs:int"/>
> <xs:element name="USPrice" type="xs:decimal"/>
> <xs:element name="comment" type="xs:string" form="qualified" minOccurs="0"/>
> <xs:element name="shipDate" type="xs:date" minOccurs="0"/>
> </xs:sequence>
> <xs:attribute name="partNum" type="xs:string" use="required"/>
> </xs:complexType>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
>
> <xs:complexType name="Note" mixed="true">
> <xs:sequence>
> <xs:any processContents="lax" namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
> </xs:sequence>
> <xs:anyAttribute namespace="##other" processContents="skip"/>
> </xs:complexType>
>
> <xs:simpleType name="USState">
> <xs:restriction base="xs:string">
> <xs:enumeration value="AK"/>
> <xs:enumeration value="AL"/>
> <xs:enumeration value="AR"/>
> <xs:enumeration value="CA"/>
> <xs:enumeration value="PA"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:schema>
>
> }
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
> Running org.apache.tuscany.sca.databinding.jaxb.POJOTestCase
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:myBean xmlns:ns2="http://ns1"><myBean><age>0</age><good>false</good><map/><name>Ray</name><rates>1.0</rates><rates>2.0</rates></myBean><myInterface xsi:type="myInterfaceImpl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><id>001</id></myInterface><myObject xsi:type="myBean" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><age>0</age><good>false</good><map/><name>Y</name><rates>1.0</rates><rates>2.0</rates></myObject></ns2:myBean>
> {http://ns1#schema1.xsd=<?xml version="1.0" standalone="yes"?>
> <xs:schema version="1.0" targetNamespace="http://ns1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <xs:import schemaLocation="#schema2.xsd"/>
>
> <xs:element name="myBean" type="myJaxbBean"/>
>
> </xs:schema>
>
> , #schema2.xsd=<?xml version="1.0" standalone="yes"?>
> <xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>
> <xs:complexType name="myJaxbBean">
> <xs:sequence>
> <xs:element name="myBean" type="myBean" minOccurs="0"/>
> <xs:element name="myInterface" type="xs:anyType" minOccurs="0"/>
> <xs:element name="myInterface1" type="myInterfaceImpl" minOccurs="0"/>
> <xs:element name="myInterface2" type="myInterfaceImpl" minOccurs="0"/>
> <xs:element name="myObject" type="xs:anyType" minOccurs="0"/>
> <xs:any processContents="skip" namespace="##other"/>
> </xs:sequence>
> </xs:complexType>
>
> <xs:complexType name="myBean">
> <xs:sequence>
> <xs:element name="age" type="xs:int"/>
> <xs:element name="good" type="xs:boolean"/>
> <xs:element name="map">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="key" minOccurs="0" type="xs:string"/>
> <xs:element name="value" minOccurs="0" type="xs:int"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:element name="name" type="xs:string" minOccurs="0"/>
> <xs:element name="notes" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
> <xs:element name="otherService" type="xs:anyType" minOccurs="0"/>
> <xs:element name="rates" type="xs:float" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
> <xs:element name="service" type="xs:anyType" minOccurs="0"/>
> </xs:sequence>
> </xs:complexType>
>
> <xs:complexType name="myInterfaceImpl">
> <xs:sequence>
> <xs:element name="id" type="xs:string" minOccurs="0"/>
> </xs:sequence>
> </xs:complexType>
> </xs:schema>
>
> }
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:beans xsi:type="myBeanArray" xmlns:ns2="http://ns1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><item xsi:type="mySubBean"><age>20</age><good>false</good><map><entry><key>1</key><value>1</value></entry></map><name>Test</name><notes>1</notes><notes>2</notes><rates>1.0</rates><rates>2.0</rates><addtional>SUB</addtional></item></ns2:beans>
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
> Running org.apache.tuscany.sca.databinding.jaxb.JAXBTestCase
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
> Running org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandlerTestCase
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
>
> Results :
>
> Tests run: 22, Failures: 0, Errors: 0, Skipped: 0
>
> [HUDSON] Recording test results
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar>
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/tuscany/sca/tuscany-databinding-jaxb/2.0-SNAPSHOT/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar
> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/pom.xml> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-databinding-jaxb/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-databinding-jaxb/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-databinding-jaxb/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-databinding-jaxb/2.0-SNAPSHOT/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Tuscany SCA Model Builders
> [INFO] task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/target>
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 1 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 19 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/target/classes>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[39,42] package org.apache.tuscany.sca.assembly.xml does not exist
>
> [ERROR] <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[223,28] cannot find symbol
> symbol : variable Constants
> location: class org.apache.tuscany.sca.builder.impl.CompositePolicyBuilderImpl
>
> [INFO] 2 errors
> [INFO] -------------------------------------------------------------
> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/pom.xml> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-builder/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-builder/2.0-SNAPSHOT/pom.xml
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[39,42] package org.apache.tuscany.sca.assembly.xml does not exist
>
> <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[223,28] cannot find symbol
> symbol : variable Constants
> location: class org.apache.tuscany.sca.builder.impl.CompositePolicyBuilderImpl
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 49 seconds
> [INFO] Finished at: Fri Jul 16 00:18:30 UTC 2010
> [INFO] Final Memory: 58M/716M
> [INFO] ------------------------------------------------------------------------
> Waiting for Hudson to finish collecting data
> Sending e-mails to: commits@tuscany.apache.org
> channel stopped
>
>
Lest anyone start chasing this particular problem I believe I've fixed
it. However there are a whole stack of test errors in the build now. I
posted about them previously.
Simon
--
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com
Re: Build failed in Hudson: Tuscany-2x #773
Posted by Mike Edwards <mi...@gmail.com>.
Simon Laws wrote:
> On Fri, Jul 16, 2010 at 7:47 AM, Simon Laws <si...@googlemail.com> wrote:
<snip>
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Building Apache Tuscany SCA Model Builders
>>> [INFO] task-segment: [clean, install]
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] [clean:clean {execution: default-clean}]
>>> [INFO] Deleting <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/target>
>>> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>>> [INFO] [resources:resources {execution: default-resources}]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 2 resources
>>> [INFO] Copying 1 resource
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> [INFO] Compiling 19 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/target/classes>
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[39,42] package org.apache.tuscany.sca.assembly.xml does not exist
>>>
>>> [ERROR] <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[223,28] cannot find symbol
>>> symbol : variable Constants
>>> location: class org.apache.tuscany.sca.builder.impl.CompositePolicyBuilderImpl
>>>
>>> [INFO] 2 errors
>>> [INFO] -------------------------------------------------------------
>>> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/pom.xml> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-builder/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-builder/2.0-SNAPSHOT/pom.xml
>>> [INFO] ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>> <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[39,42] package org.apache.tuscany.sca.assembly.xml does not exist
>>>
>>> <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[223,28] cannot find symbol
>>> symbol : variable Constants
>>> location: class org.apache.tuscany.sca.builder.impl.CompositePolicyBuilderImpl
>>>
>>>
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Total time: 1 minute 49 seconds
>>> [INFO] Finished at: Fri Jul 16 00:18:30 UTC 2010
>>> [INFO] Final Memory: 58M/716M
>>> [INFO] ------------------------------------------------------------------------
>>> Waiting for Hudson to finish collecting data
>>> Sending e-mails to: commits@tuscany.apache.org
>>> channel stopped
>>>
>>>
>> Lest anyone start chasing this particular problem I believe I've fixed
>> it. However there are a whole stack of test errors in the build now. I
>> posted about them previously.
>>
>> Simon
>>
>> --
>> Apache Tuscany committer: tuscany.apache.org
>> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>>
>
> I may have spoken too soon. Off line Mike tells me he is still seeing
> this with the latest code.
>
> Simon
Folks,
I can confirm that the problem with the Builder module is now fixed.
- thanks to Ant for the fixes.
Yours, Mike.
Yours, Mike.
Re: Build failed in Hudson: Tuscany-2x #773
Posted by Simon Laws <si...@googlemail.com>.
On Fri, Jul 16, 2010 at 7:47 AM, Simon Laws <si...@googlemail.com> wrote:
> On Fri, Jul 16, 2010 at 1:19 AM, Apache Hudson Server
> <hu...@hudson.zones.apache.org> wrote:
>> See <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/773/changes>
>>
>> Changes:
>>
>> [bdaniel] Use binding type from system definitions to obtain mayProvide/alwaysProvide values
>>
>> [slaws] Trying to get the async version of the service working. However it's failing with a policy error that I think is caused by the recent policy changes.
>>
>> [slaws] A bit of tidying to remove some chaff and add the async callback pattern into the sample
>>
>> [kelvingoodson]
>>
>> [bdaniel] Check extension type for unresolved service side intents, only throw a warning for unresolved reference side intents
>>
>> [slaws] Add new OSGi dependency required by changes at r964321
>>
>> [slaws] some more detail on the style/format tests
>>
>> [slaws] Add doc-list contribution to the build
>>
>> [slaws] Add launcher for doc lit contribution
>>
>> [slaws] Add contribution to demonstrate doc-lit(or bare) message style
>>
>> [bdaniel] Validate that the noListener intent isn't specified on a service
>>
>> [bdaniel] Add noListener intent to constants
>>
>> ------------------------------------------
>> [...truncated 2268 lines...]
>> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding/target/tuscany-databinding-2.0-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-databinding/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-databinding/2.0-SNAPSHOT/tuscany-databinding-2.0-SNAPSHOT.jar
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building Apache Tuscany SCA DataBinding for JAXB
>> [INFO] task-segment: [clean, install]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target>
>> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>> [INFO] [dependency:copy {execution: copy}]
>> [INFO] Configured Artifact: javax.xml.bind:jaxb-api:2.1:jar
>> [INFO] Copying jaxb-api-2.1.jar to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/endorsed/jaxb-api-2.1.jar>
>> [INFO] [build-helper:add-test-source {execution: add-test-source}]
>> [INFO] Test Source directory: <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/jaxb-source> added.
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 3 resources
>> [INFO] Copying 3 resources
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 21 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/classes>
>> [INFO] [jaxb2:generate {execution: generate-jaxb}]
>> Cannot find CatalogManager.properties
>> [INFO] [resources:testResources {execution: default-testResources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 1 resource
>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>> [INFO] Compiling 21 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/test-classes>
>> [INFO] [surefire:test {execution: default-test}]
>> [INFO] Surefire report directory: <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/surefire-reports>
>>
>> -------------------------------------------------------
>> T E S T S
>> -------------------------------------------------------
>> Running org.apache.tuscany.sca.databinding.jaxb.JAXBDataBindingTestCase
>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.467 sec
>> Running org.apache.tuscany.sca.databinding.jaxb.JAXBContextCacheTestCase
>> 77ms vs. 0ms
>> 367ms vs. 25ms
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.509 sec
>> Running org.apache.tuscany.sca.databinding.jaxb.JAXBReflectionTestCase
>> {http://www.example.com/IPO#schema1.xsd=<?xml version="1.0" standalone="yes"?>
>> <xs:schema version="1.0" targetNamespace="http://www.example.com/IPO" xmlns:tns="http://www.example.com/IPO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>>
>> <xs:element name="comment" type="xs:string"/>
>>
>> <xs:element name="note" type="tns:Note"/>
>>
>> <xs:element name="purchaseOrder" type="tns:PurchaseOrderType"/>
>>
>> <xs:complexType name="PurchaseOrderType">
>> <xs:sequence>
>> <xs:element name="shipTo" type="tns:Address"/>
>> <xs:element name="billTo" type="tns:Address"/>
>> <xs:element name="comment" type="xs:string" form="qualified" minOccurs="0"/>
>> <xs:element name="items" type="tns:Items"/>
>> </xs:sequence>
>> <xs:attribute name="orderDate" type="xs:date"/>
>> </xs:complexType>
>>
>> <xs:complexType name="Address">
>> <xs:sequence>
>> <xs:element name="name" type="xs:string"/>
>> <xs:element name="street" type="xs:string"/>
>> <xs:element name="city" type="xs:string"/>
>> </xs:sequence>
>> </xs:complexType>
>>
>> <xs:complexType name="UKAddress">
>> <xs:complexContent>
>> <xs:extension base="tns:Address">
>> <xs:sequence>
>> <xs:element name="postcode" type="xs:string"/>
>> </xs:sequence>
>> <xs:attribute name="exportCode" type="xs:positiveInteger"/>
>> </xs:extension>
>> </xs:complexContent>
>> </xs:complexType>
>>
>> <xs:complexType name="USAddress">
>> <xs:complexContent>
>> <xs:extension base="tns:Address">
>> <xs:sequence>
>> <xs:element name="state" type="tns:USState"/>
>> <xs:element name="zip" type="xs:positiveInteger"/>
>> </xs:sequence>
>> </xs:extension>
>> </xs:complexContent>
>> </xs:complexType>
>>
>> <xs:complexType name="Items">
>> <xs:sequence>
>> <xs:element name="item" nillable="true" minOccurs="0" maxOccurs="unbounded">
>> <xs:complexType>
>> <xs:sequence>
>> <xs:element name="productName" type="xs:string"/>
>> <xs:element name="quantity" type="xs:int"/>
>> <xs:element name="USPrice" type="xs:decimal"/>
>> <xs:element name="comment" type="xs:string" form="qualified" minOccurs="0"/>
>> <xs:element name="shipDate" type="xs:date" minOccurs="0"/>
>> </xs:sequence>
>> <xs:attribute name="partNum" type="xs:string" use="required"/>
>> </xs:complexType>
>> </xs:element>
>> </xs:sequence>
>> </xs:complexType>
>>
>> <xs:complexType name="Note" mixed="true">
>> <xs:sequence>
>> <xs:any processContents="lax" namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
>> </xs:sequence>
>> <xs:anyAttribute namespace="##other" processContents="skip"/>
>> </xs:complexType>
>>
>> <xs:simpleType name="USState">
>> <xs:restriction base="xs:string">
>> <xs:enumeration value="AK"/>
>> <xs:enumeration value="AL"/>
>> <xs:enumeration value="AR"/>
>> <xs:enumeration value="CA"/>
>> <xs:enumeration value="PA"/>
>> </xs:restriction>
>> </xs:simpleType>
>> </xs:schema>
>>
>> }
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
>> Running org.apache.tuscany.sca.databinding.jaxb.POJOTestCase
>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:myBean xmlns:ns2="http://ns1"><myBean><age>0</age><good>false</good><map/><name>Ray</name><rates>1.0</rates><rates>2.0</rates></myBean><myInterface xsi:type="myInterfaceImpl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><id>001</id></myInterface><myObject xsi:type="myBean" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><age>0</age><good>false</good><map/><name>Y</name><rates>1.0</rates><rates>2.0</rates></myObject></ns2:myBean>
>> {http://ns1#schema1.xsd=<?xml version="1.0" standalone="yes"?>
>> <xs:schema version="1.0" targetNamespace="http://ns1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>>
>> <xs:import schemaLocation="#schema2.xsd"/>
>>
>> <xs:element name="myBean" type="myJaxbBean"/>
>>
>> </xs:schema>
>>
>> , #schema2.xsd=<?xml version="1.0" standalone="yes"?>
>> <xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
>>
>> <xs:complexType name="myJaxbBean">
>> <xs:sequence>
>> <xs:element name="myBean" type="myBean" minOccurs="0"/>
>> <xs:element name="myInterface" type="xs:anyType" minOccurs="0"/>
>> <xs:element name="myInterface1" type="myInterfaceImpl" minOccurs="0"/>
>> <xs:element name="myInterface2" type="myInterfaceImpl" minOccurs="0"/>
>> <xs:element name="myObject" type="xs:anyType" minOccurs="0"/>
>> <xs:any processContents="skip" namespace="##other"/>
>> </xs:sequence>
>> </xs:complexType>
>>
>> <xs:complexType name="myBean">
>> <xs:sequence>
>> <xs:element name="age" type="xs:int"/>
>> <xs:element name="good" type="xs:boolean"/>
>> <xs:element name="map">
>> <xs:complexType>
>> <xs:sequence>
>> <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
>> <xs:complexType>
>> <xs:sequence>
>> <xs:element name="key" minOccurs="0" type="xs:string"/>
>> <xs:element name="value" minOccurs="0" type="xs:int"/>
>> </xs:sequence>
>> </xs:complexType>
>> </xs:element>
>> </xs:sequence>
>> </xs:complexType>
>> </xs:element>
>> <xs:element name="name" type="xs:string" minOccurs="0"/>
>> <xs:element name="notes" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
>> <xs:element name="otherService" type="xs:anyType" minOccurs="0"/>
>> <xs:element name="rates" type="xs:float" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
>> <xs:element name="service" type="xs:anyType" minOccurs="0"/>
>> </xs:sequence>
>> </xs:complexType>
>>
>> <xs:complexType name="myInterfaceImpl">
>> <xs:sequence>
>> <xs:element name="id" type="xs:string" minOccurs="0"/>
>> </xs:sequence>
>> </xs:complexType>
>> </xs:schema>
>>
>> }
>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:beans xsi:type="myBeanArray" xmlns:ns2="http://ns1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><item xsi:type="mySubBean"><age>20</age><good>false</good><map><entry><key>1</key><value>1</value></entry></map><name>Test</name><notes>1</notes><notes>2</notes><rates>1.0</rates><rates>2.0</rates><addtional>SUB</addtional></item></ns2:beans>
>> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
>> Running org.apache.tuscany.sca.databinding.jaxb.JAXBTestCase
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
>> Running org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandlerTestCase
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
>>
>> Results :
>>
>> Tests run: 22, Failures: 0, Errors: 0, Skipped: 0
>>
>> [HUDSON] Recording test results
>> [INFO] [jar:jar {execution: default-jar}]
>> [INFO] Building jar: <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar>
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/tuscany/sca/tuscany-databinding-jaxb/2.0-SNAPSHOT/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar
>> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/pom.xml> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-databinding-jaxb/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-databinding-jaxb/2.0-SNAPSHOT/pom.xml
>> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/databinding-jaxb/target/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-databinding-jaxb/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-databinding-jaxb/2.0-SNAPSHOT/tuscany-databinding-jaxb-2.0-SNAPSHOT.jar
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building Apache Tuscany SCA Model Builders
>> [INFO] task-segment: [clean, install]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/target>
>> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 2 resources
>> [INFO] Copying 1 resource
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 19 source files to <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/target/classes>
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[39,42] package org.apache.tuscany.sca.assembly.xml does not exist
>>
>> [ERROR] <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[223,28] cannot find symbol
>> symbol : variable Constants
>> location: class org.apache.tuscany.sca.builder.impl.CompositePolicyBuilderImpl
>>
>> [INFO] 2 errors
>> [INFO] -------------------------------------------------------------
>> [HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/pom.xml> to /export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-builder/builds/2010-07-16_00-16-08/archive/org.apache.tuscany.sca/tuscany-builder/2.0-SNAPSHOT/pom.xml
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[39,42] package org.apache.tuscany.sca.assembly.xml does not exist
>>
>> <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/CompositePolicyBuilderImpl.java>:[223,28] cannot find symbol
>> symbol : variable Constants
>> location: class org.apache.tuscany.sca.builder.impl.CompositePolicyBuilderImpl
>>
>>
>> [INFO] ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 1 minute 49 seconds
>> [INFO] Finished at: Fri Jul 16 00:18:30 UTC 2010
>> [INFO] Final Memory: 58M/716M
>> [INFO] ------------------------------------------------------------------------
>> Waiting for Hudson to finish collecting data
>> Sending e-mails to: commits@tuscany.apache.org
>> channel stopped
>>
>>
>
> Lest anyone start chasing this particular problem I believe I've fixed
> it. However there are a whole stack of test errors in the build now. I
> posted about them previously.
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>
I may have spoken too soon. Off line Mike tells me he is still seeing
this with the latest code.
Simon
--
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com