Much ado about scripting, Linux & Eclipse: card subject to change

Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

2008-07-18

Io no quiero

Now, this is a story all about how
My name got flipped, turned upside down
And I'd like to take a minute
Just sit down, yo
I'll tell you how I became formerly known as Io


In west of the Ottawa born and raised
On the server was where I spent most of my days
Chillin' out, mirrorin', relaxin' all cool
And a'servin' some b-ndwidth to all th'Eclipse fools

When a couple of guys, who were up to no good
Started making trouble in my server'hood
Opened one little bug and th'PC did vote
Said 'Gotta find a new name cuz they hatin' on Io'


I whistled for input and when it came near
The options were fresh and they'd sound sweet on the mirrors
With a split of +1s and a whole bunch of 'No'
But I thought anything's better - 'Yo, no to Io!'

Suggested were Galileo and Hermione
Hyperion, Titan and Hegemone
I looked at the votes
But with only 8 cast
It seemed that Io would be here to last


So I plead with the Council at least one more time
With the help of this rather contrived bit of rhyme
To look through the options
And cast there a vote
And save us at last from an Eclipse Io

DJ Jazzy Jeff & The Fresh Prince - Fresh Prince Of Bel-Air (Theme Song)

2008-07-12

What's in a name?

Just when I thought I'd seen the end of the misspelled Eclipse coordinated releases, we have a new one: Gynamede.

Past favourites were Calypso & Europe, but this is by far much better, as it lends itself toward some great marketing slogans:

  • Gynamede: packaged & ready for your inspection
  • Gynamede: ultra-sound solutions for your business
  • Gynamede: to pee or p2, that is the question
  • Gynamede: all of the RAP, none of the pap
  • Gynamede: UDC metrics instead of obstetrics
  • Gynamede: come check out our spread!

In related news, now's the time to get your Planning Council reps to settle the name for next year's release, currently being confused with "i/o" and the number 10, a year before it's even out the door! Vote now on bug 235189 for your moon of choice.

Or maybe it's time for something completely moon-free, like one of these?

  • Eclipse XP: eXtreme Packaging / eXtra Participants
  • Eclipse CE: Coordinated Event / Centralized Endeavour / Community Edition
  • Eclipse LTS: Long-Term Support (since 3.5 may well be the last release in the 3.x branch, with 4.0 due the year after)
  • Eclipse Eye (the first half of "Io", and like a moon, a spherical object)

2008-07-09

Request For Comment: Will Anyone Miss All Those EMF Zips?

With the advent of p2 and the smaller EMF features introduced in EMF 2.3, the EMF team is evaluating if the All-In-One, Runtime (3), Sourcedoc (3) & Examples Zips are still meaningful and useful to consuming teams, projects, and products. We'd like to reduce those 8 zips down to a single archived update site zip.

For more on this topic see:

EMF 2.5 - Simplified Downloads

To voice your opinion (be it 'I need that/those zip(s)!' or 'I'm good with using Update'), please post your feedback in bug 240223.

Thanks!

2008-07-05

Visual Editor for Eclipse 3.4 Ganymede

There have been a number of questions in eclipse.newcomer lately about the availability of a visual editor for Eclipse 3.4 Ganymede.

So, I thought I'd see if VE 1.3 can be installed into Ganymede using p2 -- and in fact it's pretty easy to do.

As noted in VE Installation Guide, you can use the "Eclipse IDE for Java EE Developers"... but because I usually run with the Eclipse SDK, rather than an EPP bundle, I wanted to know what the minimum requirements are for VE, so I unpacked VE into Eclipse's new dropins/ folder, and started Eclipse with the OSGi console active, using this script:

#!/bin/bash
workspace=/tmp/workspace-clean-34
pushd ~/eclipse/34clean >/dev/null
if [[ $# -eq 0 ]]; then
        rm -fr eclipse $workspace emf-unpacked
        eclipse=eclipse-SDK-3.4-linux-gtk.tar.gz
        echo "Unpack $eclipse...";
        tar xzf $eclipse
        ve=org.eclipse.visualeditor-1.3.0.200709121813
        echo "Unpack ${ve}.zip into dropins"
        unzip -q ${ve}.zip -d eclipse/dropins/ve
        mv eclipse/dropins/ve/$ve eclipse/dropins/ve/eclipse
fi

vm=/opt/sun-java2-5.0/bin/java
echo "Using vm=$vm and workspace=$workspace"; 
./eclipse/eclipse -vm $vm -data $workspace \
  -consolelog -clean -debug -console -noexit -vmargs \
  -Xms128M -Xmx256M -XX:PermSize=128M -XX:MaxPermSize=256M
popd >/dev/null
What I found was that the console listed all the missing dependencies for the VE feature, making it easy to find the features I needed to install to fully enable VE. I fired up the Help > Software Updates and installed the following from the Ganymede Update Site:

On restart, I had a working visual editor:

2008-06-27

Ganymede Poster Contest, Part 5: To the Victors go the Spoils

Originally, I'd said the prizes would be $50, $30, and $20, but everyone who won wanted to donate back to Eclipse so the actual per-person amounts became rather moot, and this way you can all enjoy being a Friend of Eclipse. I hope everyone's okay with this little bit of data fudging. :)

Benjamin turned me on to Kiva, which isn't technically a *donation* site as much as a site for loaning entrepreneurs money via micropayments. But it's a great idea, so I've sent $25 to Villa Antofagasta Group as well. After all, I hadn't expected Ian and Lynn to offer me Eclipsewear for running this contest, so I'm already ahead. Thanks, guys! :)

Kiva - loans that change lives

So, if you're a fan of Eclipse and want to do something cool to promote it, contact me, Ian or Lynn -- we're happy to hear your ideas. You don't have to be a committer, bug triager, or employee of any of Eclipse's partners. All you need is passion and an idea.

2008-06-25

Day Of The 'Mede

Merci to Denis Roy for proofing my Franglais, und Vielen Dank to Benny and Dominik in #eclipse-de for enduring my silly request to write the German verse below. Ganymede is a multi-cultural / multi-lingual release! Feel free to add your own verse or chorus in the comments! Bonus points if your translation into English rhymes! (See links below for the English text and video; you can also find this en español, if you prefer.)

I was just a tourist my first time at Eclipse-dot-oh
I was a newbie, in danger in a world unknown
But one quick download and the world around me did explode
And projects by the dozens come out from that hole

Why? No lie!
It's the Day of Ganymede! There are there torrents you can seed!
oh-oh-ohh, I didn't even know
It is the Day of the 'Mede! Let's make the servers bleed!
oh-oh-ohh, up there in Otta-whoah!

The place was jumpin' with TCP/IP to and fro
But thanks to p2 I can multi-thread my downlo'
I opened the pinata and a swarm of plugins did install
Dependencies resolved and I knew that I was good to go

Why? No lie!
It's the Day of Ganymede! Can you get some? Indeed!
oh-oh-ohh, I didn't even know
It is the Day of the 'Mede! All our sources have been freed
oh-oh-ohh, in Portland, Orego'!

The councils tell me not to fear
It happens like this once a year
When the build's done, committers leave their cubes and
Apparently they come out here
For the beer!

Why? No lie!
It's the Day of Ganymede! And now it's time to feed
oh-oh-ohh, join the release party
It is the Day of the 'Mede: so lift a jug of mead
oh-oh-ohh, wherever you might be

Es ist der Tag von Ganymede! - um was es geht?
oh-oh-ohh, Der Zug fährt ab, die Community ist froh
Es ist der Tag von Ganymede! - mit Projekten fast fürs ganze Alphabet
ja-ja-jaa, von BIRT bis Webtools, alle sind sie da!

C'est le jour de fête Gany, comprends-tu ce que je dis?
oh-oh-ohh, ou est-ce que c'est pelle melle?
C'est le jour de Ganymède! Toujours besoin de l'aide*
oh-oh-ohh, traduire projet Babel!

* - Yeah, that translation rollover's a bit of a stretch, I know.

Voltaire - Day of the Dead / Dia de los Muertos

2008-06-24

Ganymede Poster Contest, Part 4: The Winners

Drum roll please...

The results are in, and here are your winners!

So, the next step is for Benjamin Cabe, Michael Tkacz, and Nick Hofstede to contact me and decide how they'd like to distribute their prize money. While Benjamin's top poster only placed third, the fact that he had 4 posters in the top ten makes me think he deserves the top prize.

So, guys, tell me who should get the funds, and why, and I'll PayPal you the money so you can donate it and keep the tax receipt (if applicable). If you don't have a PayPal account, I can donate on your behalf. If you want your donation to go back to Eclipse in exchange for a Friends of Eclipse membership, that's allowed too. :)

Congrats to everyone who participated!

2008-06-19

Ganymede Poster Contest, Part 3: Time To Vote!

After several weeks and dozens of great submissions, it's time to pick a winner.

Please take a few moments to choose your favourite (up to 3) posters.

http://www.eclipse.org/ganymede/postercontest.php

Winning posters will receive Eclipse schwag, graciously donated by the Foundation, and some coin to give to your favourite open source organization or free service provider.

Voting is open until June 24, 2008, 5:00 pm EDT.

2008-06-17

Toward Standardized Groups

June 5 marked the death knell for my conquest for world domination through Eclipse committer groups.

Before then, I was in a whopping 62 different linux groups on dev.eclipse.org, coming in third behind Kim and Sonia (80 and 79, respectively).

However, with Karl and Matt actively cleaning up these duplicate and often empty groups & standardizing the names, my numbers have dwindled to a mere 55. Sadly, I'll lose 4 more when we standardize GEF...

Still, consistency is better than world domination, right?

If your project needs some housecleaning, Karl's looking for volunteers to work with him on this effort. If you are interested, I'd recommend starting with a shared spreadsheet (eg., [1], [2]) to document your before and after states.

2008-06-13

Ganymede Poster Contest, Part 2

So far, the Ganymede Poster Contest has been a raging success, with hordes of submissions swarming over bug 227561. We'll be announcing how you can vote soon, which means there's not a lot of time left to get in your submissions!

Here's a few more, if you're struggling for fresh brains, erm, ideas...

(Click images to enlarge. Get your submissions in now, before it's all over!)

2008-06-10

RC3's All Green

RC3's all green. Red noses? no
EPP blooms for me and you
And I think to myself, what a Ganymede world

I see lines of code compiled for me
With bright JDT, and dark PDE
And I think to myself, what a Ganymede world

The projects of Ganymede, so pretty in the sky
Are also on the faces of people going by
I see friends shakin' hands, sayin' "I <3 p2"
They're also saying "Eclipse is you"

I hear bugs a'squashin', I watch them go
The teams do much more than I'll ever know
So I think to myself, what a Ganymede world
Yes, I think to myself, it's a Ganymede world

Oh yeah

Louis Armstrong (Weiss & Thiele) - What a Wonderful World

2008-06-06

HOWTO: Contribute

There's been a fair amount of discussion about volunteers and community outreach of late, both on the Planet and in the newsgroups. The following is probably nothing new, but here's my take.

In eclipse.platform.swt, Ed said:

Human nature is such that if everything is working smoothly, for example, if every desired SWT feature simply appears out of thin air, then there is no compelling need to change behavior. Only when things get painful or uncomfortable is action taken. If the belief is that others are responsible for providing the level of comfort to which we've grown accustomed, that action will typically take the form of complaints rather than constructive steps to deal with the issue directly.

I couldn't agree more. That's been my experience w/ PDT -- blog about successes/failures, open bugs, see minor improvement. This was Phase One: Complaining. Not very effective.

Then I started lurking in #eclipse and found that there were a lot of people eager to use PDT, but who were having issues getting it up and running, or migrating to it from another PHP editor. So, after finding myself answering the same questions over and over, I started contributing to the Eclipse wiki, writing docs on installation & migration. Phase Two: Support / Documentation.

Last week, I found myself volunteering for PDT's first Bug Day (which frankly didn't go as well as I'd have liked). To digress for a moment, here's why:

Of the bugs tagged for BugDay, Roy suggested I look at the ones about code formatting, as they were long-standing issues.

I know next to nothing about structured text editors and how the data model is used to properly indent code, so this was a bit of a struggle -- first to find where to insert breakpoints, then to really understand what was going on. Roy was very supportive and helpful, but ultimately I don't think I had enough experience to really be useful.

The other reason for my failure to launch was that much of BugDay got eaten up with my other commitments, and the time zone offset meant that by the time I was done with all my other stuff in Toronto, it was very, very late in Israel. Time zone offsets suck. Incidentally, if you're looking for a way to help PDT, here's their list of BugDay bugs, for which they're actively seeking patches.

Digression aside, I've also been actively contributing to the PDT newsgroup and mailing list, fielding more setup, migration, and install questions. Phase Three: Feeling the Pain / Getting Your Hands Dirty.

PDT has had some tough times in the past with Integration builds only being delivered once a month and update sites that only provide Release builds, or incorrectly displayed requirements & install instructions on build pages. So, as Ed said, there's a pain: a pain that I want to help fix. And because the pain is personal, I've offered to assist with their build infra so that they can more easily publish weekly builds and monthly milestones, which they seem thrilled about. Clearly this is a shared pain. Phase Four: Code Contribution.

So... what's the point of all this? Offer your help as best you can. Do what you can to be supportive out on the periphery. Get your name out there. Chat with the teams on IRC, in newsgroups, or on their dev list. Worm your way in. Contributing to Eclipse means giving your time, but it should also mean ownership of what you contribute, because others need to give their time to process your contributions. The more you show your commitment & involvement, the more effective you will be.

After all, Eclipse is a meritocracy -- you have to earn your seat. :)

2008-05-29

Ganymede Poster Contest

Attention all Photoshop geeks and movie lovers! In the tradition of worth1000.com and somethingawful.com's Photoshop Phriday, I present the Ganymede Poster Contest.

Quick facts:

  • What: An opportunity to show your Photoshoppin' / GIMPin' skillz, and maybe make a few bucks, too*.
  • When: Now through June.
  • Why: Because Eclipse is awesome.
  • Who: Anyone with some free time to burn.
  • Where: On your blog, or attached to bug 227561.

* In order to sweeten the pot a little (and to try to get at least 4 posters, one for each month between Ganymede GA and the Ganymede Update in September), I'm willing to put up $100 in the form of 3 prizes of $50, $30, and $20 for the top 3 submissions. Funds to be donated to your favourite open source org or free service provider -- could be fsf.org, somafm.com, thepiratebay.com, eclipse.org, or anyone else. Your choice.

PMCs, if you want to contribute to these prizes, I'm all for that. Hell, you could even run your own spin off contest, just for your project.

So, what should you design? A movie poster, showcasing something about Ganymede. Style is up to you, but personally I like grindhouse, and retro & horror.

Here's some ideas to get you started...

(Click images to enlarge. More ideas & links in bug 227561.)

UPDATE: More posters here.

UPDATE 2: Submissions are now closed. Vote for your faves!

I. P. Freely

This is your brain.

This is your brain on a fortnight of IP logs and About files.

Clean IP / From Where Did Our Code Come

Sometimes
I feel I've got to code all day
I've got to code all day
But the pain
Of rewriting from scratch, oh me!
The libs I share
Must have come from somewhere
And I think I've lost my light
For I toss and turn
I can't code at night

Once I ran to you
Now I run from you
This tainted code I've given
Given my Abouts all to you
Fix my log
And thats not nearly all

Clean IP x2

Now I know that I can code all day
I want to code all day
And there'll be more time everyday for me
To build things right
We need someone to hold us tight
And you want clean code to stay
But without its due it won't stay that way

Once I ran from you
Now I run to you
This clean IP you've given
Given my Abouts all to you
Gen my log
(Though it's but nearly done)

Clean IP x2

More CQs please!
I can not stand the way you tease
Orbit's the only way to go
But we need a lot of CQs, too

Clean IP x8

IP, IP
From where did our code come?
Ooh, don't you wonder
Don't you wonder no more
I've got this burning
Yearning, yearning
Nested inside jars
Ooh, deep inside jars
And it hurts so bad
I used third party code
So commonly
With a burning love
For my Apache
And now I will surrender
To clean pedigree
You're in my log now
Ooh, you're in my IP

Soft Cell - Tainted Love / Where Did Our Love Go?

2008-05-20

p2: The Good, The Bad, The Whiners

After taking a break from reading the Planet this past week, tonight I discovered several p2-bashing posts. Now, I admit, in December I had some less-than-positive things to say about p2, but that was over 5 months ago. It's been evolving rapidly ever since, and has one of the most responsive dev teams I've ever had the pleasure of working with.

Some statistics, to prove my point:

  • 695 resolved Equinox.p2 bugs; 472 open Equinox.p2 bugs. Closure rate: 60%. Given the oldest changed bug is in February, that's over 200 features and work items a month for the past 3 months! (A bug is not always a problem. I use bugs as TODOs, thanks to the wonderful workflow integration provided by Mylyn. But I digress.)
  • Of the 20 Equinox.p2 bugs I've opened; only 5 remain. Closure rate: 75%.
  • Of the 39 Equinox.p2 bugs I've opened, commented on, or am watching; only 8 remain. Closure rate: 80%.
  • Articles in the Eclipse Wiki related to p2: at least 46
  • Time required to go from knowing nothing about p2 metadata to having it enabled for all the Modeling projects' update sites and integrated into automated promote scripts: about 2 hrs
  • (Recently) active committers for the whole Equinox project: 14
  • Lines of code committed in Equinox project in the past year: 378,000
  • Number of commits in Equinox project in the past year: 28,000

Bottom line? Ask (early) and ye shall receive. Wait to complain when there's no time left in the cycle, and ye shall be disappointed. This is open source, people. You get back what you put in.

2008-05-13

Across The Intertubes

W00t. Ganymede M7 is out today -- here's something to read / listen to while you download it. If you use the Friends of Eclipse site, you'll probably get your bits downloaded before the first verse has finished playing. Membership has its privileges, as they say.

Bits are flying out like
endless rain into a pigeon coop
They syn/ack while they pass
They slip away across the intertubes
Pack-ed jars and XML
are drifting through my net, p2's
Resolving and installing 'em

Jai guru deva om
Ganymede'll rock my world [x4]

Finally there's self-hosting
now fixed for Ed and the rest of the Sad Men Club
(As Wassim calls them 'cross the intertubes)
Support for patches has improved
in many ways -- go check the news
And JUnits now report how long they take
to wend their way across your cpus

Jai guru deva om
Gany's gonna rock my world [x4]

Sounds of laughter, tons of code
installed for free: thanks, open source!
exciting and inviting me
Limitless undying love which
shines around me like a million suns
It calls me on and on across the intertubes

Jai guru deva om
Ganymede'll rock my world [x4]
Jai guru deva [x2]

The Beatles - Across The Universe

2008-05-09

p2'd

With Ganymede M7 just around the corner, and Eclipse 3.4M7 in the can, it's time for everyone to start playing w/ p2 again. It's come a *LONG* way from where it was in M6, thanks to the tireless efforts of the Equinox team. If you tried it then and got scared, please give it another look -- it's a much more user-friendly animal today. The promise presented at EclipseCON is coming true, despite some people's misguided attempts at humour last time around.

If you haven't tried converting an existing update site into a p2-enabled one, you should. I was very pleasantly surprised how easy it was.

And now, some Beatles for your Friday afternoon entertainment...

p2'd: it's not so bad
Took a sad song, and made it better
Remember to test drive it today
So you can help to make it better

p2'd: don't be afraid
You're now used to use Update Manager
The minute p2 gets under your skin
Then you begin to see it's better

And any time you feel a pain's p2'd, refrain
Don't carry the world upon your shoulders
Well don't you know that it's a nug who don't file bugs
Be they grit or Sisyphean boulders

p2'd: won't let you down
You'll have found the new Install Manager
Generate extra jars for your site
And you'll see that it's made much better

So try it out, yes, it's time for p2 to begin
Stop waiting for code freeze to download it
And don't you know that it's for you, p2'd
You'll do, the details you need are in the wiki

p2'd: works really well
Took a sad song, and made it better
Remember to let it into your heart
And you will start to see it's better

Na na na na na ,na na na, p2'd ...

The Beatles - Hey Jude

2008-05-02

Team Effort

Digging through my email backlog, I found this post on the google-summer-of-code-announce list, which reminds us that it's time for the Google-O'Reilly Open Source Awards for 2008 (nominations due by May 15).

Then I saw this... ;)

Ubuntu has done more to promote a desktop Linux than any other distro before.
And yet as a company contributes so little development resources.
You clearly do not understand open source. Like someone said the other day, all companies work together in the Linux desktop: Red Hat fixes the kernel, Novell fixes the applications, and Canonical takes the credit.

It's all a team effort.

Anyway, while successes at Eclipse are *also* the result of team effort, these awards are for individuals (the good kind, not the Teflon kind), and you can invent your own award titles. Enjoy!

2008-04-26

Synch View Magic

Earlier this week, I opened bug 228701 asking for Mylyn filtering on the Synch view. (Please vote if you agree.) This afternoon in #eclipse-dev, Eugene pinged to ask why I don't simply use the Change Sets presentation in the Synch view, and Boris chimed in to tell me about bug 143419, "Strange tree rendering in synchronize view". Strange indeed.

I agreed I'd document my experiences with this view, but because Bugzilla is undergoing maintenance at the moment (thanks to our tireless webmasters!) and I want to share it while it's fresh, here's my account of how to make files vanish from the Synch view, though Mylyn continues to track them.

DO try this at home, as magic tricks in Eclipse are rare (e4 demo at EclipseCON with spinning views & scriptable UI elements notwithstanding), and this one's pretty cool.

Steps to reproduce

  1. Install the latest Eclipse 3.4 I build (I've got eclipse-SDK-I20080422-0800-linux-gtk.tar.gz.)
  2. Install Mylyn from its update site (mylyn-2.3.2-e3.4.zip).
    DO NOT unpack it first, just give the URL to Eclipse's new p2 / Install Manager or download the zip and hand it that. If you unpack it first, p2 doesn't seem to know how to find the features therein. But I digress...

  3. Check out some CVS project into your workspace. I used :ext:nickb@dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/org.eclipse.emf.releng, from HEAD.
  4. Open Mylyn's Task List view (Shift-Alt-Q, Q). Create a new Local Task or open an existing Bugzilla task. Enable the task.
  5. Unfilter the Package Explorer view.
    This is one of my *very* few complaints about Mylyn -- I'm starting a new task w/ no context, yet it insists on filtering my view to show me my non-existent context, so I can't start selecting files on which to work until I unfilter the view. But I digress again...
  6. Open the Synchronize View (Shift-Alt-Q, Y).
  7. Configure the view as shown below:

  8. In the Synchronize view, select the Change Sets presentation (the toolbar icon that looks like a file tree).
  9. Create a new Synchronization. Type CVS, Resources to synch: Workspace. Hit Finish.
  10. Open some files in the Package Explorer view, and edit them. Watch as they appear in the Synch view as items under your Change Set (ie., as changes for your Local or Bugzilla Task)
    It would be nice if the Change Set title included the bug number, or could be configured the same way that commit comments can be. Not crucial, just a handy enhancement. For now, the task's title is sufficient.
  11. Pick some file in the CVS-backed project and copy it within the same folder. Notice how it appears in the Synch view as an outgoing addition.



  12. Here's where the magic trick starts. Made sure your audience is still awake.

  13. Disable your Task.
  14. Copy some file (could be the same one as before, or a new one -- doesn't matter as long as it's in a CVS-backed project. The new file will appear in the Synchronize view under a new <Unassigned> Change Set.

  15. Re-enable your Task.
  16. In the synch view, select the new file from under the <Unassigned> Change Set.
  17. As you select the file, it will be added to Mylyn's context for that task, and appear in the filtered Package Explorer. Note however that it didn't change from the <Unassigned> Change Set to your Task's change set. So begins the magic.

  18. In the Synchronize view, select the Workspace presentation (the toolbar icon that looks like a file tree).
  19. When you expand the tree, you'll see that your new file does appear as you'd expect. This tree should mirror what's in the Package Explorer (as in previous screenshot).

  20. Switch back to the Change Sets presentation, and get ready for your exit with flourish.

  21. Lo, that new file has vanished!

Image from Happy Tree Friends - I Get a Trick Out of You.
Courtesy of Mondo Media / YouTube. Used without permission.

2008-04-20

Four and Twenty

Congratulations to Marcelo on the second release of his Progeny project. In tribute, I've released like-named EMF & XSD builds this weekend. (You may remember an EMF 2.2 build named for Elena's new arrival.)

Because I have a bit of a fixation with numbers (and some people have a sense of humour), there's also a new UML2 build.