One image is worth more than a thousand of words.
Just check this real bug report:
Monday, May 30, 2011
Thursday, April 28, 2011
New preferences for Eclipse
Hello All!
As you probably have noticed, Eclipse preferences are not perfect. A majority of enterprise companies struggle with enforcing consistent setttings across multiple installations, and so far nobody find a remedy which would be good enough.
Recently a light appeared in the tunnel. Ericcson contributed code for obtaining preferences from a certain URL, something similar to the Workspace Mechanic, which may solve some of the enterprise problems.
On the other hand, two GSoC proposals have been accepted in the area of preferences. I would like to get it done right this time, so any comments/suggestions are welcome.
As you probably have noticed, Eclipse preferences are not perfect. A majority of enterprise companies struggle with enforcing consistent setttings across multiple installations, and so far nobody find a remedy which would be good enough.
Recently a light appeared in the tunnel. Ericcson contributed code for obtaining preferences from a certain URL, something similar to the Workspace Mechanic, which may solve some of the enterprise problems.
On the other hand, two GSoC proposals have been accepted in the area of preferences. I would like to get it done right this time, so any comments/suggestions are welcome.
Monday, February 28, 2011
New preferences for Eclipse
This is just a small update to let you know that Eclipse preferences which I have described in my last post are hosted in Eclipse labs here together with usage description.
Monday, February 21, 2011
New preferences for Eclipse
It has been long time since I recently blogged on Planet Eclipse, but as an Eclipse Support Center we have been incredibly busy during the recent year. Last time I have mentioned preferences issues that are pretty often reported and left without a fix, because of Equinox preference limitations.
We had no other choice to solve customer woes than to start a closer cooperation with Poznan University of Technology, and a group of excellent students, as a part of their thesis, analysed, designed and coded a separate preferences module, which addresses (almost) all issues in "old" preferences that we have been aware off.
Check out their webcast - it is definitely worth it (for some reason the video does not get displayed on Planet Eclipse, you have to refer to the original blog entry or directly to Youtube).
The project was started in Eclipse labs, but we would like to move it to incubator. Could any of full time commiters guide us through the process of code donation? Any help will be deeply appreciated.
The code itself requires further work, like adding proper licensing headers, project naming issues, etc. I expect the code will be ready for reviews and donations before the end of month.
Those excellent students that did that thing are:
Marek Kuzora
Anna Ferster
Filip Wisniewski (responsible for the editor)
Congratulations!
Note: Poznan University of Technology has more excellent students which would like to get experience in commercial environment (and write their thesis, too). So if you have any non-business-critical project (or research project) to realize, please drop me a line (krzysztof.daniel somewhere at pl.ibm.com), and I will contact you with appropriate person.
We had no other choice to solve customer woes than to start a closer cooperation with Poznan University of Technology, and a group of excellent students, as a part of their thesis, analysed, designed and coded a separate preferences module, which addresses (almost) all issues in "old" preferences that we have been aware off.
Check out their webcast - it is definitely worth it (for some reason the video does not get displayed on Planet Eclipse, you have to refer to the original blog entry or directly to Youtube).
The code itself requires further work, like adding proper licensing headers, project naming issues, etc. I expect the code will be ready for reviews and donations before the end of month.
Those excellent students that did that thing are:
Marek Kuzora
Anna Ferster
Filip Wisniewski (responsible for the editor)
Congratulations!
Note: Poznan University of Technology has more excellent students which would like to get experience in commercial environment (and write their thesis, too). So if you have any non-business-critical project (or research project) to realize, please drop me a line (krzysztof.daniel somewhere at pl.ibm.com), and I will contact you with appropriate person.
Monday, June 21, 2010
Eclipse preferences
As you may remember from my earlier postings, on of conditions on which you can get your degree at Poznan University of Technology is taking part in so call Software Development Studio course. Participating students learn how it is like to write a software in real project, where are deadlines, quite a big team, changing requirements, real communication problems, etc. It is the first real experience of students with business world.
Google has recently created their workspace mechanic, which addresses the most common problem that big adopters of Eclipse has - preferences management in corporate environments. I am very happy that someone has finally noticed this problem.
However, I am not happy with installing 3rd party software to manage all the preferences. More, I do not believe it is a correct way. Eclipse, as a great platform, should offer such a functionality without the need of installing non-Eclipse plugins.
That's why I am supervising the project called 'Extended Preferences'. It is at very early stage, we are not sure if it will be welcome by Eclipse Foundation, but if you have some specific requirement which you think we should implement, just let us know.
For now, we would like to satisfy following requirements:
We are not sure if we will succeed, the project is at very early stage, but we are going to try hard.
I will keep you informed :)
Google has recently created their workspace mechanic, which addresses the most common problem that big adopters of Eclipse has - preferences management in corporate environments. I am very happy that someone has finally noticed this problem.
However, I am not happy with installing 3rd party software to manage all the preferences. More, I do not believe it is a correct way. Eclipse, as a great platform, should offer such a functionality without the need of installing non-Eclipse plugins.
That's why I am supervising the project called 'Extended Preferences'. It is at very early stage, we are not sure if it will be welcome by Eclipse Foundation, but if you have some specific requirement which you think we should implement, just let us know.
For now, we would like to satisfy following requirements:
- ability to define during the development, which preferences can be exported
- ability to define import strategy (override, merge or reset)
- ability to create a set of preferences to distribute them amongst developers
- ability to promote project preferences to workspace preferences
- support preferences which can be shared across workspaces
- help developers to use preferences correctly (implement change listeners!)
- create migration tool
We are not sure if we will succeed, the project is at very early stage, but we are going to try hard.
I will keep you informed :)
Tuesday, January 26, 2010
Dropins diagnosis
This post is P2 related but I could not find the appropriate words to start it. Actually I would not know what to say about P2 even if I could write this in my native language. P2 was definitely a pain at some point, but I still have no clue about the real root cause - was it P2 or just the change of general approach to plugin management.
While there are certainly areas for improvement, the P2 team does a great job in fixing bugs. They are preparing API, which in my opinion will speed up P2 adoption because you all will be able to wrap existing functionality into your UI, so there will be much more testing and much more bug reports :-).
I wanted to let you know that one, in my opinion very important, bug has been fixed:
Bug 264924 - [reconciler] No diagnosis of dropin problems.
If you add right now to your .options file following lines
This is not a lot and a lot at the same time ;-).
While there are certainly areas for improvement, the P2 team does a great job in fixing bugs. They are preparing API, which in my opinion will speed up P2 adoption because you all will be able to wrap existing functionality into your UI, so there will be much more testing and much more bug reports :-).
I wanted to let you know that one, in my opinion very important, bug has been fixed:
Bug 264924 - [reconciler] No diagnosis of dropin problems.
If you add right now to your .options file following lines
org.eclipse.equinox.p2.core/debug=true org.eclipse.equinox.p2.core/reconciler=trueP2 will inform you what bundles were found in dropins/ folder, what request was generated, and what is the plan of installation. Maybe it is not detailed explanation of what actually happened, and what went wrong, but it should give you strong information about where to start - was your bundle in the plan? Was it installation problem (P2 fault) or maybe it is just not optimal to include your feature?
This is not a lot and a lot at the same time ;-).
Thursday, December 17, 2009
Xtext - how to start
Sometimes is better to have screwdriver than swiss knife. At least people from the are of DSL think that. Well, I have decided to follow this path. I need a screwdriver. In our world one of the options is to use Xtext. Xtext is a framework for development of textual domain specific languages (DSLs).
What does it mean?
You can build a grammar description and with the use of the framework get a:- EMF model related to this grammar.
- Fully functional text editor.
- Scaffold for the generation tool
What for?
I need to record some data in structured form. I need model. Text editor is more convincing.
But this is only my motivation. There is a sea of use cases.
How to start ?
You can download Eclispe Modeling tools distribution from Eclipse downloads site. Or use update site.Then you can follow Xtext documentation. And this is the reason for this post. Although, you don't need to spend weeks on learning Xtext principles to build usable tools, still there are some things missing from the documentation.
You have created project, you have written your grammar. Now is a generation step. Is build successful ? Not really. If you look at the console view, you can find why.
You are generating without ANTLR. It is highly recommended to download and use the plug-in 'de.itemis.xtext.antlr' using the update site http://download.itemis.com/updates/milestones
Of course solution is to download the plug-in. After that you can follow the getting started tutorial.
You are generating without ANTLR. It is highly recommended to download and use the plug-in 'de.itemis.xtext.antlr' using the update site http://download.itemis.com/updates/milestones
Of course solution is to download the plug-in. After that you can follow the getting started tutorial.
Code is generated and now is time for building your XPand templates to generate Java code from your model. How to do that? There is no "generate sth.." button in your target environment.
The simplest way is to import your xxx.generator plug-in project from source to target. You are almost done. The only thing left is to add required dependencies to imported project. It is also helpful to add XPand nature to this project. After that you can follow tutorial, build XPand templates, and generate Java code.
Hope this short note will help somebody to start the adventure with the screwdriver even smoother ;)The simplest way is to import your xxx.generator plug-in project from source to target. You are almost done. The only thing left is to add required dependencies to imported project. It is also helpful to add XPand nature to this project. After that you can follow tutorial, build XPand templates, and generate Java code.
Next time I will show you how to change editor default coloring.
Subscribe to:
Posts (Atom)
