So it may be a platform issue. Philip, could you take a look at it ?
On 8/13/06, ldangelo <[EMAIL PROTECTED]> wrote:
I'm having the same problem... I am using java version 1.5 on Mac OS X
Tiger... if I execute mvn with -X I see something interesting...
The path for the Bean file appears to be invalid... Here is the output:
2006-08-13 01:02:19,948 [main ]
INFO XBeanXmlBeanDefinitionReader
- Loading XML bean definitions from file
[/Users/ldangelo/Development/servicemix/trunk/samples/wsdl-first/wsdl-first-jsr181-su/Users/ldangelo/Development/servicemix/trunk/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml]
Also if you notice the actuall error message:
Embedded error: Unable to generate service unit descriptor!
Users/ldangelo/Development/servicemix/trunk/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml
(No such file or directory)
The leading slash is missing? It should be /Users... Any idea how to
work
around/fix this issue?
-LeoD
Antoni Reus wrote:
>
> It seems there is a problem in samples:
>
> It seems there is a problem with relative/absolute path of file
> "samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml"
>
> mvn -Dmaven.test.skip=true -Dprofile=step2 install, fails with:
>
>
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] Building ServiceMix :: Samples :: WSDL first :: JSR181
> [INFO] task-segment: [install]
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
> 11/08/200It seems there is a problem with relative/absolute path of file
> "samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml"6
> 09:41:37 org.codehaus.xfire.gen.Wsdl11Generator generate
> INFO: Generating code for WSDL at
> file:/home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/person.wsdl
> with a base URI of
> file:/home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/person.wsdl
> org/apache/servicemix/samples/wsdl_first/types/GetPersonRequest.java
> org/apache/servicemix/samples/wsdl_first/types/GetPersonResponse.java
> org/apache/servicemix/samples/wsdl_first/types/ObjectFactory.java
> org/apache/servicemix/samples/wsdl_first/types/UnknownPersonFault.java
> org/apache/servicemix/samples/wsdl_first/types/package-info.java
> 11/08/2006 09:41:37
> org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator generate
> INFO: Creating class org.apache.servicemix.samples.wsdl_first.Person
> 11/08/2006 09:41:37
> org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator generate
> INFO: Creating class
> org.apache.servicemix.samples.wsdl_first.PersonServiceImpl
> org/apache/servicemix/samples/wsdl_first/Person.java
> org/apache/servicemix/samples/wsdl_first/PersonServiceImpl.java
> org/apache/servicemix/samples/wsdl_first/PersonServiceService.java
> org/apache/servicemix/samples/wsdl_first/UnknownPersonFault.java
> [INFO] Executed tasks
> [INFO] Registering compile source root
> /home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/samples/wsdl-first/wsdl-first-jsr181-su/target/jaxws
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 9 source files to
> /home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/samples/wsdl-first/wsdl-first-jsr181-su/target/classes
> [INFO] [jbi:generate-jbi-service-unit-descriptor]
> [INFO] Generating jbi.xml
> [INFO] Created Service Unit Analyzer
> [EMAIL PROTECTED]
> 2006-08-11 09:41:38,733 [main ] INFO
> CollectionFactory - JDK 1.4+ collections available
> 2006-08-11 09:41:38,743 [main ] INFO
> CollectionFactory - Commons Collections 3.x available
> 2006-08-11 09:41:38,785 [main ] INFO
> XBeanXmlBeanDefinitionReader - Loading XML bean definitions from file
> [/home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
>
> Embedded error: Unable to generate service unit descriptor!
> home/IBIT/areus/java/servicemix/servicemix-3.0-dev
/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml
> (No such file or directory)
>
>
>
>
> Salut.
>
>
>
>
>
>
> --
> ----------------------------------------
> Antoni Reus Darder
> Cap de Projecte
> Administració Digital, Negoci Electrònic i Sanitat
>
> F u n d a c i ó I B I T
> Illes Balears Innovació Tecnològica
> http://www.ibit.org
> Tel. +34 971 17 72 70/71
> Fax. +34 971 17 72 79
> ----------------------------------------
>
>
>
>
--
View this message in context:
http://www.nabble.com/build-broken-tf2089208.html#a5782296
Sent from the ServiceMix - Dev forum at Nabble.com.
--
Cheers,
Guillaume Nodet