Hi Ramith,

I checked with your attached .car file.The structure of .dar file inside
your car file may be the reason for your problem. I'm attaching a working
.car file with a gadget .dar included in it,which is created with dev
studio 2.0.1. Check the .dar structure in it.Once it deployed in GS
1.4.2,it is deploying to the correct registry location.Please check with
the attached car file[gadgetCar_1.0.0].

Thanks

On Tue, Nov 20, 2012 at 3:32 AM, Ramith Jayasinghe <[email protected]> wrote:

> Hi Guys,
>  I created a Very simple Gadget (+ a Carbon application to go with that
> using dev studio) and uploaded it to Gadget server 1.4.2
>  One thing I noticed is its not uploading gadget related xml file to
> correct registry path.
>  for exmple : suppose my gadget is 'MyGadget' I suppose files related to
> that needs to be in : /_system/
> config
> /
> repository
> /
> gadget-server
> /
> gadgets
> /MyGadget isn't it?
> but for some reason GS will put the files in : /_system/
> config
> /
> repository
> /
> gadget-server
> /
> gadgets
> /
>
> Now when I add this gadget into my dashboard it displays the following
> error :
>  "Unable to retrieve spec for
> http://172.16.10.1:8080/registry/resource/_system/config/repository/gadget-server/gadgets/MyGadget/gadget.xml.
> HTTP error 500"
>
> I'm attaching the Car file (containing the gadget).
> Can someone tell me what am missing here? ( or weather its a bug ? )
>
> --
> - Ramith
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lalaji Sureshika
Software Engineer; Development Technologies Team;WSO2, Inc.;
http://wso2.com/
email: [email protected]; cell: +94 71 608 6811
blog: http://lalajisureshika.blogspot.com

Attachment: gadgetCar_1.0.0.car
Description: Binary data

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to