Archive for the ‘tool’ Category

turnkey solution – Virtual machine for applications

Monday, March 21st, 2011

Just back from vacation, and want to recommend two web sites which I used for application ready in virtual machine image.

imagehttp://www.turnkeylinux.org/ is my favorite place to download the application like redmine, since it will be difficult for me to install RoR in Ubuntu, by using turnkey virtual machine, I can load into virtualbox in seconds !!

And it has good design for the architecture, it will display the text GUI for the most important information (like ip address for different service), then I can easily to access it using web shell.

image image

imageAnother good web site I just notice is http://bitnami.org/ , I didn’t look into so much, it seems it can provide module, so you can install several applications into one, which turnkeylinux.org doesn’t provide.

And also bitnami can install your application into windows, interesting.

Both support Amazon image, it will be a hot area.

Summary

  1. If you want to do demo or some trial, you don’t need to install from scratch, go there and download the virtual machine, and load into your Virtualbox or VMWare directly
  2. We can learn it as well to build our application into virtual machine
  3. We could launch virtual machine for our environment as well, and it is easy to be version controlled as well, I can reload the old environment in fly, can we do it now ?

ALM first setup for designers – 1

Thursday, December 30th, 2010

imageIn ALM (Application Lifecycle Management), for designers, it needs to

  1. deal with issue management system to fetch requirement/tasks
  2. coding towards version control system
  3. montior/trigger CI building system after commit
  4. And all this are better to be integrated into IDE system

Here we use teamforge as issue management system, git as VCS, and hudson as CI, and we use eclipse as IDE, now it is possible to work together, this free version is not integrated perfect, but we can see what it could be.

Mylyn connector is used in eclipse IDE to deal with the issue management system

What we needed

Now you be able to do them all in one IDE, I ask some colleagues to demo this in more practically, but you can start to experience.

I will also hack the gitweb script to let you link commited codes directly to the issues (requirement)

Will hudson be renamed ?

Monday, December 20th, 2010

image

Shanbo mentioned the new home for hudson http://hudson-labs.org/, and I spend time to look into it.

Hudson is also the de-facto CI tools, and you can take a look at http://nectar.cloudbees.com/about.cb, where you can find the simple history, Kohsuke created hudson in Sun and left (probably after oracle’s buying).

Please read http://hudson-labs.org/content/whos-driving-thing , the hudson community wants to leave oracle’s umbrella (move codes from java.net to github), and kohsuke points out some nice features in github (it is not just a git repositories management tool), lots of developers (include user) vote for the VCS’c changes. Later oracle managers comes out to reject this changes.

What will happen ?? probably hudson will be forked and renamed since the name/trademark is owned by Oracle.

This is good for open source tools, no one can control it.

So how about other open source tools from Sun (thank David for the information), opensolaris is killed, openoffice is forked and renamed to libreoffice (http://www.documentfoundation.org/), virtualbox, mysql, glassfish, let time to see it.

By the way, after google bought instantiation, they donated the excellent plugins (WindowsBuilder and CodePro profiler) to the eclipse community. ;-) , different company has different stratgy and I like google

ALM – sonatype professional edition

Friday, December 17th, 2010

image I mentioned sonatype professional edition once for EclipseSummit blogs, now it is open for trail and the information is released out http://www.sonatype.com/sonatype-professional.html, it seems they come into ALM business domain as well.

Sonatype is famous for their maven knowledge, not only the m2eclipse tool but also lots of maven books for free, also they have nice maven 3pp repository tool – nexus. (free and professional version), this is the left part in the picture.

Now they want to extend to test area and create a commercial development suite (Sonatype Professional), besides original nexus professional and m2eclipse, there are two new things “matrix professional” and “develop onboarding”. maven central is for maven repositories.

Matrix professional

It is customized hudson version to better integrate some features inside eclipse, so during eclipse, developers can notice the building information, and click the failed tasks to fix the test case directly without leaving eclipse IDE.

I think they add extra interface in hudson, and I don’t know whether these features will be contributed to hudson community as well (not now I guess).

This is the first time I see the excellent hudson integration inside IDE.

Develop onboarding

It always cause extra time to setup the eclipse environment for the developers to start to work, like source code branches, plugins, working tasks, unlike code2cloud (tasktop and vmware solution), they use nexus server as repositories to store (transfer) those information.

Good approach, but I don’t know whether company will buy for this.

Summary

it is nice step for sonatype for new business, and hudson integration looks nice, and I do hope it can contribute back to hudson community and they charge on eclipse plugin only.

develop onboarding is a smart approach for this kind of problem, needs time to see how many problem it really solves.

ALM solution is very hot now.

I am doing trial for this sonatype professional, if I have new findings, I will post here.

book review – Agile ALM (MEAP)

Thursday, December 16th, 2010

image When ebook comes out, I am used to pay more for the books, especially when I receive 50% discount (countdown to 2011 from manning) for this Agile ALM book from manning.

This kind of calendar seems quite popular in Western country, I am not sure when Chinese market will import this as new business ;-) , since we are used to have x-mas now, though it is not traditional holiday.

Ok, back to the book, it worths the pay, and I spend one week to read it completely.

Agile ALM book review

Quick go through

imageGenerally it is an excellent book, since seldom there are books to cover this area, maybe you think it is another busiword for “Agile ALM”, actually it really gives the another angle to think about the ALM (mostly tools inside) to help you to evaluate the tools, mainly he wants to introduce the lightweight tools suite and connect them together.

In Part I, it is kind introduction and strategy thinking.

Michael (author) describes why he introduced Agile ALM and his thinking what it could be, it gives a lot of new thinking on this area why we need ALM and what is the “requirement” for it.

Probably you need to revisit these part after the whole book to understand them more, this is one excellent style for this book, give some theory first, probably you will not understand it quickly, then comes more practical information to tool level, in the end, go back to those theory, you will master it (hopefully).

In Part II, it help you to understand Agile ALM into second levels to start connect with your normal works by describing the scrum (popular agile framework) and task management.

Scrum and Task-based development are two key parts of current ALM trends since all ALM starts with issue management and try to fit for the needs of scrum (planning and release).

Though in MEAP version, Scrum is not well described, but it will be fixed when it is finally released

For the task part, mylyn is quite different approach compare to the normal task management in web sites, it is great it is mentioned here though it is not so detail. (BTW, you can’t expect the book describe everything you want to know, then it is not a book, it is internet ;-)

Part III and Part IV are mostly tool description, it is good there are introduction pages in the beginning to give your the relation with Agile ALM, it touchs building (maven), 3pp management (maven repository), CI (teamcity), release (maven, svn), testing (mock tool/TestNG for unit level and FitNesse/Selenium).

Mostly with those tools introduction, you can understand more for Agile ALM, we really need good tools to support your agile WoW, when you go through all those tools, you can understand more on detail of Agile ALM to see which is important features inside.

Other findings in the book

it is always quite challenge to describe tools in the book (long duration for the book before publish), since it is used to be out of date quickly, therefore keep it in good level is key, fortunately it is good in this book.

Summary

Anyway nice to read it if you are doing agile way of working, and you don’t know how to deal with the infrastruture to the changes, it is the book need to buy.

If you don’t want to see details in tools, you can just download first chapter (which is free) to get introduction for agile ALM, though I really encourage you to buy it and master this.

Others

Michael will also present this in jfokus2011 in Stockholm (http://www.jfokus.se/jfokus/speakers.jsp), be there to know more.

By the way, I like the MEAP book (Manning Early Access Program), it gives your the chance to discuss with author directly, and insight thinking, surely if lucky, you can influence the information inside

ditaa – DIagrams Through Ascii Art –> Why ?

Tuesday, December 14th, 2010

imagewhen I am trying the solution for maven markdown plugins for request, I noticed another interesting project http://ditaa.sourceforge.net/

Generally you write simple text (ascii art), the ditaa tool will help you to generate cute diagram automatically, it is useful for javadoc and wiki or (markdown documents).

Similar things like text2uml http://www.websequencediagrams.com/.

Why people like this text2diagrams ?

from agile/lean point of view, it is less task switch, each switch will cause waste (http://agile.dzone.com/articles/waste-6-task-switching), mostr of developers use at least texteditor as central (not matter IDE or not) to deal with the source codes, it is very time consuming to switch to another tool (also different tool for different purpose).

from programmer point of view, besides it is the hack spirit (quite important to most of developers), and using text, it is easy to tranfer or put into version control system.

ALM solution – Meeting with sales from codebeamer

Wednesday, December 8th, 2010

imageToday, I had a workshop with sales-man from codebeamer’s partner (codebeamer – http://intland.com, its partner – http://cbchina.esast.com), it is a nice product.

Last time, when I visited codebeamer’s demo booth during EclipseSummit2010, and quite interesting for their git usage (in their company) and also this nice product codebeamer, and this time, i had the chance to look into detail.

It is quite similar to JIRA/ScrumWorks Pro version in high level, but in detail it has difficult focus, all those levels ALM solution cover

  • All of them are mainly issues management tool as basic with good authentication (like integration with LDAP server)
  • Good extension, it is possible to open API to integration other products
  • Start to cover agile planning part (e-whiteboard), like GreenHopper for JIRA, ScrumWork Pro surely support Scrum and kanban, ScrumWizard is added for codebeamer as well
  • All are friendly to Mylyn due to mylyn’s good framework.
  • Multi SCM support, all of them are well support to svn/git

What’s nice things I noticed in codebeamer (server side and client side)

  • Strong wiki support with extension (marco) in everywhere
    In other ALM system, like task detail description, it uses html or plain text, it is very difficult to post internal connection, in codebeamer, it can embed useful report and connect to internal system easily using like [TSK:001], it can be automaticly linked to that task
  • Auto release notes generation, in the release notes, it will automatically collected finished requirements (marked in issues management), it is very nice small feature, since most of release notes are copy/paste from somewhere, it is used for forget sth. in report
  • changes in source codes are associated with requirements, it is done in “Eclipse Suite” (codebeamer eclipse plugin), and it is done automaticlly (it detects your current active tasks and fill in when you commit the codes), later from the web, you will be able to see which codes are changed for which requirements, it is excellent for bugs.
  • Some nice integration with hudson in web side, but I forget what it is ;-)
  • Seems good support for external git repositories, since I notice lots of different ways to sync git repositories
  • some workflow are defined inside, seems quite good though I didn’t really follow it, it is key features in codebeamer since they target to lots of business domain (not only software ?)

See official feature list: http://www.intland.com/products/cb/features.html and their comparison http://www.intland.com/products/cb/comparison.html

Somethings I wanted are missed in codebeamer

  • less test case management as default, it is stated to be done in test case management tool side to develop plugin to codebeamer
  • hudson integration in client side

Need time to look into it and find more valuable things.

Since Agile ALM needs to integration lots of things and make it smoothly as much as possible, therefore it needs to practice more to understand each part.

Hopefully the local agile (scrum) communinty can start to look into these areas beside pure process discussion ;-)

ALM – Code2Cloud

Friday, December 3rd, 2010

imageLet’s take a look Code2Cloud ALM solution from tasktop http://tasktop.com/connectors/code2cloud.php, though the product is not released yet, the discussion is already spread out, and now I have the time to look in detail

- Video introduction: http://tasktop.com/connectors/code2cloud.php
- the interview @ infoq http://www.infoq.com/interviews/tasktop-kersten-choksi

CodeCloud is the new way thinking of ALM, and it is working result by cooperation between tasktop (mylyn) and VMware’s, so there are something inside related

  1. task management is based on mylyn, but it also moves to server side and possible to moving your issues from one server to another server smoothly (mentioned in the interview), surely this part will not be available in first release, since there are too many integration work, and to make it smoothly needs lots of efforts
  2. cloud is the buzz words, and this comes from VMWare, but not so much technology behind, it simply to put bugzilla, git repository management tool (probably gerrit), hudson, spring server into one virtual machine, so developers can get what needed from one resource, it can save lots of deployment time and integration cost, worth doing it. But without it, probably we can do it by ourselves.
  3. App runtime is mostly the buzz words as well here, and it comes from springsource (division of VMware now), it embed Spring Application server probably and also some tools like Spring Roo? (http://www.springsource.org/roo), therefore if it is not based on springframework, probably we need extra settings.

Summary

CodeCloud currently is just a prototype and good vision in the long term, the most challenge

For developers : Whether developers can be used to enjoy task focused development model (mylyn)
For tasktop: whether they can smoothly integrate everything inside (hudson,git). (I see successful story from sonatype and codebeam), and whether they can quickly integrate external system

Anyway, let’s waiting for the first release to see what will happen, to really use it needs longer time, probably happen in Q3, 2011

let’s start try to use mylyn and be used to it first.

ASD – another modelling tool

Wednesday, December 1st, 2010

The tool comes from http://www.verum.com/ , see quick introduction from their web sites

image

Model driven development exists longer time, and it is hot topic every where, mostly each tool has its limitation and pre-condition.

Hopefully this can solve some problems for us

 

EclipseSummit2010 – Day 1

Wednesday, November 3rd, 2010

image 

Today I attend the eclipse summit 2010 (http://www.eclipsecon.org/summiteurope2010/) in Ludwigsburg, Germany, this is the first day, which is arranged as tutorial as normal.

Morning, I join the “Anatomy of an e4 application” http://www.eclipse.org/e4/, which is planned to be feature of RCP and new eclipse platform in eclipse 4.x, compare to my codekata, it is little boring, since it lasts so long time. 2hours’ presentation adn 2 hours’ exercises, the platform itselfs is still alphe/beta release, lots of unstable things, even for the “Hello World” application, it is little complex if you have never touched this area, this also means DO NOT plan you application to be eclipse 4.x in coming 2 years

imageThere is the corner for “Library Cafe”, where I spend time reading a good book “The Agile Samurai” http://oreilly.com/catalog/9781934356586, good but not perfect. ;-) .

The coming 2 days seems more interesting, and I hope I can really generate more ideas for our products like 4 years ago, which I attended same summit.

My focus areas in this summit will be

- git
- cloud
- agile
- CDT