Hi Jane,

Have you able to resolve the issue ?; it's better if you can follow the
steps mentioned in [1] or [2] to successfully generate the carbon component.

[1]
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

[2]
http://alokayasoya.blogspot.com/2015/02/writing-first-carbon-component.html


Thanks and Regards,

KasunB

On Tue, Jul 7, 2015 at 9:29 AM, Jane Mariathas <j...@wso2.com> wrote:

> Hi Kasun,
>
> I have already corrected the above mentioned issues.The problem was the
> stub code is not  generated.
>
> Thanks
>
> On Mon, Jun 29, 2015 at 11:50 PM, Kasun Bandara <kas...@wso2.com> wrote:
>
>> Hi Jane,
>>
>> When analyzing your student-manager-component,i have noticed some issues
>>
>> 1) In your UI component, you have put the component.xml file in a folder
>> called META_INF. But the folder name must be renamed as
>>
>> *META-INF*
>> 2) Even though the Image name you have given in your
>> web/student-mgt/images folder is "student.png"; you have mentioned the
>> image file name in the component.xml file as
>> *<icon>../student-mgt/images/students.gif</icon>.* Hence it should be
>> renamed as "*student.png*".
>>
>> But as @Supun as mentioned best thing to do is to first verify the state
>> of your component bundles ; (org.wso2.carbon.student.mgt,
>> org.wso2.carbon.student.mgt.stub,org.wso2.carbon.student.mgt.ui); To do
>> that; start the respective wso2 server with -DosgiConsole and once the
>> server is up; push few return keys (hit enter) to get the OSGI shell in the
>> console and type "*ss org.wso2.carbon.student" *, then you will be able
>> to figure out whether your bundles are in Active/Inactive state. Start the
>> rectification process with the Inactive state bundles.
>>
>> Thanks and Regards,
>>
>> Kasun Bandara
>>
>>
>> On Mon, Jun 29, 2015 at 7:21 PM, Indunil Upeksha Rathnayake <
>> indu...@wso2.com> wrote:
>>
>>> Hi Jane,
>>> The folder where component.xml resides in the UI component, has to be
>>> renamed to META-INF. And please check whether the name of the parent-menu
>>> is valid or not.
>>>
>>> Thanks and Regards
>>> --
>>> Indunil Upeksha Rathnayake
>>> Software Engineer | WSO2 Inc
>>> Email    indu...@wso2.com
>>> Mobile  +94713695179
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Kasun Bandara
>> *Software Engineer*
>> Mobile : +94 (0) 718 338 360
>> <%2B94%20%280%29%20773%20451194>
>> kas...@wso2.com <thili...@wso2.com>
>>
>
>
>
> --
> Jane Aarthy Mariathas
> *Intern*,Software Engineering
> j...@wso2.com
>



-- 
Kasun Bandara
*Software Engineer*
Mobile : +94 (0) 718 338 360
<%2B94%20%280%29%20773%20451194>
kas...@wso2.com <thili...@wso2.com>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to