Re: [Dev] Insulating Privacy in User Operations

2018-01-11 Thread Awanthika Senarath
Hello Jayanga,

This looks interesting and timely, however, two questions. How do you plan
to identify the "privacy concerned attributes" for a particular person?
>From your email, it appears as the identification of the "privacy concerned
attributes" is straightforward or you are having a predefined list of
attributes that you believe to be privacy concerned.

The other question is what are the "places where pseudonyms can't be used"?

Regards
Awanthika Senarath
PhD Research Student
Australian Centre for Cyber Security
Australian Defence Force Academy
The University of New South Wales (UNSW Canberra)


On Thu, Jan 11, 2018 at 5:21 AM, Jayanga Kaushalya <jayan...@wso2.com>
wrote:

> Hi all,
>
> To cater the requirements related to [1], we are planing to implement a
> set of utility classes to mange privacy of privacy concerned objects (Eg:
> User).
>
> All the objects that are with privacy concerned attributes will be wrapped
> inside a privacy insulator object. Duty of the privacy insulator is to
> prevent the misuse of privacy related attributes. It will hide the
> attributes that are related to object's privacy and provide a hash or id as
> a pseudonym to represent the attribute instead of the real value.
> Furthermore, classes can be marked as confidential as well. All
> confidential classes should provide the pseudonym to represent there
> privacy concerned attribute. So whenever using a confidential object,
> pseudonym will be used instead of the underlying real value.
>
> There will be separate ID manager to map the related ID with the
> underlying actual value. So wherever the actual value should be needed,
> (Eg: Display the users username in a UI) ID manager can retrieve it and
> used. But this should be used only in places where pseudonym can't be used.
>
> Please provide your thoughts.
>
> [1] [Architecture] GDPR - Pseudonyms For Username
>
> *Jayanga Kaushalya*
> Senior Software Engineer
> Mobile: +94777860160 <+94%2077%20786%200160>
> WSO2 Inc. | http://wso2.com
> lean.enterprise.middleware
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [NextGen Tooling] - Editing Diagram properties

2016-08-31 Thread Awanthika Senarath
Hello Susinda,

1. Edit inline - This is the simplest option, but may not work for other
complex use cases
This would be a good solution for users performing minor tasks.

2. Edit using a property view - Like what we have in DevS ESB editor.

According to my personal experience this is very bad in usability aspects.
Having to go for a separate property view in a separate view is not very
appealing, are we considering changing our property view may be to a popup
dialog box or something?

3. Edit Using property (modal) dialogs
This would be a good approach as long as we keep the usability of the
dialog communicating to the user the approach to follow.


Regards
Awanthika

On Wed, Aug 31, 2016 at 5:17 PM, Susinda Perera  wrote:

> If we are using property views, here are some libraries [1] [2], Not sure
> whether we can use[1] due to its license [3]
> [1] - http://www.jeasyui.com/demo/main/index.php?plugin=PropertyGrid
> [2] - http://codepen.io/ValYouW/pen/zInBg
> [3] - http://www.jeasyui.com/license_freeware.php
>
> On Tue, Aug 30, 2016 at 4:41 PM, Dakshika Jayathilaka 
> wrote:
>
>> Hi All,
>>
>> I would like to suggest a hybrid approach. IMO for certain cases inline
>> would be ideal, but for advanced cases, we need to have a separate property
>> view panel. Even inline enabled, the same value can be updated via the
>> property view panel.
>>
>> Is that possible to have both options 1 & 2?
>>
>> WDYT?
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Associate Technical Lead
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Tue, Aug 30, 2016 at 4:13 PM, Susinda Perera  wrote:
>>
>>> Hi All
>>>
>>> This is to decide on what(technology) to use and best practises for the
>>> $subject.
>>> As an example if we think about a use case of changing the name of a
>>> lifeline we may have following options.
>>> 1. Edit inline - This is the simplest option, but may not work for other
>>> complex use cases
>>> 2. Edit using a property view - Like what we have in DevS ESB editor.
>>> 3. Edit Using property (modal) dialogs
>>> I prefer option 2, as it seems easy in implementation and reuse. If we
>>> use 1 or 3 we have to deal with svg events (or mix of svg and html events).
>>> Any other ideas?
>>>
>>> Thanks
>>> Susinda
>>>
>>>
>>> --
>>> *Susinda Perera*
>>> Software Engineer
>>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
>>> Mobile:(+94)716049075
>>> Blog: susinda.blogspot.com
>>> WSO2 Inc. http://wso2.com/
>>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>>
>>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-25 Thread Awanthika Senarath
Hello Nathiesha,

According to your explanation, the second email address could be useful for
a company for internal auditing purposes. Hence I think we should leave it
editable.


Regards
Awanthika

On Fri, Aug 26, 2016 at 12:25 PM, Nathiesha Maddage <
nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> Thank you for the suggestions. I changed the template of the blog, so now
> the contents are more visible to the user.
>
> Regarding the email address, In the preference page [1], a user can set 2
> email addresses. The first is under contact information. That should be the
> user's email address. That is used in case the development team wants to
> contact the user regarding the issue posted. Entering that is optional.
>
> Secondly there is another email address to be entered under email
> information. That should be the recipient email. If the user wants to email
> the error report, he can enter the recipient email address here.
>
> Then we have created a separate Micro Service to handle the email
> publishing and Jira publishing tasks, which is hosted in App cloud. The
> email address which is used to send the email to the recipient and it's
> credentials are stored in the cloud, as environment variables. It is not
> visible to the Developer Studio user and that can be configured externally
> by the Development team as they wish.
>
> One reason we added the email feature to the project is to give user an
> opportunity to email the error report to his preferred email address.But
> that is quite unlikely to be used. Another reason is to create a way to use
> the error reports to any other purpose later, other than just getting them
> published in Jira. If we consider it that way, the recipient email should
> also be given by the development team, to get the error report emailed to
> any of their preferred addresses. If so I can change the recipient email to
> be an un-editable field.
>
> Regarding the url, I will try with a different organization name and the
> custom url feature.
>
> Thanks and regards
>
> Nathiesha
>
> On Wed, Aug 24, 2016 at 8:47 AM, Awanthika Senarath <
> awanthikarasanjaleesenar...@gmail.com> wrote:
>
>> Hello Susinda,
>>
>> If the email address is configured by us to send the reports, it is true
>> that we should not allow the user to edit it, since it may prevent us
>> getting the reports,
>>
>> But the user should be able to see it. we can leave it visible
>> un-editable. WDYT? Given the deadlines, aren't we too late to be discussing
>> this anyway?
>>
>> Anyways Nathiesha good work, the blog posts were great! I felt the same
>> as Jasintha, please replace the background image so that your content is
>> more visible to the reader :)
>>
>> Regards
>> Awanthika
>>
>> On Wed, Aug 24, 2016 at 12:43 PM, Susinda Perera <susi...@wso2.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Aug 24, 2016 at 8:03 AM, Danushka Fernando <danush...@wso2.com>
>>> wrote:
>>>
>>>> Hi
>>>> test4475 is the organization name. You can either try with some other
>>>> organization name or you can use the custom url feature in App Cloud. But
>>>> you will need to add a cname entry in a name service provider.
>>>>
>>>> Thanks & Regards
>>>> Danushka Fernando
>>>> Senior Software Engineer
>>>> WSO2 inc. http://wso2.com/
>>>> Mobile : +94716332729
>>>>
>>>> On Wed, Aug 24, 2016 at 7:52 AM, Nathiesha Maddage <
>>>> nathieshamadd...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Regarding the app cloud URL, the URL I got was "
>>>>> http://test4475-error-publisher-4-0-0.wso2apps.com/;. I can change
>>>>> the "error-publisher" part in the URL. But I cannot edit the "test4475"
>>>>> part. I will inquire from the App Cloud team regarding that and see if it
>>>>> is possible to get a new URL. Since I created a WSO2 app cloud account for
>>>>> temporary testing purposes, that URL was added to the preferences page and
>>>>> added the screenshot of it for demonstration purposes.
>>>>>
>>>>> I removed the "devstu...@gmail.com" email address and added a new
>>>>> screenshot to the blog post.
>>>>>
>>>> Hi Nathesha
>>> What i mean was, we dont need to let this information to be edited by
>>> users, Isnt it?, This may be a mail address that we configured which is to
>>> be used in sending repo

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-23 Thread Awanthika Senarath
Hello Susinda,

If the email address is configured by us to send the reports, it is true
that we should not allow the user to edit it, since it may prevent us
getting the reports,

But the user should be able to see it. we can leave it visible un-editable.
WDYT? Given the deadlines, aren't we too late to be discussing this anyway?

Anyways Nathiesha good work, the blog posts were great! I felt the same as
Jasintha, please replace the background image so that your content is more
visible to the reader :)

Regards
Awanthika

On Wed, Aug 24, 2016 at 12:43 PM, Susinda Perera  wrote:

>
>
> On Wed, Aug 24, 2016 at 8:03 AM, Danushka Fernando 
> wrote:
>
>> Hi
>> test4475 is the organization name. You can either try with some other
>> organization name or you can use the custom url feature in App Cloud. But
>> you will need to add a cname entry in a name service provider.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Senior Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Aug 24, 2016 at 7:52 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Regarding the app cloud URL, the URL I got was "
>>> http://test4475-error-publisher-4-0-0.wso2apps.com/;. I can change the
>>> "error-publisher" part in the URL. But I cannot edit the "test4475" part. I
>>> will inquire from the App Cloud team regarding that and see if it is
>>> possible to get a new URL. Since I created a WSO2 app cloud account for
>>> temporary testing purposes, that URL was added to the preferences page and
>>> added the screenshot of it for demonstration purposes.
>>>
>>> I removed the "devstu...@gmail.com" email address and added a new
>>> screenshot to the blog post.
>>>
>> Hi Nathesha
> What i mean was, we dont need to let this information to be edited by
> users, Isnt it?, This may be a mail address that we configured which is to
> be used in sending reports. Souser may not need to see this or edit this.
>
>>
>>> I made the submission to GSOC Final Evaluation. But I can update the
>>> blog post contents where necessary.
>>> Thank you for the support and guidance given through out this period.
>>>
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>>
>>>
>>> On Tue, Aug 23, 2016 at 10:38 AM, Susinda Perera 
>>> wrote:
>>>
 In the [2], Cant we get some other url from wso2apss.com, Also I dont
 think that we need to show the devstu...@gmail.com mail address
 [2]. http://nathiesha.blogspot.com/2016/08/how-to-make-best-
 use-of-error-reporting.html

 On Tue, Aug 23, 2016 at 10:27 AM, Kavith Lokuhewage 
 wrote:

> Hi Nathiesha,
>
> Blog post looks good enough and it provides enough information about
> the work you have done.
>
> Please let us know if you find any issues related to submission. Since
> tomorrow is the last day for your submission, we can have a meeting today
> or tomorrow to clear out any issues.
>
> Please let us know.
>
> Thanks,
>
> *Kavith Lokuhewage*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +94779145123
> Linkedin 
> Twitter 
>
> On Sun, Aug 21, 2016 at 11:53 AM, Nathiesha Maddage <
> nathieshamadd...@gmail.com> wrote:
>
>> Hi,
>>
>> This is the link to the blog post regarding my project [1].
>> There I have added a brief introduction about the project, and how
>> the plugin works. I also added the links to the GitHub repositories. 
>> Since
>> it was advised to add the URLs of the commits, in the email I got from
>> Google regarding the final evaluations, I added the links of my commits 
>> as
>> well. Please have a look and let me know if the post is good enough for
>> submission.
>>
>> I also created a blog post [2] on the use of the plugin, and added
>> that link as well in the above mentioned post[1]. Please let me know
>> whether it is good enough or any changes need to be done for that.
>>
>> [1]. http://nathiesha.blogspot.com/2016/08/contact-developme
>> nt-team-feature-in.html
>> [2]. http://nathiesha.blogspot.com/2016/08/how-to-make-best-
>> use-of-error-reporting.html
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>>
>> On Sat, Aug 20, 2016 at 10:13 AM, Nathiesha Maddage <
>> nathieshamadd...@gmail.com> wrote:
>>
>>> Hi ,
>>>
>>> Thank you for the suggestion. I started writing a blog post with all
>>> the repository links in it as you have suggested.
>>> I will send the link of the blog post as soon as possible.
>>>
>>> Thanks and regards
>>>
>>> Nathiesha
>>>
>>> On Fri, Aug 19, 2016 at 8:31 AM, Kavith Lokuhewage 
>>> wrote:
>>>

[Dev] WSO2 Developer Studio 4.2.0 RC

2016-07-15 Thread Awanthika Senarath
Hello Devs,

We are pleased to announce the WSO2 Developer Studio 4.2.0 RC vote.

P2 repository of WSO2 developer Studio Kernle 4.2.0 is available here
<http://builder1.us1.wso2.org/~developerstudio/staging/developer-studio-kernel/4.2.0/>.
Source
and Tag Location to be voted upon is available here
<https://github.com/wso2/developer-studio/tree/Released-master-4.2.0-2016-07-15-091732>
.

With this release WSO2 Developer Studio kernel moves into RCP mode further
reducing the size.

We have also introduced a web base dashboard for Developer Studio to
enhance user experience.

Also the XULRunner is embedded to maintain unbroken user experience in WSO2
Developer Studio for windows when using web technologies.

We have also fixed several bugs

[1] https://wso2.org/jira/browse/DEVTOOLESB-441
[2] https://wso2.org/jira/browse/TOOLS-3423

Please vote as follows.


   1. [+] Stable - go ahead and release
   2. [-]  Broken - do not release (please explain why)



Awanthika Senarath
Senior Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 5 - Beta - Issue with the docs on installing tooling plugins

2016-06-28 Thread Awanthika Senarath
Hi Nisrin,



For the offline installation, user should download the pack from [1].

If it is online installation user should point the eclipse install new
software to [2], select only ESB and install.

This should be the process for alpha, beta or GA release. Steps should not
differ according to the release category.


[1]
http://builder1.us1.wso2.org/~developerstudio/devstudio-tooling-esb/5.0.0/Beta/composite/

[2]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/releases/

Regards
Awanthika

Awanthika Senarath
Senior Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Jun 29, 2016 at 9:49 AM, Nisrin Sheriff <nis...@wso2.com> wrote:

> Hi,
>
> Can someone please provide the correct set of steps to follow to install
> the ESB tooling plug-in so that I can update the docs accordingly. Also if
> the steps to follow when it comes to beta is going to be a lot different to
> the steps that need to be followed after GA, I guess we might have to
> create a PDF for beta users and share it.
>
> Regarding the info in the blog [1], is the information provided there
> correct with regard to beta?
>
> [1]
> https://nuwanpallewela.wordpress.com/2016/04/10/how-to-install-developer-studio-esb-tool/
>
> Thank you.
>
> Best Regards,
> Nisrin
>
> <https://nuwanpallewela.wordpress.com/2016/04/10/how-to-install-developer-studio-esb-tool/>
> <https://nuwanpallewela.wordpress.com/2016/04/10/how-to-install-developer-studio-esb-tool/>
> <https://nuwanpallewela.wordpress.com/2016/04/10/how-to-install-developer-studio-esb-tool/>
>
> Nisrin Sheriff
> Senior Technical Writer
>
> *WSO2, Inc.*lean.enterprise.middleware.
> mobile: +94 776 24 84 56
> http://wso2.com
>
> On Wed, Jun 29, 2016 at 9:26 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi Nuwan,
>>
>>
>> This should not be the case,
>>
>> You have to publish only the main repo in the builder machine ESB
>> location and then from the topmost URL should should tick ESB and install.
>> It should automatically resolve the dependencies via the P2 features and
>> install.
>>
>> It is never intended for the user to manually install Kernel or Platform.
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Tue, Jun 28, 2016 at 1:50 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> Yes. The given link contains the main P2, not the composite. So the
>>> image should be changed according to that.
>>> And the steps are also needed to be changed as before installing main p2
>>> user should install the developer studio kernel[1] and platform bundle[2].
>>>
>>> RC release will have both composite and main p2.
>>>
>>> [1]
>>> http://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/kernel/releases/
>>> [2]
>>> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/4.1.0-201606031446/
>>>
>>> Thanks,
>>> Nuwan
>>>
>>> On Tue, Jun 28, 2016 at 12:18 PM, Kasun Indrasiri <ka...@wso2.com>
>>> wrote:
>>>
>>>> Can't install ESB tool on Eclipse Mars2 with [1]. Seems [1] is not
>>>> updated with the composite tooling plugings (it only contains ESB
>>>> features).
>>>>
>>>> [1]
>>>> https://docs.wso2.com/display/ESB500/Installing+the+ESB+Tooling+Plug-in
>>>>
>>>>
>>>>
>>>> --
>>>> Kasun Indrasiri
>>>> Software Architect
>>>> WSO2, Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> cell: +94 77 556 5206
>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>>
>>> *Nuwan Chamara Pallewela*
>>>
>>>
>>> *Software Engineer*
>>>
>>> *WSO2, Inc. *http://wso2.com
>>> *lean . enterprise . middleware*
>>>
>>> Email   *nuw...@wso2.com <nuw...@wso2.com>*
>>> Mobile  *+94719079739 <%2B94719079739>@*
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 5 - Beta - Issue with the docs on installing tooling plugins

2016-06-28 Thread Awanthika Senarath
Hi Nuwan,


This should not be the case,

You have to publish only the main repo in the builder machine ESB location
and then from the topmost URL should should tick ESB and install. It should
automatically resolve the dependencies via the P2 features and install.

It is never intended for the user to manually install Kernel or Platform.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Jun 28, 2016 at 1:50 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:

> Hi All,
>
> Yes. The given link contains the main P2, not the composite. So the image
> should be changed according to that.
> And the steps are also needed to be changed as before installing main p2
> user should install the developer studio kernel[1] and platform bundle[2].
>
> RC release will have both composite and main p2.
>
> [1]
> http://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/kernel/releases/
> [2]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/4.1.0-201606031446/
>
> Thanks,
> Nuwan
>
> On Tue, Jun 28, 2016 at 12:18 PM, Kasun Indrasiri <ka...@wso2.com> wrote:
>
>> Can't install ESB tool on Eclipse Mars2 with [1]. Seems [1] is not
>> updated with the composite tooling plugings (it only contains ESB
>> features).
>>
>> [1]
>> https://docs.wso2.com/display/ESB500/Installing+the+ESB+Tooling+Plug-in
>>
>>
>>
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>
>
>
> --
> --
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com <nuw...@wso2.com>*
> Mobile  *+94719079739 <%2B94719079739>@*
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to open a perspective on eclipse startup

2016-06-27 Thread Awanthika Senarath
Hi,

I want to start eclipse in a custom perspective, but when I try to do that
in the startup method, it throws a null pointer exception at the point I
try to access the Display thread.

code used to invoke the perspective :

final IWorkbenchWindow workbenchWindow =
PlatformUI.getWorkbench().getActiveWorkbenchWindow();
IPerspectiveDescriptor activePerspective =
workbenchWindow.getActivePage().getPerspective();// null pointer here
if (activePerspective == null ||
!activePerspective.getId().equals(PERSPECTIVE_ID)) {
Display.getCurrent().asyncExec(new Runnable() {// if I remove the get
active page since it is not mandatory, I get null pointer here.
public void run() {
// switch perspective
try {
workbenchWindow.getWorkbench().showPerspective(PERSPECTIVE_ID,
workbenchWindow);
} catch (WorkbenchException e) {
log.error("Can not switch to perspective: " + PERSPECTIVE_ID, e);
}
}
});
}


Can someone help me to open eclipse in my custom perspective? I tried using
this in an early startup as well as in the activator class, both gave same
results.


Regards
Awanthika Senarath
Senior Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Migrating MSF4J tooling to Developer Studio Kernel 4.1.0

2016-06-15 Thread Awanthika Senarath
Hello Azeez,

$subject has been done at [1]. Could you kindly merge the pull request to
the msf4j repository?

Further the practice is that the tooling of the product being maintained at
a separate repository than the product repository itself.

Shall we move the msf4j tool to a separate repository as well?

This would assist bug fixes and patch releases independent from the main
tool source.
The msf4j tool being very lightweight and simple, it makes sense to keep it
in the product repository as well though.

WDYT?




[1] https://github.com/wso2/msf4j/pull/175

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DevStudio][WebUI] Providing CSS Editing feature through Web UI platform

2016-06-13 Thread Awanthika Senarath
Hello Heshitha,

As mentioned please add the functionalities into the web ui core plugin
available at [1], developer studio tooling platform and send a PR.

[1] https://github.com/wso2/devstudio-tooling-platform/tree/master/plugins

Regards
Awanthika

Awanthika Senarath
Senior Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Jun 13, 2016 at 3:22 PM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> On Mon, Jun 13, 2016 at 3:11 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>>
>> @ Kavith, WDYT? is there any other approach OR a possibility for us to
>> make this available through the framework?
>>
>
>  Yep, we should add this support to the framework itself.
>
> @Heshitha, this is perfectly fine and should be done always when you need
> to keep any user preference for web based editors. Please go ahead with
> implement a custom js function handler.
> For now, you can keep it within your plugin. In next release, we can get
> it to the kernel and get the support from kernel it self.
>
> As I remember, there were two other function handlers - which you
> implemented for logging and error dialog related functionalities. We need
> to merge those handlers also to kernel. If you find some time,  please try
> to send a PR to kernel. We will get them shipped with next kernel release.
>
> Thanks
>
> [1]
>> https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.platform.ui/src/org/wso2/developerstudio/eclipse/platform/ui/preferences
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Senior Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Mon, Jun 13, 2016 at 2:58 PM, Heshitha Hettihewa <heshit...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> Is there any possibility of providing the ability of editing Web UI
>>> Editor's CSS styles such as font size and font colors from eclipse
>>> preferences?. If not what is the best approach to do such thing?. As an
>>> example if user needs to change the font size of the web editor's fonts
>>> what is the preferred method to do so. Is it ok if a web UI based method
>>> added inside the editor itself to change the preferences?.
>>>
>>> Thanks.
>>> --
>>> Heshitha Hettihewa
>>> *Software Engineer*
>>> Mobile : +94716866386
>>> <%2B94%20%280%29%20773%20451194>
>>> heshit...@wso2.com
>>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DevStudio][WebUI] Providing CSS Editing feature through Web UI platform

2016-06-13 Thread Awanthika Senarath
Hello Heshitha,

You can add your own preference page to change text colors and sizes from
eclipse preferences and retrieve these values on Java side. There are
enough samples on this in the kernel at [1].

You will have to introduce a method in the java code to read these
preferences and make them available in the web side for it to be available
through the web <->Java bridge we have created.

Then you will have to look into a way to change these CSS values from java
script code, which I believe is not that hard.

@ Kavith, WDYT? is there any other approach OR a possibility for us to make
this available through the framework?


[1]
https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.platform.ui/src/org/wso2/developerstudio/eclipse/platform/ui/preferences

Regards
Awanthika

Awanthika Senarath
Senior Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Jun 13, 2016 at 2:58 PM, Heshitha Hettihewa <heshit...@wso2.com>
wrote:

> Hi all,
>
> Is there any possibility of providing the ability of editing Web UI
> Editor's CSS styles such as font size and font colors from eclipse
> preferences?. If not what is the best approach to do such thing?. As an
> example if user needs to change the font size of the web editor's fonts
> what is the preferred method to do so. Is it ok if a web UI based method
> added inside the editor itself to change the preferences?.
>
> Thanks.
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Request for modified icons for Datamapper Tool

2016-06-07 Thread Awanthika Senarath
Thanks Jerad.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Jun 8, 2016 at 10:22 AM, Jerad Rutnam <je...@wso2.com> wrote:

> Hi Awanthika,
>
> Please find the attachment for your request.
>
> Cheers!
>
> On Wed, Jun 8, 2016 at 10:17 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello,
>>
>> Can we get $subject for the attached image?
>>
>> We want the image in the same size colored RGB (71, 68, 68).
>>
>>
>>
>> Thanks
>> Awanthika Senarath
>> Senior Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
> *Jerad Rutnam*
> *Software Engineer*
>
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Request for modified icons for Datamapper Tool

2016-06-07 Thread Awanthika Senarath
Hello,

Can we get $subject for the attached image?

We want the image in the same size colored RGB (71, 68, 68).



Thanks
Awanthika Senarath
Senior Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS][Tooling] UI Modifications for Human Task Editor

2016-06-07 Thread Awanthika Senarath
@Heshitha : not to remove boxes, yes same style in each box, the boxes are
too big to get just a few information IMO.

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Jun 7, 2016 at 5:45 PM, Heshitha Hettihewa <heshit...@wso2.com>
wrote:

> Hi Awanthika,
>
> Thanks a lot for the suggestions, I will add the mentioned changes. And
> for the last section, you mean adding a table similar to the image in every
> box? or remove the boxes and keep a single table which contain all the
> people assignments?.
>
> Thanks.
>
> On Tue, Jun 7, 2016 at 5:16 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello Heshitha,
>>
>> This looks good.
>>
>>
>> Few things I noticed,
>>
>> in hteditor2 image, it is better if we can have the table topic centered
>> in the box you have put, right now it is top-aligned and the button on the
>> other corner is bottom aligned. Can we get both of them in the same
>> horizontal line? then we can reduce the height of the box you have
>> introduced to display that topic and the button.
>>
>> Also we can introduce an icon to the addinput button, a plus sign may be?
>> the two blue colors in the page heading and the button are different, the
>> ApproveLeave tab blue color is not very pleasing. Can we change that also
>> to the button color?
>>
>> The tables with radio button elements consume too much space don't you
>> think? we can display those items in a table line half that height. we can
>> remove the lines in that box. Is it possible to introduce styling similar
>> to something like this in that table?
>>
>> [image: Inline image 1]
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Tue, Jun 7, 2016 at 5:06 PM, Heshitha Hettihewa <heshit...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> As discussed in the last review I have added some bootstrap styles to
>>> the Human Task Editor GUI. Further I've replaced some existing UI elements
>>> with bootstrap input types. Please find the Screen shots of the modified
>>> GUI editor attached herewith.  Is there any further modifications to be
>>> done? or can we continue with this GUI?.
>>>
>>> Appreciate your input.
>>>
>>> Thanks.
>>> --
>>> Heshitha Hettihewa
>>> *Software Engineer*
>>> Mobile : +94716866386
>>> <%2B94%20%280%29%20773%20451194>
>>> heshit...@wso2.com
>>>
>>
>>
>
>
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS][Tooling] UI Modifications for Human Task Editor

2016-06-07 Thread Awanthika Senarath
Hello Heshitha,

This looks good.


Few things I noticed,

in hteditor2 image, it is better if we can have the table topic centered in
the box you have put, right now it is top-aligned and the button on the
other corner is bottom aligned. Can we get both of them in the same
horizontal line? then we can reduce the height of the box you have
introduced to display that topic and the button.

Also we can introduce an icon to the addinput button, a plus sign may be?
the two blue colors in the page heading and the button are different, the
ApproveLeave tab blue color is not very pleasing. Can we change that also
to the button color?

The tables with radio button elements consume too much space don't you
think? we can display those items in a table line half that height. we can
remove the lines in that box. Is it possible to introduce styling similar
to something like this in that table?

[image: Inline image 1]

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Jun 7, 2016 at 5:06 PM, Heshitha Hettihewa <heshit...@wso2.com>
wrote:

> Hi all,
>
> As discussed in the last review I have added some bootstrap styles to the
> Human Task Editor GUI. Further I've replaced some existing UI elements with
> bootstrap input types. Please find the Screen shots of the modified GUI
> editor attached herewith.  Is there any further modifications to be done?
> or can we continue with this GUI?.
>
> Appreciate your input.
>
> Thanks.
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC3

2016-05-31 Thread Awanthika Senarath
Hello all,

I have tested the Server Additions and removals with ESB product tool.


here is my vote : +1




Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, May 31, 2016 at 11:33 AM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> Hello Devs,
>
> We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Tooling
> for Platform 4.1.0.*
>
> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
> available here
> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/>.
>  Source
> and Tag Location to be voted upon is available here
> <https://github.com/wso2/devstudio-tooling-platform/releases/tag/Released-mars-carbon-4.4-platform-4.1.0-RC3-2016-05-30-163759>
> .
>
> Developer Studio 4.1.0  Tooling for Platform is released on Developer
> Studio kernel 4.1.0.
> Developer Studio Kernel contains a single feature which has the bundles
> that are required to implement WSO2 specific product tooling on Eclipse.
>
> This release contains;
>
>- Developer Studio migration to Eclipse mars
>- Support Devs kernel 4.1.0
>- Improvements in the Developer Studio Updater tool for automatic
>updates
>- List down severs in product wise (previously it was carbon version)
>- Introduced new extension point to add product natures dynamically
>- Adding support for carbon 4.4.5 based server
>
>
>
>1. [+] Stable - go ahead and release
>2. [-]  Broken - do not release (please explain why)
>
>
> The platform could to be tested on top of Developer Studio Kernel with
> compatible tooling SNAPSHOT versions available at [1].
>
> Thanks go everyone who made this checkpoint possible.
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>
>
> --
>
> *Jasintha Dasanayake*
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com
> <http://wso2.com/>lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-27 Thread Awanthika Senarath
Thanks Susankha,

[+ Kavith]

Will have a look at this,



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Sat, May 28, 2016 at 4:31 AM, Susankha Nirmala <susan...@wso2.com> wrote:

>
>
> On Fri, May 27, 2016 at 4:01 PM, Susankha Nirmala <susan...@wso2.com>
> wrote:
>
>> I was able to start ESB 5.0.0 using DevStudio 3.8.0 (with carbonserver
>> 4.4) with Java 1.7 and 1.8. Because, as I explained, in the DevS 3.8 we are
>> passing "-Xms256m -Xmx1024m -XX:MaxPermSize=256m" VM parameters(refer [1]).
>> Attached the screenshots to the mail.
>>
>>  @ Awanthika,
>>
>> You can pass the same "-Xms256m -Xmx1024m -XX: MaxPermSize=256m" VM
>> parameters in the DevStudio 4.1.0 (revert relevant changes in the commit
>> [2]). When you are testing, don't test with the selfhost devstudio, and
>> build the p2 locally and install that to fresh eclipse Mars pack.
>>
>> [1]-
>> https://github.com/wso2/developer-studio/blob/developer-studio-3.8.0/server/org.wso2.developerstudio.eclipse.carbonserver44/serverdefinition/carbon.definition.xml
>> [2]-
>> https://github.com/wso2/devstudio-tooling-platform/commit/e17477078563fc145da99a5460a6ef18af385822#diff-54e1d0cafafda5466af0c4671299155b
>>
>> Thanks.
>> /Susankha.
>>
>
>
>
>
>>
>> On Thu, May 26, 2016 at 9:45 PM, Susankha Nirmala <susan...@wso2.com>
>> wrote:
>>
>>>
>>> On Thu, May 26, 2016 at 9:02 PM, Awanthika Senarath <awanth...@wso2.com>
>>> wrote:
>>>
>>>> Hello Susankha,
>>>>
>>>> We cannot have those VM arguments in serverdefinition.xml as ESB 5.0.0
>>>> which is based on carbon 4.4.1 has a different wso2carbon.sh which will not
>>>> be able to start if we pass those VM arguments. So the option is to
>>>> integrate a new server for carbon 4.4.1.
>>>>
>>>
>>> ESB 5.0.0 is using the Carbon Kernel version 4.4.5 and in the
>>> "wso2server.sh" carbon file, it will check the Java version like below and
>>> assign the values of the VM parameters to the "JVM_MEM_OPTS" variable,
>>> according to the java version. Then use the "$JVM_MEM_OPTS" parameter in
>>> the
>>> system property section (refer [1])
>>>
>>>
>>> if [ -z "$JVM_MEM_OPTS" ]; then
>>>java_version=$("$JAVACMD" -version 2>&1 | awk -F '"' '/version/
>>> {print $2}')
>>>JVM_MEM_OPTS="-Xms256m -Xmx1024m"
>>>if [ "$java_version" \< "1.8" ]; then
>>>   JVM_MEM_OPTS="$JVM_MEM_OPTS -XX:MaxPermSize=256m"
>>>fi
>>> fi
>>>
>>> .
>>>
>>> while [ "$status" = "$START_EXIT_STATUS" ]
>>> do
>>> $JAVACMD \
>>> -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
>>> $JVM_MEM_OPTS \
>>>
>>> Without creating a new server for ESB 5.0.0 (Carbon Kernel 4.4.5), we
>>> can use the same CarbonServer44 component.
>>> We can check the JAVA version and according to that, we can set the
>>> relavent VM parameters.
>>> I think that is the best way to handle this issue, without introduce a
>>> new CarbonSever vertion inside the DevStudio.
>>>
>>>
>>> [1]-
>>> https://github.com/wso2/carbon-kernel/blob/v4.4.5/distribution/kernel/carbon-home/bin/wso2server.sh
>>>
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>> Regards
>>>> Awanthika
>>>>
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>>> On Fri, May 27, 2016 at 9:15 AM, Susankha Nirmala <susan...@wso2.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Thu, May 26, 2016 at 8:26 PM, Susankha Nirmala <susan...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, May 26, 2016 at 7:18 PM, Jasintha Dasanayake <
>>>>>> jasin...@wso2.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, May 26, 2016 at 9:05 AM, Awanthika Senarath <
>>>>>>> awanth...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hello Nuwan,
&

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-26 Thread Awanthika Senarath
Hello Susankha,

We cannot have those VM arguments in serverdefinition.xml as ESB 5.0.0
which is based on carbon 4.4.1 has a different wso2carbon.sh which will not
be able to start if we pass those VM arguments. So the option is to
integrate a new server for carbon 4.4.1.



Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, May 27, 2016 at 9:15 AM, Susankha Nirmala <susan...@wso2.com> wrote:

>
>
> On Thu, May 26, 2016 at 8:26 PM, Susankha Nirmala <susan...@wso2.com>
> wrote:
>
>>
>>
>> On Thu, May 26, 2016 at 7:18 PM, Jasintha Dasanayake <jasin...@wso2.com>
>> wrote:
>>
>>>
>>>
>>> On Thu, May 26, 2016 at 9:05 AM, Awanthika Senarath <awanth...@wso2.com>
>>> wrote:
>>>
>>>> Hello Nuwan,
>>>>
>>>> Please find my comments inline,
>>>>
>>>> I have noticed following issues while testing.
>>>>
>>>>
>>>> https://wso2.org/jira/browse/TOOLS-3412
>>>>
>>>> As I have mentioned before this is a OS specific issue which comes in
>>>> Linux and not a blocker. We will attempt to fix this as we move on.
>>>>
>>>> https://wso2.org/jira/browse/TOOLS-3416
>>>>
>>>
>>> Actually this issue happens only when the server is started in JDK 1.7
>>> if server runs on JDK 1.8 this issue won't be there , reason for this issue
>>> is ,  memory settings are defined in two different ways for JDK 7 and 8  in
>>> carbons server , So we have to find  a way to distinguish  these two
>>> settings inside the eclipse
>>>
>>
>>
>> This error happens due to missing "-Xms256m -Xmx1024m -XX:
>> MaxPermSize=256m" VM parameters in the carbon.definition.xml[1]. ESB 5.0.0
>> is support for Java 1.7.0 and 1.8.0 (refer [3]).
>> ESB 4.9.0 also supported for both Java versions and in the
>> carbon.definition.xml file of the carbonserver 4.2, we can see "-Xms256m
>> -Xmx1024m -XX:MaxPermSize=256m" VM parameters[2].
>>
>> With the Java 1.8, PermSize VM parameter not using, because in Java 8
>> PermGen is replace with Metaspace. But we need to support Both Java
>> versions (1.7 and 1.8).
>> We can pass same three "-Xms256m -Xmx1024m -XX: MaxPermSize=256m" VM
>> parameters and when we are starting server in Java 1.8.0 it will give the
>> following warning, but continue the starting process.
>>
>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>> MaxPermSize=256m; support was removed in 8.0
>>
>> If you directly run ESB with Java 1.8.0, you can see above warning log.
>> The best thing we can do is use the same VM parameters define in the
>> wso2carbon.sh file in the carbon.definition.xml (that's what we have done
>> with carbonserver 4.2 and that's why we can't see
>> This issue, when starting ESB 4.9.0 with Java 1.7.0)
>>
>> [1]-
>> https://github.com/wso2/devstudio-tooling-platform/blob/developer-studio-tooling-platform-4.1.0-beta2/plugins/org.wso2.developerstudio.eclipse.carbonserver44/serverdefinition/carbon.definition.xml
>> [2]-
>> https://github.com/wso2/devstudio-tooling-platform/blob/master/plugins/org.wso2.developerstudio.eclipse.carbonserver42/serverdefinition/carbon.definition.xml
>> [3]- https://docs.wso2.com/display/ESB500/Installation+Prerequisites
>>
>> Thanks.
>> /Susankha.
>>
>
>
> With the DevStudio 3.8.0 also we can run carbon44 servers and but there we
> can see "-Xms256m -Xmx1024m -XX:MaxPermSize=256m" VM parameters ([1])
>
> [1]-
> https://github.com/wso2/developer-studio/blob/developer-studio-3.8.0/server/org.wso2.developerstudio.eclipse.carbonserver44/serverdefinition/carbon.definition.xml
>
>
>
>
>>
>>
>>
>>
>>
>>
>>
>>>
>>> Thanks and Regards
>>> /Jasintha
>>>
>>>>
>>>> We will look into this. It appears that this is caused by a memory leak
>>>> due to non heap-size setting[1] by the configurations.
>>>>
>>>>
>>>> [1] https://github.com/spring-projects/spring-boot/issues/4376
>>>>
>>>>
>>>>
>>>>
>>>> Regards
>>>> Awanthika
>>>>
>>>>
>>>>
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>>> On Thu, May 26, 2016 at 8:50 AM, Sohani Weerasinghe <soh...@wso2.com>
>&g

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Awanthika Senarath
Hello Nuwan,

Please find my comments inline,

I have noticed following issues while testing.


https://wso2.org/jira/browse/TOOLS-3412

As I have mentioned before this is a OS specific issue which comes in Linux
and not a blocker. We will attempt to fix this as we move on.

https://wso2.org/jira/browse/TOOLS-3416


We will look into this. It appears that this is caused by a memory leak due
to non heap-size setting[1] by the configurations.


[1] https://github.com/spring-projects/spring-boot/issues/4376




Regards
Awanthika



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 26, 2016 at 8:50 AM, Sohani Weerasinghe <soh...@wso2.com> wrote:

> Hi All,
>
> I have tested the updater tool functionality including installing features
> and no major issues found
>
> @Nuwan: I have tested [1] in Linux and couldn't reproduce the issue.
>
> [1] https://wso2.org/jira/browse/TOOLS-3416
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
> On Wed, May 25, 2016 at 6:02 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have noticed following issues while testing.
>> https://wso2.org/jira/browse/TOOLS-3412
>> https://wso2.org/jira/browse/TOOLS-3416
>>
>> Thanks,
>> Nuwan
>>
>> On Wed, May 25, 2016 at 3:08 PM, Heshitha Hettihewa <heshit...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I have tested BPS Tooling with the new platform and no major issues
>>> found.
>>>
>>> +1
>>>
>>> Thanks.
>>>
>>> On Wed, May 25, 2016 at 2:40 PM, Maheeka Jayasuriya <mahe...@wso2.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have tested the project nature extension point and found no issues.
>>>>
>>>> +1
>>>>
>>>> Thanks,
>>>> Maheeka
>>>>
>>>> Maheeka Jayasuriya
>>>> Software Engineer
>>>> Mobile : +9450661
>>>>
>>>> On Mon, May 23, 2016 at 1:55 PM, Awanthika Senarath <awanth...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hello Devs,
>>>>>
>>>>>
>>>>> We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio 
>>>>> Tooling
>>>>> for Platform 4.1.0.*
>>>>>
>>>>> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
>>>>> available here
>>>>> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/>.
>>>>>  Source
>>>>> and Tag Location to be voted upon is available here
>>>>> <https://github.com/wso2/devstudio-tooling-platform/releases/tag/Released-mars-carbon-4.4-platform-4.1.0-RC2-2016-05-23-115802>
>>>>> .
>>>>>
>>>>> Developer Studio 4.1.0  Tooling for Platform is released on Developer
>>>>> Studio kernel 4.1.0
>>>>> Developer Studio Kernel contains a single feature which has the
>>>>> bundles that are required to implement WSO2 specific product tooling on
>>>>> Eclipse.
>>>>>
>>>>>- This release contains Developer Studio migration to Eclipse mars
>>>>>- Improvements in the Developer Studio Updater tool for automatic
>>>>>updates
>>>>>
>>>>>
>>>>>
>>>>>1. [+] Stable - go ahead and release
>>>>>2. [-]  Broken - do not release (please explain why)
>>>>>
>>>>>
>>>>> The platform could to be tested on top of Developer Studio Kernel with
>>>>> compatible tooling SNAPSHOT versions available at [1].
>>>>>
>>>>>
>>>>> [1]
>>>>> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>>>>>
>>>>>
>>>>> Awanthika Senarath
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94717681791
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Heshitha Hettihewa
>>> *Software Engineer*
>>> Mobile : +94716866386
>>> <%2B94%20%280%29%20773%20451194>
>>> heshit...@wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> --
>>
>> *Nuwan Chamara Pallewela*
>>
>>
>> *Software Engineer*
>>
>> *WSO2, Inc. *http://wso2.com
>> *lean . enterprise . middleware*
>>
>> Email   *nuw...@wso2.com <nuw...@wso2.com>*
>> Mobile  *+94719079739 <%2B94719079739>@*
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-23 Thread Awanthika Senarath
Hello Devs,


We are pleased to announce the vote for RC-2 of *WSO2 Developer Studio Tooling
for Platform 4.1.0.*

P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
available here
<http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/>.
Source
and Tag Location to be voted upon is available here
<https://github.com/wso2/devstudio-tooling-platform/releases/tag/Released-mars-carbon-4.4-platform-4.1.0-RC2-2016-05-23-115802>
.

Developer Studio 4.1.0  Tooling for Platform is released on Developer
Studio kernel 4.1.0
Developer Studio Kernel contains a single feature which has the bundles
that are required to implement WSO2 specific product tooling on Eclipse.

   - This release contains Developer Studio migration to Eclipse mars
   - Improvements in the Developer Studio Updater tool for automatic updates



   1. [+] Stable - go ahead and release
   2. [-]  Broken - do not release (please explain why)


The platform could to be tested on top of Developer Studio Kernel with
compatible tooling SNAPSHOT versions available at [1].


[1]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC1

2016-05-23 Thread Awanthika Senarath
Hi all,


We are withdrawing this vote due to [1].

We will be starting the vote for platform 4.1.0 RC 2 with the fix.

[1] https://wso2.org/jira/browse/TOOLS-3413

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 19, 2016 at 3:11 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello Devs,
>
>
> We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Tooling
> for Platform 4.1.0.*
>
> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
> available here
> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/>.
>  Source
> and Tag Location to be voted upon is available here
> <https://github.com/wso2/devstudio-tooling-platform/releases/tag/Released-mars-carbon-4.4-platform-4.1.0-RC1-2016-05-19-140436>
> .
>
> Developer Studio 4.1.0  Tooling for Platform is released on Developer
> Studio kernel 4.1.0
> Developer Studio Kernel contains a single feature which has the bundles
> that are required to implement WSO2 specific product tooling on Eclipse.
>
>- This release contains Developer Studio migration to Eclipse mars
>- Improvements in the Developer Studio Updater tool for automatic
>updates
>
>
>
>1. [+] Stable - go ahead and release
>2. [-]  Broken - do not release (please explain why)
>
>
> The platform could to be tested on top of Developer Studio Kernel with
> compatible tooling SNAPSHOT versions available at [1].
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automation Script to check if feature/update successfully copied to P2 repository

2016-05-19 Thread Awanthika Senarath
Yes, but say we have updated kernel feature version 3, kernel feature 1 and
2 are already available viea releases and previous updates

this script will run and give success installing kernel feature 2 even if
kernel feature 3 that was copied is corrupted,

then the whole purpose of the script is not achieved right?

this will only guarantee that the given feature is available in the
repository with whatever version.


Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, May 20, 2016 at 10:31 AM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

>
>
> On Fri, May 20, 2016 at 10:14 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> scenario;
>>
>> I am writing an automated script for $subject using P2 director
>>
>> For the P2 director we cannot give the feature with a version, we have to
>> give only the feature name,
>>
>> When we give the feature with the releases repository URL it will also
>> check in the updates repository and will install the latest version of that
>> feature available in the whole repository.
>>
>> Therefore we can give the releases URL and ask to install the feature we
>> give, so that it will isntall the latest available version of that feature
>> in updates/releases.
>>
>> what we can do is to give the feature ID with the released repository
>> URL. But then again we cannot give the version and cannot verify whether
>> the feature we gave is installed or not.
>>
>> I have checked the headless feature installation in eclipse via command
>> line, but that does not support installation of features with versions.
>>
>> Any idea how to proceed?
>>
>
> There are couple of phase in this test scenario , in the first phase,we
> can verify that given release/update version of a feature is available in
> the p2 repo then we can execute this test script to install latest version
> of that feature, so we don't want to specify the version again, after this
> phase , we need to have SWT_BOT based test case to validate the
> functionality of that feature
>
> Thanks and regards
> /Jasintha
>
>
>
>>
>>
>>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
>
> *Jasintha Dasanayake*
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com
> <http://wso2.com/>lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Automation Script to check if feature/update successfully copied to P2 repository

2016-05-19 Thread Awanthika Senarath
scenario;

I am writing an automated script for $subject using P2 director

For the P2 director we cannot give the feature with a version, we have to
give only the feature name,

When we give the feature with the releases repository URL it will also
check in the updates repository and will install the latest version of that
feature available in the whole repository.

Therefore we can give the releases URL and ask to install the feature we
give, so that it will isntall the latest available version of that feature
in updates/releases.

what we can do is to give the feature ID with the released repository URL.
But then again we cannot give the version and cannot verify whether the
feature we gave is installed or not.

I have checked the headless feature installation in eclipse via command
line, but that does not support installation of features with versions.

Any idea how to proceed?




Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS][Tooling] Version numbers for product based Tooling releases

2016-05-19 Thread Awanthika Senarath
Hello Heshitha,


According to the discussion at [1] it was proposed for product tooling to
go with the particular product versions.

[1] Re: names for tooling/analytics releases for servers (was: Re: Where is
ESB tooling alpha ??)

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 19, 2016 at 4:03 PM, Heshitha Hettihewa <heshit...@wso2.com>
wrote:

> Hi all,
>
> Currently I'm in the process of developing BPS Tooling for Developer
> Studio.For the product based Tooling releases like these what is the most
> appropriate version number?. As this is the first BPS tooling release
> should it be 1.0.0 or should it be a version related to current dev studio
> version (4.1.0) ?.
>
> Thanks.
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC1

2016-05-19 Thread Awanthika Senarath
Hello Devs,


We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Tooling
for Platform 4.1.0.*

P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
available here
<http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/>.
Source
and Tag Location to be voted upon is available here
<https://github.com/wso2/devstudio-tooling-platform/releases/tag/Released-mars-carbon-4.4-platform-4.1.0-RC1-2016-05-19-140436>
.

Developer Studio 4.1.0  Tooling for Platform is released on Developer
Studio kernel 4.1.0
Developer Studio Kernel contains a single feature which has the bundles
that are required to implement WSO2 specific product tooling on Eclipse.

   - This release contains Developer Studio migration to Eclipse mars
   - Improvements in the Developer Studio Updater tool for automatic updates



   1. [+] Stable - go ahead and release
   2. [-]  Broken - do not release (please explain why)


The platform could to be tested on top of Developer Studio Kernel with
compatible tooling SNAPSHOT versions available at [1].


[1]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DevStudio] How to retrieve DevStudio kernel key store certificates?

2016-05-19 Thread Awanthika Senarath
Hi Thilini,

With the eclipse migration to Mars, we cannot use the system property JKS
parameters, Eclipse has removed this facility from Mars onwards.

The recommended approach is to set a Trust all manager for your connection,
Please refer commit at [1] at class CloudAdminServiceClient for an example
of the implementation required to fix the issue mentioned.


[1]
https://github.com/wso2/devstudio-tooling-platform/commit/3baa889449568d29f2fdc71b2bc34d2451f1c359

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 19, 2016 at 11:43 AM, Thilini Cooray <thili...@wso2.com> wrote:

> Hi,
>
> I am trying to call a HTTPS REST service of WSO2 API Manager through a
> Developer Studio plugin.
>
> I am getting following error [1] as API Manager does not contain any valid
> certificate for this plugin on its client truststore.
>
> Appreciate your opinion on how to retrieve the Devstudio kernel keystore
> certificate to resolve above issue.
>
> Thanks.
>
> [1]
>
> java.lang.Exception: Connection error (is server running at
> https://localhost:9443/client-registration/v0.9/register ?):
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>
> at ...at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
>
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
>
> at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
>
> at
> org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284)
>
> at
> org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1204)
>
> at
> org.eclipse.ui.internal.progress.ProgressManager$RunnableWithStatus.run(ProgressManager.java:1394)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>
> at
> org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:1228)
>
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
>
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4781)
>
> at
> org.eclipse.ui.internal.progress.ProgressManager.runInUI(ProgressManager.java:1225)
>
> at ..
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
>
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
>
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
>
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
>
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
>
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
>
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
>
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
>
> at org.eclipse.jface.window.Window.open(Window.java:803)
>
> at .
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
>
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
>
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
>
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1564)
>
> at
> org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117)
>
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:6010)
>
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
>
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
>
> at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
>
> at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
>
> at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
>
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
>
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
>
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
>
> at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2130)
>
> at org.eclipse.swt

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-19 Thread Awanthika Senarath
Hi Nuwan ,

Please find my inline comments,

Please note that all three bugs reported are not related to Kernel, but to
Developer Studio Tooling Platform, RC2 of Tooling Platform will be released
today for voting.

https://wso2.org/jira/browse/TOOLS-3413

This has already been fixed in the latest Platform RC released this
morning, with which version of platform did you test? Please install the
latest Platform Tooling versions from [1] and confirm if the issue exist. I
have tested with [1] and could not reproduce.
https://wso2.org/jira/browse/TOOLS-3412

This is a linux specific issue, and I will look into this.

https://wso2.org/jira/browse/TOOLS-3411

This has been changed and committed in the latest Platform Release RC


[1]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/


Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 19, 2016 at 11:02 AM, Nuwan Pallewela <nuw...@wso2.com> wrote:

> Hi All,
>
> I have tested and following issues were found.
>
> https://wso2.org/jira/browse/TOOLS-3413
> https://wso2.org/jira/browse/TOOLS-3412
> https://wso2.org/jira/browse/TOOLS-3411
>
> Thanks,
> Nuwan
>
> On Thu, May 19, 2016 at 9:48 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Thanks all,
>>
>> We are closing this vote with 5 +1's and 0 -1's.
>>
>> The RC has passed the vote.
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Wed, May 18, 2016 at 12:54 PM, Jasintha Dasanayake <jasin...@wso2.com>
>> wrote:
>>
>>> Hi All
>>>
>>> I have tested the update tool , new feature installation and kernel
>>> patch process , no major issues found
>>>
>>> +1
>>>
>>> Thanks and Regards
>>> /Jasintha
>>>
>>> On Wed, May 18, 2016 at 11:23 AM, Heshitha Hettihewa <heshit...@wso2.com
>>> > wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have tested BPS Tooling and no major issues found.
>>>>
>>>> +1
>>>>
>>>> Thanks.
>>>>
>>>> On Wed, May 18, 2016 at 9:10 AM, Isuru Udana <isu...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Tested with ESB tools and found no major issues.
>>>>>
>>>>> +1.
>>>>>
>>>>> On Wed, May 18, 2016 at 9:05 AM, Sohani Weerasinghe <soh...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I have tested the updater tool functionality including installing
>>>>>> features and also the updater tool preferences.
>>>>>>
>>>>>> +1
>>>>>>
>>>>>> Thanks,
>>>>>> Sohani
>>>>>>
>>>>>> Sohani Weerasinghe
>>>>>> Software Engineer
>>>>>> WSO2, Inc: http://wso2.com
>>>>>>
>>>>>> Mobile  : +94 716439774
>>>>>> Blog :http://christinetechtips.blogspot.com/
>>>>>> Twitter  : https://twitter.com/sohanichristine
>>>>>>
>>>>>> On Wed, May 18, 2016 at 8:32 AM, Awanthika Senarath <
>>>>>> awanth...@wso2.com> wrote:
>>>>>>
>>>>>>> I have tested,
>>>>>>>
>>>>>>> Installation of Developer Studio Platform, ESB and CEP tools on top
>>>>>>> of kernel
>>>>>>> Updater tool functionality, installation and job running
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  +1,
>>>>>>>
>>>>>>> Regards
>>>>>>> Awanthika
>>>>>>>
>>>>>>> Awanthika Senarath
>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>> Mobile: +94717681791
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, May 16, 2016 at 3:10 PM, Awanthika Senarath <
>>>>>>> awanth...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hello Devs,
>>>>>>>>
>>>>>>>>
>>>>>>>> We are pleased to announce the vote for RC-3 of
>>>>>>>> *WSO2 Developer Studio Kernel 4.1.0.*
>

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC

2016-05-18 Thread Awanthika Senarath
We are withdrawing this vote as we have to upgrade the maven versions in
the maven car plugins of platform bundles.

We will put the RC 2 with the changes.


Regards
Awanthika.

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, May 19, 2016 at 8:08 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello Devs,
>
>
> We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Tooling
> for Platform 4.1.0.*
>
> P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
> available here
> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/platform-bundles/releases/>.
>  Source
> and Tag Location to be voted upon is available here
> <https://github.com/wso2/devstudio-tooling-platform/releases/tag/Released-mars-carbon-4.4-platform-4.1.0-RC-2016-05-18-165359>
> .
>
> Developer Studio 4.1.0  Tooling for Platform is released on Developer
> Studio kernel 4.1.0
> Developer Studio Kernel contains a single feature which has the bundles
> that are required to implement WSO2 specific product tooling on Eclipse.
>
>- This release contains Developer Studio migration to Eclipse mars
>- Improvements in the Developer Studio Updater tool for automatic
>updates
>
>
>
>1. [+] Stable - go ahead and release
>2. [-]  Broken - do not release (please explain why)
>
>
> The platform could to be tested on top of Developer Studio Kernel with
> compatible tooling SNAPSHOT versions available at [1].
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/
>
>
>
> Regards,
> Dev Studio Team
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-18 Thread Awanthika Senarath
Thanks all,

We are closing this vote with 5 +1's and 0 -1's.

The RC has passed the vote.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, May 18, 2016 at 12:54 PM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> Hi All
>
> I have tested the update tool , new feature installation and kernel patch
> process , no major issues found
>
> +1
>
> Thanks and Regards
> /Jasintha
>
> On Wed, May 18, 2016 at 11:23 AM, Heshitha Hettihewa <heshit...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> I have tested BPS Tooling and no major issues found.
>>
>> +1
>>
>> Thanks.
>>
>> On Wed, May 18, 2016 at 9:10 AM, Isuru Udana <isu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Tested with ESB tools and found no major issues.
>>>
>>> +1.
>>>
>>> On Wed, May 18, 2016 at 9:05 AM, Sohani Weerasinghe <soh...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have tested the updater tool functionality including installing
>>>> features and also the updater tool preferences.
>>>>
>>>> +1
>>>>
>>>> Thanks,
>>>> Sohani
>>>>
>>>> Sohani Weerasinghe
>>>> Software Engineer
>>>> WSO2, Inc: http://wso2.com
>>>>
>>>> Mobile  : +94 716439774
>>>> Blog :http://christinetechtips.blogspot.com/
>>>> Twitter  : https://twitter.com/sohanichristine
>>>>
>>>> On Wed, May 18, 2016 at 8:32 AM, Awanthika Senarath <awanth...@wso2.com
>>>> > wrote:
>>>>
>>>>> I have tested,
>>>>>
>>>>> Installation of Developer Studio Platform, ESB and CEP tools on top of
>>>>> kernel
>>>>> Updater tool functionality, installation and job running
>>>>>
>>>>>
>>>>>
>>>>>  +1,
>>>>>
>>>>> Regards
>>>>> Awanthika
>>>>>
>>>>> Awanthika Senarath
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94717681791
>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 16, 2016 at 3:10 PM, Awanthika Senarath <
>>>>> awanth...@wso2.com> wrote:
>>>>>
>>>>>> Hello Devs,
>>>>>>
>>>>>>
>>>>>> We are pleased to announce the vote for RC-3 of
>>>>>> *WSO2 Developer Studio Kernel 4.1.0.*
>>>>>>
>>>>>> P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
>>>>>> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/kernel/releases/>.
>>>>>>  Source
>>>>>> and Tag Location to be voted upon is available here
>>>>>> <https://github.com/wso2/developer-studio/releases/tag/Released-developer-studio-kernel-4.1.0-RC3-2016-05-13-165804>
>>>>>> .
>>>>>>
>>>>>> Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse
>>>>>> 4.5)
>>>>>>
>>>>>> Developer Studio Kernel contains a single feature which has the
>>>>>> bundles that are required to implement WSO2 specific product tooling on
>>>>>> Eclipse.
>>>>>>
>>>>>>- This release contains Developer Studio migration to Eclipse mars
>>>>>>- Improvements in the Developer Studio Updater tool for automatic
>>>>>>updates
>>>>>>
>>>>>>
>>>>>>
>>>>>>1. [+] Stable - go ahead and release
>>>>>>2. [-]  Broken - do not release (please explain why)
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Dev Studio Team
>>>>>>
>>>>>> Awanthika Senarath
>>>>>> Software Engineer, WSO2 Inc.
>>>>>> Mobile: +94717681791
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Isuru Udana*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> email: isu...@wso2.com cell: +94 77 3791887
>>> blog: http://mytecheye.blogspot.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Jasintha Dasanayake*
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com
> <http://wso2.com/>lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC

2016-05-18 Thread Awanthika Senarath
Hello Devs,


We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Tooling
for Platform 4.1.0.*

P2 repository of WSO2 developer Studio  Tooling for Platform 4.1.0 is
available here
.
Source
and Tag Location to be voted upon is available here

.

Developer Studio 4.1.0  Tooling for Platform is released on Developer
Studio kernel 4.1.0
Developer Studio Kernel contains a single feature which has the bundles
that are required to implement WSO2 specific product tooling on Eclipse.

   - This release contains Developer Studio migration to Eclipse mars
   - Improvements in the Developer Studio Updater tool for automatic updates



   1. [+] Stable - go ahead and release
   2. [-]  Broken - do not release (please explain why)


The platform could to be tested on top of Developer Studio Kernel with
compatible tooling SNAPSHOT versions available at [1].


[1]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/



Regards,
Dev Studio Team
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Developer Studio Kernel 4.1.0. Released!

2016-05-18 Thread Awanthika Senarath
Hi all,

We are pleased to announce the release of *WSO2 Developer Studio Kernel
4.1.0.*

P2 repository of WSO2 developer Studio Kernel 4.1.0 is available here
<http://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/kernel/releases/>.
Source
and Tag Location for this release is available here
<https://github.com/wso2/developer-studio/releases/tag/developer-studio-kernel-4.1.0-Release>
.

Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse 4.5)

Developer Studio Kernel contains a single feature which has the bundles
that are required to implement WSO2 Platform based tooling on Eclipse mars

   - Improvements to WSO2 Developer Studio updater Tool
   - Clear Separation of Eclipse based support for WSO2 Tooling
   - Eclipse migration to Eclipse Mars.


Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-17 Thread Awanthika Senarath
I have tested,

Installation of Developer Studio Platform, ESB and CEP tools on top of
kernel
Updater tool functionality, installation and job running



 +1,

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, May 16, 2016 at 3:10 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello Devs,
>
>
> We are pleased to announce the vote for RC-3 of
> *WSO2 Developer Studio Kernel 4.1.0.*
>
> P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/kernel/releases/>.
>  Source
> and Tag Location to be voted upon is available here
> <https://github.com/wso2/developer-studio/releases/tag/Released-developer-studio-kernel-4.1.0-RC3-2016-05-13-165804>
> .
>
> Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse 4.5)
>
> Developer Studio Kernel contains a single feature which has the bundles
> that are required to implement WSO2 specific product tooling on Eclipse.
>
>- This release contains Developer Studio migration to Eclipse mars
>- Improvements in the Developer Studio Updater tool for automatic
>updates
>
>
>
>1. [+] Stable - go ahead and release
>2. [-]  Broken - do not release (please explain why)
>
>
>
> Regards,
> Dev Studio Team
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-16 Thread Awanthika Senarath
Hello Devs,


We are pleased to announce the vote for RC-3 of
*WSO2 Developer Studio Kernel 4.1.0.*

P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
<http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/kernel/releases/>.
Source
and Tag Location to be voted upon is available here
<https://github.com/wso2/developer-studio/releases/tag/Released-developer-studio-kernel-4.1.0-RC3-2016-05-13-165804>
.

Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse 4.5)

Developer Studio Kernel contains a single feature which has the bundles
that are required to implement WSO2 specific product tooling on Eclipse.

   - This release contains Developer Studio migration to Eclipse mars
   - Improvements in the Developer Studio Updater tool for automatic updates



   1. [+] Stable - go ahead and release
   2. [-]  Broken - do not release (please explain why)



Regards,
Dev Studio Team

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developer Studio Server Modification to add Product based Servers

2016-05-15 Thread Awanthika Senarath
Hello All,

We have implemented this through a startup method to ensure that the user
story remains unbroken for general eclipse users and Developer Studio
users. Now the product servers will be queried at startup and hence would
be visible via both Developer Studio dashboard option and eclipse server
view option.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, May 11, 2016 at 6:21 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> if we open dashboard once, we persist this info so it will appear in show
> view -> servers as well, but if customer first do  show view -> servers it
> wont come, since that action is eclipse inbuilt action we cannot capture
> that event.
>
> We will have to go with a start up option if we have to execute this on
> startup, but since we have a startup method in kernel as well, I don't want
> to introduce more complexity there, we cannot move carbon based
> implementation to kernel as it brakes the kernel concept we are trying to
> have moving forward.
>
>
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Wed, May 11, 2016 at 6:14 PM, Susinda Perera <susi...@wso2.com> wrote:
>
>> Hi Awanthika
>> Can't we do the same on the first time we do show view -> servers option.
>> And then we persists this info.
>>
>>
>> On Tue, May 10, 2016 at 10:15 AM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> Hello all,
>>>
>>> We have completed $subject as an improvement for user experience as
>>> follows,
>>>
>>> We have enabled dynamic extension point generation in Developer Studio,
>>> we retrieve the Specific display name from the product plugins when they
>>> register their servers as given in the following example :
>>>
>>> * <extension*
>>> *
>>> point="org.wso2.developerstudio.carbon.product.server.registry">*
>>> * <product.server*
>>> *   carbon.server.version="carbon.server.40"*
>>> *   server.display.name <http://server.display.name>="WSO2 ESB
>>> Server 3.3">*
>>> * *
>>> *  <product.server*
>>> *   carbon.server.version="carbon.server.40"*
>>> *   server.display.name <http://server.display.name>="WSO2 CEP
>>> Server 3.9">*
>>> * *
>>> * <product.server*
>>> *   carbon.server.version="carbon.server.42"*
>>> *   server.display.name <http://server.display.name>="WSO2 ESB
>>> Server 3.7">*
>>> * *
>>> *  <product.server*
>>> *   carbon.server.version="carbon.server.42"*
>>> *   server.display.name <http://server.display.name>="WSO2 CEP
>>> Server 3.0">*
>>> * *
>>> * <product.server*
>>> *   carbon.server.version="carbon.server.44"*
>>> *   server.display.name <http://server.display.name>="WSO2 ESB
>>> Server 3.0">*
>>> * *
>>> *  <product.server*
>>> *   carbon.server.version="carbon.server.44"*
>>> *   server.display.name <http://server.display.name>="WSO2 CEP
>>> Server 3.2">*
>>> * *
>>> *  *
>>>
>>>
>>> The product server can decide which versions of their servers they plan
>>> to support from their tooling versions released.
>>>
>>> *We will be removing the previous support we had for integrating servers
>>> based on the carbon versions, hence it is mandatory that product teams
>>> include these servers versions in their tooling plugins, in the plugin xml
>>> as described above.*
>>>
>>> Also note that the carbon.server.version should contain one of
>>> carbon.server.40
>>> carbon.server.42
>>> carbon.server.44
>>>
>>> as Developer Studio Kernel 4.1.0 we are only going to follow those
>>> carbon versions, If you mention any String other than what is given the
>>> extension point will be ignored by kernel.
>>>
>>> Adopted Approach :
>>>
>>>
>>> ​
>>>
>>> *@ Jasintha / Susinda/ Viraj :* Currently this server retrieval from
>>> product plugins is bind to Developer Studio Dashboard opening action, since
>>> we are accessing WSO2 servers from the dashboard. We need to configure this
>>> in an Eclipse generic startup method if we are to display these servers in
>>> show view -> servers option via eclipse menu.
>>> Since eclipse discourages usage of early startups IMO it is OK to
>>> display the servers only via the dashboard server option.
>>>
>>> WDYT ?
>>>
>>>
>>> [1] Associated Jira : https://wso2.org/jira/browse/DEVTOOLPFM-1
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
>> Mobile:(+94)716049075
>> Blog: susinda.blogspot.com
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Vote] Developer Studio Kernel RC 2 released !

2016-05-11 Thread Awanthika Senarath
Hello Nuwan + ESB tooling,

I have merged the PR to master branch.

Please note that moving forward for patch requirements Developer Studio
team will not give updates for product tooling requirements and the plan
should me to move the relevant templates to the product tool itself.

Thanks and regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, May 11, 2016 at 9:55 PM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> Hi Nuwan
>
> All these template should be moved into somewhere inside the ESB plugin
> now , these are not relevant  for kernel
>
> Thanks and Regards
> /Jasintha
>
> On Wed, May 11, 2016 at 8:36 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:
>
>> Hi All,
>>
>> There is an issue reported when creating pass though proxy services[1].
>> This is because a template file in
>> org.wso2.developerstudio.eclipse.platform.core/resources/templates/
>> proxyservices/*pass-through-proxy.xml.* I think we should fix this. I
>> have sent a PR to fix this issue[2].
>>
>> [1] https://wso2.org/jira/browse/DEVTOOLESB-166
>> [2] https://github.com/wso2/developer-studio/pull/143
>>
>> Thanks,
>> Nuwan
>>
>> On Wed, May 11, 2016 at 11:41 AM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> Hello Jasintha,
>>>
>>> Noted, Please find my inline comments
>>>
>>> -All submenus should have a menu icon
>>>
>>> +1, I will look into this.
>>>
>>> -Capp and Maven preferences pages  should be removed from kernel and
>>> should only appear when that plugins are installed
>>>
>>> +1, Will remove these from Kernel and move them to appropriate platform
>>> bundles.
>>>
>>> -In Install feature dialog , WSO2 carbon UI appear before the BPS
>>> feature , seems there is bug when sorting
>>>
>>> I checked this. The sorting happens from the ID of the plugin and not
>>> the Display name. The IDs of these plugins are in such a way that when they
>>> are sorted alphabetically the order appears as mentioned. We need to
>>> revisit the feature IDs of all product plugins bearing the knowledge that
>>> the ID determines the order in which the plugins appear in the updater tool
>>>
>>> -Menu seperators are appearing in Developer studio menu , all the
>>> eclipse standard menus has menu separators
>>> -Add keyboard shortcut for relevant sub menus
>>> -better if we can add submenu under Developer studio menu to reach
>>> Developer studio preferences  directly
>>>
>>> I will look into this. Yet these are not blockers IMO.
>>>
>>> Regards
>>> Awanthika
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Tue, May 10, 2016 at 7:55 AM, Jasintha Dasanayake <jasin...@wso2.com>
>>> wrote:
>>>
>>>> I have noticed following  improvement , those are not blockers but
>>>> better if we can get it fix in GA from usability point of view
>>>>
>>>> -Menu seperators are appearing in Developer studio menu , all the
>>>> eclipse standard menus has menu separators
>>>> -Add keyboard shortcut for relevant sub menus
>>>> -All submenus should have a menu icon
>>>> -better if we can add submenu under Developer studio menu to reach
>>>> Developer studio preferences  directly
>>>> -Capp and Maven preferences pages  should be removed from kernel and
>>>> should only appear when that plugins are installed
>>>> -In Install feature dialog , WSO2 carbon UI appear before the BPS
>>>> feature , seems there is bug when sorting
>>>>
>>>> Apart from above important all other major features are working fine
>>>>
>>>> Thanks and Regards
>>>> /Jasintha
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, May 5, 2016 at 3:01 PM, Awanthika Senarath <awanth...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hello Devs,
>>>>>
>>>>>
>>>>> We are pleased to announce the vote for RC-2 of
>>>>> *WSO2 Developer Studio Kernel 4.1.0.*
>>>>>
>>>>> P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
>>>>> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/k

Re: [Dev] Developer Studio Server Modification to add Product based Servers

2016-05-11 Thread Awanthika Senarath
if we open dashboard once, we persist this info so it will appear in show
view -> servers as well, but if customer first do  show view -> servers it
wont come, since that action is eclipse inbuilt action we cannot capture
that event.

We will have to go with a start up option if we have to execute this on
startup, but since we have a startup method in kernel as well, I don't want
to introduce more complexity there, we cannot move carbon based
implementation to kernel as it brakes the kernel concept we are trying to
have moving forward.



Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, May 11, 2016 at 6:14 PM, Susinda Perera <susi...@wso2.com> wrote:

> Hi Awanthika
> Can't we do the same on the first time we do show view -> servers option.
> And then we persists this info.
>
>
> On Tue, May 10, 2016 at 10:15 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello all,
>>
>> We have completed $subject as an improvement for user experience as
>> follows,
>>
>> We have enabled dynamic extension point generation in Developer Studio,
>> we retrieve the Specific display name from the product plugins when they
>> register their servers as given in the following example :
>>
>> * <extension*
>> *point="org.wso2.developerstudio.carbon.product.server.registry">*
>> * <product.server*
>> *   carbon.server.version="carbon.server.40"*
>> *   server.display.name <http://server.display.name>="WSO2 ESB
>> Server 3.3">*
>> * *
>> *  <product.server*
>> *   carbon.server.version="carbon.server.40"*
>> *   server.display.name <http://server.display.name>="WSO2 CEP
>> Server 3.9">*
>> * *
>> * <product.server*
>> *   carbon.server.version="carbon.server.42"*
>> *   server.display.name <http://server.display.name>="WSO2 ESB
>> Server 3.7">*
>> * *
>> *  <product.server*
>> *   carbon.server.version="carbon.server.42"*
>> *   server.display.name <http://server.display.name>="WSO2 CEP
>> Server 3.0">*
>> * *
>> * <product.server*
>> *   carbon.server.version="carbon.server.44"*
>> *   server.display.name <http://server.display.name>="WSO2 ESB
>> Server 3.0">*
>> * *
>> *  <product.server*
>> *   carbon.server.version="carbon.server.44"*
>> *   server.display.name <http://server.display.name>="WSO2 CEP
>> Server 3.2">*
>> * *
>> *  *
>>
>>
>> The product server can decide which versions of their servers they plan
>> to support from their tooling versions released.
>>
>> *We will be removing the previous support we had for integrating servers
>> based on the carbon versions, hence it is mandatory that product teams
>> include these servers versions in their tooling plugins, in the plugin xml
>> as described above.*
>>
>> Also note that the carbon.server.version should contain one of
>> carbon.server.40
>> carbon.server.42
>> carbon.server.44
>>
>> as Developer Studio Kernel 4.1.0 we are only going to follow those carbon
>> versions, If you mention any String other than what is given the extension
>> point will be ignored by kernel.
>>
>> Adopted Approach :
>>
>>
>> ​
>>
>> *@ Jasintha / Susinda/ Viraj :* Currently this server retrieval from
>> product plugins is bind to Developer Studio Dashboard opening action, since
>> we are accessing WSO2 servers from the dashboard. We need to configure this
>> in an Eclipse generic startup method if we are to display these servers in
>> show view -> servers option via eclipse menu.
>> Since eclipse discourages usage of early startups IMO it is OK to display
>> the servers only via the dashboard server option.
>>
>> WDYT ?
>>
>>
>> [1] Associated Jira : https://wso2.org/jira/browse/DEVTOOLPFM-1
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Vote] Developer Studio Kernel RC 2 released !

2016-05-11 Thread Awanthika Senarath
Hello Jasintha,

Noted, Please find my inline comments

-All submenus should have a menu icon

+1, I will look into this.

-Capp and Maven preferences pages  should be removed from kernel and should
only appear when that plugins are installed

+1, Will remove these from Kernel and move them to appropriate platform
bundles.

-In Install feature dialog , WSO2 carbon UI appear before the BPS feature ,
seems there is bug when sorting

I checked this. The sorting happens from the ID of the plugin and not the
Display name. The IDs of these plugins are in such a way that when they are
sorted alphabetically the order appears as mentioned. We need to revisit
the feature IDs of all product plugins bearing the knowledge that the ID
determines the order in which the plugins appear in the updater tool

-Menu seperators are appearing in Developer studio menu , all the eclipse
standard menus has menu separators
-Add keyboard shortcut for relevant sub menus
-better if we can add submenu under Developer studio menu to reach
Developer studio preferences  directly

I will look into this. Yet these are not blockers IMO.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, May 10, 2016 at 7:55 AM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> I have noticed following  improvement , those are not blockers but better
> if we can get it fix in GA from usability point of view
>
> -Menu seperators are appearing in Developer studio menu , all the eclipse
> standard menus has menu separators
> -Add keyboard shortcut for relevant sub menus
> -All submenus should have a menu icon
> -better if we can add submenu under Developer studio menu to reach
> Developer studio preferences  directly
> -Capp and Maven preferences pages  should be removed from kernel and
> should only appear when that plugins are installed
> -In Install feature dialog , WSO2 carbon UI appear before the BPS feature
> , seems there is bug when sorting
>
> Apart from above important all other major features are working fine
>
> Thanks and Regards
> /Jasintha
>
>
>
>
> On Thu, May 5, 2016 at 3:01 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello Devs,
>>
>>
>> We are pleased to announce the vote for RC-2 of
>> *WSO2 Developer Studio Kernel 4.1.0.*
>>
>> P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
>> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/kernel/releases/>.
>>  Source
>> and Tag Location to be voted upon is available here
>> <https://github.com/wso2/developer-studio/releases/tag/Released-developer-studio-kernel-4.1.0-4.1.0-2016-05-04-20-09>
>> .
>>
>> Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse 4.5)
>>
>> Developer Studio Kernel contains a single feature which has the bundles
>> that are required to implement WSO2 specific product tooling on Eclipse.
>>
>>- This release contains Developer Studio migration to Eclipse mars
>>- Improvements in the Developer Studio Updater tool for automatic
>>updates
>>
>> The Features and improvements in the RC 2 :
>>
>>
>>1. [+] Stable - go ahead and release
>>2. [-]  Broken - do not release (please explain why)
>>
>>
>>
>> Regards,
>> Dev Studio Team
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Jasintha Dasanayake*
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com
> <http://wso2.com/>lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developer Studio Server Modification to add Product based Servers

2016-05-09 Thread Awanthika Senarath
Hello all,

We have completed $subject as an improvement for user experience as follows,

We have enabled dynamic extension point generation in Developer Studio, we
retrieve the Specific display name from the product plugins when they
register their servers as given in the following example :

* <extension*
*point="org.wso2.developerstudio.carbon.product.server.registry">*
* <product.server*
*   carbon.server.version="carbon.server.40"*
*   server.display.name <http://server.display.name>="WSO2 ESB
Server 3.3">*
* *
*  <product.server*
*   carbon.server.version="carbon.server.40"*
*   server.display.name <http://server.display.name>="WSO2 CEP
Server 3.9">*
* *
* <product.server*
*   carbon.server.version="carbon.server.42"*
*   server.display.name <http://server.display.name>="WSO2 ESB
Server 3.7">*
* *
*  <product.server*
*   carbon.server.version="carbon.server.42"*
*   server.display.name <http://server.display.name>="WSO2 CEP
Server 3.0">*
* *
* <product.server*
*   carbon.server.version="carbon.server.44"*
*   server.display.name <http://server.display.name>="WSO2 ESB
Server 3.0">*
* *
*  <product.server*
*   carbon.server.version="carbon.server.44"*
*   server.display.name <http://server.display.name>="WSO2 CEP
Server 3.2">*
* *
*  *


The product server can decide which versions of their servers they plan to
support from their tooling versions released.

*We will be removing the previous support we had for integrating servers
based on the carbon versions, hence it is mandatory that product teams
include these servers versions in their tooling plugins, in the plugin xml
as described above.*

Also note that the carbon.server.version should contain one of
carbon.server.40
carbon.server.42
carbon.server.44

as Developer Studio Kernel 4.1.0 we are only going to follow those carbon
versions, If you mention any String other than what is given the extension
point will be ignored by kernel.

Adopted Approach :


​

*@ Jasintha / Susinda/ Viraj :* Currently this server retrieval from
product plugins is bind to Developer Studio Dashboard opening action, since
we are accessing WSO2 servers from the dashboard. We need to configure this
in an Eclipse generic startup method if we are to display these servers in
show view -> servers option via eclipse menu.
Since eclipse discourages usage of early startups IMO it is OK to display
the servers only via the dashboard server option.

WDYT ?


[1] Associated Jira : https://wso2.org/jira/browse/DEVTOOLPFM-1

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding new Project Natures to Developer Studio vie extension point

2016-05-06 Thread Awanthika Senarath
- Engineering
[removing Engineering]

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, May 6, 2016 at 1:55 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello all,
>
> We have facilitated adding of new project natures to developer studio via
> an extension point without manipulating developer studio kernel source code.
>
>
> You can add your new project natures as below,
>
>
>point="org.wso2.developerstudio.project.nature.provider">
>  id="org.wso2.developerstudio.eclipse.maven.features"
>
>  projectnature="org.wso2.developerstudio.eclipse.maven.project.nature"
>  ismultipleartifact="true"
>  iscappsupported="false">
>  
> 
>
> [1] associated JIRA : https://wso2.org/jira/browse/TOOLS-3403
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developer Studio Kernel RC released !

2016-04-28 Thread Awanthika Senarath
Hello all,

I have tested the followings


   - Installation via P2
   - Updater tool preference store values.
   - Installing updates and new features via developer studio updater tool
   - Automatic Updater tool configurations and functionality.
   - Installing CEP and Data services tooling on top of kernel.


my vote :  +1


Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Apr 26, 2016 at 6:57 PM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hello Devs,
>
> Please note that source tag in above link has been incorrectly named.
> Hence, we have recreated the tag for RC with proper name at following path.
>
> https://github.com/wso2/developer-studio/tree/developer-studio-kernel-4.1.0-RC
>
>
> Thanks,
>
> On Tue, Apr 26, 2016 at 4:40 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello Devs,
>>
>>
>> We are pleased to announce the vote for RC of
>> *WSO2 Developer Studio Kernel 4.1.0.*
>>
>> P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
>> <http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.1.0/kernel/releases/>.
>>  Source
>> and Tag Location to be voted upon is available here
>> <https://github.com/wso2/developer-studio/tree/developer-studio-kernel-4.1.0-Alpha>
>> .
>>
>> Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse 4.5)
>>
>> Developer Studio Kernel contains a single feature which has the bundles
>> that are required to implement WSO2 specific product tooling on Eclipse.
>>
>>- This release contains Developer Studio migration to Eclipse mars
>>- Improvements in the Developer Studio Updater tool for automatic
>>updates
>>
>> [+] Stable - go ahead and release
>> [-]  Broken - do not release (please explain why)
>>
>>
>> Regards,
>> Dev Studio Team
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kavith Lokuhewage*
> Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +9477-9-145-123 | +9471-455-6-401
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Developer Studio Kernel RC released !

2016-04-26 Thread Awanthika Senarath
Hello Devs,


We are pleased to announce the vote for RC of
*WSO2 Developer Studio Kernel 4.1.0.*

P2 repository of WSO2 developer Studio kernel 4.1.0 is available here
.
Source
and Tag Location to be voted upon is available here

.

Developer Studio 4.1.0 Kernel is released on Eclipse Mars (Eclipse 4.5)

Developer Studio Kernel contains a single feature which has the bundles
that are required to implement WSO2 specific product tooling on Eclipse.

   - This release contains Developer Studio migration to Eclipse mars
   - Improvements in the Developer Studio Updater tool for automatic updates

[+] Stable - go ahead and release
[-]  Broken - do not release (please explain why)


Regards,
Dev Studio Team
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DevStudio] Developing Eclipse plugin based on Web UI Platform

2016-04-08 Thread Awanthika Senarath
* In this way during the builf toime of your P2 it will get the relevant
feature from the repository (declared in your pom) and include it in your
P2 bundle.

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Apr 8, 2016 at 3:11 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hi,
>
> Web UI platform is already released in developer studio kernel 4.0.0. If
> you have added the repository in your pom file you can include this as a
> dependency.
>
> In the repository package category.xml files include the web ui feature
> that should be bundled in your final P2 as follows,
>
>  
>name="org.wso2.developerstudio.eclipse.esb.feature.category"/>
>
> in kernel 4.0.0 releases the web ui plugin was bundled in
> "org.wso2.developerstudio.kernel.webui.tools.feature" feature.
>
> your repository would contain two P2 s, main and composite add the feature
> to be bundled with your product tool in both these category.xmls
>
>
> Going forward from kernel 4.1.0 onwards we are planning on releasing the
> web ui tool as a separate entity. We would update the details on how to
> bundle it in your final P2 with the 4.1.0 release.
>
> Regards
> Awanthika
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Fri, Apr 8, 2016 at 2:23 PM, Heshitha Hettihewa <heshit...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Currently I'm developing the human task editor plugin for eclipse. When
>> we are developing an eclipse plugin based on web ui platform, do we have to
>> bundle web ui plugin also with our developed plugin in plugins folder or is
>> there a way to import it in the building process?.
>>
>> Thanks.
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][DevStudio] Developing Eclipse plugin based on Web UI Platform

2016-04-08 Thread Awanthika Senarath
Hi,

Web UI platform is already released in developer studio kernel 4.0.0. If
you have added the repository in your pom file you can include this as a
dependency.

In the repository package category.xml files include the web ui feature
that should be bundled in your final P2 as follows,

 
  
   
in kernel 4.0.0 releases the web ui plugin was bundled in
"org.wso2.developerstudio.kernel.webui.tools.feature" feature.

your repository would contain two P2 s, main and composite add the feature
to be bundled with your product tool in both these category.xmls


Going forward from kernel 4.1.0 onwards we are planning on releasing the
web ui tool as a separate entity. We would update the details on how to
bundle it in your final P2 with the 4.1.0 release.

Regards
Awanthika


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Apr 8, 2016 at 2:23 PM, Heshitha Hettihewa <heshit...@wso2.com>
wrote:

> Hi all,
>
> Currently I'm developing the human task editor plugin for eclipse. When we
> are developing an eclipse plugin based on web ui platform, do we have to
> bundle web ui plugin also with our developed plugin in plugins folder or is
> there a way to import it in the building process?.
>
> Thanks.
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to store a custom file in the P2 repo and read it via eclipse?

2016-04-04 Thread Awanthika Senarath
@ Susinda : +1

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Apr 5, 2016 at 10:25 AM, Susinda Perera <susi...@wso2.com> wrote:

> Hi Awanthika
> Shall we document this, if that doc ship is not already sailed :), what i
> meant by document he re is the guidelines for plugin developers or patch
> developers on what to do after patch/feature development.
>
> Thanks
> Susinda
>
>
> On Mon, Apr 4, 2016 at 7:17 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Yes Kavith
>>
>> :) the ship has already sailed !  I stored the file in P2 repository
>> itself since otherwise we have to get another shared location to store the
>> file. The file is stored at the root level of the root/updates directory.
>>
>> I wanted to verify if P2 had any eclipse specific support to read such a
>> custom file stored in P2
>>
>> Regards
>> Awanthiks
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Mon, Apr 4, 2016 at 6:38 PM, Kavith Lokuhewage <kav...@wso2.com>
>> wrote:
>>
>>> Hi Awanthika,
>>>
>>> This should be possible with any Http client. I don't think P2 api
>>> offers a way to read individual files which are there in p2 repositories.
>>> Yet, you can put a custom file under p2 root download that file using any
>>> http client api.
>>>
>>> Thanks,
>>> Kavith Lokuhewage
>>> On 29 Mar 2016 00:17, "Awanthika Senarath" <awanth...@wso2.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>>
>>>> In order to modify the developer studio updater tool and prevent it
>>>> from searching through the whole P2 repo for updates, we need to introduce
>>>> a meta file to the p2 repo and get eclipse to read that file to identify
>>>> possible updates to be installed.
>>>>
>>>>
>>>> Is it possible to get the eclipse P2 reader to read a custom file from
>>>> P2 repo? if not we have to download the custom meta deta file from the P2
>>>> repo or any other storage location and read it prior to running the
>>>> developer studio updater tool
>>>>
>>>>
>>>> @ Kavith : Any thoughts on this?
>>>>
>>>>
>>>> Regards
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is it possible to store a custom file in the P2 repo and read it via eclipse?

2016-04-04 Thread Awanthika Senarath
Yes Kavith

:) the ship has already sailed !  I stored the file in P2 repository itself
since otherwise we have to get another shared location to store the file.
The file is stored at the root level of the root/updates directory.

I wanted to verify if P2 had any eclipse specific support to read such a
custom file stored in P2

Regards
Awanthiks

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Apr 4, 2016 at 6:38 PM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Awanthika,
>
> This should be possible with any Http client. I don't think P2 api offers
> a way to read individual files which are there in p2 repositories. Yet, you
> can put a custom file under p2 root download that file using any http
> client api.
>
> Thanks,
> Kavith Lokuhewage
> On 29 Mar 2016 00:17, "Awanthika Senarath" <awanth...@wso2.com> wrote:
>
>> Hi all,
>>
>>
>> In order to modify the developer studio updater tool and prevent it from
>> searching through the whole P2 repo for updates, we need to introduce a
>> meta file to the p2 repo and get eclipse to read that file to identify
>> possible updates to be installed.
>>
>>
>> Is it possible to get the eclipse P2 reader to read a custom file from P2
>> repo? if not we have to download the custom meta deta file from the P2 repo
>> or any other storage location and read it prior to running the developer
>> studio updater tool
>>
>>
>> @ Kavith : Any thoughts on this?
>>
>>
>> Regards
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please update the attached file in developer studio kernel P2

2016-04-01 Thread Awanthika Senarath
thanks !

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Apr 1, 2016 at 8:52 PM, Thimuth Amarakoon <thim...@wso2.com> wrote:

> This is uploaded.
>
> Regards,
> Thimuth
>
> On Thu, Mar 31, 2016 at 9:54 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi Thimuth,
>>
>> Please upload the attached file in the root level at  [1]
>>
>> [1] http://product-dist.wso2.com/p2/developer-studio-kernel/4.0.0/updates
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
>
> *Thimuth Amarakoon*
>
> *Associate Technical Lead*
>
>
> *WSO2 Inc. http://wso2.com <http://wso2.com>lean.enterprise.middleware*
>
>
> *mobile : +94718340414 <%2B94718340414>*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please update the attached file in developer studio kernel P2

2016-03-30 Thread Awanthika Senarath
Hi Thimuth,

Please upload the attached file in the root level at  [1]

[1] http://product-dist.wso2.com/p2/developer-studio-kernel/4.0.0/updates

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
org.wso2.developerstudio.eclipse.kernel.libraries,4.1.0.201603310410
org.wso2.developerstudio.eclipse.wso2plugin.template.manager,4.1.0.201603310410
org.wso2.developerstudio.eclipse.updater,4.1.0.201603310410 
 
org.wso2.developerstudio.eclipse.platform.core,4.1.0.201603310410
org.wso2.developerstudio.eclipse.platform.ui,4.1.0.201603310410
org.wso2.developerstudio.eclipse.logging,4.1.0.201603310410
org.wso2.developerstudio.eclipse.maven,4.1.0.201603310410
org.wso2.developerstudio.eclipse.utils,4.1.0.201603310410
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is it possible to store a custom file in the P2 repo and read it via eclipse?

2016-03-28 Thread Awanthika Senarath
Hi all,


In order to modify the developer studio updater tool and prevent it from
searching through the whole P2 repo for updates, we need to introduce a
meta file to the p2 repo and get eclipse to read that file to identify
possible updates to be installed.


Is it possible to get the eclipse P2 reader to read a custom file from P2
repo? if not we have to download the custom meta deta file from the P2 repo
or any other storage location and read it prior to running the developer
studio updater tool


@ Kavith : Any thoughts on this?


Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC '16 - Proposal 16: Contact Development Team feature in DevStudio

2016-03-24 Thread Awanthika Senarath
Hello Chanuka,

please find my comments inline,

I went through the DevStudio kernel and have a few questions. I'd be ever
so grateful for your answers.

1. The DeveloperStudioLog class doesn't include any control scheme to limit
reporting multiple cases of the same error in short time periods.
Reporting all cases seems like a nuisance, especially if it's an intended
error.
Would limiting such successive reports cause any harm? One way would be to
pause/ stop reporting the same error after, say, 10 close occurrences.

you can include your suggestions in your proposal.

2. Should the error report be fully automated and not interact with the
developer at all?
It seems better to allow the developer to attach a message along with the
report. That way the internal devs can get contextual info as well.

the error report should contact the developer as it should ask for his
consent which is the normal procedure.

You can decide on how best to implement it.

3.  Developers would be interested in getting feedback for what they report
and want to track the progress on issues. This could be implemented as an
opt-in feature, along with anonymization.

Yes, it would be a nice to have feature.

Feel free to prioritize and include your ideas in the proposal. If you need
any information on the current implementation or more information on
anything drop us a mail.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Mar 24, 2016 at 12:11 PM, Chanuka Wijayakoon <
cl.workplac...@gmail.com> wrote:

> Hello everyone,
>
> I went through the DevStudio kernel and have a few questions. I'd be ever
> so grateful for your answers.
>
> 1. The DeveloperStudioLog class doesn't include any control scheme to
> limit reporting multiple cases of the same error in short time periods.
> Reporting all cases seems like a nuisance, especially if it's an intended
> error.
> Would limiting such successive reports cause any harm? One way would be to
> pause/ stop reporting the same error after, say, 10 close occurrences.
>
> 2. Should the error report be fully automated and not interact with the
> developer at all?
> It seems better to allow the developer to attach a message along with the
> report. That way the internal devs can get contextual info as well.
>
> 3.  Developers would be interested in getting feedback for what they
> report and want to track the progress on issues. This could be implemented
> as an opt-in feature, along with anonymization.
> Thoughts?
>
> Best regards
>
> On 24 March 2016 at 09:11, Chanuka Wijayakoon <cl.workplac...@gmail.com>
> wrote:
>
>> Great, I'll get back to you with a draft proposal today.
>>
>> Thank you.
>>
>> On 24 March 2016 at 08:12, Awanthika Senarath <awanth...@wso2.com> wrote:
>>
>>> Hello Chanuka,
>>>
>>> What we expect is something similar to eclipse mars implementation.
>>>
>>> The latest released developer studio is on Eclipse Luna, and the next
>>> release would be on Eclipse Mars which would be release within this
>>> quarter.You can checkout the Developer Studio kernel code and get a basic
>>> understanding on the code level.
>>>
>>> You can go ahead and start creating your proposal.
>>>
>>> Regards
>>> Awanthika
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Tue, Mar 22, 2016 at 8:01 PM, Chanuka Wijayakoon <
>>> cl.workplac...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am Chanuka Wijayakoon, a 2nd year undergraduate at the Department of
>>>> Computer Science & Engineering in University of Moratuwa. I'm interested in
>>>> building a semi-automated error reporting extension for DevStudio as a GSoC
>>>> 2016 intern.
>>>>
>>>> I have selected this proposal after carefully considering my skills and
>>>> past experience in working with Java and related technologies. I have a
>>>> special interest towards building Eclipse plugins.
>>>>
>>>> So far I have researched on existing solutions for automated error
>>>> reporting and came across the AERI of Eclipse Mars as a model solution. It
>>>> provides developers with a rich set of features to report errors in Eclipse
>>>> to a central server with relevant metadata. It integrates with the Eclipse
>>>> RCP as part of the EPP.
>>>>
>>>> As I understand, a viable solution for proposal 16 would be of similar
>>>> design tailored for DevStudio users. Currently I'm studying how DevStudio

Re: [Dev] GSoC '16 - Proposal 16: Contact Development Team feature in DevStudio

2016-03-23 Thread Awanthika Senarath
Hello Chanuka,

What we expect is something similar to eclipse mars implementation.

The latest released developer studio is on Eclipse Luna, and the next
release would be on Eclipse Mars which would be release within this
quarter.You can checkout the Developer Studio kernel code and get a basic
understanding on the code level.

You can go ahead and start creating your proposal.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Mar 22, 2016 at 8:01 PM, Chanuka Wijayakoon <
cl.workplac...@gmail.com> wrote:

> Hi,
>
> I am Chanuka Wijayakoon, a 2nd year undergraduate at the Department of
> Computer Science & Engineering in University of Moratuwa. I'm interested in
> building a semi-automated error reporting extension for DevStudio as a GSoC
> 2016 intern.
>
> I have selected this proposal after carefully considering my skills and
> past experience in working with Java and related technologies. I have a
> special interest towards building Eclipse plugins.
>
> So far I have researched on existing solutions for automated error
> reporting and came across the AERI of Eclipse Mars as a model solution. It
> provides developers with a rich set of features to report errors in Eclipse
> to a central server with relevant metadata. It integrates with the Eclipse
> RCP as part of the EPP.
>
> As I understand, a viable solution for proposal 16 would be of similar
> design tailored for DevStudio users. Currently I'm studying how DevStudio
> (based on Eclipse Luna 4.4) differs from Eclipse Mars 4.5, implementation
> details of EPP & JIRA usage.
>
> I'd be grateful if you could tell me whether I'm headed in the right
> direction and suggest anything to further read or work on to familiarize
> with your system.
>
> Best regards,
>
>
> Chanuka Wijayakoon
> Mobile: +94 779 089 737
> <https://lk.linkedin.com/in/chanukawijayakoon>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoc 2016-Proposal 16

2016-03-23 Thread Awanthika Senarath
Hi Nathiesha,

All you proposed ideas seems good.

You can add all the ideas you have as optional features in your proposal.
We can evaluate the applicability once the proposal is submitted.

As for the user side errors network availability and resource blocking it
may not be required to be reported.


Regards
Awanthika




Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Mar 22, 2016 at 9:22 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello Nathiesha,
>
> This seems good. Let us know once you have completed the document. I will
> get back to you on the un-answered questions in your previous emails ASAP.
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Mon, Mar 21, 2016 at 11:20 PM, <nathieshamadd...@gmail.com> wrote:
>
>> Hi all,
>>
>> I will add the additional features to the project as you have suggested
>> I tried creating a draft high level architecture diagram for the project.
>> And I also started with creating the draft proposal. The link is given
>> below.
>>
>>
>> https://docs.google.com/document/d/12JqluYhlcWAN8kqxfTcwVrH_ylKaf3sNvevodOxwRho/edit?usp=sharing
>>
>> The draft architecture diagram and its components are briefly described
>> their. I didn't completed the implementation part and other latter parts
>> completely yet.
>>
>> Regarding the architecture diagram, please let me know if that fits the
>> purpose or any changes need to be done? For some use cases, I have denoted
>> in the diagram as separate modules for easy visualization and scalability
>> purposes. But certain modules can be integrated together into a single
>> module if needed, during implementation.
>>
>> And regarding the format of the proposal, have I missed anything? Do I
>> need to include anything else? Please let me know your idea about that.
>>
>> Thanks and regards
>>
>> Nathiesha
>>
>> Sent from Windows Mail
>>
>> *From:* Awanthika Senarath <awanth...@wso2.com>
>> *Sent:* ‎Monday‎, ‎March‎ ‎21‎, ‎2016 ‎8‎:‎07‎ ‎AM
>> *To:* Nathiesha Maddage <nathieshamadd...@gmail.com>
>> *Cc:* dev@wso2.org, Jasintha Dasanayake <jasin...@wso2.com>
>>
>> Hello Nathiesha ,
>>
>> Please find my comments inline,
>>
>>
>> Regarding the Dev Studio, what  type of users are using it? Is it for the
>> internal developers, external developers or for both? And when reporting
>> the errors for the wso2 Jira, other than the information about the error,
>> what information about users should be collected? I hope name and email
>> would be sufficient enough.
>>
>> It is for both. mainly it is for artifact development for WSO2 products
>> and hence majority of the users are our customers, which would fall into
>> external developers according to your categorization.
>>
>> When considering the error reporting tool plugin found in Eclipse Mars,
>> it provides a feature for the user to anonymize stack trace and anonymize
>> messages if it contains sensitive data. Will that feature be useful for
>> this proposed plugin as well?
>>
>> Yes, +1. This would be a required feature since customers may have
>> sensitive data they need to hide before reporting the error.
>>
>> Other than the automatic error reporting to the wso2 Jira, an
>> additional feature can be added to the plugin for the user to enter an
>> email address, if he wishes to send the error report to some person/mailing
>> list, only if that is useful. Furthermore should the plugin provide a way
>> to contact the development team through the IDE? Like may be a menu item,
>> that pops up a window that allows user to send a message/email to the
>> development team? Or is it just the automated error reporting functionality
>> expected?
>>
>> We need to discuss this internally in the team. I'll provide you feedback
>> later on this.
>>
>> Regarding the Jira wso2 online supporting system, I came through Jira
>> Rest APIs that allows to access Jira services. Can those be used to access
>> wso2 online supporting system as well? Or is there any other way
>> or separate API for wso2 online supporting system ?
>>
>> You can use Jira rest APIs to access WSO2 support JIRA system.
>>
>> And as additional features, would it be useful if reporter is provided on
>> a feedback, where reporter can track the error and view the progress if he
>> is interested? And also maybe to keep track of the errors sent
>> previously and skip reporting the similar errors

Re: [Dev] Issue in representing an array which contains non identical elements

2016-03-23 Thread Awanthika Senarath
Even though these arrays are identical, AFAIS they may occur independent,

as in we may have 5 of the first array with the three items and 3 of the
other array which is completely unrelated to the first array,


In that case is it okey to represent them as a single array?

according to [1] it seems like the xsi:type attribute is not just any
attribute but something similar to a key word in XML. in that case IMO it
is not correct to represent these two arrays as a merged array instance.

We need to consider xsi:type attribute as a keyword. I dont know how viable
this is though.





[1]
http://stackoverflow.com/questions/21216778/how-to-define-xsitype-as-an-attribute-in-xml-schema

Regards
Awanthika



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Mar 23, 2016 at 7:17 PM, Sohani Weerasinghe <soh...@wso2.com> wrote:

> Hi All,
>
> If we consider the below xml, "urn:sObjects" is an array which contains
> elements which are not identical.
>
> First array contains AccountId, FirstName, LastName and the other array
> contains Name.
>
>   xmlns:urn1="urn:sobject.enterprise.soap.sforce.com"  xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;>
>  
>
>001D00HRzKD
>Jane
>Doe
> 
> 
>Acme Rockets, Inc.
> 
>  
>
> The generated json schema would be as follows
>
> {
>"$Schema":"http://json-schema.org/draft-04/schema#;,
>"title":"urn:create",
>"id":"http://jsonschema.net;,
>"type":"object",
>"properties":{
>   "urn:create":{
>  "id":"http://jsonschema.net/urn:create;,
>  "type":"object",
>  "properties":{
> "urn:sObjects":{
>"id":"http://jsonschema.net/urn:create/urn:sObjects;,
>"type":"array",
>"items":[
>   {
>  "id":"http://jsonschema.net/urn:create/urn:sObjects/0
> ",
>  "type":"object",
>  "properties":{
> "AccountId":{
>"id":"
> http://jsonschema.net/urn:create/urn:sObjects/0/AccountId;,
>"type":"string"
> },
> "@type":{
>"id":"
> http://jsonschema.net/urn:create/urn:sObjects/0/@type;,
>"type":"string"
> },
> "FirstName":{
>"id":"
> http://jsonschema.net/urn:create/urn:sObjects/0/FirstName;,
>"type":"string"
> },
> "LastName":{
>"id":"
> http://jsonschema.net/urn:create/urn:sObjects/0/LastName;,
>"type":"string"
> }
>  }
>   },
>   {
>  "id":"http://jsonschema.net/urn:create/urn:sObjects/0
> ",
>  "type":"object",
>  "properties":{
> "@type":{
>"id":"
> http://jsonschema.net/urn:create/urn:sObjects/0/@type;,
>"type":"string"
> },
> "Name":{
>"id":"
> http://jsonschema.net/urn:create/urn:sObjects/0/Name;,
>"type":"string"
> }
>  }
>   }
>]
> }
>  }
>   }
>},
>"namespaces":[
>   {
>  "prefix":"urn",
>  "url":"urn:enterprise.soap.sforce.com"
>   },
>   {
>  "prefix":"xsi",
>  "url":"http://www.w3.org/2001/XMLSchema-instance;
>   },
>   {
>  "prefix":"urn1",
>  "url":"urn:sobject.enterprise.soap.sforce.com"
>   }
>]
> }
>
>
> I am facing an issue in representing this in the tree view. Are we going
> to add all 4 elements ( AccountId, FirstName, LastName and Name) under the
> array object?
>
> Really appreciate your input on this.
>
> Thanks,
> Sohani
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoc 2016-Proposal 16

2016-03-21 Thread Awanthika Senarath
Hello Nathiesha,

This seems good. Let us know once you have completed the document. I will
get back to you on the un-answered questions in your previous emails ASAP.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Mar 21, 2016 at 11:20 PM, <nathieshamadd...@gmail.com> wrote:

> Hi all,
>
> I will add the additional features to the project as you have suggested
> I tried creating a draft high level architecture diagram for the project.
> And I also started with creating the draft proposal. The link is given
> below.
>
>
> https://docs.google.com/document/d/12JqluYhlcWAN8kqxfTcwVrH_ylKaf3sNvevodOxwRho/edit?usp=sharing
>
> The draft architecture diagram and its components are briefly described
> their. I didn't completed the implementation part and other latter parts
> completely yet.
>
> Regarding the architecture diagram, please let me know if that fits the
> purpose or any changes need to be done? For some use cases, I have denoted
> in the diagram as separate modules for easy visualization and scalability
> purposes. But certain modules can be integrated together into a single
> module if needed, during implementation.
>
> And regarding the format of the proposal, have I missed anything? Do I
> need to include anything else? Please let me know your idea about that.
>
> Thanks and regards
>
> Nathiesha
>
> Sent from Windows Mail
>
> *From:* Awanthika Senarath <awanth...@wso2.com>
> *Sent:* ‎Monday‎, ‎March‎ ‎21‎, ‎2016 ‎8‎:‎07‎ ‎AM
> *To:* Nathiesha Maddage <nathieshamadd...@gmail.com>
> *Cc:* dev@wso2.org, Jasintha Dasanayake <jasin...@wso2.com>
>
> Hello Nathiesha ,
>
> Please find my comments inline,
>
>
> Regarding the Dev Studio, what  type of users are using it? Is it for the
> internal developers, external developers or for both? And when reporting
> the errors for the wso2 Jira, other than the information about the error,
> what information about users should be collected? I hope name and email
> would be sufficient enough.
>
> It is for both. mainly it is for artifact development for WSO2 products
> and hence majority of the users are our customers, which would fall into
> external developers according to your categorization.
>
> When considering the error reporting tool plugin found in Eclipse Mars, it
> provides a feature for the user to anonymize stack trace and anonymize
> messages if it contains sensitive data. Will that feature be useful for
> this proposed plugin as well?
>
> Yes, +1. This would be a required feature since customers may have
> sensitive data they need to hide before reporting the error.
>
> Other than the automatic error reporting to the wso2 Jira, an
> additional feature can be added to the plugin for the user to enter an
> email address, if he wishes to send the error report to some person/mailing
> list, only if that is useful. Furthermore should the plugin provide a way
> to contact the development team through the IDE? Like may be a menu item,
> that pops up a window that allows user to send a message/email to the
> development team? Or is it just the automated error reporting functionality
> expected?
>
> We need to discuss this internally in the team. I'll provide you feedback
> later on this.
>
> Regarding the Jira wso2 online supporting system, I came through Jira Rest
> APIs that allows to access Jira services. Can those be used to access wso2
> online supporting system as well? Or is there any other way or separate API
> for wso2 online supporting system ?
>
> You can use Jira rest APIs to access WSO2 support JIRA system.
>
> And as additional features, would it be useful if reporter is provided on
> a feedback, where reporter can track the error and view the progress if he
> is interested? And also maybe to keep track of the errors sent
> previously and skip reporting the similar errors?
>
> +1 these would be interesting features to have if you can integrate them
> with the task given.
>
>
> Regards
> Awanthika
>
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Sun, Mar 20, 2016 at 8:15 PM, <nathieshamadd...@gmail.com> wrote:
>
>> Hi ,
>>
>> Thank you. I will look into the ‘IDeveloperStudioLog’ class to get an
>> idea about the logging information.
>>
>> I’ve got some more questions regarding the project and developer studio.
>>
>> Regarding the Dev Studio, what  type of users are using it? Is it for the
>> internal developers, external developers or for both? And when reporting
>> the errors for the wso2 Jira, other than the information about the error,
>> what information ab

Re: [Dev] GSoc 2016-Proposal 16

2016-03-20 Thread Awanthika Senarath
Hello Nathiesha ,

Please find my comments inline,


Regarding the Dev Studio, what  type of users are using it? Is it for the
internal developers, external developers or for both? And when reporting
the errors for the wso2 Jira, other than the information about the error,
what information about users should be collected? I hope name and email
would be sufficient enough.

It is for both. mainly it is for artifact development for WSO2 products and
hence majority of the users are our customers, which would fall into
external developers according to your categorization.

When considering the error reporting tool plugin found in Eclipse Mars, it
provides a feature for the user to anonymize stack trace and anonymize
messages if it contains sensitive data. Will that feature be useful for
this proposed plugin as well?

Yes, +1. This would be a required feature since customers may have
sensitive data they need to hide before reporting the error.

Other than the automatic error reporting to the wso2 Jira, an
additional feature can be added to the plugin for the user to enter an
email address, if he wishes to send the error report to some person/mailing
list, only if that is useful. Furthermore should the plugin provide a way
to contact the development team through the IDE? Like may be a menu item,
that pops up a window that allows user to send a message/email to the
development team? Or is it just the automated error reporting functionality
expected?

We need to discuss this internally in the team. I'll provide you feedback
later on this.

Regarding the Jira wso2 online supporting system, I came through Jira Rest
APIs that allows to access Jira services. Can those be used to access wso2
online supporting system as well? Or is there any other way or separate API
for wso2 online supporting system ?

You can use Jira rest APIs to access WSO2 support JIRA system.

And as additional features, would it be useful if reporter is provided on a
feedback, where reporter can track the error and view the progress if he is
interested? And also maybe to keep track of the errors sent previously and
skip reporting the similar errors?

+1 these would be interesting features to have if you can integrate them
with the task given.


Regards
Awanthika



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Sun, Mar 20, 2016 at 8:15 PM, <nathieshamadd...@gmail.com> wrote:

> Hi ,
>
> Thank you. I will look into the ‘IDeveloperStudioLog’ class to get an idea
> about the logging information.
>
> I’ve got some more questions regarding the project and developer studio.
>
> Regarding the Dev Studio, what  type of users are using it? Is it for the
> internal developers, external developers or for both? And when reporting
> the errors for the wso2 Jira, other than the information about the error,
> what information about users should be collected? I hope name and email
> would be sufficient enough.
> When considering the error reporting tool plugin found in Eclipse Mars, it
> provides a feature for the user to anonymize stack trace and anonymize
> messages if it contains sensitive data. Will that feature be useful for
> this proposed plugin as well?
>
> Other than the automatic error reporting to the wso2 Jira, an
> additional feature can be added to the plugin for the user to enter an
> email address, if he wishes to send the error report to some person/mailing
> list, only if that is useful. Furthermore should the plugin provide a way
> to contact the development team through the IDE? Like may be a menu item,
> that pops up a window that allows user to send a message/email to the
> development team? Or is it just the automated error reporting functionality
> expected?
>
> Regarding the Jira wso2 online supporting system, I came through Jira Rest
> APIs that allows to access Jira services. Can those be used to access wso2
> online supporting system as well? Or is there any other way or separate API
> for wso2 online supporting system ?
>
> And as additional features, would it be useful if reporter is provided on
> a feedback, where reporter can track the error and view the progress if he
> is interested? And also maybe to keep track of the errors sent
> previously and skip reporting the similar errors?
>
> Regards
>
> Nathiesha
>
>
>
>
> Sent from Windows Mail
>
> *From:* Awanthika Senarath <awanth...@wso2.com>
> *Sent:* ‎Sunday‎, ‎March‎ ‎20‎, ‎2016 ‎4‎:‎36‎ ‎PM
> *To:* nathieshamadd...@gmail.com
> *Cc:* Jasintha Dasanayake <jasin...@wso2.com>, dev@wso2.org
>
> Hello Natheisha,
>
> Please find my inline comments,
>
> However I noticed the logging class  wso2 plugin has provided. Does it use
> any IStatus Objects or log any additional plugin specific information/error
> codes other than the normal error log info Eclipse pr

Re: [Dev] GSoc 2016-Proposal 16

2016-03-20 Thread Awanthika Senarath
Hello Natheisha,

Please find my inline comments,

However I noticed the logging class  wso2 plugin has provided. Does it use
any IStatus Objects or log any additional plugin specific information/error
codes other than the normal error log info Eclipse provides? If so it would
be useful to know about those in detail, when designing the error report
format that need to be sent to the central server.

Please checkout the code and check the "IDeveloperStudioLog" class. this is
the interface used to log information (warning, error etc) in developer
studio. you can trace the implementation of this "DeveloperStudioLog" class
and check how the logging is handled. If you need further information on
this get back to us with specifics.

I studied about the error log file and how the error related information
like meta Data, stack trace, system configuration info, java version, OS
version and info about bundles, plugins involved, can be fetched into the
proposed plugin, to create the error report to be sent. Is there any other
information that I have missed and that should be included when sending the
error report?

These information appears to be sufficient. Please check with the
information that are being logged in Mars eclipse.


And as you have replied to my previous email, it is clear that Eclipse
platform errors as well as the devStudio plugin errors need to be reported.
What about the expected errors where user expects, like exception to be
thrown in particular situations like network not available, invalid
license, resource blocked by another person etc. ? Should these be ignored
or reported just like the internal unexpected errors?

I believe we need to report all errors irrespective of its nature. @
Jasintha : could you provide you opinion on this?

And when it comes to the development of the proposed plugin, what would be
the most suitable target platform that would be compatible with Developer
Studio? Is it eclipse version 3.5 or higher?

Currently you can test with the latest released developer studio 3.8.0 on
top of Eclipse Luna. We are planning to release Developer studio on Mars in
the near future. We will inform you once the release is ready so that you
can do development on that.



Regards
Awanthika


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Sun, Mar 20, 2016 at 11:56 AM, <nathieshamadd...@gmail.com> wrote:

> Hi Jasintha,
>
> I am currently working on making a high level architecture diagram for the
> proposed tool. I will send it to you asap along with the draft proposal, so
> you can give your suggestions about it, whether I am in the right track and
> if any improvements need to be done for that.
>
> Meanwhile I encountered with certain issues, that I need a little
> clarification about.
>
> I installed Developer Studio to get a basic idea about its plugins and
> overall structure. I guess I need not have a detailed understanding about
> its functionality for this project, as the project mainly focuses on
> errors.
>
> However I noticed the logging class  wso2 plugin has provided. Does it use
> any IStatus Objects or log any additional plugin specific information/error
> codes other than the normal error log info Eclipse provides? If so it would
> be useful to know about those in detail, when designing the error report
> format that need to be sent to the central server.
>
> I studied about the error log file and how the error related information
> like meta Data, stack trace, system configuration info, java version, OS
> version and info about bundles, plugins involved, can be fetched into the
> proposed plugin, to create the error report to be sent. Is there any other
> information that I have missed and that should be included when sending the
> error report?
>
> And as you have replied to my previous email, it is clear that Eclipse
> platform errors as well as the devStudio plugin errors need to be reported.
> What about the expected errors where user expects, like exception to be
> thrown in particular situations like network not available, invalid
> license, resource blocked by another person etc. ? Should these be ignored
> or reported just like the internal unexpected errors?
>
> And when it comes to the development of the proposed plugin, what would be
> the most suitable target platform that would be compatible with Developer
> Studio? Is it eclipse version 3.5 or higher?
>
>
> Regards
> Nathiesha
>
>
> Sent from Windows Mail
>
> *From:* Jasintha Dasanayake <jasin...@wso2.com>
> *Sent:* ‎Friday‎, ‎March‎ ‎18‎, ‎2016 ‎6‎:‎56‎ ‎AM
> *To:* Nathiesha Maddage <nathieshamadd...@gmail.com>, dev@wso2.org
>
>
>
> On Thu, Mar 17, 2016 at 8:55 PM, <nathieshamadd...@gmail.com> wrote:
>
>> Hi Jasintha,
>>
>> Can I get an idea about the 

[Dev] Modifying the icon

2016-03-19 Thread Awanthika Senarath
Hi,

Can I please have the attached icon in color [1] with filled in? currently
it is white with black outline. I want the triangle to be filled in by
color [1].



[1] RGB 0, 125, 133


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Modifying the icon

2016-03-19 Thread Awanthika Senarath
Thanks Sharon.

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Mar 17, 2016 at 3:24 PM, Sharon David <shar...@wso2.com> wrote:

> HI Awanthika,
>
> please find attached Icon
>
> On Thu, Mar 17, 2016 at 3:08 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi,
>>
>> Can I please have the attached icon in color [1] with filled in?
>> currently it is white with black outline. I want the triangle to be filled
>> in by color [1].
>>
>>
>>
>> [1] RGB 0, 125, 133
>>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
> Sharon David
> Software Engineer - UI/UX  |   WSO2 Inc
>
> +94 777 668 411  |  shar...@wso2.com  |   http://wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Drag and Drop not being supported by default in GMF gen code

2016-03-19 Thread Awanthika Senarath
The reference Link

[1] https://wiki.eclipse.org/GMF_Newsgroup_Q_and_A

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Mar 2, 2016 at 11:48 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hi,
>
> The issue of  datamapper operators not being drag, drop able, the issue is
> that GMF auto gen code by default does not support drag drop ability.
> Instead it support select and drop.
>
> This could be fixed as follows according to [1].
>
> In the gen code the DataMapperPaletteFactory class contains an internal
> class *NodeToolEntry*  which by default extends ToolEntry class. It needs
> to extend PaletteToolEntry class for the tool items to have drag and drop
> capability.
>
> I have done the changes and added a class comment "Generated NOT" to the
> modified class.
>
>
> [1]
> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/msg01537.html
>
> Regards
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Introducing a model generator for DataMapper

2016-03-12 Thread Awanthika Senarath
Sanjiva, are you referring to the component diagram?

"schema generator for XSD" and "schema generator for XML" are the generator
classes which would generate the (JSON) schema which is "a" common schema
type we would be using inside datamapper to generate the mapping configs.
We are generating the common schema for all input file types given by user.

Since this model enables us to plugin any schema type for the ground level
mapping (be it AVRO /JSON schema) we have not mentioned the type of the
schema that would be generated. There would be schema generator classes for
XML/XSD JSON and all other file types that we intend to allow the user to
upload.

The classes should be XXXSchemaGeneratorForXML to be precise.

Hope this clarifies the confusion.


Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Sat, Mar 12, 2016 at 1:45 PM, Sanjiva Weerawarana <sanj...@wso2.com>
wrote:

> In the first picture there's something saying "schema generator for XSD"
> and "schema generator for XML". I can't figure out what the latter is.
>
> On Fri, Mar 11, 2016 at 1:46 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Please find the component diagram attached,
>>
>> ​
>>  Data Mapper Tool Workflow
>> <https://docs.google.com/a/wso2.com/drawings/d/1_MXoaIxswrmYS2E4RWzn6yov4NEfluWMSUtr82J_FAs/edit?usp=drive_web>
>> ​
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Fri, Mar 11, 2016 at 12:09 PM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>>
>>> Please find the modified class diagram attached,
>>>
>>> ​
>>>  Schema Generator - Factory Implementation - Cla...
>>> <https://docs.google.com/a/wso2.com/drawings/d/1dAC7OMtmnUgsSAPf1Szmiq95vZSkdAI5TYyqwCUm5SY/edit?usp=drive_web>
>>> ​
>>>
>>>>
>>>>>>
>>>
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, CEO & Chief Architect; WSO2, Inc.;  http://wso2.com/
> email: sanj...@wso2.com; office: (+1 650 745 4499 | +94  11 214 5345)
> x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Introducing a model generator for DataMapper

2016-03-11 Thread Awanthika Senarath
Please find the component diagram attached,

​
 Data Mapper Tool Workflow
<https://docs.google.com/a/wso2.com/drawings/d/1_MXoaIxswrmYS2E4RWzn6yov4NEfluWMSUtr82J_FAs/edit?usp=drive_web>
​

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Mar 11, 2016 at 12:09 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

>
> Please find the modified class diagram attached,
>
> ​
>  Schema Generator - Factory Implementation - Cla...
> <https://docs.google.com/a/wso2.com/drawings/d/1dAC7OMtmnUgsSAPf1Szmiq95vZSkdAI5TYyqwCUm5SY/edit?usp=drive_web>
> ​
>
>>
>>>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Introducing a model generator for DataMapper

2016-03-10 Thread Awanthika Senarath
Please find the modified class diagram attached,

​
 Schema Generator - Factory Implementation - Cla...

​

>
>>>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Introducing a model generator for DataMapper

2016-03-10 Thread Awanthika Senarath
Please find the attached class diagram for the schema generator module of
the tool.

This will enable to plug in schema specific generator classes and generate
the schema that is adopted for the mapping level configurations for the
different file types (XMl, XSD, JSON) imported by the user.


Regards
Awanthika



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Mar 10, 2016 at 6:54 PM, Sohani Weerasinghe <soh...@wso2.com> wrote:

> Hi All,
>
> We have restructured the datamapper design introducing a pluggable
> architecture which separates the UI from the mapping schema language.
>
> Based on the design we have introduced an Interface (ISchemaGenerator) to
> get the schema content based on the type (eg: xml, xsd, json etc) and then
> have used an interface (ISchemaTransformer) for basically communicate with
> the tree model (GMF) to generate the tree and to transform the content to
> the schema file. Also we have used a SchemaTransformerRegistry to register
> the schema type to be used in the transformation.
>
> Please find the attached class diagram for model generation.
>
> Additional notes can be found at [1]
>
> [1] Meeting Notes : Data Mapper Design overview
>
> Thanks,
> Sohani​
>  Class Diagram for Model Generator
> <https://docs.google.com/a/wso2.com/drawings/d/1xE2FpjD5ZOXFYJEm7mvO9RjqGXwaCBN8-HcWCsAqzT4/edit?usp=drive_web>
> ​
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deciding a file type for Json Schema

2016-03-10 Thread Awanthika Senarath
.jsc is commonly used for javascript configuration files [1] and .jsd is
also in use according to [2], therefore IMO it is not suitable to use it
for our purpose as it may introduce conflicts.

[1] http://www.file-extensions.org/jsc-file-extension
[2] http://filext.com/file-extension/JSD

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Mar 10, 2016 at 2:48 PM, Susinda Perera <susi...@wso2.com> wrote:

>
>
> On Thu, Mar 10, 2016 at 2:41 PM, Sohani Weerasinghe <soh...@wso2.com>
> wrote:
>
>> How about using something like .jsc ?
>>
>> When we were using avro schema we have used .avsc as the extension hence
>> shall we use .jsc ?
>>
>> Thanks,
>> Sohani
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>> On Thu, Mar 10, 2016 at 2:38 PM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> In migrating the Data mapper tool for ESB we need to $subject in order
>>> to differentiate between json schema and json files on loading from file
>>> system and registry.
>>>
>> How about introducing mediatype (if not available) from the registry. and
> file extension something like (.jsd similar to .xsd).
>
>>
>>> according to [1] the official mime type for json schema is "
>>> application/schema+json" and we can go ahead with that as the media
>>> type for json schema registry resources.
>>>
>>> For local file system files we can use .jschema to identify json-schema
>>> files.
>>>
>>> WDYT?
>>>
>>>
>>> [1]
>>> http://stackoverflow.com/questions/9391370/json-schema-file-extension
>>>
>>> Regards
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Deciding a file type for Json Schema

2016-03-10 Thread Awanthika Senarath
Hi,

In migrating the Data mapper tool for ESB we need to $subject in order to
differentiate between json schema and json files on loading from file
system and registry.

according to [1] the official mime type for json schema is "
application/schema+json" and we can go ahead with that as the media type
for json schema registry resources.

For local file system files we can use .jschema to identify json-schema
files.

WDYT?


[1] http://stackoverflow.com/questions/9391370/json-schema-file-extension

Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Browse registry resource filtering by media type

2016-03-10 Thread Awanthika Senarath
Thanks Danesh,

I used the media-type of the Registry Resource to identify the file type.


Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Mar 10, 2016 at 10:22 AM, Danesh Kuruppu <dan...@wso2.com> wrote:

> Hi Awanthika,
>
> We cannot filter resources in Registry browser. for your case, you need to
> use registry search to filter results. Anyway media type is attached in the
> registry resource. We can check the mediatype of the resource once we
> retrieved the registry resource.
>
> Thanks
> Danesh
>
> On Thu, Mar 10, 2016 at 9:07 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi,
>>
>> Is $subject doable?
>>
>> We have a requirement in Developer Studio to load registry resources and
>> process them separately accorgin to they file type. For an example if it is
>> an XML , XSD or a JSON we need to process them in separate methods.
>>
>> Currently we are retrieving only the resource path from our registry
>> browser and then we retrieve it as a stream to temp file created in the
>> file system. Hence We are unable to differentiate the file type.
>>
>> We have a combo box for the user to select the file type we wants to load
>> and for users local file system we are filtering the files according to the
>> file extension. What we look for is something similar in browsing registry
>> resources.
>>
>> If that is not possible retrieving the file type on selection would also
>> be adequate.
>>
>> Appreciate your input on this.
>>
>> Regards
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
>
> Danesh Kuruppu
> Software Engineer
> WSO2 Inc,
> Mobile: +94 (77) 1690552
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Browse registry resource filtering by media type

2016-03-09 Thread Awanthika Senarath
Hi,

Is $subject doable?

We have a requirement in Developer Studio to load registry resources and
process them separately accorgin to they file type. For an example if it is
an XML , XSD or a JSON we need to process them in separate methods.

Currently we are retrieving only the resource path from our registry
browser and then we retrieve it as a stream to temp file created in the
file system. Hence We are unable to differentiate the file type.

We have a combo box for the user to select the file type we wants to load
and for users local file system we are filtering the files according to the
file extension. What we look for is something similar in browsing registry
resources.

If that is not possible retrieving the file type on selection would also be
adequate.

Appreciate your input on this.

Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] XML Editor for Eclipse Plugins

2016-03-06 Thread Awanthika Senarath
Hello Heshitha,


Did you follow [1] to achieve this?

[1]
http://www.eclipse.org/webtools/wst/components/sse/tutorials/multipage-editor-tutorial.html

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Mar 7, 2016 at 11:54 AM, Heshitha Hettihewa <heshit...@wso2.com>
wrote:

> Hi All,
>
> I'm currently developing the Human Task Editor for Eclipse. For that I'm
> using an eclipse multi page editor which has 2 editor pages one for Text
> editor and one for UI editor. To edit the Human Task files the text editor
> part should be in the form of a XML editor. So I tried structured text
> editor but it gives "unsupported content type in editor" error for .ht
> (Human Task) file extension. Is there any existing XML Editor class that I
> can use here or what are the recommended approaches for a scenario like
> this?.
>
> Thank you.
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Installation issues of ESB fixed

2016-03-03 Thread Awanthika Senarath
​
 newp2.zip
<https://drive.google.com/a/wso2.com/file/d/0B7bANfTjLyExdXpZRmYwZXRHRlk/view?usp=drive_web>
​

PLease find the p2 of the required patch0003 attached

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Mar 3, 2016 at 4:36 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> The installation issues of ESB Tooling features are fixed,
>
> the cache mediator issue and the data-mapper dependency issues were fixed
> by aprropriately importing and exporting the versioned packages and
> features from the relevant plugins.
>
> The installation of the tooling main generated should be on top of a
> kernel that has the patch0003 from [1] installed. Else there would be
> errors in data-mapper dependencies.
>
> Installation of tooling composite contains the fixed version of the
> relevant feature.
>
>
> [1]
> http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.0.0/kernel/updates/main/patch0003/
>
>
> Regards
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Installation issues of ESB fixed

2016-03-03 Thread Awanthika Senarath
The installation issues of ESB Tooling features are fixed,

the cache mediator issue and the data-mapper dependency issues were fixed
by aprropriately importing and exporting the versioned packages and
features from the relevant plugins.

The installation of the tooling main generated should be on top of a kernel
that has the patch0003 from [1] installed. Else there would be errors in
data-mapper dependencies.

Installation of tooling composite contains the fixed version of the
relevant feature.


[1]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.0.0/kernel/updates/main/patch0003/


Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Drag and Drop not being supported by default in GMF gen code

2016-03-01 Thread Awanthika Senarath
Hi,

The issue of  datamapper operators not being drag, drop able, the issue is
that GMF auto gen code by default does not support drag drop ability.
Instead it support select and drop.

This could be fixed as follows according to [1].

In the gen code the DataMapperPaletteFactory class contains an internal
class *NodeToolEntry*  which by default extends ToolEntry class. It needs
to extend PaletteToolEntry class for the tool items to have drag and drop
capability.

I have done the changes and added a class comment "Generated NOT" to the
modified class.


[1] http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/msg01537.html

Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Awanthika Senarath
+1 to attr

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Mar 2, 2016 at 11:31 AM, Susinda Perera <susi...@wso2.com> wrote:

> How about *attr* (lowercase)
>
> On Wed, Mar 2, 2016 at 11:29 AM, Sohani Weerasinghe <soh...@wso2.com>
> wrote:
>
>> I think it's better if we can use "ATR" instead of "ATT"
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>> On Wed, Mar 2, 2016 at 11:25 AM, Sohani Weerasinghe <soh...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> When representing attributes in avro schema,  according to [1] the
>>> suggested approach is to use @ as a prefix.
>>>
>>> Since avro name should start with [A-Za-z] and subsequently contain only
>>>  [A-Za-z0-9_], shall we represent it as below (adding ATT as a prefix)
>>>
>>> "name" : "*ATT*_gender"
>>>
>>> [1]
>>> https://docs.google.com/spreadsheets/d/15eyRuxn9rFazULASqtB2DZaSAVznKqSNnIGrwvdpzic/edit?ts=56d5250b#gid=0
>>>
>>> Sohani Weerasinghe
>>> Software Engineer
>>> WSO2, Inc: http://wso2.com
>>>
>>> Mobile  : +94 716439774
>>> Blog :http://christinetechtips.blogspot.com/
>>> Twitter  : https://twitter.com/sohanichristine
>>>
>>> On Wed, Mar 2, 2016 at 7:47 AM, Sohani Weerasinghe <soh...@wso2.com>
>>> wrote:
>>>
>>>>
>>>> ​Please find the attached image which represents the prefix in the tree
>>>> view
>>>>
>>>> Sohani Weerasinghe
>>>> Software Engineer
>>>> WSO2, Inc: http://wso2.com
>>>>
>>>> Mobile  : +94 716439774
>>>> Blog :http://christinetechtips.blogspot.com/
>>>> Twitter  : https://twitter.com/sohanichristine
>>>>
>>>> On Wed, Mar 2, 2016 at 7:45 AM, Sohani Weerasinghe <soh...@wso2.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> Sohani Weerasinghe
>>>>> Software Engineer
>>>>> WSO2, Inc: http://wso2.com
>>>>>
>>>>> Mobile  : +94 716439774
>>>>> Blog :http://christinetechtips.blogspot.com/
>>>>> Twitter  : https://twitter.com/sohanichristine
>>>>>
>>>>> On Wed, Mar 2, 2016 at 6:28 AM, Jasintha Dasanayake <jasin...@wso2.com
>>>>> > wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Mar 1, 2016 at 9:07 PM, Sohani Weerasinghe <soh...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Thanks Nuwan for the response.
>>>>>>>
>>>>>>> When generating the avro schema by adding elements to the tree view,
>>>>>>> user can specify the namespace (xml namespace) with the prefix, so that
>>>>>>> when generating the the avro schema we can map the namespace to doc and
>>>>>>> prefix to the namespace in avro.
>>>>>>>
>>>>>>
>>>>>> Yes that's mapping is fine , somehow we need to show at least prefix
>>>>>> in the tree view otherwise user experience won't be nice since user have 
>>>>>> to
>>>>>> check it explicitly while doing the mapping
>>>>>>
>>>>>
>>>>> Yes, I have implemented that and the prefix will be shown in the tree
>>>>> view.
>>>>>
>>>>>>
>>>>>> Thanks and Regards
>>>>>> /Jasintha.
>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Sohani
>>>>>>>
>>>>>>> Sohani Weerasinghe
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc: http://wso2.com
>>>>>>>
>>>>>>> Mobile  : +94 716439774
>>>>>>> Blog :http://christinetechtips.blogspot.com/
>>>>>>> Twitter  : https://twitter.com/sohanichristine
>>>>>>>
>>>>>>> On Tue, Mar 1, 2016 at 8:54 PM, Nuwan Pallewela <nuw...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>

Re: [Dev] No such method when loading third party jar in eclipse

2016-03-01 Thread Awanthika Senarath
The fix is available at git branch core-update-4.0.0.201603020233

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Mar 2, 2016 at 10:35 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> I have fixed this by moving the datamapper specific libraries from the
> kernel libraries plugin into the datamapper plugin. This will give us the
> flexibility to change and add different libraries required for datamapper
> independent of kernel releases,
>
> We can release the composite zip for the ESB plugin milestone including
> this kernel update to the library feature. This fix also contains the fix
> for cache mediator jar required by ESB diagram.
>
> update is org.wso2.developerstudio.kernel.core.feature_4.0.0.201603020233.
>
> This is available in the builder machine P2
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Tue, Mar 1, 2016 at 9:21 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Apart from the kernel libraries bundle exporting the jackson libraries, I
>> could also observe that org.wso2.datamapper.engine-0.0.1.jar bundling
>> jackson packages.
>>
>> this bundle export all jackson packages without any version declaration.
>>
>> @Susinda/ Nuwan : Any idea why this composite library was introduced
>> including all avro, jackson dependency libraries bundled under a separate
>> name?
>>
>>
>> Regards
>> Awanthika
>>
>>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Mon, Feb 29, 2016 at 4:48 PM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> I have added the library into the libs folder and added them to the
>>> class-path only. Since it is in the same plugin I did not export and import
>>> explicitly.
>>>
>>> Regards
>>> Awanthika
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Mon, Feb 29, 2016 at 4:13 PM, Nuwan Pallewela <nuw...@wso2.com>
>>> wrote:
>>>
>>>> Hi Awanthika,
>>>>
>>>> Have you exported the packages you need to use?
>>>>
>>>> Thanks,
>>>> Nuwan
>>>>
>>>> On Mon, Feb 29, 2016 at 3:47 PM, Awanthika Senarath <awanth...@wso2.com
>>>> > wrote:
>>>>
>>>>> The issue is,
>>>>>
>>>>> We are using two jackson jars in our source namely,
>>>>>
>>>>> jackson-mapper-asl-1.9.3.jar and jackson-mapper-asl-1.8.10.jar,
>>>>>
>>>>> Awanthika Senarath
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94717681791
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Feb 29, 2016 at 3:41 PM, Awanthika Senarath <
>>>>> awanth...@wso2.com> wrote:
>>>>>
>>>>>> Hello All,
>>>>>>
>>>>>> I have a third party dependency in my eclipse RCP plugin to the
>>>>>> following jars,
>>>>>>
>>>>>> jaxb-impl-2.2.4-1.jar,
>>>>>> jaxb-xjc-2.2.4-1.jar,
>>>>>> jackson-mapper-asl-1.9.3.jar,
>>>>>> jackson-core-asl-1.9.3.jar,
>>>>>> jackson-annotations-2.1.0.jar
>>>>>>
>>>>>> I have loaded them through a lib folder, added to eclipse class-path
>>>>>> and have the entry [1] in my META-INF file.
>>>>>>
>>>>>> There are no errors shown in the project explorer or in the java
>>>>>> editor of the classes.
>>>>>>
>>>>>> During runtime all the other libs are loaded fine, the firt jar
>>>>>> loaded is jaxb-xjc-2.2.4-1.jar,, "Driver" method. But it throws a runtime
>>>>>> error [2] saying method not found. When I cheked the source of the jar 
>>>>>> [3]
>>>>>> I could see that the method exists.
>>>>>>
>>>>>> Appreciate any help on resolving this.
>>>>>>
>>>>>>
>>>>>> [1]  lib/jaxb-impl-2.2.4-1.jar,
>>>>>>  lib/jaxb-xjc-2.2.4-1.jar,
>>>>>>  lib/jackson-mapper-asl-1.9.3.jar,
>>>>>>  lib/jackson-core-asl-1.9.3.jar,

Re: [Dev] No such method when loading third party jar in eclipse

2016-03-01 Thread Awanthika Senarath
I have fixed this by moving the datamapper specific libraries from the
kernel libraries plugin into the datamapper plugin. This will give us the
flexibility to change and add different libraries required for datamapper
independent of kernel releases,

We can release the composite zip for the ESB plugin milestone including
this kernel update to the library feature. This fix also contains the fix
for cache mediator jar required by ESB diagram.

update is org.wso2.developerstudio.kernel.core.feature_4.0.0.201603020233.

This is available in the builder machine P2

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Mar 1, 2016 at 9:21 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hi all,
>
> Apart from the kernel libraries bundle exporting the jackson libraries, I
> could also observe that org.wso2.datamapper.engine-0.0.1.jar bundling
> jackson packages.
>
> this bundle export all jackson packages without any version declaration.
>
> @Susinda/ Nuwan : Any idea why this composite library was introduced
> including all avro, jackson dependency libraries bundled under a separate
> name?
>
>
> Regards
> Awanthika
>
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Mon, Feb 29, 2016 at 4:48 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> I have added the library into the libs folder and added them to the
>> class-path only. Since it is in the same plugin I did not export and import
>> explicitly.
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Mon, Feb 29, 2016 at 4:13 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:
>>
>>> Hi Awanthika,
>>>
>>> Have you exported the packages you need to use?
>>>
>>> Thanks,
>>> Nuwan
>>>
>>> On Mon, Feb 29, 2016 at 3:47 PM, Awanthika Senarath <awanth...@wso2.com>
>>> wrote:
>>>
>>>> The issue is,
>>>>
>>>> We are using two jackson jars in our source namely,
>>>>
>>>> jackson-mapper-asl-1.9.3.jar and jackson-mapper-asl-1.8.10.jar,
>>>>
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>>> On Mon, Feb 29, 2016 at 3:41 PM, Awanthika Senarath <awanth...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hello All,
>>>>>
>>>>> I have a third party dependency in my eclipse RCP plugin to the
>>>>> following jars,
>>>>>
>>>>> jaxb-impl-2.2.4-1.jar,
>>>>> jaxb-xjc-2.2.4-1.jar,
>>>>> jackson-mapper-asl-1.9.3.jar,
>>>>> jackson-core-asl-1.9.3.jar,
>>>>> jackson-annotations-2.1.0.jar
>>>>>
>>>>> I have loaded them through a lib folder, added to eclipse class-path
>>>>> and have the entry [1] in my META-INF file.
>>>>>
>>>>> There are no errors shown in the project explorer or in the java
>>>>> editor of the classes.
>>>>>
>>>>> During runtime all the other libs are loaded fine, the firt jar loaded
>>>>> is jaxb-xjc-2.2.4-1.jar,, "Driver" method. But it throws a runtime error
>>>>> [2] saying method not found. When I cheked the source of the jar [3] I
>>>>> could see that the method exists.
>>>>>
>>>>> Appreciate any help on resolving this.
>>>>>
>>>>>
>>>>> [1]  lib/jaxb-impl-2.2.4-1.jar,
>>>>>  lib/jaxb-xjc-2.2.4-1.jar,
>>>>>  lib/jackson-mapper-asl-1.9.3.jar,
>>>>>  lib/jackson-core-asl-1.9.3.jar,
>>>>>  lib/jackson-annotations-2.1.0.jar
>>>>>
>>>>> [2] java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin:
>>>>> Provider
>>>>> org.wso2.developerstudio.visualdatamapper.diagram.avro.generators.AvroSchemagenPlugin
>>>>> could not be instantiated
>>>>> at java.util.ServiceLoader.fail(ServiceLoader.java:232)
>>>>> at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
>>>>> at
>>>>> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
>>>>> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
>>>>> at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
>>

Re: [Dev] No such method when loading third party jar in eclipse

2016-02-29 Thread Awanthika Senarath
Hi all,

Apart from the kernel libraries bundle exporting the jackson libraries, I
could also observe that org.wso2.datamapper.engine-0.0.1.jar bundling
jackson packages.

this bundle export all jackson packages without any version declaration.

@Susinda/ Nuwan : Any idea why this composite library was introduced
including all avro, jackson dependency libraries bundled under a separate
name?


Regards
Awanthika



Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Feb 29, 2016 at 4:48 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> I have added the library into the libs folder and added them to the
> class-path only. Since it is in the same plugin I did not export and import
> explicitly.
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Mon, Feb 29, 2016 at 4:13 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:
>
>> Hi Awanthika,
>>
>> Have you exported the packages you need to use?
>>
>> Thanks,
>> Nuwan
>>
>> On Mon, Feb 29, 2016 at 3:47 PM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> The issue is,
>>>
>>> We are using two jackson jars in our source namely,
>>>
>>> jackson-mapper-asl-1.9.3.jar and jackson-mapper-asl-1.8.10.jar,
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Mon, Feb 29, 2016 at 3:41 PM, Awanthika Senarath <awanth...@wso2.com>
>>> wrote:
>>>
>>>> Hello All,
>>>>
>>>> I have a third party dependency in my eclipse RCP plugin to the
>>>> following jars,
>>>>
>>>> jaxb-impl-2.2.4-1.jar,
>>>> jaxb-xjc-2.2.4-1.jar,
>>>> jackson-mapper-asl-1.9.3.jar,
>>>> jackson-core-asl-1.9.3.jar,
>>>> jackson-annotations-2.1.0.jar
>>>>
>>>> I have loaded them through a lib folder, added to eclipse class-path
>>>> and have the entry [1] in my META-INF file.
>>>>
>>>> There are no errors shown in the project explorer or in the java editor
>>>> of the classes.
>>>>
>>>> During runtime all the other libs are loaded fine, the firt jar loaded
>>>> is jaxb-xjc-2.2.4-1.jar,, "Driver" method. But it throws a runtime error
>>>> [2] saying method not found. When I cheked the source of the jar [3] I
>>>> could see that the method exists.
>>>>
>>>> Appreciate any help on resolving this.
>>>>
>>>>
>>>> [1]  lib/jaxb-impl-2.2.4-1.jar,
>>>>  lib/jaxb-xjc-2.2.4-1.jar,
>>>>  lib/jackson-mapper-asl-1.9.3.jar,
>>>>  lib/jackson-core-asl-1.9.3.jar,
>>>>  lib/jackson-annotations-2.1.0.jar
>>>>
>>>> [2] java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin:
>>>> Provider
>>>> org.wso2.developerstudio.visualdatamapper.diagram.avro.generators.AvroSchemagenPlugin
>>>> could not be instantiated
>>>> at java.util.ServiceLoader.fail(ServiceLoader.java:232)
>>>> at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
>>>> at
>>>> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
>>>> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
>>>> at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
>>>> at com.sun.tools.xjc.Options.findServices(Options.java:931)
>>>> at com.sun.tools.xjc.Options.getAllPlugins(Options.java:367)
>>>> at com.sun.tools.xjc.Options.parseArgument(Options.java:671)
>>>> at com.sun.tools.xjc.Driver$OptionsEx.parseArgument(Driver.java:501)
>>>> at com.sun.tools.xjc.Options.parseArguments(Options.java:781)
>>>> at com.sun.tools.xjc.Driver.run(Driver.java:239)
>>>> at com.sun.tools.xjc.Driver.run(Driver.java:199)
>>>> at com.sun.tools.xjc.Driver._main(Driver.java:122)
>>>> at com.sun.tools.xjc.Driver.access$000(Driver.java:79)
>>>> at com.sun.tools.xjc.Driver$1.run(Driver.java:102)
>>>> Caused by: java.lang.NoSuchMethodError:
>>>> org.codehaus.jackson.map.introspect.VisibilityChecker.with(Lorg/codehaus/jackson/annotate/JsonAutoDetect$Visibility;)Lorg/codehaus/jackson/map/introspect/VisibilityChecker;
>>>>
>>>>
>>>> [3]
>>>> http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.jackson/jackson-mapper-asl/1.9.2/org/codehaus/jackson/map/introspect/VisibilityChecker.java#VisibilityChecker.with%28org.codehaus.jackson.annotate.JsonAutoDetect%29
>>>>
>>>> Regards
>>>>
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> --
>>
>> *Nuwan Chamara Pallewela*
>>
>>
>> *Software Engineer*
>>
>> *WSO2, Inc. *http://wso2.com
>> *lean . enterprise . middleware*
>>
>> Email   *nuw...@wso2.com <nuw...@wso2.com>*
>> Mobile  *+94719079739 <%2B94719079739>@*
>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] No such method when loading third party jar in eclipse

2016-02-29 Thread Awanthika Senarath
I have added the library into the libs folder and added them to the
class-path only. Since it is in the same plugin I did not export and import
explicitly.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Feb 29, 2016 at 4:13 PM, Nuwan Pallewela <nuw...@wso2.com> wrote:

> Hi Awanthika,
>
> Have you exported the packages you need to use?
>
> Thanks,
> Nuwan
>
> On Mon, Feb 29, 2016 at 3:47 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> The issue is,
>>
>> We are using two jackson jars in our source namely,
>>
>> jackson-mapper-asl-1.9.3.jar and jackson-mapper-asl-1.8.10.jar,
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Mon, Feb 29, 2016 at 3:41 PM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> Hello All,
>>>
>>> I have a third party dependency in my eclipse RCP plugin to the
>>> following jars,
>>>
>>> jaxb-impl-2.2.4-1.jar,
>>> jaxb-xjc-2.2.4-1.jar,
>>> jackson-mapper-asl-1.9.3.jar,
>>> jackson-core-asl-1.9.3.jar,
>>> jackson-annotations-2.1.0.jar
>>>
>>> I have loaded them through a lib folder, added to eclipse class-path and
>>> have the entry [1] in my META-INF file.
>>>
>>> There are no errors shown in the project explorer or in the java editor
>>> of the classes.
>>>
>>> During runtime all the other libs are loaded fine, the firt jar loaded
>>> is jaxb-xjc-2.2.4-1.jar,, "Driver" method. But it throws a runtime error
>>> [2] saying method not found. When I cheked the source of the jar [3] I
>>> could see that the method exists.
>>>
>>> Appreciate any help on resolving this.
>>>
>>>
>>> [1]  lib/jaxb-impl-2.2.4-1.jar,
>>>  lib/jaxb-xjc-2.2.4-1.jar,
>>>  lib/jackson-mapper-asl-1.9.3.jar,
>>>  lib/jackson-core-asl-1.9.3.jar,
>>>  lib/jackson-annotations-2.1.0.jar
>>>
>>> [2] java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin:
>>> Provider
>>> org.wso2.developerstudio.visualdatamapper.diagram.avro.generators.AvroSchemagenPlugin
>>> could not be instantiated
>>> at java.util.ServiceLoader.fail(ServiceLoader.java:232)
>>> at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
>>> at
>>> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
>>> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
>>> at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
>>> at com.sun.tools.xjc.Options.findServices(Options.java:931)
>>> at com.sun.tools.xjc.Options.getAllPlugins(Options.java:367)
>>> at com.sun.tools.xjc.Options.parseArgument(Options.java:671)
>>> at com.sun.tools.xjc.Driver$OptionsEx.parseArgument(Driver.java:501)
>>> at com.sun.tools.xjc.Options.parseArguments(Options.java:781)
>>> at com.sun.tools.xjc.Driver.run(Driver.java:239)
>>> at com.sun.tools.xjc.Driver.run(Driver.java:199)
>>> at com.sun.tools.xjc.Driver._main(Driver.java:122)
>>> at com.sun.tools.xjc.Driver.access$000(Driver.java:79)
>>> at com.sun.tools.xjc.Driver$1.run(Driver.java:102)
>>> Caused by: java.lang.NoSuchMethodError:
>>> org.codehaus.jackson.map.introspect.VisibilityChecker.with(Lorg/codehaus/jackson/annotate/JsonAutoDetect$Visibility;)Lorg/codehaus/jackson/map/introspect/VisibilityChecker;
>>>
>>>
>>> [3]
>>> http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.jackson/jackson-mapper-asl/1.9.2/org/codehaus/jackson/map/introspect/VisibilityChecker.java#VisibilityChecker.with%28org.codehaus.jackson.annotate.JsonAutoDetect%29
>>>
>>> Regards
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>
>
>
> --
> --
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com <nuw...@wso2.com>*
> Mobile  *+94719079739 <%2B94719079739>@*
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] No such method when loading third party jar in eclipse

2016-02-29 Thread Awanthika Senarath
The issue is,

We are using two jackson jars in our source namely,

jackson-mapper-asl-1.9.3.jar and jackson-mapper-asl-1.8.10.jar,

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Feb 29, 2016 at 3:41 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello All,
>
> I have a third party dependency in my eclipse RCP plugin to the following
> jars,
>
> jaxb-impl-2.2.4-1.jar,
> jaxb-xjc-2.2.4-1.jar,
> jackson-mapper-asl-1.9.3.jar,
> jackson-core-asl-1.9.3.jar,
> jackson-annotations-2.1.0.jar
>
> I have loaded them through a lib folder, added to eclipse class-path and
> have the entry [1] in my META-INF file.
>
> There are no errors shown in the project explorer or in the java editor of
> the classes.
>
> During runtime all the other libs are loaded fine, the firt jar loaded is
> jaxb-xjc-2.2.4-1.jar,, "Driver" method. But it throws a runtime error [2]
> saying method not found. When I cheked the source of the jar [3] I could
> see that the method exists.
>
> Appreciate any help on resolving this.
>
>
> [1]  lib/jaxb-impl-2.2.4-1.jar,
>  lib/jaxb-xjc-2.2.4-1.jar,
>  lib/jackson-mapper-asl-1.9.3.jar,
>  lib/jackson-core-asl-1.9.3.jar,
>  lib/jackson-annotations-2.1.0.jar
>
> [2] java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin:
> Provider
> org.wso2.developerstudio.visualdatamapper.diagram.avro.generators.AvroSchemagenPlugin
> could not be instantiated
> at java.util.ServiceLoader.fail(ServiceLoader.java:232)
> at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
> at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
> at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
> at com.sun.tools.xjc.Options.findServices(Options.java:931)
> at com.sun.tools.xjc.Options.getAllPlugins(Options.java:367)
> at com.sun.tools.xjc.Options.parseArgument(Options.java:671)
> at com.sun.tools.xjc.Driver$OptionsEx.parseArgument(Driver.java:501)
> at com.sun.tools.xjc.Options.parseArguments(Options.java:781)
> at com.sun.tools.xjc.Driver.run(Driver.java:239)
> at com.sun.tools.xjc.Driver.run(Driver.java:199)
> at com.sun.tools.xjc.Driver._main(Driver.java:122)
> at com.sun.tools.xjc.Driver.access$000(Driver.java:79)
> at com.sun.tools.xjc.Driver$1.run(Driver.java:102)
> Caused by: java.lang.NoSuchMethodError:
> org.codehaus.jackson.map.introspect.VisibilityChecker.with(Lorg/codehaus/jackson/annotate/JsonAutoDetect$Visibility;)Lorg/codehaus/jackson/map/introspect/VisibilityChecker;
>
>
> [3]
> http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.jackson/jackson-mapper-asl/1.9.2/org/codehaus/jackson/map/introspect/VisibilityChecker.java#VisibilityChecker.with%28org.codehaus.jackson.annotate.JsonAutoDetect%29
>
> Regards
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] No such method when loading third party jar in eclipse

2016-02-29 Thread Awanthika Senarath
Hello All,

I have a third party dependency in my eclipse RCP plugin to the following
jars,

jaxb-impl-2.2.4-1.jar,
jaxb-xjc-2.2.4-1.jar,
jackson-mapper-asl-1.9.3.jar,
jackson-core-asl-1.9.3.jar,
jackson-annotations-2.1.0.jar

I have loaded them through a lib folder, added to eclipse class-path and
have the entry [1] in my META-INF file.

There are no errors shown in the project explorer or in the java editor of
the classes.

During runtime all the other libs are loaded fine, the firt jar loaded is
jaxb-xjc-2.2.4-1.jar,, "Driver" method. But it throws a runtime error [2]
saying method not found. When I cheked the source of the jar [3] I could
see that the method exists.

Appreciate any help on resolving this.


[1]  lib/jaxb-impl-2.2.4-1.jar,
 lib/jaxb-xjc-2.2.4-1.jar,
 lib/jackson-mapper-asl-1.9.3.jar,
 lib/jackson-core-asl-1.9.3.jar,
 lib/jackson-annotations-2.1.0.jar

[2] java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider
org.wso2.developerstudio.visualdatamapper.diagram.avro.generators.AvroSchemagenPlugin
could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:232)
at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at com.sun.tools.xjc.Options.findServices(Options.java:931)
at com.sun.tools.xjc.Options.getAllPlugins(Options.java:367)
at com.sun.tools.xjc.Options.parseArgument(Options.java:671)
at com.sun.tools.xjc.Driver$OptionsEx.parseArgument(Driver.java:501)
at com.sun.tools.xjc.Options.parseArguments(Options.java:781)
at com.sun.tools.xjc.Driver.run(Driver.java:239)
at com.sun.tools.xjc.Driver.run(Driver.java:199)
at com.sun.tools.xjc.Driver._main(Driver.java:122)
at com.sun.tools.xjc.Driver.access$000(Driver.java:79)
at com.sun.tools.xjc.Driver$1.run(Driver.java:102)
Caused by: java.lang.NoSuchMethodError:
org.codehaus.jackson.map.introspect.VisibilityChecker.with(Lorg/codehaus/jackson/annotate/JsonAutoDetect$Visibility;)Lorg/codehaus/jackson/map/introspect/VisibilityChecker;


[3]
http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.jackson/jackson-mapper-asl/1.9.2/org/codehaus/jackson/map/introspect/VisibilityChecker.java#VisibilityChecker.with%28org.codehaus.jackson.annotate.JsonAutoDetect%29

Regards

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] development maven

2016-02-18 Thread Awanthika Senarath
Hi John,

The best practice is to not to edit, create artifact xml by hand.

The WSO2 Developer Studio is supporting the creation of artifacts
deployable in WSO2 servers end to end.

Any particular reason you are moving away from Developer Studio and using
IntelliJ instead?

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Feb 19, 2016 at 12:08 AM, John Q <johnq3...@gmail.com> wrote:

> Hello,
> I'm trying to use wso2 with intellij instead of developer studio, for the
> time being I'm creating a lot of things manually, for instance, entries on
> artifax.xml, dependencies on the composite application project pom, etc.
> can any body tell me a better aprouch, best practice or something like that?
>
> thanks,
> john
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shall we remove 'source' tab from DevStudio datamapper editor

2016-02-14 Thread Awanthika Senarath
+1,

navigating through source view and diagram view will likely introduce
issues in the diagram view with the connectors and links.

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Feb 15, 2016 at 12:22 PM, Susinda Perera <susi...@wso2.com> wrote:

> $subject, as we do not allow users to edit the source and if a user really
> want to see the code generated he  has an alternative ('open with text
> editor')
>
> Thanks
> Susinda
>
>
> --
> *Susinda Perera*
> Software Engineer
> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
> Mobile:(+94)716049075
> Blog: susinda.blogspot.com
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MSS Tool generated code not resolving dependencies

2016-02-04 Thread Awanthika Senarath
Hi Rajeevan,

I have already altered the carbon import into the new refactored MSF4J
import. yet I guess we need to figure out a ways to remove the ApiParam
annotations from the gen code programmatically.


I will have a look on this.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Thu, Feb 4, 2016 at 7:58 PM, Vimalanathan Rajeevan <rajeev...@wso2.com>
wrote:

> Hi Awanthika,
>
> This is the place where Swagger codegen is available.
>
>
> https://github.com/swagger-api/swagger-codegen/tree/master/modules/swagger-codegen
>
> And this is the file we are modifying to remove some unwanted imports and
> annotations.
>
>
> https://github.com/swagger-api/swagger-codegen/blob/v2.1.5/modules/swagger-codegen/src/main/resources/JavaJaxRS/jersey1_18/api.mustache
>
> Then built the module and used .jar file inside Eclipse plugin.
>
> Regarding the error related to ApiParam, there was no possibility to
> remove this annotation by editing api.mustache file. So we manually removed
> it before building. We can analyze it further and find a way to remove that
> programmatically.
>
> Thanks,
> Rajeevan
>
> On Wed, Feb 3, 2016 at 7:37 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> There is an issue with the codegen tool (swagger codegen) we are using to
>> generate the java code from the swagger definition, as it automatically
>> import javax.servlet dependencies which causes a build failure of the
>> generated code. MSF4J does not support javax.servlet.
>>
>> Also it inserts some ApiParam annotations in the code which are not
>> supported from MSF4J as well.
>>
>> *@ Rajeevan* : Can you please share with me the location you forked the
>> swagger gen source and changed it according to our requirements ? Did these
>> changes involve the errors I have mentioned above?
>>
>>
>>
>> Regards
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>
>
> --
> Vimalanathan Rajeevan
> Software Engineer,
> WSO2, Inc. *http://wso2.com* <http://wso2.com>
> Lean.Enterprise.Middleware
>
> Mobile:
> *+94 773090875 <%2B94%20773090875>*
> LinkedIn:
> *https://www.linkedin.com/in/RajeevanVimalanathan
> <https://www.linkedin.com/in/rajeevanvimalanathan>*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] MSS Tool generated code not resolving dependencies

2016-02-03 Thread Awanthika Senarath
Hi all,

There is an issue with the codegen tool (swagger codegen) we are using to
generate the java code from the swagger definition, as it automatically
import javax.servlet dependencies which causes a build failure of the
generated code. MSF4J does not support javax.servlet.

Also it inserts some ApiParam annotations in the code which are not
supported from MSF4J as well.

*@ Rajeevan* : Can you please share with me the location you forked the
swagger gen source and changed it according to our requirements ? Did these
changes involve the errors I have mentioned above?



Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-02-02 Thread Awanthika Senarath
Hello Alexander,

After quite a bit of trouble-shooting from our end we got the script to
running,

We had to change all your functions declarations from

functions abc {}  ==> abc () {}

in the script, which caused issues in the bash. I have attached the changed
script herewith.

After changing them and running the script as ./che.sh run I get the
following error[1] ,

I have jdk 1.8 and docker installed. So the possible error is  "6. (Linux)
Permissions not properly set  ==> Che must run as UID 1000 with
user in docker group".

I have docker installed and my default user can run docker without sudo
permission. Anything that I have missed?

Any idea how to solve this?


[1]
/home/awanthika/WSO2/Eclipse-Che/eclipse-che-4.0.0-beta-13
Docker is natively installed and reachable...

## HOW TO CONNECT YOUR CHE CLIENT ###
After Che server has booted, you can connect your clients by:
1. Open browser to http://localhost:8080, or:
2. Open native chromium app.
#


JAVA_HOME is not set. Please set to directory of JVM or JRE.

Looks like something went wrong. Possible issues:
  1. (Win | Mac) VirtualBox not installed  ==> Rerun Docker Toolbox
installation
  2. (Win | Mac) Docker Machine not installed  ==> Rerun Docker Toolbox
installation
  3. (Win | Mac) Docker is not reachable   ==> Docker VM failed to
start
  4. (Win | Mac) Docker ok, but docker ps fails==> Docker environment
variables not set properly
  5. (Linux) Docker is not reachable   ==> Install: wget -qO-
https://get.docker.com/ | sh
  6. (Linux) Permissions not properly set  ==> Che must run as UID
1000 with user in docker group
  7. Could not find the Che app server ==> Did /tomcat get
moved away from CHE_HOME?
  8. Wrong version of Java found   ==> Che requires Java 1.8
  9. Did you use the right parameter syntax?   ==> See usage

We have seen issues with VirtualBox on Windows where your VM gets corrupted
when your computer is
suspended while the VM is still running. This will appear as SSH or
ethernet connection issues. This is
rare, but if encountered, current known solution is to uninstall VirtualBox
and Docker Toolbox, and then
reinstall.

Che Environment Variables:
  (REQUIRED) JAVA_HOME ==> Location of Java
runtime
  (REQUIRED: WIN|MAC) DOCKER_TOOLBOX_INSTALL_PATH  ==> Location of Docker
Toolbox
  (REQUIRED: WIN|MAC) VBOX_MSI_INSTALL_PATH==> Location of
VirtualBox
  (OPTIONAL) CHE_HOME  ==> Directory where Che
is installed
  (OPTIONAL) CHE_LOCAL_CONF_DIR==> Directory with
custom Che .properties files
  (OPTIONAL) CHE_LOGS_DIR  ==> Directory for Che
output logs
  (OPTIONAL) CHE_DOCKER_MACHINE_NAME   ==> (Win | Mac) Name of
VM created by docker-machine
  (OPTIONAL) DOCKER_MACHINE_HOST   ==> (Linux) Docker host
IP - set if browser clients remote

Usage:
  che [OPTIONS] [run | start | stop]
 -i,--imageLaunches Che within a Docker container using
latest image
 -i:tag,--image:tagLaunches Che within a Docker container using
specific image tag
 -p:port,   --port:portPort that Che server will use for HTTP
requests; default=8080
 -r:ip, --remote:ipIf Che clients are not localhost, set to IP
address of Che server
 -g,--registry Launch Docker registry as a container (used
for ws snapshots)
 -m:vm, --machine:vm   For Win & Mac, sets the docker-machine VM
name to vm; default=default
 -s:client, --skip:client  Do not print browser client connection
information
 -s:uid,--skip:uid Do not enforce UID=1000 for Docker
 -h,--help Show this help
 -d,--debugUse debug mode (prints command line options
+ app server debug)
 run Starts Che application server in current
console
 start   Starts Che application server in new console
 stopStops Che application server

The -r flag sets the DOCKER_MACHINE_HOST system environment variable. Set
this to the IP address of the node
that is running your Docker daemon. Only necessary to set this if on Linux
and your browser clients are not
localhost, ie they are remote. This property automatically set for Che on
Windows and Mac.


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Feb 2, 2016 at 8:26 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hi Alexander,
>
> Running the exact script given by you results in the following error[1]. I
> will try in another machine to see whether this is related to my local
> setup.
>
> It says that the che.sh file has some syntax errors..
>
> My OS does not seem to r

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-02-02 Thread Awanthika Senarath
Thanks for the reply,

I will create the issues in github as you have mentioned.


I changed the line USE_DOCKER=false to USE_DOCKER=true in the script,
without adding the modifications you suggested  I attached and then it
downloaded an image from the che site and started the che instance.

Should I configure an image in my docker instance prior to running che? Is
that why che was complaining of not having a JDK ?

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Feb 2, 2016 at 3:19 PM, Alexander Garagatyi <agaraga...@codenvy.com>
wrote:

> Thank you for your investigation.
>
> So the problem in function syntax is that you are using POSIX compliant
> mode of bash. In this mode bash doesn't support modern features of bash.
> Try to add "set –o posix" line before "set -e" in the origin script. It
> should disable POSIX compliant mode in che script. I hope it will allow you
> to run unchanged script.
> But now with changed syntax of functions you have another problem:
>
>> JAVA_HOME is not set. Please set to directory of JVM or JRE.
>
> It is possible that parsing fails because of POSIX compliant mode of bash.
> Check if this error happens when you disable that mode. If it still
> present, please, ping me again.
>
> BTW looks like we need improve script to disable POSIX compliant mode at
> the beginning of the script. Can you create an issue on github with
> description of your problem.
> Also output is too messy and doesn't allow to identify error message
> easily. If you think so, please, create issue on github with example of
> output you've provided. It is a good example.
>
> On Tue, Feb 2, 2016 at 10:30 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello Alexander,
>>
>> After quite a bit of trouble-shooting from our end we got the script to
>> running,
>>
>> We had to change all your functions declarations from
>>
>> functions abc {}  ==> abc () {}
>>
>> in the script, which caused issues in the bash. I have attached the
>> changed script herewith.
>>
>> After changing them and running the script as ./che.sh run I get the
>> following error[1] ,
>>
>> I have jdk 1.8 and docker installed. So the possible error is  "6.
>> (Linux) Permissions not properly set  ==> Che must run as UID 1000
>> with user in docker group".
>>
>> I have docker installed and my default user can run docker without sudo
>> permission. Anything that I have missed?
>>
>> Any idea how to solve this?
>>
>>
>> [1]
>> /home/awanthika/WSO2/Eclipse-Che/eclipse-che-4.0.0-beta-13
>> Docker is natively installed and reachable...
>>
>> ## HOW TO CONNECT YOUR CHE CLIENT ###
>> After Che server has booted, you can connect your clients by:
>> 1. Open browser to http://localhost:8080, or:
>> 2. Open native chromium app.
>> #
>>
>>
>> JAVA_HOME is not set. Please set to directory of JVM or JRE.
>>
>> Looks like something went wrong. Possible issues:
>>   1. (Win | Mac) VirtualBox not installed  ==> Rerun Docker
>> Toolbox installation
>>   2. (Win | Mac) Docker Machine not installed  ==> Rerun Docker
>> Toolbox installation
>>   3. (Win | Mac) Docker is not reachable   ==> Docker VM failed
>> to start
>>   4. (Win | Mac) Docker ok, but docker ps fails==> Docker environment
>> variables not set properly
>>   5. (Linux) Docker is not reachable   ==> Install: wget -qO-
>> https://get.docker.com/ | sh
>>   6. (Linux) Permissions not properly set  ==> Che must run as
>> UID 1000 with user in docker group
>>   7. Could not find the Che app server ==> Did /tomcat get
>> moved away from CHE_HOME?
>>   8. Wrong version of Java found   ==> Che requires Java
>> 1.8
>>   9. Did you use the right parameter syntax?   ==> See usage
>>
>> We have seen issues with VirtualBox on Windows where your VM gets
>> corrupted when your computer is
>> suspended while the VM is still running. This will appear as SSH or
>> ethernet connection issues. This is
>> rare, but if encountered, current known solution is to uninstall
>> VirtualBox and Docker Toolbox, and then
>> reinstall.
>>
>> Che Environment Variables:
>>   (REQUIRED) JAVA_HOME ==> Location of Java
>> runtime
>>   (REQUIRED: WIN|MAC) DOCKER_TOOLBOX_INSTALL_PATH  ==> Location of Docker
>> To

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-02-02 Thread Awanthika Senarath
Still when I try to create a project it fails with the following exception,

 Creating machine [ws = workspacec3uqzvrq98trmwr5: env = wksp-vo1e: machine
= ws-machine]
Exception in thread "WorkspaceManager-0" java.lang.RuntimeException:
java.lang.IllegalArgumentException: protocol = http host = null
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1455)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2979)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:489)
at
org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.doRequest(DefaultHttpJsonRequest.java:225)
at
org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.request(DefaultHttpJsonRequest.java:136)
at
org.eclipse.che.api.machine.server.WsAgentLauncherImpl.pingWsAgent(WsAgentLauncherImpl.java:122)
at
org.eclipse.che.api.machine.server.WsAgentLauncherImpl.startWsAgent(WsAgentLauncherImpl.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:50)
at com.sun.proxy.$Proxy52.startWsAgent(Unknown Source)
at
org.eclipse.che.api.machine.server.MachineManager.createInstance(MachineManager.java:370)
at
org.eclipse.che.api.machine.server.MachineManager.createMachine(MachineManager.java:337)
at
org.eclipse.che.api.machine.server.MachineManager.createMachineSync(MachineManager.java:168)
at
org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.createMachine(RuntimeWorkspaceRegistry.java:451)
at
org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.startEnvironment(RuntimeWorkspaceRegistry.java:319)
at
org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.start(RuntimeWorkspaceRegistry.java:145)
at
org.eclipse.che.api.workspace.server.WorkspaceManager.performSyncStart(WorkspaceManager.java:642)
at
org.eclipse.che.api.workspace.server.WorkspaceManager.lambda$performAsyncStart$9(WorkspaceManager.java:613)
at
org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:28)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: protocol = http host = null
at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:176)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1099)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
... 22 more


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Feb 2, 2016 at 6:52 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> thanks for the explanation Alexander,
>
> It worked after I exported the JAVA_HOME. JAVA_HOME was declared but not
> exported in the bashrc file.
>
> I will create the issues.
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Tue, Feb 2, 2016 at 6:24 PM, Alexander Garagatyi <
> agaraga...@codenvy.com> wrote:
>
>> Would appreciate a clarification on this as your docs are a bit confusing
>>> :)
>>
>> Please create an issue on github.
>>
>> Is this correct? Do I need to create a docker image for Che to create the
>>> workspace in?
>>>
>> It is correct. You don't have to do anything else with docker.
>>
>> when we have the USE_DOCKER parameter false Che is not starting with
>>> docker? In that case is Che using the local file system of the machine?
>>>
>>> if not What is that parameter being used for?
>>>
>> when USE_DOCKER is false Che runs on localhost, but workspaces are still
>> in docker containers.
>> when USE_DOCKER is true Che runs in docker container, and workspaces are
>> in docker containers inside container where Che runs. It is called dind -
>> docker in docker.
>>
>> Your script failed because it was not able to detect JAVA_HOME variable.
>> Please check that it is set and exported. e.g.
>> *

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-02-02 Thread Awanthika Senarath
Thanks Alexander,

Ill try to debug from my end too.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Feb 3, 2016 at 12:47 PM, Alexander Garagatyi <agaraga...@codenvy.com
> wrote:

> Thank you.
> About current failure you've got. I don't know where the problem is right
> now. I need some time to investigate.
>
> On Wed, Feb 3, 2016 at 4:56 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello Alexander,
>>
>> I have created the issues [1]  [2] and [3]
>>
>>
>> Regards
>> Awanthika
>>
>>
>> [1] https://github.com/codenvy/che/issues/260
>>
>> [2] https://github.com/codenvy/che/issues/261
>>
>> [3] https://github.com/codenvy/che/issues/262
>> <https://github.com/codenvy/che/issues/262>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Tue, Feb 2, 2016 at 6:54 PM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> Still when I try to create a project it fails with the following
>>> exception,
>>>
>>>  Creating machine [ws = workspacec3uqzvrq98trmwr5: env = wksp-vo1e:
>>> machine = ws-machine]
>>> Exception in thread "WorkspaceManager-0" java.lang.RuntimeException:
>>> java.lang.IllegalArgumentException: protocol = http host = null
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1455)
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2979)
>>> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:489)
>>> at
>>> org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.doRequest(DefaultHttpJsonRequest.java:225)
>>> at
>>> org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.request(DefaultHttpJsonRequest.java:136)
>>> at
>>> org.eclipse.che.api.machine.server.WsAgentLauncherImpl.pingWsAgent(WsAgentLauncherImpl.java:122)
>>> at
>>> org.eclipse.che.api.machine.server.WsAgentLauncherImpl.startWsAgent(WsAgentLauncherImpl.java:95)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:497)
>>> at
>>> com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:50)
>>> at com.sun.proxy.$Proxy52.startWsAgent(Unknown Source)
>>> at
>>> org.eclipse.che.api.machine.server.MachineManager.createInstance(MachineManager.java:370)
>>> at
>>> org.eclipse.che.api.machine.server.MachineManager.createMachine(MachineManager.java:337)
>>> at
>>> org.eclipse.che.api.machine.server.MachineManager.createMachineSync(MachineManager.java:168)
>>> at
>>> org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.createMachine(RuntimeWorkspaceRegistry.java:451)
>>> at
>>> org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.startEnvironment(RuntimeWorkspaceRegistry.java:319)
>>> at
>>> org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.start(RuntimeWorkspaceRegistry.java:145)
>>> at
>>> org.eclipse.che.api.workspace.server.WorkspaceManager.performSyncStart(WorkspaceManager.java:642)
>>> at
>>> org.eclipse.che.api.workspace.server.WorkspaceManager.lambda$performAsyncStart$9(WorkspaceManager.java:613)
>>> at
>>> org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:28)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.lang.IllegalArgumentException: protocol = http host =
>>> null
>>> at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:176)
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1099)
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
>

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-02-02 Thread Awanthika Senarath
Hello Alexander,

I have created the issues [1]  [2] and [3]


Regards
Awanthika


[1] https://github.com/codenvy/che/issues/260

[2] https://github.com/codenvy/che/issues/261

[3] https://github.com/codenvy/che/issues/262
<https://github.com/codenvy/che/issues/262>

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Feb 2, 2016 at 6:54 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Still when I try to create a project it fails with the following exception,
>
>  Creating machine [ws = workspacec3uqzvrq98trmwr5: env = wksp-vo1e:
> machine = ws-machine]
> Exception in thread "WorkspaceManager-0" java.lang.RuntimeException:
> java.lang.IllegalArgumentException: protocol = http host = null
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1455)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at
> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2979)
> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:489)
> at
> org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.doRequest(DefaultHttpJsonRequest.java:225)
> at
> org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.request(DefaultHttpJsonRequest.java:136)
> at
> org.eclipse.che.api.machine.server.WsAgentLauncherImpl.pingWsAgent(WsAgentLauncherImpl.java:122)
> at
> org.eclipse.che.api.machine.server.WsAgentLauncherImpl.startWsAgent(WsAgentLauncherImpl.java:95)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at
> com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:50)
> at com.sun.proxy.$Proxy52.startWsAgent(Unknown Source)
> at
> org.eclipse.che.api.machine.server.MachineManager.createInstance(MachineManager.java:370)
> at
> org.eclipse.che.api.machine.server.MachineManager.createMachine(MachineManager.java:337)
> at
> org.eclipse.che.api.machine.server.MachineManager.createMachineSync(MachineManager.java:168)
> at
> org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.createMachine(RuntimeWorkspaceRegistry.java:451)
> at
> org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.startEnvironment(RuntimeWorkspaceRegistry.java:319)
> at
> org.eclipse.che.api.workspace.server.RuntimeWorkspaceRegistry.start(RuntimeWorkspaceRegistry.java:145)
> at
> org.eclipse.che.api.workspace.server.WorkspaceManager.performSyncStart(WorkspaceManager.java:642)
> at
> org.eclipse.che.api.workspace.server.WorkspaceManager.lambda$performAsyncStart$9(WorkspaceManager.java:613)
> at
> org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:28)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: protocol = http host = null
> at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:176)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1099)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
> at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
> ... 22 more
>
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Tue, Feb 2, 2016 at 6:52 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> thanks for the explanation Alexander,
>>
>> It worked after I exported the JAVA_HOME. JAVA_HOME was declared but not
>> exported in the bashrc file.
>>
>> I will create the issues.
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Tue, Feb 2, 2016 at 6:24 PM, Alexander Garagatyi <
>> agaraga...@codenvy.com> wrote:
>>
>>> Would appreciate a clarification on this as your docs are a bit
>>>> confusing :)
>>>
>>> Please create an issue on github.
>>>
>

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-02-01 Thread Awanthika Senarath
Hi Alexander,

Running the exact script given by you results in the following error[1]. I
will try in another machine to see whether this is related to my local
setup.

It says that the che.sh file has some syntax errors..

My OS does not seem to recognize the function declarations in the SH file.

[1] GNU bash, version 4.3.8(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 3897 pts/1S+ 0:00 sh che.sh run
 3900 pts/1S+ 0:00 grep che.sh
che.sh: 22: che.sh: function: not found
che.sh: 101: che.sh: Syntax error: "}" unexpected



Regards
Awanthika


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Jan 29, 2016 at 4:24 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Thanks Alexander, will try
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Fri, Jan 29, 2016 at 3:49 PM, Alexander Garagatyi <
> agaraga...@codenvy.com> wrote:
>
>> Replace content of che.sh with
>> https://gist.githubusercontent.com/garagatyi/5fe3f7abc0732a794391/raw/127bcf8ce3922721bac33ee8c214cce290859bc9/che.sh
>>
>> On Fri, Jan 29, 2016 at 11:39 AM, Awanthika Senarath <awanth...@wso2.com>
>> wrote:
>>
>>> Could you please send me the script that you are working with? the
>>> script that is available in the pack is somewhat different to the script in
>>> your git repo.
>>>
>>> It would be great if you could send me the exact script that I need to
>>> start Che with.
>>>
>>> Regards
>>> Awanthika
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>> On Fri, Jan 29, 2016 at 3:05 PM, Alexander Garagatyi <
>>> agaraga...@codenvy.com> wrote:
>>>
>>>> I'm working on ubuntu 14.04 and everything is ok.
>>>>
>>>> Please, try to update your version of Che.
>>>> Provide output of *bash --version*
>>>> Also comment these lines
>>>>
>>>> https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L14
>>>>
>>>> https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L17
>>>> And add *ps ax | grep che.sh *on top of the script. Then send here
>>>> output of this command and *bash --version*
>>>>
>>>>
>>>> On Fri, Jan 29, 2016 at 8:52 AM, Awanthika Senarath <awanth...@wso2.com
>>>> > wrote:
>>>>
>>>>> My ubuntu version : 14.04
>>>>>
>>>>>
>>>>> Attached is the script im running,
>>>>>
>>>>> I also tried deleting the first two lines of the script as well.
>>>>>
>>>>> I have docker info as below:
>>>>>
>>>>> Client:
>>>>>  Version:  1.9.1
>>>>>  API version:  1.21
>>>>>  Go version:   go1.4.2
>>>>>  Git commit:   a34a1d5
>>>>>  Built:Fri Nov 20 13:12:04 UTC 2015
>>>>>  OS/Arch:  linux/amd64
>>>>>
>>>>>
>>>>>
>>>>> Awanthika Senarath
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94717681791
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jan 27, 2016 at 2:56 PM, Alexander Garagatyi <
>>>>> agaraga...@codenvy.com> wrote:
>>>>>
>>>>>> Please provide your version of ubuntu, bash and attach exact script
>>>>>> that you launched (including your changes). Thank you.
>>>>>>
>>>>>> On Wed, Jan 27, 2016 at 4:49 AM, Awanthika Senarath <
>>>>>> awanth...@wso2.com> wrote:
>>>>>>
>>>>>>> Hello Alexander,
>>>>>>>
>>>>>>> I tried by removing the first two lines that was causing the issue
>>>>>>> from the script, which resulted in the error [1]. I removed the lines
>>>>>>>
>>>>>>> set -e
>>>>>>> set -o pipefail, from the script which I assume cause the whole
>>>>>>> script to exit on failure according to [2].
>>>>>>>
>>>>>>> Any idea on how 

Re: [Dev] How to add patch improvements for Developer Studio update site

2016-02-01 Thread Awanthika Senarath
I have tried working on that but it did not work in reading the feature.xml
file and copying the relevant jars.

it is doable though. It should be easier to read it from a text file and
copy the jars.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Feb 1, 2016 at 3:27 PM, Rajeeva Uthayasangar <raje...@wso2.com>
wrote:

>
>
> On Mon, Feb 1, 2016 at 3:15 PM, Susinda Perera <susi...@wso2.com> wrote:
>
>>
>>
>> On Mon, Feb 1, 2016 at 2:04 PM, Rajeeva Uthayasangar <raje...@wso2.com>
>> wrote:
>>
>>> Hi Nuwan,
>>>
>>> Please follow the steps:
>>>
>>> 1) Build the product with fix.
>>> 2) Navigate to below location in builder machine and create a folder
>>> called "feature-updater" inside the product where the fix should be applied.
>>> /home/developerstudio/wso2/developer-studio/
>>>
>>> for example:if the fix is for ESB , then navigate to
>>>  /home/developerstudio/wso2/developer-studio/esb and create the folder
>>> called "feature-updater" in it.
>>> 3) then create the two folders  as features and plugins inside
>>> feature-updater folder.
>>>
>> @ Rajeewa : I think we can automate these folder creation in the
>> publish.sh script
>>
>
> If we automate the folder creation, we need to automate the copying jars
> part as well. In that case, we need to point the location  and name of the
> jars. Those we can give a text file and read from there.
>
>>
>>
>>> 4) then add the feature jar to the features folder and the plugin jars
>>> related to the feature inside the plugins folder.
>>> 5) Extract a eclipse distribution and give it's path as eclipse_home in
>>> the publish.sh script
>>> 6) Execute the script
>>> 7) while it runs, it asks for the feature. Give the feature name without
>>> the version
>>>
>> But we have to make sure the version is correct in the script. (This will
>> work for 4.0.0 but if you use the same script without modifying for a new
>> version, this will not work)
>>
>>
>>> 8) Script will create a newP2 which will contain p2 of the fix
>>> 9) then navigate to the below location. Create a folder with patch
>>> number under updates. Please note, below location points to esb.
>>>
>>> /home/developerstudio/public_html/developer-studio-kernel/4.0.0/esb-tools/updates
>>> 10) Copy the p2 (which is created in step 8) inside the newly created
>>> patch folder
>>> 11)then update the compositeArtifacts.xml and compositeContent.xml to
>>> add the new patch folder
>>>
>>> thanks
>>> Rajeeva.
>>>
>>> On Mon, Feb 1, 2016 at 12:52 PM, Nuwan Pallewela <nuw...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> What is the process for adding improvements done for a patch, to
>>>> Developer Studio update site?
>>>>
>>>> Thanks,
>>>> Nuwan
>>>>
>>>> --
>>>> --
>>>>
>>>> *Nuwan Chamara Pallewela*
>>>>
>>>>
>>>> *Software Engineer*
>>>>
>>>> *WSO2, Inc. *http://wso2.com
>>>> *lean . enterprise . middleware*
>>>>
>>>> Email   *nuw...@wso2.com <nuw...@wso2.com>*
>>>> Mobile  *+94719079739 <%2B94719079739>@*
>>>>
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Rajeeva Uthayasangar*
>>> Software Engineer
>>> WSO2, Inc.:http://wso2.com
>>>
>>>
>>> Mobile: +94777298873
>>>
>>>
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
>> Mobile:(+94)716049075
>> Blog: susinda.blogspot.com
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>
>
> --
> *Rajeeva Uthayasangar*
> Software Engineer
> WSO2, Inc.:http://wso2.com
>
>
> Mobile: +94777298873
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add patch improvements for Developer Studio update site

2016-02-01 Thread Awanthika Senarath
Further, please find the below corrections in the method described above



1) Build the product with fix.
2) Navigate to below location in builder machine and create a folder called
"feature-updater" inside the product where the fix should be applied.
/home/developerstudio/wso2/developer-studio/

for example:if the fix is for ESB , then navigate to
 /home/developerstudio/wso2/developer-studio/esb and create the folder
called "feature-updater" in it.

ESB product already contains the feature-updater tool and you need to get
the publish.sh script from that location. If you are providing a fix for
some other product tool create the folder in the root level of that product
tool source and copy the publish.sh file from the ESB/feature-updater
location
3) then create the two folders  as features and plugins inside
feature-updater folder.
the features and plugins folders should be created inside the
feature-updater/p2 folder. it should be inside p2 folder from where the
publish.sh script resides
4) then add the feature jar to the features folder and the plugin jars
related to the feature inside the plugins folder.
5) Extract a eclipse distribution and give it's path as eclipse_home in the
publish.sh script
6) Execute the script
7) while it runs, it asks for the feature. Give the feature name without
the version
8) Script will create a newP2 which will contain p2 of the fix
9) then navigate to the below location. Create a folder with patch number
under updates. Please note, below location points to esb.

/home/developerstudio/public_html/developer-studio-kernel/4.0.0/esb-tools/updates
10) Copy the p2 (which is created in step 8) inside the newly created patch
folder
11)then update the compositeArtifacts.xml and compositeContent.xml to add
the new patch folder

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Feb 2, 2016 at 8:06 AM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> I have tried working on that but it did not work in reading the
> feature.xml file and copying the relevant jars.
>
> it is doable though. It should be easier to read it from a text file and
> copy the jars.
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Mon, Feb 1, 2016 at 3:27 PM, Rajeeva Uthayasangar <raje...@wso2.com>
> wrote:
>
>>
>>
>> On Mon, Feb 1, 2016 at 3:15 PM, Susinda Perera <susi...@wso2.com> wrote:
>>
>>>
>>>
>>> On Mon, Feb 1, 2016 at 2:04 PM, Rajeeva Uthayasangar <raje...@wso2.com>
>>> wrote:
>>>
>>>> Hi Nuwan,
>>>>
>>>> Please follow the steps:
>>>>
>>>> 1) Build the product with fix.
>>>> 2) Navigate to below location in builder machine and create a folder
>>>> called "feature-updater" inside the product where the fix should be 
>>>> applied.
>>>> /home/developerstudio/wso2/developer-studio/
>>>>
>>>> for example:if the fix is for ESB , then navigate to
>>>>  /home/developerstudio/wso2/developer-studio/esb and create the folder
>>>> called "feature-updater" in it.
>>>> 3) then create the two folders  as features and plugins inside
>>>> feature-updater folder.
>>>>
>>> @ Rajeewa : I think we can automate these folder creation in the
>>> publish.sh script
>>>
>>
>> If we automate the folder creation, we need to automate the copying jars
>> part as well. In that case, we need to point the location  and name of the
>> jars. Those we can give a text file and read from there.
>>
>>>
>>>
>>>> 4) then add the feature jar to the features folder and the plugin jars
>>>> related to the feature inside the plugins folder.
>>>> 5) Extract a eclipse distribution and give it's path as eclipse_home in
>>>> the publish.sh script
>>>> 6) Execute the script
>>>> 7) while it runs, it asks for the feature. Give the feature name
>>>> without the version
>>>>
>>> But we have to make sure the version is correct in the script. (This
>>> will work for 4.0.0 but if you use the same script without modifying for a
>>> new version, this will not work)
>>>
>>>
>>>> 8) Script will create a newP2 which will contain p2 of the fix
>>>> 9) then navigate to the below location. Create a folder with patch
>>>> number under updates. Please note, below location points to esb.
>>>>
>>>> /home/developerstudio/public_html/developer-studio-kernel/4.0.0/esb-tools/updates
>>>> 10) Copy the p2 (which is creat

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-01-29 Thread Awanthika Senarath
Thanks Alexander, will try

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Jan 29, 2016 at 3:49 PM, Alexander Garagatyi <agaraga...@codenvy.com
> wrote:

> Replace content of che.sh with
> https://gist.githubusercontent.com/garagatyi/5fe3f7abc0732a794391/raw/127bcf8ce3922721bac33ee8c214cce290859bc9/che.sh
>
> On Fri, Jan 29, 2016 at 11:39 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Could you please send me the script that you are working with? the script
>> that is available in the pack is somewhat different to the script in your
>> git repo.
>>
>> It would be great if you could send me the exact script that I need to
>> start Che with.
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Fri, Jan 29, 2016 at 3:05 PM, Alexander Garagatyi <
>> agaraga...@codenvy.com> wrote:
>>
>>> I'm working on ubuntu 14.04 and everything is ok.
>>>
>>> Please, try to update your version of Che.
>>> Provide output of *bash --version*
>>> Also comment these lines
>>>
>>> https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L14
>>>
>>> https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L17
>>> And add *ps ax | grep che.sh *on top of the script. Then send here
>>> output of this command and *bash --version*
>>>
>>>
>>> On Fri, Jan 29, 2016 at 8:52 AM, Awanthika Senarath <awanth...@wso2.com>
>>> wrote:
>>>
>>>> My ubuntu version : 14.04
>>>>
>>>>
>>>> Attached is the script im running,
>>>>
>>>> I also tried deleting the first two lines of the script as well.
>>>>
>>>> I have docker info as below:
>>>>
>>>> Client:
>>>>  Version:  1.9.1
>>>>  API version:  1.21
>>>>  Go version:   go1.4.2
>>>>  Git commit:   a34a1d5
>>>>  Built:    Fri Nov 20 13:12:04 UTC 2015
>>>>  OS/Arch:  linux/amd64
>>>>
>>>>
>>>>
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>>> On Wed, Jan 27, 2016 at 2:56 PM, Alexander Garagatyi <
>>>> agaraga...@codenvy.com> wrote:
>>>>
>>>>> Please provide your version of ubuntu, bash and attach exact script
>>>>> that you launched (including your changes). Thank you.
>>>>>
>>>>> On Wed, Jan 27, 2016 at 4:49 AM, Awanthika Senarath <
>>>>> awanth...@wso2.com> wrote:
>>>>>
>>>>>> Hello Alexander,
>>>>>>
>>>>>> I tried by removing the first two lines that was causing the issue
>>>>>> from the script, which resulted in the error [1]. I removed the lines
>>>>>>
>>>>>> set -e
>>>>>> set -o pipefail, from the script which I assume cause the whole
>>>>>> script to exit on failure according to [2].
>>>>>>
>>>>>> Any idea on how to get it to running?
>>>>>>
>>>>>>
>>>>>>
>>>>>> [1]
>>>>>>
>>>>>> trap: SIGHUP: bad trap
>>>>>> che.sh: 19: che.sh: function: not found
>>>>>> che.sh: 98: che.sh: Syntax error: "}" unexpected
>>>>>>
>>>>>> [2] https://sipb.mit.edu/doc/safe-shell/
>>>>>>
>>>>>> thanks and regards
>>>>>> Awanthika
>>>>>>
>>>>>>
>>>>>> Awanthika Senarath
>>>>>> Software Engineer, WSO2 Inc.
>>>>>> Mobile: +94717681791
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 26, 2016 at 4:54 PM, Awanthika Senarath <
>>>>>> awanth...@wso2.com> wrote:
>>>>>>
>>>>>>> Hello Alexander,
>>>>>>>
>>>>>>> Thanks, will try it out.
>>>>>>>
>>>>>>> Awanthika Senarath
>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>> Mobile: +94717681791
>>>>>>>
>>>>>>>
>>>>>>>
>

Re: [Dev] [che-dev] Trying Eclipse Che latest release on ubuntu

2016-01-29 Thread Awanthika Senarath
Could you please send me the script that you are working with? the script
that is available in the pack is somewhat different to the script in your
git repo.

It would be great if you could send me the exact script that I need to
start Che with.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Jan 29, 2016 at 3:05 PM, Alexander Garagatyi <agaraga...@codenvy.com
> wrote:

> I'm working on ubuntu 14.04 and everything is ok.
>
> Please, try to update your version of Che.
> Provide output of *bash --version*
> Also comment these lines
>
> https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L14
>
> https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L17
> And add *ps ax | grep che.sh *on top of the script. Then send here output
> of this command and *bash --version*
>
>
> On Fri, Jan 29, 2016 at 8:52 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> My ubuntu version : 14.04
>>
>>
>> Attached is the script im running,
>>
>> I also tried deleting the first two lines of the script as well.
>>
>> I have docker info as below:
>>
>> Client:
>>  Version:  1.9.1
>>  API version:  1.21
>>  Go version:   go1.4.2
>>  Git commit:   a34a1d5
>>  Built:Fri Nov 20 13:12:04 UTC 2015
>>  OS/Arch:  linux/amd64
>>
>>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Wed, Jan 27, 2016 at 2:56 PM, Alexander Garagatyi <
>> agaraga...@codenvy.com> wrote:
>>
>>> Please provide your version of ubuntu, bash and attach exact script that
>>> you launched (including your changes). Thank you.
>>>
>>> On Wed, Jan 27, 2016 at 4:49 AM, Awanthika Senarath <awanth...@wso2.com>
>>> wrote:
>>>
>>>> Hello Alexander,
>>>>
>>>> I tried by removing the first two lines that was causing the issue from
>>>> the script, which resulted in the error [1]. I removed the lines
>>>>
>>>> set -e
>>>> set -o pipefail, from the script which I assume cause the whole script
>>>> to exit on failure according to [2].
>>>>
>>>> Any idea on how to get it to running?
>>>>
>>>>
>>>>
>>>> [1]
>>>>
>>>> trap: SIGHUP: bad trap
>>>> che.sh: 19: che.sh: function: not found
>>>> che.sh: 98: che.sh: Syntax error: "}" unexpected
>>>>
>>>> [2] https://sipb.mit.edu/doc/safe-shell/
>>>>
>>>> thanks and regards
>>>> Awanthika
>>>>
>>>>
>>>> Awanthika Senarath
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94717681791
>>>>
>>>>
>>>>
>>>> On Tue, Jan 26, 2016 at 4:54 PM, Awanthika Senarath <awanth...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hello Alexander,
>>>>>
>>>>> Thanks, will try it out.
>>>>>
>>>>> Awanthika Senarath
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94717681791
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Jan 26, 2016 at 2:11 PM, Alexander Garagatyi <
>>>>> agaraga...@codenvy.com> wrote:
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> This check fails because you use shell that doesn't support it. I
>>>>>> think we should remove this check. I'll submit PR for that.
>>>>>> To workaround that you can try start che inside bash shell or remove that
>>>>>> line
>>>>>> <https://github.com/codenvy/che/blob/master/assembly-main/src/assembly/bin/che.sh#L15>
>>>>>> .
>>>>>>
>>>>>> On Tue, Jan 26, 2016 at 5:46 AM, Awanthika Senarath <
>>>>>> awanth...@wso2.com> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I have attempted to start eclipse-che latest release downloaded from
>>>>>>> [1] following the documentation at [2].
>>>>>>>
>>>>>>> The command in the documentation did not work, hence I used sh
>>>>>>> che.sh start command which gave me the error
>>>>>>>
>>>>>>> * Illegal option -o pipefail *
>>>>>

Re: [Dev] Dev studio errors and feedback

2015-12-22 Thread Awanthika Senarath
Hello Dulitha,

Please find the below steps I followed in attempting to reproduce your
issue in developer studio 3.8.0 in linux . Please give me the steps to
reproduce if this is not the way. Also let me know your OS.

1) created ESB project 1
2) created Rest API with the name "sampleRest" in project 1
3) created ESB project 2
4) created Rest API with the name "sampleRest" in project 2
5) created Capp1 including ESB Project 1
6) created Capp2 including ESB Project 2
7) deleted sampleRest from each ESB project and observed the changes being
reflected in the capp accordingly.

I also tried deleting multiple artifacts. and observed that the car file
reflects them fine.

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Dec 22, 2015 at 9:31 PM, Dulitha Wijewantha <duli...@wso2.com>
wrote:

>
>
> On Wed, Dec 16, 2015 at 9:17 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hello Dulitha,
>>
>>
>> ​I agree that artifact name needs to be unqiue to the car file. But in a
>> scenario where you have 2 esb configuration projects having an artifact
>> with the same name (in-sequence.xml) - it crashes the car interface.​
>>
>> If you have the same ESB artifact in different configuration projects,
>> you cannot pack them in the same car file. Because in car file level we
>> only consider the artifact name and not the folder hierarchy (which
>> involves the ESB project). The ESB project is introduced by Dev studio to
>> maintain artifacts. When you deploy the car file in the ESB, ESB will only
>> deploy the artifacts as single entries and not the project, and I fail to
>> understand you reasoning behind having the same artifact name as you wont
>> be able to deploy them in the same ESB instance in a single car file anyway.
>>
>> But I accept that this should be conveyed to the user via a message, not
>> crashing the car file.
>>
>>
>> About the issue you faced when deleting artifacts, I was not able to
>> reproduce it,
>>
>> 1. Created two ESB projects
>> 2. Created 2 Rest API artifacts with the same name in both projects
>> 3. Deleted on Rest API
>>
>> It worked as expected for me in Dev studio 3.8.0
>>
>> Could you please give me your Dev studio version and also reproducing
>> steps?
>>
>
> ​It was dev studio 3.8.0. ​
>
> ​Did you create the car project as well on both projects? ​
>
> Also there is an issue in deleting multiple artifacts. If muliple are
> deleted the car file doesn't reflect those.
>
>
>>
>> Regards
>> Awanthika
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Wed, Dec 16, 2015 at 10:23 PM, Dulitha Wijewantha <duli...@wso2.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, Dec 15, 2015 at 10:26 PM, Awanthika Senarath <awanth...@wso2.com
>>> > wrote:
>>>
>>>> Hi Dulitha,
>>>>
>>>> Find my responses in-line,
>>>>
>>>> 1) Can't have the same project name in the workspace. For example - I
>>>> create a project called gateway-dev and have gateway-car, gateway-synapse,
>>>> gateway-registry. I can't create a project with gateway-staging and have
>>>> gateway-car. Is this an eclipse limitation?
>>>> This is an eclipse limitation. Eclipse maintains a META file called
>>>> .project for each and every project and the name in this .project file
>>>> needs to be unique.
>>>>
>>>> 2) Can't have the same artifact name in the workspace. This one is bit
>>>> annoying. I renamed the project to gateway-dev-synapse and
>>>> gateway-staging-synapse. I can't have the api artifact with id.xml inside
>>>> dev project and staging project in the same namespace:- the car picking
>>>> form gets confused on the two assets. What's more - it will get corrupted
>>>> and not have anything at all from synapse to pick. Below is an error that
>>>> popped in the error console
>>>> Yes, car files import artifacts based on the artifact name and in
>>>> the artifact.xml of a car file it will list all the artifacts that needs to
>>>> be bundled in that particular car, hence the artifact names needs to be
>>>> unique for the car file. The error you have got is due to dev studio
>>>> crashing before the file system files are properly refreshed, OR an attempt
>>>> to manually edit the file system resources not via eclipse. Ideally this
>>>&g

Re: [Dev] Dev studio errors and feedback

2015-12-16 Thread Awanthika Senarath
Hello Dulitha,


​I agree that artifact name needs to be unqiue to the car file. But in a
scenario where you have 2 esb configuration projects having an artifact
with the same name (in-sequence.xml) - it crashes the car interface.​

If you have the same ESB artifact in different configuration projects, you
cannot pack them in the same car file. Because in car file level we only
consider the artifact name and not the folder hierarchy (which involves the
ESB project). The ESB project is introduced by Dev studio to maintain
artifacts. When you deploy the car file in the ESB, ESB will only deploy
the artifacts as single entries and not the project, and I fail to
understand you reasoning behind having the same artifact name as you wont
be able to deploy them in the same ESB instance in a single car file anyway.

But I accept that this should be conveyed to the user via a message, not
crashing the car file.


About the issue you faced when deleting artifacts, I was not able to
reproduce it,

1. Created two ESB projects
2. Created 2 Rest API artifacts with the same name in both projects
3. Deleted on Rest API

It worked as expected for me in Dev studio 3.8.0

Could you please give me your Dev studio version and also reproducing steps?


Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Dec 16, 2015 at 10:23 PM, Dulitha Wijewantha <duli...@wso2.com>
wrote:

>
>
> On Tue, Dec 15, 2015 at 10:26 PM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi Dulitha,
>>
>> Find my responses in-line,
>>
>> 1) Can't have the same project name in the workspace. For example - I
>> create a project called gateway-dev and have gateway-car, gateway-synapse,
>> gateway-registry. I can't create a project with gateway-staging and have
>> gateway-car. Is this an eclipse limitation?
>> This is an eclipse limitation. Eclipse maintains a META file called
>> .project for each and every project and the name in this .project file
>> needs to be unique.
>>
>> 2) Can't have the same artifact name in the workspace. This one is bit
>> annoying. I renamed the project to gateway-dev-synapse and
>> gateway-staging-synapse. I can't have the api artifact with id.xml inside
>> dev project and staging project in the same namespace:- the car picking
>> form gets confused on the two assets. What's more - it will get corrupted
>> and not have anything at all from synapse to pick. Below is an error that
>> popped in the error console
>> Yes, car files import artifacts based on the artifact name and in the
>> artifact.xml of a car file it will list all the artifacts that needs to be
>> bundled in that particular car, hence the artifact names needs to be unique
>> for the car file. The error you have got is due to dev studio crashing
>> before the file system files are properly refreshed, OR an attempt to
>> manually edit the file system resources not via eclipse. Ideally this
>> should be resolved by refreshing the workspace files through eclipse (right
>> click the file and refresh)
>>
>
> ​I agree that artifact name needs to be unqiue to the car file. But in a
> scenario where you have 2 esb configuration projects having an artifact
> with the same name (in-sequence.xml) - it crashes the car interface.​
>
>
>
>> ​
>>
> 3) Deleting a resource (API) got me below error -
>> Could you please let us know how to reproduce this? did you attempt
>> to rename the resource before deleting?
>>
> ​This was the scenario where I had the same arifact name in 2 different
> esb configuration projects. ​
>
>
>
>>
>> 4) Bulk import for resources -
>> You are correct, this is a current limitation. You can import the
>> synapse configuration with multiple proxies in it and dev-studio will
>> generate the proxies for different artifacts in the synapse configuration.
>> But currently it is not supported to import multiple proxy.xml files
>> simultaneously.
>>
>> Regards
>> Awanthika
>>
>>
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> On Wed, Dec 16, 2015 at 6:25 AM, Dulitha Wijewantha <duli...@wso2.com>
>> wrote:
>>
>>> Hi guys,
>>> I got some issues today working on the developer studio.
>>>
>>> 1) Can't have the same project name in the workspace. For example - I
>>> create a project called gateway-dev and have gateway-car, gateway-synapse,
>>> gateway-registry. I can't create a project with gateway-staging and have
>>> gateway-car. Is this an eclipse limitation?
>>>
>>>

Re: [Dev] Dev studio errors and feedback

2015-12-15 Thread Awanthika Senarath
Hi Dulitha,

Find my responses in-line,

1) Can't have the same project name in the workspace. For example - I
create a project called gateway-dev and have gateway-car, gateway-synapse,
gateway-registry. I can't create a project with gateway-staging and have
gateway-car. Is this an eclipse limitation?
This is an eclipse limitation. Eclipse maintains a META file called
.project for each and every project and the name in this .project file
needs to be unique.

2) Can't have the same artifact name in the workspace. This one is bit
annoying. I renamed the project to gateway-dev-synapse and
gateway-staging-synapse. I can't have the api artifact with id.xml inside
dev project and staging project in the same namespace:- the car picking
form gets confused on the two assets. What's more - it will get corrupted
and not have anything at all from synapse to pick. Below is an error that
popped in the error console
Yes, car files import artifacts based on the artifact name and in the
artifact.xml of a car file it will list all the artifacts that needs to be
bundled in that particular car, hence the artifact names needs to be unique
for the car file. The error you have got is due to dev studio crashing
before the file system files are properly refreshed, OR an attempt to
manually edit the file system resources not via eclipse. Ideally this
should be resolved by refreshing the workspace files through eclipse (right
click the file and refresh)

3) Deleting a resource (API) got me below error -
Could you please let us know how to reproduce this? did you attempt to
rename the resource before deleting?

4) Bulk import for resources -
You are correct, this is a current limitation. You can import the
synapse configuration with multiple proxies in it and dev-studio will
generate the proxies for different artifacts in the synapse configuration.
But currently it is not supported to import multiple proxy.xml files
simultaneously.

Regards
Awanthika


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Dec 16, 2015 at 6:25 AM, Dulitha Wijewantha <duli...@wso2.com>
wrote:

> Hi guys,
> I got some issues today working on the developer studio.
>
> 1) Can't have the same project name in the workspace. For example - I
> create a project called gateway-dev and have gateway-car, gateway-synapse,
> gateway-registry. I can't create a project with gateway-staging and have
> gateway-car. Is this an eclipse limitation?
>
> 2) Can't have the same artifact name in the workspace. This one is bit
> annoying. I renamed the project to gateway-dev-synapse and
> gateway-staging-synapse. I can't have the api artifact with id.xml inside
> dev project and staging project in the same namespace:- the car picking
> form gets confused on the two assets. What's more - it will get corrupted
> and not have anything at all from synapse to pick. Below is an error that
> popped in the error console -
>
> org.eclipse.core.runtime.CoreException: The file is not synchronized with
> the local file system.
> at
> org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.commitFileBufferContent(ResourceTextFileBuffer.java:338)
> at
> org.eclipse.core.internal.filebuffers.ResourceFileBuffer.commit(ResourceFileBuffer.java:325)
> at
> org.eclipse.ltk.core.refactoring.TextFileChange.commit(TextFileChange.java:233)
> at org.eclipse.ltk.core.refactoring.TextChange.perform(TextChange.java:240)
> at
> org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
> at
> org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
> at
> org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:258)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)
> at
> org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:306)
> at
> org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
> at
> org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:218)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)
> at
> org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>
>
> org.eclipse.core.runtime.CoreException: The file is not synchronized with
> the local file system.
> at
> org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.commitFileBufferContent(ResourceTextFileBuffer.java:338)
> at
> org.eclipse.core.internal.filebuffers.ResourceFileBuffer.commit(ResourceFileBuffer.java:325)
> at
> org.eclipse.ltk.core.refactoring.TextFileChange.commit(TextFileChange.java:233)
&

Re: [Dev] Removing Jaggery-plugin from Developer Studio

2015-12-11 Thread Awanthika Senarath
# adding Engineering, Manuranga and Manjula

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Mon, Dec 7, 2015 at 3:26 PM, Rajeeva Uthayasangar <raje...@wso2.com>
wrote:

> HI,
>
> This is to inform that we are going to remove the jaggery plugin from
> Developer-studio since it is not being used.
>
> thanks
> Rajeeva.
>
> --
> *Rajeeva Uthayasangar*
> Software Engineer
> WSO2, Inc.:http://wso2.com
>
>
> Mobile: +94777298873
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC 4

2015-10-13 Thread Awanthika Senarath
Hi

I have tested the following features and bug fixes and the observations
were positive, hence +1


   - ESB projects,
   - Registry Projects
   - Data Service Projects



   - Capp projects (creation, deploy, redeploy, removal)
   - Servers (remote/local)



   - Artifact renaming.


Regards
Awanthika


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Oct 14, 2015 at 9:25 AM, Kavith Lokuhewage <kav...@wso2.com> wrote:

> Hi Devs,
>
> Please vote for the fourth release candidate of WSO2 Developer Studio
> 3.8.0.
>
> This release fixes following issues.
> https://wso2.org/jira/issues/?filter=12453
>
> Please download, test and vote. Vote will be open for 72 hours or as
> needed.
>
> Sources, binary distribution and pre-installed eclipse distributions:
> http://builder1.us1.wso2.org/~developerstudio/developer-studio/3.8.0/RC4/
>
> The tag to be voted upon:
> https://github.com/wso2/developer-studio/tree/v3.8.0-RC4
>
>
> [+] Stable - go ahead and release
> [-]  Broken - do not release (explain why)
>
> Thanks and Regards,
> DevStudio Team
>
> --
> *Kavith Lokuhewage*
> Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +9477-9-145-123 | +9471-455-6-401
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC 2

2015-10-08 Thread Awanthika Senarath
Hi all,

I have tested the basic functionalities related to :

*Basic Functionalities :*


   - ESB projects
   - DSS projects
   - Registry Resource projects
   - Carbon servers (remote/local) instances
   - Capp deployment/Redeployment with changes in ESB project
   - AppFactory/ Cloud perspectives
   - Maven Car deploy plugin


*New Features Added :*


   - Publisher/Foreach new mediator addition, Custom class mediator
   - Artifact Renaming
   - War file Deployment/Exploded web apps/ Automatic updating(hot
   deployment)
   - APIM perspective- artifact creation/deletion/renaming redeployment
   with changes
   - Carbon 4.4.0 based servers


All functionalities are functioning satisfactorily and have no blockers
were observed on testing, +1

Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is "defaultValue" field in the Publish Event Mediator always expected to be Empty?

2015-10-06 Thread Awanthika Senarath
In that case we have a bug in developer studio! :) as we have not
introduced a filed for defaultValue in our graphical view, hence on adding
a value for defaultValue in the source view in switching to graphical view
will remove the saved value.

I will create the relevant JIRA after discussing with the team.

Regards
Awanthika


Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Wed, Oct 7, 2015 at 9:57 AM, Nuwan Pallewela <nuw...@wso2.com> wrote:

> Hi Awanthika,
>
> I think this defaultValue can be any value. It is assigned for the
> attribute if the expression can not find a property value.
>
> Thanks,
> Nuwan
>
> On Wed, Oct 7, 2015 at 9:29 AM, Awanthika Senarath <awanth...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> On testing the developer studio 3.8.0 I could observe that the
>> "defaultValue" field for attribute parameters in the Publish Event Mediator
>> [1] is always empty and will not store any values.
>>
>> On referring the documentation [2] for ESB 4.9.0 in the sample displayed
>> also I could observe the same. Could you please explain the purpose of
>> having this field in the said mediator and whether this is the correct
>> use-case to be implemented from Developer Studio end?
>>
>>
>> [1]  
>>   
>> >   expression="get-property('axis2', 'HTTP_METHOD')"
>>   name="http_method" type="STRING"/>
>> >   name="destination" type="STRING"/>
>>   
>>   
>> >   expression="get-property('SYSTEM_DATE')" name="date"
>> type="STRING"/>
>>   
>>   
>>     >   expression="$body/m0:getQuote/m0:request/m0:symbol"
>>   name="symbol" type="STRING" xmlns:m0="
>> http://services.samples"/>
>>   
>>   
>> 
>>
>> [2] https://docs.wso2.com/display/ESB490/Publish+Event+Mediator
>>
>> Regards
>> Awanthika Senarath
>> Software Engineer, WSO2 Inc.
>> Mobile: +94717681791
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
>
> *Nuwan Chamara Pallewela*
>
>
> *Software Engineer*
>
> *WSO2, Inc. *http://wso2.com
> *lean . enterprise . middleware*
>
> Email   *nuw...@wso2.com <nuw...@wso2.com>*
> Mobile  *+94719079739 <%2B94719079739>*
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is "defaultValue" field in the Publish Event Mediator always expected to be Empty?

2015-10-06 Thread Awanthika Senarath
Hi all,

On testing the developer studio 3.8.0 I could observe that the
"defaultValue" field for attribute parameters in the Publish Event Mediator
[1] is always empty and will not store any values.

On referring the documentation [2] for ESB 4.9.0 in the sample displayed
also I could observe the same. Could you please explain the purpose of
having this field in the said mediator and whether this is the correct
use-case to be implemented from Developer Studio end?


[1]  
  


  
  

  
  
http://services.samples
"/>
  
  


[2] https://docs.wso2.com/display/ESB490/Publish+Event+Mediator

Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Removing RMSequence mediator from Developer Studio 3.8.0 ESB Palette

2015-09-11 Thread Awanthika Senarath
Is there anyway that we can support older ESB versions with the new
release? since we are giving many bug fixes with 3.8.0 it is better if we
can support older versions as well.

Just My opinion though..

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Fri, Sep 11, 2015 at 2:02 PM, Rajeevan Vimalanathan <rajeev...@wso2.com>
wrote:

> Hi,
>
> We have observed that RMSequence mediator has been removed from ESB 4.8.1.
> We also planning to remove that from ESB palette as well from Developer
> Studio 3.8.0 since synapse libraries have been updated accordingly.
> Here our concern is what if a user wants to develop ESB 4.8.0 stuff with
> Developer Studio 3.8.0? These features won't be supported anymore. In that
> case, can we suggest the user to use Developer Studio 3.7.1 which is a
> older version? Please appreciate your thoughts on this.
>
> Thanks,
> Rajeevan
>
> --
> Vimalanathan Rajeevan
> Software Engineer,
> WSO2, Inc. *http://wso2.com* <http://wso2.com>
> Lean.Enterprise.Middleware
>
> Mobile:
> *+94 773090875 <%2B94%20773090875>*
> LinkedIn:
> *https://www.linkedin.com/in/RajeevanVimalanathan
> <https://www.linkedin.com/in/rajeevanvimalanathan>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   >