« The Olympics: Britain in the lead. | Main| Book Review: A Snowball in Hell. »

The Real World: Eclipse and Subversion

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

Outside this placid and pretty place we call The Little Yellow Bubble (tm), developers use tools such as eclipse (which we're finally getting - yay! - in a few months ot years time - boo!). And in the Real World, developers have to use change control subsystems.

Change control, as you know, is the art of going 'woops - damn - let me reverse out that change' without losing ones career. Which is nice. Little Yellow Bubble land of course, has its own change control system - the rather excellent and spiffy TeamStudio Ciao. If you've not tried it yet - go and check it out. It'll save your ass career one day. Anywhoo.

In my rather mid-life-crisis attempt to actually get back to The Real World, I installed Eclipse (again, very cool), and Flex. Which is actually sub-zero cool. But thats another article.

Despite Casa Buchan having some 14+ server style machines of various operating system hanging around (everything bar iSeries and zSeries), I really didnt want to host my own change control server. Honestly. It'd probably break, and I'd lose everything, and then I'd cry. Which isnt good. So, I found this rather spiffy article on using Subversion with Flex (on Eclipse) with all sounded rather straightforward. It even recommended a free service from Assembla, which I signed up for. Using a on-line source control/change control repository also meant that the other members of my team - yes, I do work in a team - can participate, and help develop/debug this new cool Flex stuff.

Last but not least, we have a variety of platforms - XP, Mac Leopard, and (spit!) Vista.

Thanks to this article, I learnt that actually, subversion support wasnt actually built into Eclipse in a meaningful way. Some spanners and bolts had been dropped in there, but hadnt actually been joined to anything meaningful. So after a day or so of 'Captain Click' (Paul Mooneys excellent description of 'frantically hitting everything till it works'), it does, actually work. Even on Vista. Hurrah!

Which kinda leads me to the moral of the day. Why bother spending all your hard earned money on Microsoft/IBM development tools, just to find they dont work. You can download eclipse for FREE and find out that it doesnt work! See. Open Source - Saves you money.

Okay. Kidding. It does hang together, and sometimes you just have to spend a bit of time getting your brain bent around it. Especially if you (like me) have spent the last 10 years in the Little Yellow Bubble, and are used to stuff just working (most of the time). And does a subversion user become a subversive?

Now, I cant wait till Research in Motion finally release their JDK and MDS kits for Eclipse (so they can play too). I also would say that I'm desperately awaiting 8.5 and its LotusScript editor, but being a design partner, I cant offically comment on any of that stuff. Which is a shame. Still, not long now.

Comments

Gravatar Image1 - Bill, the stuff about the LS Editor is public knowledge. You don't have to keep tight-lipped as a Design Partner. It's publicly stated that it's slipped until post 8.5.0.

Subversion's a little tricky to understand -- mostly due to Eclipse-specific terminology, IMO. But man, once you get the hang of it, it's absolutely wonderful.

Have you tried actually installing any Eclipse plugins into Designer-in-Eclipse yet? The very first thing I did with the beta was install Aptana on it, and switch .CSS, .XML and .JS editing to the Aptana editors. It was an excellent experience.

Yeah, it's going to take at least another version until the integration is completely baked, but once it is, it's going to make all those RADaquainted Domino developers about 10 times as productive -- especially if they're willing to commit fully to Java.

Gravatar Image2 - Add a simple bug/project and Mylyn and you'll achieve absolute zero cool. I haven't used it with DDE yet, just my plain RCP dev environment but it is the future. Tasktop extends it into something similar to Activities. Vote for Notes integration at their site: { Link }

Gravatar Image3 - Your timing is uncanny as I've spent the day pretty much getting my head around branching in SubVersion.. my nose isn't bleeding yet.

As I'm stuck in the unreal(?) world of .Net alot these days Emoticon .. I have been using SubVersion (SVN) a fair bit - since its a lot cheaper than Visual Source Safe.

It is good .. but slighty complicated - I'm not even sure that the terminology is that Eclipse specific .. just SVN specific ( probably easier to understand if your an expereiced CVS user) and yes Teamstudio CIAO is way easier.

I can totally recommend TortoiseSVN (free) as a client - you just get file system level integration but it works well (windows only?) and check out ProjectLocker if you want a cheap (about £6 per month ) SVN host that is dead easy to setup and it also supports integration with other platforms .. you can even get tweeted/twittered on each commit if you like and it has 'trac' problem management integration as well.


Gravatar Image4 - Over on the nearly defunct LotusAdvisor web site is a nice article/sample DB from Terrance Crow showing how to use DXL to export/import your design elements as a no-frills source control tool. Of course I can't find it now... but it does exist.

Gravatar Image5 - I agree with Scott about TortoiseSVN: dead simple Windows Explorer integration with SVN. But I've also been a fan for quite a while of Subclipse... I'm involved in at least 3 (that I can think of) community projects at the moment where SVN is allowing team collaboration that would be a nightmare without it.

Gravatar Image6 - I had issues with subversion-plugin, too (no fun). You may use TortoiseSVN as - you know - Eclipse stores anything in the file system.

Gravatar Image7 - To setup and administer your own subversion server is actually quite easy. It doesn't need that much ressources. We run it on a 1GB RAm VM.

Gravatar Image8 - Wow. Chaps, one and all, thank you for your input.

Its been a blast. Nathan, I've frankly lost track of what is and what isnt in the latest release. I think it was easier when I didnt know.

Subversion. Well, put it this way. I remember porting CSV onto a machine. Before my teenage daughter was born. So I wanted *something* newer.


Domino design element - with DIFF - into a Subversion repository ? Nice. Soon, I hope.

---* Bill

Gravatar Image9 - Emoticon Well, Subversion has a real showstopper when it comes to integration with Domino, and that is that it stores its meta-data in the same folder as the source files. Which is kind of a bummer, if your "source file" as an agent on the server.

But, all hope is not lost. The work has just begun on rewriting the Subversion to have the meta-data stored in a configurable location anywhere on the disk.

This, I think, is the last piece of the puzzle required to enable Subversion integration with Notes Designer.

Gravatar Image10 - Oh, I just forgot to mention that we use Eclipse and Subversion for Domino development for years. The best decision we ever made...

In case you're wondering how; we've rewritten our application entirely in Java where possible. And if you're a web developer, that also means JavaScript libraries and CSS resources in Subversion as well.

Gravatar Image11 - Nice one!


Of course, thanks to Keith Smillie of Aberdeen, and Domiclipse, we've been able to edit Domino Java agents for years now.. Mmm...


--* Bill

Gravatar Image12 - Well, we got used to having our Agents exported to the disk. I heard of Domiclipse later, and unfortunately it meant "no Subversion", so we decided against it.

Gravatar Image13 - Hey Bill, thanks for the link to my Subversion/Flex/Assembla article.

How's Flex been treating you?

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

All my past and future presentations can be found here

Finalist's Site Marker 3.jpg

www.flickr.com
wildbillbuchan's photos More of wildbillbuchan's photos

Quick Bill


I'm
- a Lotus Domino Dual PCLP - that is, a SysAdmin PCLP and an AppDev PCLP (or IBM Certified Advanced Application Developer and Advanced System Administrator) in nd7, v6, v5, v4 and v3. (one of 20 worldwide!)
- an IBM Certified System Administrator - Websphere Portal v5.0
- an IBM Certified Solutions Developer - Websphere Portal v5.0
- an IBM Certified Associate Developer - Websphere Studio v5
- an IBM Certified Solutions Expert - Websphere v4.0.
- a SUN Java 2 Certified Programmer
- a (probably lapsed now) Microsoft MCSE in Windows NT4.
- a (definately) lapsed now CLP in cc:Mail v2 and v6

Blogrolls







ND7

PB-DOMPOST-00_md_thumb.jpg