CDT on IRC ?

CDT, as in C Development Tools, is currently under represented on IRC, as in Internet Relay Chat.

We get a lot of questions about it on the #eclipse channel on Freenode. Some people complain about content assist not working, some have more specific C questions, and so far it sounds like we can’t help with them.

CDT committers, if you have some bandwidth left, please come down here, it’s all fun and community gathering.

If you don’t have time, I understand.

The BPMN modeler is hosted on github. Fork it today.

Oisin hinted he was into experimenting with git:

Perhaps someone could come up with a github mirror of one of the components and we could see how that works?

Come fork me on github! I’ll try to keep in sync with the current trunk, which should work as long as no svn switch happens.

One member of the STP PMC reacted to my call. I am still waiting for others to show themselves and share their wisdom.

Next in line - pushing Babel over to github. Let’s see if Denis, our trusty webmaster, likes it!

Letter to the STP PMC: Please express interest over a DVCS

I sent out an email to the STP PMC yesterday night:

Hi all,

STP has proven to be cutting edge in many ways regarding the Eclipse development process. In particular, we were amongst the first to adopt a Subversion repository.

The reason why we went for those repositories are varied. First, I think most of us acknowledged that CVS was not fitting the bill so much anymore. We were also increasingly using SVN at work, and had gone through the hurdles of mastering it.

Some time passed. git and mercurial came along and revolutionized quite a few things. Just look at github and how the commit rate of rails changed since they moved there (around the 5th minute on this video of the Rails commit history [0])

I opened a bug about the possibility to move to git [1], and a webmaster hinted that supporting git would be considered if a couple of top level projects were asking for it.

That’s why I’m asking you to please cast an informal vote for this move. Please consider also voting on [1].

Thanks,

Antoine

[0]: http://vimeo.com/2979844?pg=embed&sec=2979844
[1]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=257706

Do you want to see DVCS support at Eclipse ? Please consider writing to your PMC today.

1st BPMN International Workshop

Just saw flying by a call for papers for the 1st BPMN International Workshop. It is happening in Postdam, and is housed by the Oryx team. I would have loved to participate but at that time I will be in Iceland enjoying my honeymoon. Too bad, for once I could have had a jetlag free presentation.

How to add custom navigation links on the wiki.eclipse.org left bar

This proved to be well hidden ; you can add your own links to the left bar of the wiki.eclipse.org website by adding them individually to the project metadata.

leftnavbar-project-metadata

  1. Log into portal.eclipse.org with your committer credentials
  2. Go to your project, and click on “Maintain project meta-data”
  3. Click to edit the “project left nav” property
  4. Now you can enter your link information:
  5. Just save it, and do it as often as needed.
  6. Go to your wiki page and edit it
  7. Add this to the page: {{#eclipseproject:your.project.id}}
    I prefer using a template for this though.

Eclipse committers, turn your NLS warnings on

I just came to realize that it is possible for the Eclipse compiler to track the missing NON-NLS entries, ie it can detect non-externalized strings.

Please consider opening your Eclipse, go to the preferences, then open Java>Compiler>Error/warnings and look for the option “Non-externalized strings”.

Please push that option so that it issues warnings whenever it finds a non-externalized string.

Otherwise, I’ll keep sending people to the cross-project list, or I’ll ask the AC to consider setting the non-externalized string flag as an error when compiling the Galileo RCs. I hope I won’t have to do that.

EMF::acts_as_ActiveRecords

Not sure you followed the latest news about Intalio, Inc. We just rolled out a new website, and we are introducing a new project named Dogfood.

The Dogfood project is exactly what it looks like: we are going to line up and eat our own software until it makes us sick of it. And then we will have some more.

As part of the project, I am tasked to find a way to transform a spreadsheet with some clear conventions into a fully executable process.
Our BPMN model being EMF-based, I showed it to the team, and we feel it’s simple enough that we can generate the XML from the spreadsheet.

How do you generate a EMF-generated model those days ? You would fire up Eclipse, open the diagram editor and modify what you see on screen. Or you would open the default tree editor and make some changes.

Here, we are looking at a different story. Indeed we want to generate our model without Eclipse. And why not without Java.

My idea is to use the ActiveRecord way to generate a model by reading the ecore file(s). The bright part of the idea is that you can have ActiveRecord read the ecore files and load up the classes in memory. There is no actual generation. You change the ecore file, run again, everything is here.

My hope is to be able to do this:

p = new Pool
activity = new Activity
activity.name = "sample activity"
activity.graph = p
other_activty = new Activity
other_activity.graph = p
s = new SequenceEdge
s.source = activity
s.target = other_activity

Did someone think of doing something like that before ? Is there someone crazy enough to read ecore files and create the metamodel inline around ? Does someone know of a way to use ActiveRecords with something that isn’t a DB table ?

Eclipse and the lone developer

Ketan asked the Architecture Council yesterday what they should be doing for him.

He is working on a pet project, that he brought to maturity on his own. He joined Eclipse to get more support, and hopefully more coverage.

There is a price when you join Eclipse though ; you have to obey to the guidelines, use SVN or CVS, learn how to use Phoenix.

The Eclipse website is actually backed by CVS. My major concern for that practice is that everything that is checked on the website has to have a wipe-cleaned IP, as much as the IP of our code. So, for example, there is no jQuery support on the eclipse.org website. The Eclipse staff waited for six months or so for the IP of YUI to be accepted. That’s really too bad, I only needed jQuery dumb UI functions to make my website look good, I will have to learn YUI instead. Oh well.
The bottom of the issue is that the Eclipse Foundation wants to have a unified UI. I think. Well, Higgins website is quite different from the rest of the website. So I guess you could go ahead, and hack your own thing -in PHP on the Eclipse.org CVS, that is, alas.

To reply to you informally, Ketan, you are not going to get any help from Eclipse on the short term. The organization is a monolith targeted at companies. I feel your pain, and I think you should consider keeping two repositories, one on github, one on Eclipse, and do a synchronization every now and then. As long as you wrote all the code, it’s ok. If someone wants to contribute, he should clone your github repo, make a patch, and attach it to a bug. As long as you can go on like this, it should be ok.

On the long term, the IP policies are important at Eclipse, and I hope that you’ll like using Babel to internationalize your code. I also think that moving to Eclipse is giving way more coverage to your code and your project. Didn’t you have some requests from the platform committers last week on IRC ?

I think you started a nice conversation, and I’m sure the AC and yourself would have some cool ideas for Eclipse to help the lone developer. I just wish it was as easy to open an Eclipse project as it is to open a Rubyforge one.

Eclipse batch compiler: what’s in the jar ?

So I was annoying one person too much with Eclipse and how it rules the universe, and he asked back: what is exactly the Eclipse batch compiler doing ?

So I just went to the Eclipse website, and looked for the Eclipse compiler. I ultimately found out the page where release notes are posted, you need to look at each version to get an idea though.

The Eclipse help system for sure has a nice documentation on how to use the compiler, but it doesn’t explain in too much detail what it does.

This post by Wayne, yet again naked in icy water, was more insightful.

It does wonderful things. My personal favourite thing about the Eclipse Java compiler is the fact that it will compile code that contains errors. That is, when you compile code that has errors in it, the compiler will flag those errors for you and then generate the .class file anyway. You can actually run and debug the code and, should the runtime actually run into your errors, it will then throw an exception.

So now I’m looking if someone compiled a feature list of the compiler somewhere in case I missed something. If you happen to have one hanged to the wall, I’d take it happily.

jBPM integrates the BPMN modeler

I’m not sure if jBPM uses the code from JWT or STP-IM, but it apparently created a powerful transformation wizard to transform BPMN into jPDL.

I’m glad they chose the BPMN modeler as the base for their work.

jBPM folks, would you like to be listed on our integrators page ? If you like your ride with our project, please consider sending a quote!