So that content not allowed issue is still floating around, but I think I
see how it's set up for multi-module bundles.  I think I'm good, for now.

John


On Wed, Jun 26, 2013 at 9:19 PM, John D. Ament <[email protected]>wrote:

> I see, I see.
>
> So based on this, I created a simple XML file to point to this rest
> service (just as a test).  I saved it as feature.xml and put it in my
> deploy directory
>
> <?xml version="1.0" encoding="UTF-8"?>
> <features name="CustomDescriptor">
>
> <repository>mvn:file://c:/users/john.ament/.m2/repository!org.apache.servicemix.examples/camel-cxf-rest-service</repository>
>   <feature name="hot-camel-cxf-rest-service">
>     <feature>camel-cxf-rest-service</feature>
>   </feature>
> </features>
>
> I do see this error, so it looks like it's at least seeing the file:
>
> karaf@root> [Fatal Error] :1:1: Content is not allowed in prolog.
>
> One thing that seems wrong to me is that I want to point to the entire
> maven repo, and then specify the features based on group id/artifact id
> (since I'll likely provide many features in my config).  It seems
> conceptually this should work, but since the group id and artifact id need
> to be specified I'm not sure how this could point to multiple repos (though
> it seems like feature's are plural in this file).
>
> Anything that I can do for the XML structure issue?
>
> Thanks for your help!
>
> John
>
>
> On Wed, Jun 26, 2013 at 8:52 PM, Freeman Fang <[email protected]>wrote:
>
>> Hi,
>>
>> I think the doc here [1] can explain more about the features
>>
>> [1]
>> http://fusesource.com/docs/esb/4.4.1/esb_deploy_osgi/DeployFeatures-Deploy.html
>> -------------
>> Freeman(Yue) Fang
>>
>> Red Hat, Inc.
>> FuseSource is now part of Red Hat
>> Web: http://fusesource.com | http://www.redhat.com/
>> Twitter: freemanfang
>> Blog: http://freemanfang.blogspot.com
>> http://blog.sina.com.cn/u/1473905042
>> weibo: @Freeman小屋
>>
>>
>>
>> On 2013-6-27, at 上午8:45, John D. Ament wrote:
>>
>> > Hi Freeman,
>> >
>> > Yes, hmm I noticed that.
>> >
>> > I guess my question is - how do I get my service to deploy in this
>> fashion?
>> > If I wanted to create a new service similar to this REST service.
>> >
>> > John
>> >
>> >
>> >
>> > On Wed, Jun 26, 2013 at 8:37 PM, Freeman Fang <[email protected]
>> >wrote:
>> >
>> >> Hi,
>> >>
>> >> examples-camel-cxf-rest is new added very recently, not in any released
>> >> version yet, if you wanna try it, please use Servicemix 5.0 SNAPSHOT
>> kit.
>> >> -------------
>> >> Freeman(Yue) Fang
>> >>
>> >> Red Hat, Inc.
>> >> FuseSource is now part of Red Hat
>> >> Web: http://fusesource.com | http://www.redhat.com/
>> >> Twitter: freemanfang
>> >> Blog: http://freemanfang.blogspot.com
>> >> http://blog.sina.com.cn/u/1473905042
>> >> weibo: @Freeman小屋
>> >>
>> >>
>> >>
>> >> On 2013-6-27, at 上午8:27, John D. Ament wrote:
>> >>
>> >>> Hi all,
>> >>>
>> >>> pretty new to servicemix.
>> >>>
>> >>> Reading through the examples, I wanted to start playing with things.
>>  In
>> >>> one of the examples I was trying, I saw this:
>> >>>
>> >>> A. Using a Prebuilt Deployment Bundle: Quick and Easy
>> >>> -----------------------------------------------------
>> >>> To install and run a prebuilt version of this example, enter
>> >>> the following command in the ServiceMix console:
>> >>>
>> >>> features:install examples-camel-cxf-rest
>> >>>
>> >>> This command makes use of the ServiceMix features facility. For
>> >>> more information about the features facility, see the README.txt
>> >>> file in the examples parent directory.
>> >>>
>> >>> However, when I ran this command, I got the following error:
>> >>>
>> >>> karaf@root> features:install examples-camel-cxf-rest
>> >>> Error executing command: No feature named 'examples-camel-cxf-rest'
>> with
>> >>> version '0.0.0' available
>> >>>
>> >>> I'm assuming it's not as easy as described.  Do I still need to build
>> it
>> >>> via maven?
>> >>
>> >>
>>
>>
>

Reply via email to