Buddhika Laknath is hard at work on his XQuery plugin for eclipse. He had a big hurdle to over come, but with a few well hinted places for him to look at existing code, and few tips he's now making some good progress. Here's a screen shot:
After struggling to wrap his arms around the the SSE api and the XML editor code, he's now getting ready to tackle the fun stuff. SSE itself is not something that is easy to understand. Particularly how to get your own parsing implemented while leveraging existing functionality. In order to have mixed content you either have to write a new parser that understands both languages you want to mix, or you have to do some VooDoo magic underneath, by marking some partions, and then reparsing with your specific extension language parser. It's especially messy when you have to deal with several different Dialects: XML, XQuery, and XPath 2.0.
Hats off to Buddhika for plodding through, I think he can finally start seeing the light to some of the fun stuff.
July 04, 2008
![]() Dave Carver |
Summer of Code XQuery plugin |
![]() SOA Tools Team |
Standalone BPMN modeler
Intalio provides a packaged version of the SOA Tools BPMN modeler. Grab it here and start modeling in minutes. Would you have any problems using it, please file a bug at the usual location or ask for help on the eclipse.stp newsgroup or by IRC: #eclipse-stp. |
![]() Annamalai Chockalingam |
Searching View ID in Eclipse was never this Easy !!
Thanks to Eclipse Ganymede Edition ... Browsing for IDs of Perspective, Views, ActionSets, Wizards etc was never this easy ... Earlier to Ganymede if i need to extend a Perspective .. i would use PerspectiveExtensions and then in the targetID would have to copy paste the ID of the perspective that i want to extend from somewhere ... Now it is just a click again .. You have a browse button just next to the targetID parameter wherein it lists all the perspectives installed in eclipse that you could extend ... The same applies for View, ViewShortCut, NewWizardShortCut, ActionSet etc ... |
![]() Andrew Overholt |
Getting started hacking on Eclipse plugins
Eclipse plugins are written using Eclipse. The excellent Plugin Development Environment (PDE) is what you’ll need so if you’re on Fedora, try For example, say I wanted to hack on the specfile editor which is part of the Linux Distros project at eclipse.org. If it’s a good Eclipse project, it will provide a project set file that contains the CVS/SVN info for the various included/related projects. The specfile editor one is here. I download the file and then in Eclipse (assuming I have an SVN plugin installed, like ![]() ![]() ![]() Once things have checked out, they’ll build and — assuming things aren’t broken in the revision you checked out — you can run it right away. You do this by launching a second Eclipse instance that uses a combination of the plugins running in your host Eclipse and the ones built in your workspace. Right-click on one of the plugin projects and select Run As->Eclipse Application. ![]() ![]() Boo-ya! Any changes we’ve made in our workspace will be reflected in this running instance. In the future I’ll talk about debugging the plugin(s) you’re working on and how to create patches, etc. |
July 03, 2008
![]() Ian Skerrett |
A Java Rock Star
Congratulations to Mik Kersten for being inducted into the JavaOne Java Rock Star program. The Java Rock Stars are the top speakers, as voted by the attendees, at JavaOne. Mik session was an introduction to Eclipse Mylyn and it seems like he and Mylyn were a great hit. Mik is a great presenter, so it is no surprise but it is nice to see him being recognized. ![]() |
![]() Scott Lewis |
Freed from email
There's an interesting article about use/abuse of email in the NY Times today: |
![]() Eclipse Enthusiasts Poznań |
Eclipse Summer School 2008
I am pleased to announce, that in cooperation with Poznan Univeristy of Technology, we are preparing next edition of Eclipse Summer School. We are going to teach students (and not only, companies are also welcomed) how to use Eclipse and how to create RCP applications. |
![]() Dave Carver |
Who Drives Adoption?
Ed Merk's latest blog posting about the marketing of various downloads, and the disappearance of the Eclipse Modeling Package to a sub link, corresponds in some ways to a post by Rick Jelliffe on Microsoft's participation in standards groups. How are the two related, by the following quote from Rick. "One of the great disappointments of the open source movement has been the way that lazy users don’t feed changes and improvements back, but are passive recipients. And often we see open source programs reflecting the priorities of its sponsors not its users." In some ways this is the same effect that is appearing on the popularity ranking of the Eclipse Download page, but it is a bigger issue than that. Like the adoption of Standards, it unfortunately isn't the users that are driving the changes of the standard, but the priorities of the sponsors. A balancing act needs to be made when doing either open source development and standards work. Which hat do you wear? Is it the community hat, or your employers/sponsors hat? Which one you wear affects everybody as a whole. |
![]() Ed Merks |
Where's the Modeling Package?
I'm a little disappointed now that Ganymede is finally out. Of course I'm generally in a funk whenever I actually reach whatever goal I've ever tried to achieve. |
![]() Martin Lippert |
Slides from "Aspect Weaving for OSGi" Talk
This morning I gave a presentation at the Java-Forum-Stuttgart conference on Aspect Weaving for OSGi. The slides of this talk are now available for download: |
![]() Jan Koehnlein |
Code Generation 2008 review
|
![]() Annamalai Chockalingam |
Partitioning Of the Document in 'TextEditor'...
The editor requires a file as input whereas the textViewer needs an IDocument object to display the content. Therefore we need to convert the file into an IDocument object. This is done by the documentProvider class. Every document can be broken into secions if required. This can be done using Partitioner class which divides the document into various sections using a set of rules that are mentioned inside the PartitionScanner class. Each partition or section is tagged using a String Token and this token can be used to refer to these sections later at any point during Text operation on editor. Regards UMA:) |
![]() Wayne Beaton |
But I’m not a Newbie!
If you have a question about some Eclipse project, the newsgroups are your best bet. If you’re not sure what group is appropriate for your question, post it on newcomer. Posters to newcomer are often redirected to other newsgroups, but newcomer is a good starting point since a lot of very knowledgeable people watch the group pretty carefully. The newcomer group may be misnamed. While it is indeed for newcomers, it’s not exclusively for them. Lots of folks who have years of experience with Eclipse post their questions there. The newcomer newsgroup isn’t just for newbies. Can you think of a better name? |
July 02, 2008
![]() Doug Schaefer |
Are you ready for 1000 cores?
Massively parallel computing is something I've been interested in for a while and have blogged about a few times in the past. This blog entry by an Intel Researcher made me think about it again. He continues to proclaim that the future isn't that far away and we had better start designing our software so that it can run on machines with thousands of cores. He worries that we're aren't ready yet and we need to start getting ready. And he's right. |
![]() Releng |
Build Workshop 2: Build Harder
Like Evil Dead 2, this “remake” of 2006’s Build Workshop was far more groovy than the first, in terms of While the last one produced ideas, plans, and documentation about best practices, it failed to materialize its one big requirement, which was a commmon build infrastructure, hosted at Eclipse. I’ve since created documentation ([1], [2]) for doing a DIY build server, which has been successfully implemented by at least two projects. But it’s still fairly labour intensive, and it’s tough to share. This time around, we focused on something that’s been on my TODO list for about a year: running my build system on build.eclipse.org. We’d originally planned to produce a vserver image or vserver config script, but since there’s still ample work to be done to genericize my existing image to work outside Modeling, this seemed a shorter initial path to prototype. And the fact that we can’t distribute such an image (because of all the GPL code in a Linux distro) was also a bit of a blow to the idea. Bjorn and Denis, in trying to understand a little of the madness that is my system, have made me revisit all my original assumptions and requirements, to ensure they’re still valid, and that there’s not a better approach. I love having my assumptions challenged — it’s the only way to prove a system matches its demand, and that I’m not simply stagnating under a mantra of ‘because that’s how we’ve always done it’. (It’s sort of like my attempt to challenge the assumption that next year’s coordinated release should be called “Io”… but I digress.) One thing we are still clinging to, for this first iteration at least, is that we’ll be building all-java, single-platform builds, for small projects & components who want a website with downloads, an update site, p2 metadata, jar signing, pack200 optimization… and little or no overhead in terms of infra setup. So, this solution will NOT address complex builds like the Platform, WTP, TPTP, or product builds. This is strictly (for now, anyway) designed to ease the burden on developers who don’t want to have to care about web/build infra. Of course none of this addresses the releng code that defines WHAT and HOW to build — it only enables a faster route to market for running and publishing builds. If you’re a project of the size of VE, PDT, or STP — or something smaller — this system’s for you. Building anything more complex remains out of scope for now, and I admit freely that some of the reason for that is that Denis doesn’t do builds, Bjorn does small Technology Project builds, and I do Modeling builds — none of which motivates us to spend effort solving problems we don’t (yet) have. For 2 years my system didn’t do UI testing, because until UML2 Tools & GEF joined the party, there was no need. Now there are several projects w/ UI testing, so the system allows for that. What is in scope is to explore the use of the Cruise Control interface to improve build scheduling and queuing, so that we can better manage disc and cpu usage. In time, the hope is that if a build queue gets too long, we’ll have statistics to back up the claim that we need more memory, cpu, or disc space, in order to better meet demand. Clearly, I have a lot of work ahead of me, but today showed that both Bjorn and Denis are willing help out here. (That’s not meant perjoratively — only that we all have other time constraints pressing on us, but that we’ve collectively agreed to set aside cycles to focus on this.) Here are the five pieces that must come together to make a build system work:
Then, in terms of automation (and places we can improve), there’s:
And then, of course, there’s room to improve integration.
At the end of the day, we had:
If that doesn’t sound like an exhausting enough day, have a look at this. Note that this is not a project plan, and until one is drafted, nothing is set in stone. More people willing to help will of course allow more things to get implemented. So, does this project interest you? Are you willing to contribute time and effort kicking its tires by porting your build to this system, in order to make it better for all? |
![]() Ekkehard Gentz |
Eclipse Ganymede - P2 Shared Installations (Bundle Pool)Eclipse Ganymede and P2 will change your update workflows from ground up. There are some Cons (I'm missing the external locations from Software Update), but many Pros so for me its time to change. If you don't want you can still use the old Update Manager. (Preferences - General - Capabilities) There are many new things in P2 - today I'll concentrate on: Dropins - a folder where you can |
![]() Ekkehard Gentz |
Eclipse Ganymede P2 Installer troubleToday I tried again my workflow to install some shared installations and prepare a new blog about it. Suddenly P2 Installer doesn't run any more. (you should read my blog Eclipse Ganymede - P2 Shared Installations (Bundle Pool) to understand the whole story ;-) I deleted /configurations/.settings and /p2 from P2 Installer directory and started P2 Installer again. This time I got a message and |
![]() Markus Voelter |
Video: Managing Variability in Product LinesThe JAOO folks have kindly recorded my 2007 presentation on managing variability in product lines (slides). Among other things, it showcases some of the PLE features available in openArchitectureWare. |
![]() EclipseLive |
Dynamic Languages Toolkit (DLTK) 0.95 Features
Abstract:
|
![]() Litrik De Roy |
Compiz, Java and the SWT_AWT bridge
Ubuntu includes Compiz which provides fancy desktop effects. Unfortunately it does not play very well with Java. After enabling Compiz, I have seen seen numerous empty Swing dialogs in soapUI . This is a known problem in Java. The bug report claims it is fixed in 1.6.0_10 but the Ubunu repositories still have Java 1.6.0_06. There is a workaround to prevent the empty dialogs. Add the following line to your export AWT_TOOLKIT="MToolkit" Today I tried to install the Eclipse plug-in of soapUI and I discovered that the workaround breaks the SWT_AWT bridge in Eclipse. Bug 208968 mentions a workaround but it requires a code change so I'm stuck. I guess I'll open a soapUI bug and continue to use the Swing version instead of the Eclipse plug-in (which is a repackaged Swing version anyway). If you were able to get the Eclipse plug-in of soapUI working in Ubuntu with desktop effects, let me know. |
![]() Peter Kriens |
QVO VADIMUS?
We are seeing more and more outlines appearing for the next OSGi release. One of the major issues is legacy code. Not only inside the OSGi, but if you go to the web you see a lot of people struggling to get old code to work inside OSGi frameworks. Obviously, we want to mitigate the issues around legacy code as much as possible, the more people that use OSGi the better. However, lately I have some (personal, this absolutely is not an OSGi standpoint!) musings about how to attack the issue of legacy code. ![]() The OSGi always reminds me of this grid. Why? Because they both restrict you severely but in return they provide simplicity. Instead of having infinite freedom to do whatever you feel like, you must obey some pretty basic rules, which some people find upsetting. But what you get back is that the elements work together as a whole, instead of fighting with each other. Layouts done with this grid almost invariably look good with no effort (try working with the average layout manager in Swing or SWT!). The advantage is that elements always line up and there is always the same space between elements. Without a grid, it is very hard to avoid unwanted visual effects. Genuine OSGi bundles almost invariably collaborate with each other without much effort (anybody saw the combination Eclipse and Spring coming?) because modules are self-contained and can only export packages and communicate via services instead of the myriad of ways people have devised in Java. Interestingly, both are achieved by restricting ones freedom, the opposite of providing more features. But neither OSGi nor this grid is simplistic. A simplistic grid would be a square 8x8 grid, and they just do not work. A simplistic OSGi would be some Class.forName based system without handling versions and dependencies. Both OSGi and the grid seem to be in a sweet spot: simple but not simplistic, providing maximum bang for the buck. However, legacy code seems to be forcing us to add more and more mechanisms to the OSGi specification. Unfortunately, these mechanisms are often also then used for new OSGi applications because the legacy concepts they represent feel familiar to people. See how many people use Require-Bundle and fragments. If we add all these freedoms to the next generation, will we not pollute the original model and become in the end much less attractive? Or, if we do not make it easier to use legacy code, will people turn away because they feel affronted that their direct needs are not addressed? Should we leave these issues to framework implementations making legacy code not really portable? The current popularity of OSGi seems to allow the OSGi to make a stand. What do you think? Peter Kriens |



























delicious
digg
dzone