Hi Nathiesha, There were some changes done to preference API since Eclipse Mars. I suspect that the root cause for the issue should be it. I will go through the changes we did in Developer Studio to fix issues with new pref API and confirm you whether it is the root cause or not.
Meanwhile, please suggest a time for another meeting this week - probably on Thursday or Friday. We will go through the complete implementation to verify that everything is in order. I went through the code and have some comments too. I will put them in github it self. Thanks, *Kavith Lokuhewage* Senior Software Engineer WSO2 Inc. - http://wso2.com lean . enterprise . middleware Mobile - +94779145123 Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419> Twitter <https://twitter.com/KavithThiranga> On Wed, Jul 20, 2016 at 10:20 AM, Nathiesha Maddage < [email protected]> wrote: > Hi all, > > I started unit testing with InfoCollector and Startup Classes, and created > a few unit tests using JUnit. > > Regarding the progress of the project, I am currently working on the > ReportArchive module. The ReportArchive module currently displays all the > sent error reports to the user in a window, and I am working on adding a > context menu option for each error report to inquire the current status of > the issue. > > Regarding the Preference page, I tried creating a Input Dialog, that would > open up for the very first time the plugin reports an error to the user. > This dialog would ask the user to fill values to compulsory fields like > Jira Username and Password, and it would store these values in the > preference page as well, for future use. > > I tried to save the user entered values in Input dialog, to the preference > page using Activator.getDefault().getPreferenceStore().setValue() method. > This method would set the user entered values in respective fields of the > preference page, but that is just temporary. These values disappear from > the preference page the next time I run it. Only the default set values by > the code and the values that I enter in the preference page there itself > would retain permanently. I tried to fix this for a couple of days and > tried almost every solution I could find in the internet regarding this. > > Have you encountered a situation like this where you have to set the > values in preference page through code? Any idea whether this is possible > and if so how to do it would be of big help! > > Best regards > > Nathiesha > > > On Thu, Jul 7, 2016 at 6:31 AM, Nathiesha Maddage < > [email protected]> wrote: > >> Hi all, >> >> Regarding the current status of the project, I am working on the >> development of the report Archive module, where the user can view the >> previously sent error reports and also the current status of those issues. >> Meanwhile I thought to look into the testing part of the project as well. >> Is their any special testing framework used in Developer Studio testing, >> that I need to adopt? I though to use JUnit. Is it OK? >> >> Regards >> >> Nathiesha >> >> On Tue, Jun 28, 2016 at 9:34 AM, Nathiesha Maddage < >> [email protected]> wrote: >> >>> Hi all, >>> >>> I downloaded and tried running the Data Analytics Server . Currently I >>> am going through the DAS documentation and the REST API. Is it possible to >>> post data using the REST API? As I noticed, it only allows to retrieve data >>> from the DAS. >>> >>> Thanks and regards >>> >>> Nathiesha >>> >> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
