<?xml version="1.0" encoding="iso-8859-1"?>



<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://blogs.codehaus.org/people/vmassol/">
<title>Vincent Massol Think Tank</title>
<link>http://blogs.codehaus.org/people/vmassol/</link>
<description>On software quality, collaborative development and Open Source.</description>
<dc:language>en-us</dc:language>
<dc:creator></dc:creator>
<dc:date>2007-12-19T10:25:25+00:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.661" />


<items>
<rdf:Seq><rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001647_great_new_searcharchiving_service_markmail.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001624_xwiki_presentation_valtech_days_2007.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001618_xwiki_maven_meetup.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001564_maven_support_just_got_better_with_sonatype.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001465_maven_conference_montreal.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001464_joining_xwiki.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001373_mavenday_2006_in_paris.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001371_checking_for_since.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001370_easy_unit_testing_of_file_operations.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001369_intellib.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001357_maven2_book_is_out.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001354_microsoft_technology_summit_2006_mts06.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001353_interview_on_maven_cargo_and_offshore.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001350_new_job_microsoft.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001338_wanted_wiki_features.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001325_how_can_i_improve_my_oss_project_managment_skills.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001324_ensuring_binary_compatibility.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001314_documentationdriven_development.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001307_cargo_v07_and_maven2_plugin_v01.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001275_javapolis_2005_slides_on_maven_2.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001218_welcome_to_the_matrix.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001209_database_manipulation_framework_wanted.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001188_farewell_to_nicolas_chalumeau.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001181_google_summer_of_code_results.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001170_javazone_2005.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001132_cds_vs_yds.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001114_white_paper_on_agile_offhore_french.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001097_manvebookorg_is_live.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001065_maven_using_the_cargo_plugin_for_testing.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001064_cargo_05_released.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001063_clirr_rocks.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001036_id_love_reusable_ant_tasks.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001007_increasing_open_source_project_contributions.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001006_distributed_build.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/001003_maven_book_and_maven_quiz.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000976_getting_svnsshprivate_key_to_work_in_intellij_ideaeclipse.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000963_javapolis_2004_maven_presentation.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000953_binary_dependency_builds.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000939_top_buildbreakers.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000931_javapolis_2004.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000905_6_jira_issuesmells.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000893_using_cargo_04_for_functional_testing.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000877_logifier.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000874_ossgtp_4th_meeting.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000869_omea_pro_review.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000842_writing_a_jira_3_plugin.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000789_cci_container_client_interface.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000783_maven_abbot_plugin_10_released.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000782_my_current_oss_todo_list.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000774_best_practice_source_code_communication.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000716_back_from_tsss_2004.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000688_what_is_pattern_testing.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000680_offshore_project_manager_interview.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000679_theserverside_symposium_2004.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000682_maven_statcvs_plugin_moved.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000675_common_source_parsing_storage_format_wanted.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000683_fisheye_for_cactus.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000670_faq_bots.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000652_rss_reader_should_diff_updates.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000684_maven_jetty_plugin_10_released.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000644_diffing_continuous_build_results.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000685_patterntesting_lead_changed.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000609_what_does_collaborative_offshore_and_ejbs_have_in_common_.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000605_database_testing_strategy_in_build.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000601_what_is_wrong_with_starteam.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000598_fighting_blog_spam_with_captchas.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000530_jini_ide_is_it_the_future.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000597_enlightening_build.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000520_cactus_v2_architecture_proposal.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000274_junit_in_action_book_signing_in_paris.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000273_cactus_new_vision.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000239_junit_in_action_news.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000250_mocking_classes_with_easymock.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000208_junit_in_action_off_to_press.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000170_using_rollbacks_for_unit_testing_database_code.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000681_maven_statcvs_plugin_20_released.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000138_aop_unit_testing_example.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000137_groovy_mock_objects_friendly.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000132_need_help_to_find_concept_map_software.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000098_evolving_javabased_apis_the_nightmare_of_binary_compatibility.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000080_back_from_tsss.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000066_theserverside_symposium.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000039_javaone_2003_blogs.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000036_eclipse_plugin_for_subversion.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000033_maven_checkstyle_plugin_now_supports_checkstyle_31.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000030_book_junit_in_action.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000028_maven_plugin_for_cactus_30_in_cvs.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000023_project_documentation_wiki_cvs_ml_html.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000022_mock_objects_releases.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000020_cactus_news_through_rss_feed.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000017_starteam_woes_followup.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000014_rss_feed_reader.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000008_subversion_pros_and_cons.html" />
<rdf:li rdf:resource="http://blogs.codehaus.org/people/vmassol/archives/000007_starteam_woes.html" />
</rdf:Seq>
</items>

</channel>

<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001647_great_new_searcharchiving_service_markmail.html">
<title>Great new search/archiving service: Markmail</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001647_great_new_searcharchiving_service_markmail.html</link>
<description><![CDATA[<p>Jason Hunter was kind enough to set up a <a href="http://xwiki.markmail.org">Markmail site for XWiki</a>. <a href="http://markmail.org/">Markmail</a> is a mailing list archiving tool with a powerful search feature.</p>
<p>What sets it apart from other such tool IMO is the UI and speed/quality of search. I especially like the ability to see who's sending the most mails to a list and the nice syntax coloring display of emails (in addition to the thread view). Another nice feature is that emails are indexed a few seconds after they have been received by the list (compared to several hours with other tools). I love it :)
</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2007-12-19T10:25:25+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001624_xwiki_presentation_valtech_days_2007.html">
<title>XWiki presentation @ Valtech Days 2007</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001624_xwiki_presentation_valtech_days_2007.html</link>
<description><![CDATA[<p>I was invited to speak about the XWiki platform at the <a href="http://www.valtech.fr/fr/index/valtech_days.html">Valtech Days 2007</a>. It was a very interesting event, focused on Agility.  I presented XWiki a bit differently than what we are used to. Whereas XWiki was an Enterprise Wiki not long ago, it's really now a development platform for writing collaborative web applications (and more specifically applications focused on content). The presentation focused on the platform and what type of applications it's possible to build on top of it.</p>
<p>My slides are <a href="http://codehaus.org/~vmassol/blog/XWiki-ValtechDays-2007.ppt">available online</a>.</p>
]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2007-10-24T09:40:17+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001618_xwiki_maven_meetup.html">
<title>XWiki + Maven meetup</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001618_xwiki_maven_meetup.html</link>
<description><![CDATA[<p>
<a href="http://ludovic.org">Ludovic</a> and I are in the Silicon Valley between the 6th of October to the 12th of October 2007. We've been kindly invited by Google for the Google Summer of Code Mentor Summit (Thanks Google!) and we're taking that occasion to spend some time in the valley to meet the maximum number of people and talk about wikis and <a href="http://xwiki.org">XWiki</a>.
</p>
<p>If you're interested to meet up register on the <a href="http://www.facebook.com/event.php?eid=5630598061">Facebook event</a>.</p>
<p>We have also organized a joint XWiki and <a href="http://maven.apache.org">Maven</a> tech meetup on the 9th of October, at Terracotta. Indeed Terracotta has been extermely kind not only to lend us a room but also  to cater for some pizzas and snacks :) Thanks Terraccotta!</p>
<p>The address is:</p>
<pre>
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
</pre>
<p><a href="http://blogs.sonatype.com/jvanzyl">Jason Van Zyl</a>, creator of Maven will be there too!</p>
<p>I hope to see a lot of you there!</p>

]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2007-10-06T00:19:45+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001564_maven_support_just_got_better_with_sonatype.html">
<title>Maven support just got better with Sonatype</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001564_maven_support_just_got_better_with_sonatype.html</link>
<description><![CDATA[<p>My friend <a href="http://blogs.maven.org/jvanzyl/">Jason Van Zyl</a> has started <a href="http://www.sonatype.com/">Sonatype</a>, a new company focused on Maven for the Enterprise and providing support, training and consulting for Maven. He's been joined by several talented Maven committers (<a href="http://www.ejlife.net/blogs/buildchimp">John Casey</a>, <a href="http://www.sonatype.com/about.html">Kenney Westerhof</a>, <a href="http://handyande.co.uk/Coding_News">Andrew Williams</a>, <a href="http://coderoshi.blogspot.com/">Eric Redmond</a> and <a href="http://www.sonatype.com/about.html">Eirik Bjørsnøs</a>) which make their team one of the most knowledgable team on the Maven topic on the planet. Knowing Jason's generosity and dedication to Maven you can be sure that this is the best possible move for the Maven project and it's great for the Maven ecosystem at large. As a proof, Sonatype has already delivered a <a href="http://www.sonatype.com/book/index.html">great (and free) Maven book</a>.</p>
<p>I'm also happy to report that <a href="http://xwiki.org">XWiki</a> (the company and open source project I work for) is a <a href="http://www.sonatype.com/partners/partners.html">Sonatype Partner</a>. I'd love to see Maven products built on top of XWiki. I think <a href="http://www.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki">XWiki's flexibility</a> makes it an ideal platform for building those products and at the same time empowering them with collaborative features. In the near future I'll work closely with Jason and his team to integrate XWiki and Maven and hopefully we'll see some cool things out of this.</p>
<p>Well done guys and long live Sonatype!</p>
]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2007-05-05T18:53:28+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001465_maven_conference_montreal.html">
<title>Maven Conference @ Montreal</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001465_maven_conference_montreal.html</link>
<description><![CDATA[<p>Mid December 2006 I was invited by the <a href="http://www.crim.ca/">CRIM</a> thanks to <a href="http://www.crim.ca/fr/siveton_vincent.html">Vincent Siveton</a> (Maven committer) to give a presentation on how to implement Quality on projects with Maven2. <a href="http://blogs.maven.org/jvanzyl">Jason Van Zyl</a> was also there and he talked and gave demonstrations of Maven2, Continuum and Archiva.</p>
<p>The conference was very well organized and the training room was superb. Thanks Vincent for setting this up.</p>
<p>I've made my slides available <a href="http://codehaus.org/~vmassol/blog/Quality-with-Maven2-20061201.ppt">here</a>.</p>
]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-12-17T17:10:54+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001464_joining_xwiki.html">
<title>Joining XWiki!</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001464_joining_xwiki.html</link>
<description><![CDATA[<p>I'm happy to announce that I'm joining <a href="http://www.xwiki.com">XPertNet</a> in the role of CTO. XPertNet is the company behind the open source <a href="http://www.xwiki.org">XWiki</a> product.</p>
<p>I'm extremely excited on several accounts:</p>
<ul>
<li>I'll be coming back to my first love which is software development. Even though I've continued doing development over all those years it was mostly during my free time, working on open source projects (mostly <a href="http://jakarta.apache.org/cactus">Cactus</a>, <a href="http://maven.apache.org">Maven</a> and <a href="http://cargo.codehaus.org">Cargo</a>). I'm glad to be able to bring software development in my day time job.</li>
<li>I've spent the last 9 years doing consulting (IT Architecture consulting and then Offshore software development consulting). I was keen to build a product and focus on that single job. I'll still do varied jobs of course but it'll be centered around a product.</li>
<li>I strongly believe wikis are only just entering the general market. They were niche tools so far but I have the feeling they're going to get more mainstream in the coming years. Of course XWiki is not just a simple wiki, it's actually a <a href="http://www.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki">second generation wiki</a>, on which collaborative web application can be developed (in short, take almost any "Web 2.0 application" - whatever it means! - and XWiki is a good candidate for building it).</li>
</ul>
<p>I'm now off to <a href="http://www.javapolis.com/">Javapolis 2006</a> where I'll be manning the XWiki booth with <a href="http://www.ludovic.org/">Ludovic</a> and <a href="http://wikibc.blogspot.com">Guillaume</a>. Come and say hello to us!</p>
]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-12-12T21:27:17+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001373_mavenday_2006_in_paris.html">
<title>MavenDay 2006 in Paris</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001373_mavenday_2006_in_paris.html</link>
<description><![CDATA[<p>I'm a bit late to report on this but we've have had a very nice <a href="http://www.application-servers.com/conf/2006/mavenday/index.html">Maven Day</a> in Paris in early July 2006, co-organized by <a href="http://www.application-servers.com/">Application-Servers.com</a> and the <a href="http://www.ossgtp.org">OSSGTP</a> (Parisian open sourcer group). Thanks to <a href="http://www.improve.fr">Improve</a> for sponsoring the event!</p>
<p>We were lucky to have Jason Van Zyl talk about new Maven2 stuff and especially the Repository Manager and the maven.org development platform. Emmanuel Venisse has done a presentation on Continuum, Fabrice Bellingard has presented a return of experience of implementing Maven in a large company and I have done a quick presentation of <a href="http://codehaus.org/~vmassol/blog/Panorama%20of%20Quality%20Features%20in%20Maven2%20-%2020060711.ppt">new quality features in Maven2</a>. See <a href="http://morlhon.net/blog/index.php/2006/07/19/94-meeting-with-jason-van-zyl">Jean-Laurent's blog entry</a> for more details.</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-07-27T21:30:20+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001371_checking_for_since.html">
<title>Checking for @since</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001371_checking_for_since.html</link>
<description><![CDATA[<p>It would be nice if there were a tool that could verify that you have correctly added <code>@since
</code>
 tags for methods added in the current version. It would do this by checking against the previous release.</p>
<p>This tool could be based on <a href="http://clirr.sourceforge.net/">Clirr</a> or <a href="http://www.jdiff.org/">JDiff</a> for example. It would also have an option to fail the build if there are new methods without a <code>@since
</code>
 tag.</p>
<p>Do you know if such a tool exists?</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-07-18T08:19:54+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001370_easy_unit_testing_of_file_operations.html">
<title>Easy unit testing of File operations</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001370_easy_unit_testing_of_file_operations.html</link>
<description><![CDATA[<p>The experience that I'm relating here is part of an exploratory refactoring that I'm currently doing on the <a href="http://cargo.codehaus.org">Cargo</a> code base. 
  Till now we were using Java File objects for representing J2EE archives or container installation and configuration directories. This is ok but it makes unit testing a little bit complex when it comes
to unit testing File operations. The reason is that you need to define a location on your local file system where you're going to read/write files to, clean up the files, etc.</p>

<p>Here's a method we had (it expands a JAR file):</p>

<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><pre><div class="code"><pre>    <span class="category1">public</span> <span class="category1">void</span> expandToPath(<span class="category2">String</span> path) <span class="category1">throws</span> <span class="category2">IOException</span>
    {
         <span class="category2">File</span> workDir = <span class="category1">new</span> <span class="category2">File</span>(path);
         JarInputStream inputStream = getContentAsStream();
         
         <span class="category1">byte</span>[] buffer = <span class="category1">new</span> <span class="category1">byte</span>[40960];
         
         <span class="category2">ZipEntry</span> entry;
         <span class="category1">while</span> ((entry = inputStream.getNextEntry()) != <span class="category1">null</span>)
         {
              <span class="category2">String</span> entryName = entry.getName();
              entryName = entryName.replace('/', File.separatorChar);
              
              <span class="category2">String</span> outFileName = workDir.getPath() + File.separator + entryName;
              <span class="category2">File</span> outFile = <span class="category1">new</span> <span class="category2">File</span>(outFileName);
              
              <span class="category1">if</span> (outFileName.endsWith("<span class="quote">/</span>") || outFileName.endsWith("<span class="quote">\\</span>"))
              {
                   outFile.mkdirs();
               }
              <span class="category1">else</span>
              {
                   <span class="category1">if</span> (!outFile.getParentFile().exists())
                   {
                        outFile.getParentFile().mkdirs();
                    }
                   
                   <span class="category1">if</span> (!outFile.exists())
                   {
                        outFile.createNewFile();
                    }
                   
                   <span class="category2">FileOutputStream</span> out = <span class="category1">new</span> <span class="category2">FileOutputStream</span>(outFile);
                   <span class="category1">int</span> read;
                   <span class="category1">while</span> ((read = inputStream.read(buffer)) &gt; 0)
                   {
                        out.write(buffer, 0, read);
                    }
                   
                   out.close();
               }
          }
         inputStream.close();
     }</pre></div>
</pre></div>

<p>Here's how I've transformed the method by removing all <code>File
</code>
 operations and instead introducing a <code>FileHandler
</code>
 interface with the following methods, equivalent to the <code>File
</code>
 ones:</p>
<ul>
  <li>append(URI, String): appends a suffix to a URI</li>
  <li>mkdirs(URI): create directories for the URI</li>
  <li>exists(URI): return true if the URI exists</li>
  <li>createFile(URI): create a file</li>
  <li>getOutputStream(URI): get an output stream for the passed URI</li>
</ul>

<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><pre><div class="code"><pre>    <span class="category1">public</span> <span class="category1">void</span> expandToPath(URI path) <span class="category1">throws</span> <span class="category2">IOException</span>
    {
         JarInputStream inputStream = getContentAsStream();
 
         <span class="category1">byte</span>[] buffer = <span class="category1">new</span> <span class="category1">byte</span>[40960];
 
         <span class="category2">ZipEntry</span> entry;
         <span class="category1">while</span> ((entry = inputStream.getNextEntry()) != <span class="category1">null</span>)
         {
              <span class="category2">String</span> entryName = entry.getName();
  
              URI outFile = getFileHandler().append(path, entryName);
  
              <span class="category1">if</span> (outFile.toString().endsWith("<span class="quote">/</span>"))
              {
                   getFileHandler().mkdirs(outFile);
               }
              <span class="category1">else</span>
              {
                   <span class="category1">if</span> (!getFileHandler().exists(getFileHandler().getParent(outFile)))
                   {
                        getFileHandler().mkdirs(getFileHandler().getParent(outFile));
                    }
   
                   <span class="category1">if</span> (!getFileHandler().exists(outFile))
                   {
                        getFileHandler().createFile(outFile);
                    }
   
                   <span class="category2">OutputStream</span> out = getFileHandler().getOutputStream(outFile);
                   <span class="category1">int</span> read;
                   <span class="category1">while</span> ((read = inputStream.read(buffer)) &gt; 0)
                   {
                        out.write(buffer, 0, read);
                    }
   
                   out.close();
               }
          }
         inputStream.close();
     }</pre></div>
</pre></div>
  
<p>The interesting part comes now. Because it was a bit hard to create a unit test for the original <code>expandToPath
</code>
 method nobody had done it. It would have involved passing a test JAR but more difficult it would
  have involved passing a target directory where the JAR would be expanded. This is not easy as the location of this target dir would depend from where the tests is executed and making it work seamlessly from both a build tool 
and from your IDE is not trivial. Here comes <a href="http://jakarta.apache.org/commons/vfs/">VFS</a> to help us. By implementing the <code>FileHandler
</code>
 interface using VFS, we can now write the following unit test:</p>
  
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><pre><div class="code"><pre>    <span class="category1">public</span> <span class="category1">void</span> testExpandToPath() <span class="category1">throws</span> <span class="category2">Exception</span>
    {
         URI jarURI = <span class="category1">new</span> URI("<span class="quote">ram:///test.jar</span>");
 
         FileObject testJar = VFS.getManager().resolveFile(jarURI.toString());
         <span class="category2">ZipOutputStream</span> zos = <span class="category1">new</span> <span class="category2">ZipOutputStream</span>(testJar.getContent().getOutputStream());
         <span class="category2">ZipEntry</span> zipEntry = <span class="category1">new</span> <span class="category2">ZipEntry</span>("<span class="quote">rootResource.txt</span>");
         zos.putNextEntry(zipEntry);
         zos.write("<span class="quote">Some content</span>".getBytes());
         zos.closeEntry();
         zos.close();
 
         DefaultJarArchive jarArchive = <span class="category1">new</span> DefaultJarArchive(jarURI);
         jarArchive.setFileHandler(<span class="category1">new</span> VFSFileHandler());
 
         jarArchive.expandToPath(<span class="category1">new</span> URI("<span class="quote">ram:///test</span>"));
 
         <span class="linecomment">// Verify that the rootResource.txt file has been correctly expanded</span>
         FileObject rootResource = VFS.getManager().resolveFile("<span class="quote">ram:///test/rootResource.txt</span>");
         assertTrue(rootResource.exists());
     }</pre></div>
</pre></div>

<p>Notice the use of the "ram:" URI scheme. This one of the <a href="http://jakarta.apache.org/commons/vfs/filesystems.html">many filesystems</a> supported by VFS and it means that all file operations will happen in a virtual file system in memory. 
  Also note that VFS doesn't currently support creating Zip files so we're using the JDK's <code>ZipOutputStream
</code>
 API.
The nice thing is that as this test operates in memory there's no need to define a target location on the file system.</p>

<p>The other nice thing is that by introducing VFS to this <code>expandToPath()
</code>
 method it's now possible to expand a JAR to any file system supported by VFS. We could thus expand to a FTP server, to a WebDAV repository, to an HTTP URL, to a remote machine using SSH, etc. All
this without changing a line to our code. Nice isn't it?</p>

  ]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-07-17T13:52:39+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001369_intellib.html">
<title>IntelliB</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001369_intellib.html</link>
<description><![CDATA[<p>(<b>Updated 2006-07-14</b>: Added section on discovering modules and added disclaimer at the end)</p>

<p>IntelliJ IDEA has revolutioned the IDE landscape by adding "intelligence" to IDEs. 
  A few days ago I did a thought experiment by asking myself the following question "how feasible would it be to build a project without knowing any meta-data about it?".
In other words, is it possible for a build tool to be intelligent enough to build a project without build files nor POMs. Said differently, is it possible to figure out a project's POM automatically?
Let's review some required typical meta-data information and see how they could be guessed.</p>

<h3>Source locations</h3>

<p>It is possible to guess where sources are by looking for <code>*.java
</code>
 files (for Java projects - The same applies for other project types). Now we still need to differentiate main sources from test sources 
but that's also relatively easy to do. We can check for classes extending JUnit's TestCase for example or the TestNG equivalent, or any other well-known testing framework.</p>

<p>Note: An interesting thing here is that to be intelligent we'd need the help of the community to add new rules to the discovery process. For example imagine that a new testing framework appears; we'd need to add 
it to the Test Discovery Rules. Thus, this type of intelligent build system would need to rely a lot on the community and thus would need to get its data from an online repository that could be edited by the community. </p>

<h3>Dependencies</h3>

<p>How do we detect project dependencies? One relatively way is to parse the sources that we have found above and find all external imports. Then query ibiblio to find matching package names (this information is present 
in Maven POMs on ibiblio). Now for guessing the version, there's no easy magic. A first approach would be to get the latest released version of the dependencies we've found.</p>

<h3>Project type</h3>

<p>Project types can easily be guessed by looking at some files. For example if a <code>web.xml
</code>
 file is present then it's a WAR project, if an <code>application.xml
</code>
 one is found then it's an EAR project, if a <code>jnlp
</code>
 file is found then it's a JNLP project, etc.</p>
  
<h3>SCM</h3>

<p>SCM can easily be guessed by looking for special files on the filesystem of the project. For example we would look for <code>.cvs
</code>
 directories for SCV and for <code>.svn
</code>
 files for Subversion, etc</p>
  
<h3>Developers</h3>

<p>Once we got the SCM URL we can then query the SCM to get the list of all developers.</p>

<h3>Project name</h3>

<p>The project name could be the name of the top level directory and the version could be set arbitrarily to 1.0. Actually we could even check ibiblio to see if the project is already on ibiblio, get the latest version there 
  and increase the minor number by one as a first order guess. Another strategy would be to query the SCM and look for tags and deduce existing versions by parsing those tags (there are some usual conventions for naming 
tags so it should be possible to make a good guess).</p>

<h3>Modules and artifacts</h3>

<p>Discovering the different modules of a project is probably one of the hardest thing to do. If you look at different projects in the wild I believe there are not that many directory structures out there. Maybe 10-15. Thus it 
  should be possible to register knowledge of these structures and let the tool discover which ones matches the closest with the project at hand. This would also allow to deduce the different artifacts that have to be generated.
  Of course it won't be perfect as there are projects which generate several artifacts and which may be in the same module. Again it's a question of doing 80% of the job and leaving 20% to be done manually.

<h3>Additional information</h3>

<p>Of course, the information found above are just guesses. In most cases they could be correct but of course we would need to offer a way for the user to edit them and to add any missing information.</p>

<h3>Conclusion</h3>

<p>I believe it should be possible to create such an intelligent meta-build project which could be used to generate files for one of the existing build system such as Maven, Ant, etc. For example it could create an internal POM file on 
which Maven could then be executed to produce the build results. At a minimum such a tool could be used to convert existing projects to Maven. I wonder how intelligent it could be but I guess it could go pretty far.</p>

<p>Disclaimer: Of course, such a tool would be bad from a conventions stand point. One of the great strength of Maven has been to standardize the directory structure of projects. I can go to any Maven project and I know exactly where 
stuff will, what will be generated, etc.</p>
  
<p>Are there other information which you think could be guessed automatically? Can you think of better algorithms to guess some of the information shown above?</p>


  ]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-07-13T09:54:49+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001357_maven2_book_is_out.html">
<title>Maven2 book is out</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001357_maven2_book_is_out.html</link>
<description><![CDATA[<p>Our Maven2 is book is officially out. Here's the marketing pitch:</p>
<blockquote>
<p>"Better Builds with Maven”"</p>
<ul>
  <li>is a comprehensive 'How-to' guide for use with Maven 2.0.4 and later</li>
  <li>is available free of charge and includes supporting sample code</li>
  <li>covers how to use Maven 2.0 to better manage the build, test and release cycles associated with software development</li>
  <li>is written for beginning and intermediate Maven users</li>
  <li>is authored by Maven experts</li>
  <li>Jason Van Zyl, Chief Architect and founder of Maven</li>
  <li>Vincent Massol, author of "Maven: a Developers Notebook"</li>
  <li>with chapters and key content and code contributions from leading Apache Software Foundation Maven Project members: Brett Porter, John Casey and Carlos Sanchez.</li>
  <li>is published by Mergere, Inc</li>
</ul>
<p>Content Includes:</p>
<ul>
  <li>An introduction to Maven 2.0</li>
  <li>Creating, compiling and packaging your first project</li>
  <li>Best practices and real-world examples</li>
  <li>Creating J2EE builds and using J2EE models</li>
  <li>Extending builds through plugins</li>
  <li>Monitoring source code, testing, dependencies and releases</li>
  <li>Leveraging repositories, Continuum for continuous integration and transitive dependencies</li>
  <li>Converting existing Ant builds to Maven</li>
</ul>
<p>Download a free copy at <a href="http://library.mergere.com">http://library.mergere.com</a>.</p>
</blockquote>
<p>I hope this book will help boost Maven2's adoption.</p>]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-04-27T10:05:50+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001354_microsoft_technology_summit_2006_mts06.html">
<title>Microsoft Technology Summit 2006 (MTS06)</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001354_microsoft_technology_summit_2006_mts06.html</link>
<description><![CDATA[<p>I was invited to the Microsoft Technology Summit 2006 (MTS06). The conference happened in Seattle, in Microsoft campus at Redmond. This year there were 40 people all luminaries selected from communities 
competing with MS technologies (Open Source, PHP, Java, etc). MS offices in different countries proposed several candidates which were then reviewed. I heard there were several criteria (having written 2 books, having a web site with more than so many visits per day, working on so many open source projects within known communities, etc). 
In my case, I was proposed by Steve Sfartz from MS France, along with 3 other frenchmen: <a href="http://www.dgirard.eu/">Didier Girard</a> of <a href="http://www.application-servers.com">application-servers.com</a> fame, and 
<a href="http://blog.wampserver.com/index.php/2006/04/15/microsoft-technology-summit-conclusion/">Romain Bourdon</a> and <a href="http://www.cyruss.com/blog/index.php?2006/04/15/84-microsoft-technology-summit-conclusion">Cyril Pierre de Geyer</a> from PHP France, AFUP and contributors to PHP open source projects. All expenses were paid by MS.</p>
<p>There were 2 main goals for this conference:</p>
<ul>
  <li>Reduce "FUD" spread by influential non-MS technology users by showing them what MS is actually working on. It's harder to spread FUD when you know the details...</li>
  <li>Get feedback from competitive technology users to improve MS products/technologies</li>
</ul>
<p>I applaud MS for having the foresight (and the money) to do this. It takes some vision and courage to set this up and allow everyone to blog freely about it.</p>
<p>Here are the topics we were shown during these 3 days:</p>
<ul>
  <li>Scripting and dynamic languages by Jim Hugunin</li>
  <li>.NET CLR 2.0 Reliability by Allesandro Catorcini</li>
  <li>GotDotNet and Communities	by Korby Parnell</li>
  <li>Open Source at Microsoft by Bill Hilf</li>
  <li>Microsoft Research by Rick Rashid</li>
  <li>WCF & WS-* by Don Box</li>
  <li>Internet Explorer by Dean Hachamovitch</li>
  <li>LINQ/C#	by Luca Bolognese, Anders Hejlsberg</li>
  <li>Executive General Session by Sanjay Parthasarathy</li>
  <li>XBOX Extensibility by Brian Keller</li>
  <li>WPF – next generation UI by Chris Anderson</li>
  <li>Windows Server “Longhorn” as an App Server by Doug Purdy</li>
  <li>ASP.NET/IIS7/Atlas by Scott Guthrie</li>
  <li>InfoCard by Mike Jones</li>
  <li>Windows Mobile/Embedded	by Mike Hall and David Karle</li>
  <li>eScience – the Next Decade.  Lessons learned and the path forward from TerraServer, SkyServer and bio-informatics	by Jim Gray</li>
  <li>Software Factories by Jack Greenfield</li>
</ul>
<p>What was the outcome? Was it effective?</p>
<p>It was certainly good to be invited (many thanks to Steve for that). The presentations were of mixed quality and I felt that the topics were too broad. There were some that were of interest to me but lots of others were not in my area of expertise/interest.
I've also felt that there were not enough participation to meet the original goal defined by MS.</p>
<p>I'd like to believe Microsoft was serious about the feedback we gave them but I'm not sure how much I can believe this... The reason I have some doubt is because the sessions were not meant to gather feedback but rather to 
  explain how things are done at Microsoft. If the goal of this conference is to get feedback then I think the format of the presentations could be much improved. Here are some ideas for next year (in case there's a MTS07):</p>
<ul>
  <li>Mix formal presentations with round tables sessions. Get 10 persons per table with each table having a Microsoft coach to drive discussions. Have different topics per table and let attendees pick the topics that interest them.</li>
  <li>Use the <a href="http://www.spaconference.org/">SPA conference</a> session formats as exemples. This idea is to have more workhop sessions than formal presentations to get everyone's participation and to get deliverables as part of the session's outputs.</li>
  <li>Feedback from everyone was provided at different point in time and to different Microsoft employees. The feedback was received verbally and there's currently no guarantee that the feedback will be remembered and acted upon. I'd suggest to
  have a large white board that is used throught the conference to record all ideas for improvement. This will also stimulate feedbacks.</li>
  <li>Report on all feedback submitted during the previous conference at the begining on the conference to show what impact the feedback has had.</li>
</ul>
<p>Note that I have received an email from MS pointing to survey where MS is asking for feedback. I'd still prefer giving the feedback during the conference and directly to the concerned people but with a way of ensuring that this feedback will
be tracked (whether it is used or not doesn't matter that much, what's important to me is that it is considered and that I know of the outcome).</p>
<p>All in all a very good week and in addition were had some nice treats: a welcome basket of eatable goodies and ... a one-year MSDN subscription! Now that's very nice and I'm pretty sure last year's participant must be jealous by now ;-). 
  BTW, on this topic of presents, there were some real disapointments when MS announced that we would have a 120$ voucher to buy stuff at the MS company store ... and when we later learned that this voucher was only the right to
spend up to 120$ at the store! I'd suggest to remove this next year as most around me (including me) have found this more negative than positive. Of course the announcement of the MSDN subscription the day after helped a lot overcome
this negative feeling ;-). We're too spoiled for sure...</p>
<p>Once more, thanks Steve and Microsoft for this very nice week!</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-04-23T15:52:47+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001353_interview_on_maven_cargo_and_offshore.html">
<title>Interview on Maven, Cargo and Offshore</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001353_interview_on_maven_cargo_and_offshore.html</link>
<description><![CDATA[<p><a href="http://www.almaer.com/blog/">Dion Almaer</a> has interviewed me during <a href="http://www.javapolis.com/confluence/display/JP05/Home">JavaPolis 2005</a>:</p>
<p>
<blockquote cite="http://www.javapolis.com/confluence/display/JP05/Home">
"During this Vincent Massol interview you'll receive more information on the status, philosophy and strenghts of Maven 2.0. "What were the shortcomings in Maven 1 and how do we now write maven 2 plugins ?" are just a few questions Dion Almaer asked. Other topics discussed are Continuum, Cargo and Agile outsourcing and offshoring... check it out."
</blockquote >
</p>
<p>The video is available <a href="http://www.javapolis.com/confluence/display/JP05/Vincent+Massol+Interview">here</a>.</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-04-21T14:20:34+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001350_new_job_microsoft.html">
<title>New job @ Microsoft</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001350_new_job_microsoft.html</link>
<description><![CDATA[<p>I'm changing job and leaving Pivolis for Microsoft! I would never have believed this possible a month ago...</p>
<p>It appears that Microsoft is serious about Java and Open Source after all. They contacted me for my work on <a href="http://maven.apache.org">Maven</a>. 
As a matter of fact, their own MSBuild system is not working as well as they would have liked and they are interested in reusing Maven as a build scaffolding and develop numerous Java and .Net plugins on top of it 
and integrate it all in the next version of Visual Studio (which will sport lots of new features for Java development too).
This is all part of their new 2007 plans for implementing <a href="http://blogs.msdn.com/askburton/articles/232021.aspx">Software Factories</a>. I can't tell you much more at this stage.</p>
<p>The best news is that I won't be working alone on this as they are setting up a full scale Java Team. Yeah that rocks! Some friends from our <a href="http://ossgtp.xwiki.com/">Open source group in Paris</a> have also been recruited
(check <a href="http://www.ludovic.org/xwiki/bin/view/Main/NouvelleAventure">Ludovic</a>'s , <a href="http://www.jeremi.info/index.php/2006/04/01/91-changement-de-direction">Jeremi</a>'s , <a href="http://www.application-servers.com/comments.do?reqCode=readComments&sid=2006-04-01-11:39:41">Didier</a>'s and <a href="http://jroller.com/page/francoisledroff/?anchor=nouveau_job">Francois</a>'s blogs).</p>
<p>I'll be blogging more about it, stay tuned...</p>
<p><b>Update (3rd April 2006)</b>: Of course this was an April's fool. However there's some truth in it. I'm indeed going to Redmond the week of the 10th of April. Microsoft is inviting 70 people using competing technologies from all over the world. The
idea seems to be twofolds: Microsoft will present what they are working on and we are expected to critique/provide feedback on what they're doing compared to what we are doing using our technologies. Sounds pretty fun. It seems
this is something similar to the event that <a href="http://raibledesigns.com/page/rd?entry=microsoft_conference_for_developer_community">Matt Raible attended</a> (more
<a href="http://raibledesigns.com/page/rd?entry=microsoft_s_agenda_at_the">here</a>, <a href="http://raibledesigns.com/page/rd?entry=this_is_gonna_be_good">here</a> and <a href="http://raibledesigns.com/page/rd?entry=so_who_s_at_microsoft">here</a>). I'll blog more on this when I know more.
</p>  
  ]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-04-01T07:20:42+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001338_wanted_wiki_features.html">
<title>Wanted wiki features</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001338_wanted_wiki_features.html</link>
<description><![CDATA[<p>Current wikis are great. However when used as development wikis I have found some limitations which are hampering their use. Please note that my experience is based on using <a href="http://atlassian.com/software/confluence/">Confluence</a> and <a href="http://www.xwiki.org/">XWiki</a> and other wikis may support some of the features mentioned below. Here's my top wishlist for development wikis and for Confluence and XWiki in particular:
<ul>
  <li><b>Moderated wikis</b>. Right now there are only two choices for a wiki: either they are open and anyone can edit a page or they are closed wikis and you need to register and get the rights to make modifications. For example most spaces on the <a href="http://docs.codehaus.org/">Codehaus wiki</a> are closed. 
    They were initially open but vandalism was too high and we had to close them. This is hampering documentation contributions. A moderated wiki would alleviate this: when the page is saved, an email would be sent to a list of moderators for the space for
    approval of rejection (either by responding to a certain email address as for mailing list moderation or by clicking on a link in the email). Ideally, clicking on the validation link in the email would open the page in a browser with the modifications 
  highlighted so that the moderator could make some changes before clicking on the save button.</li>
  <li><b>Anonymous edits</b>. Although this feature already exists, I'd like wikis to add 2 fields when anonymously editing a topic: a user name and an email address. The idea is make it even easier to contrinute to a wiki. If the wiki is moderated as
    explained above, moderators would receive an email. The idea of the username and email is to allow the moderator/community to discuss with the contributor if need be and to give him credits. These 2 fields would obviously be optional and there
  should be a text on the page explaining that the email will not get displayed on the wiki and that filling the fields will allow credits/acknowledgment to be given.</li>
  <li><b>Diff notifications</b>. Most wikis allow some form of space watch but the wikis I have used still do not offer the possibility to send notifications in a text diff format (wiki markup diff is good enough). For a development wiki, the idea is to send
  diff notifications to the development mailing list so that all developers are aware of wiki page modifications.</li>
  <li><b>Daily notifications</b>. This is also supported in some wikis but what I would like is the ability to watch a single space and to aggregate changes in that space (using the diff notification format mentioned above). Please note that
    Confluence does not support this as it requires you to modify all other spaces permissions so that the user doing the watch has no view rights on the other spaces, which is not usable for example on wikis such as the one on Codehaus which have hundreds of spaces.
  <li><b>In place comments</b>. The idea is again to lower contribution by allowing wiki users to highlight a portion of text in their browser and to associate a comment with it (like a post-it). There would be an option to turn on/off these comments. It's easier
  for a user to highlight a line and put a comment like "I don't understand this sentence" or fix a typo rather than have to use current the type of comments at the bottom of a page. Note that this is similar to how word processors such as Word allow adding comments to a document.</li>
  <li><b>Patch handling</b>. I'd like the ability to make modifications to a page and then instead of saving, have the ability to click on a "Generate patch" button which would generate a text file in wiki markup diff format. Then there would need to be a "Apply patch" action
  that can be done on a page. This would allow using wikis for project development web sites and allow contributors to provide documentation patches along with code patches. This is currently a big pain when using a wiki as a project development web site.</li>
</ul>
<p>I have quite a few other suggestions for improvements but I feel those are the major ones when it comes to using a wiki as a project development wiki. Let's hope wiki vendors are listening... :-). Are these also on your wish list?</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-03-17T10:07:41+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001325_how_can_i_improve_my_oss_project_managment_skills.html">
<title>How can I improve my OSS project managment skills?</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001325_how_can_i_improve_my_oss_project_managment_skills.html</link>
<description><![CDATA[<p>I've been asking myself the following 2 questions for about 5 years now: am I good at managing an open source project and making it successful? How can I improve?</p>
<p>I guess it depends on the definiton of "successful". My definition of a successful OSS project is:</p>
<ol>
  <li>A project that has a big user community and mindshare</li>
  <li>A project that has a big development community (i.e. committers and contributors). That is the development mailing list should be quite active with lots of contributions, improvements, ideas being discussed. All those submitted by a large number of different persons</li>
  <li>A project that lives on if the initial or main contributor leaves the project</li>
</ol>
<p>If we go by point 1, I think that the main 2 projects I have started (<a href="http://jakarta.apache.org/cactus">Cactus</a> and <a href="http://cargo.codehaus.org">Cargo</a>) are not doing too bad. Cargo is still new but it seems
to be on track and its user base is growing very quickly.</p>
<p>However on points 2 and 3, I'm not so sure I'm doing well. Mind you, Cargo has quite a lot of committers (growing every week!) and they're all doing a great job.
I'm just thinking about the level beyond (look at the activity on the Maven project, Spring or other projects as an example of what I mean). Cactus is a bit different as it's now a mature project, so let's focus on Cargo.
Of course it could be that these project domains are narrow and thus do not interest lots of developers. This is probably true but I don't think this is the only issue.
I have the feeling that some of the reasons could be:</p>
<ul>
<li>Unconsciously I may be "driving" the project too much. For example if someone proposes something, I'm probably going to argue with this person in order that it fits Cargo's quality crtieria and direction.
It's possible that by doing this, I'm cutting some creativity from this person and
thus even if he implements the thing, maybe he'll feel it has not completely come from him and won't identify with it enough to maintain and improve it in the future. Or maybe by arguing I'm just making the life of that person harder
and as this person is doing this in the little free time he has, he may not pursue it...</li>
<li>Maybe I'm answering emails asked on the list too fast, thus preventing any other contributor to answer. This is setting the tone and maybe as a consequence people are expecting me to answer all emails. Everyone "knows" that I'll answer them anyway...</li>
<li>The same could be said for applying patches and implementing things. I think this is less true though as I also have a day job and there are lots of JIRA issues accumulating in the Cargo project for example, so there's room for takers</li>
<li>Documentation of Cargo seems good at first glance (although I know there are lots of holes). I wonder if, as a consequence Cargo users who look at the web site think that Cargo is stable, mature, etc and thus may feel less inclined to participate. Who 
wants to participate to a project that is mostly "done"! (Note: For those reading this and interested in Cargo, it is far from true and there are tons of things to design and implement!)</li>
</ul>
<p>On the other hand, I feel that not doing any one of these points will hamper Cargo's user adoption...</p>
<p>Or maybe I'm completely wrong on all points above and this is just me fantasizing!</p>
<p>I'm really interested to know what you think and if this is something other OSS committers/contributors have noticed too. I've given the example of Cargo but really this is a general discussion on how to best manage an OSS project.</p>]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-02-16T12:09:43+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001324_ensuring_binary_compatibility.html">
<title>Ensuring binary compatibility</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001324_ensuring_binary_compatibility.html</link>
<description><![CDATA[<p>I see 2 use cases where ensuring <a href="http://blogs.codehaus.org/people/vmassol/archives/000098_evolving_javabased_apis_the_nightmare_of_binary_compatibility.html">binary compatibility</a> is a must:</p>
<ul>
<li>When you're developing a framework, i.e. a piece of software meant to be used at an API level by other developers. In that case, breaking binary compatibility is not something to do lightly.</li>
<li>When working in a large team it's common to define "interface" projects that represent the contracts to be followed by the different teams. In that case breaking the binary compatibility in an "interface" project is something that has to be planned and organized.</li>
</ul>
<h3>Enforcing binary compatibility in the build</h3>
<p>The automated build is a nice place to enforce binary compatibility as the build is something executed by the indiviudal developers before checking-in and it's also executed by the continuous integration build. 
Thus any binary incompatibility can be quickly discovered. Or course this doesn't replace tests which can also help discover breakages. However the problem is that with all the nice refactoring IDEs we have now, it's easy
to refactor the tests at the same time as the code and thus introducing a binary incompatibility is not always noticed.</p>
<p>A good strategy to discover an incompatibility is to compare the current code with the latest released code. This is what <a href="http://blogs.codehaus.org/people/vmassol/archives/001063_clirr_rocks.html">Clirr</a> is doing. 
Clirr currently sports an Ant and Maven1 integration. The good news is that there's a Maven2 plugin in the work (more on that when it's released). However using a tool is only good if there's a strategy behind it.</p>
<h3>Strategy for using Clirr</h3>
<p>Here is what I believe can be done to automate binary compatibility checks in the build:</p>
<ul>
<li>Start by organizing your packages so that you <a href="http://jakarta.apache.org/cactus/participating/apis.html">clearly demarcate the user-public API from the SPI from the internal implementations</a>. You'll probably want to fail the build only on the user-public API (and possibly on the SPI too but that's
probably a lower severity).</li>
<li>Use Clirr to make your build fail upon violation on the user-public API.</li>
<li>After discussing with the team and possibly with users, decide whether you wish to allow the binary incompatibility. Always consider going for a deprecation cycle. If you choose to allow the incompatibility, register it in an exception file that you
pass to Clirr so that it builds without choking on those errors (Note: I believe Clirr needs to be improved to better support exceptions not only at the file level but at the violation level).</li>
<li>When the release time comes, you'll have a nice file listing all the binary incompatibilities. Include it in the release notes so that your users know what to expect and even better, for each incompatibility add a description that explains
how to modify the user code to use the new version of the API.</li>
</ul>
<p>Note: On the <a href="http://cargo.codehaus.org">Cargo</a> project we've <a href="http://cargo.codehaus.org/Release+notes+for+Cargo+0.5">tried to do this</a>, even though there's still room for lots of improvement. Actually our main issue on Cargo is
not detecting binary incompatibilites but rather deciding to release a 1.0 version which would mean that from then forward we would aways look for a deprecation solution rather than break binary compatibility. We've always pushed back this 1.0 release 
because our API has been changing quite frequently but we're now nearing a 1.0 version. When that comes we'll turn Clirr on to fail the build upon breakage. I'll let you know how it goes...</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-02-12T13:48:56+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001314_documentationdriven_development.html">
<title>Documentation-Driven Development</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001314_documentationdriven_development.html</link>
<description><![CDATA[<p>I'm currently writing my third book and I'm starting to notice a pattern. Whenever I write a book about a tool/framework to which I have access to the sources, the code ends up being better.</p>
<p>The way I work goes like this: I start writing about a topic. If it's taking too long to explain it, I consider that something is wrong about the code. I modify the source code so that the 
document I'm writing has the minimal required size to explain the topic.</p>
<p>The good thing with a book is that what you're explaining has to be simple and not convulted which leads to this nice
effect of improving usability of your code. I get a bit of the same result when I write project documentation but not to the same level. This is probably simply because writing a book is a more
involved process, you dedicate more time to it and thus you want it to be as perfect as possible (and thus as readable as possible).</p>
<p>I guess nothing here is new. This is all about having a user of your code. Tests are "users" of your code and thus leads to better design. I guess documentation can also be a "user" of the code
and thus help improving it.</p>
<p>If you're writing some framework/tool, consider writing a book for it and if you're diligent in your writing your code will end up being better! As an added benefit your users will love you... :-)</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-01-21T08:55:37+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001307_cargo_v07_and_maven2_plugin_v01.html">
<title>Cargo v0.7 and Maven2 plugin v0.1</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001307_cargo_v07_and_maven2_plugin_v01.html</link>
<description><![CDATA[<p><a href="http://cargo.codehaus.org">Cargo</a> is a container-manipulation library that allows configuring, starting and stopping containers. It also deploys modules to those containers. Version 0.7 has been
<a href="http://cargo.codehaus.org/Release+notes+for+Cargo+0.7">released</a> last week along with version 0.1 of a <a href="http://cargo.codehaus.org/Maven2+plugin">Maven2 plugin</a>. The nice thing about Cargo is that it provides a uniform API across all containers and it has 
<a href="http://cargo.codehaus.org/Extensions">several end user APIs</a>: a Java API, Ant tasks, a Maven 1 plugin, a Maven 2 plugin, a Netbeans plugin, an IntelliJ IDEA plugin, etc. You can use any of those extensions with all the <a href="http://cargo.codehaus.org/Containers">supported containers</a>.</p>
<p><note><i>Note: Adding a new container is very easy and you only have to implement a small interface and your container will be made available automatically through all the existing end user APIs - Make sure to contact us if you're interested in adding a new
container support.</i></note></p>
<p>I'd like to quickly demonstrate how to use the new Maven 2 plugin on 2 use cases (more samples can be found <a href="http://tinyurl.com/b57dl">here</a>):</p>
<ul>
<li>Use case 1: Deploying a WAR to Tomcat 5.x and starting the container</li>
<li>Use case 2: In-place webapp deployment with Jetty 4.x</li>
</ul>
<h3>Deploying a WAR and starting Tomcat 5.x</h3>
<p>Create a Maven 2 project and put the following configuration in your <code>pom.xml
</code>
 file:</p>
<code><xmp>
[...]
  <packaging>war</packaging>
[...]
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>
        <configuration>
          <container>
            <containerId>tomcat5x</containerId>
            <home>c:/apps/jakarta-tomcat-5.0.30</home>
          </container>
          <configuration>
            <dir>${project.build.directory}/tomcat</dir>
          </configuration>
        </configuration>
      </plugin>
    </plugins>
  </build>
</xmp>
</code>

<p>To generate your WAR, start Tomcat and deploy the WAR in it, simply type: <code>mvn package cargo:start
</code>
. That's all! Do you want to do the same in, say, Orion 2.0.5? Simply change <code>tomcat5x
</code>
 with <code>orion2x
</code>
 and the <code>home
</code>

element to point to where you have installed Orion 2.0.5. You don't have Orion on the machine running the build? No issue, simply replace <code>&lt;home&gt;
</code>
 with:</p>
<code><xmp>
<zipUrlInstaller>
  <url>http://www.orionserver.com/distributions/orion2.0.5.zip</url>
</zipUrlInstaller>
</xmp>
</code>

<p>Orion 2.0.5 will then be automatically downloaded and installed the first time you run your build.</p>
<h3>Inplace webapp development with Jetty</h3>
<p>Let's imagine you're using the same project as above but this time you'd like to start Jetty and make it point to your webapp directory (i.e. <code>src/webapp
</code>
) so that whenever you make a change to your webapp's sources Jetty 
automatically picks it up and serves it. See <a href="http://blogs.codehaus.org/people/brett/archives/001306_developing_with_jetty_where_have_you_been_all_my_life.html">Brett's nice blog post</a> on this. Simply modify your <code>pom.xml
</code>
 as follows:</p>
<code><xmp>
[...]
  <packaging>war</packaging>
[...]
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>
        <configuration>
          <!-- No container specified thus it'll default to Jetty -->
          <configuration>
            <dir>${project.build.directory}/jetty</dir>            
            <deployables>
              <deployable>
                <!-- Override location to point to the exploded webapp. 
                     Otherwise it'll deploy the generated WAR. We want 
                     to ensure that jetty reloads any change made to the
                     webapp source tree... -->
                <location>${basedir}/src/main/webapp</location>
              </deployable>
            </deployables>
          </configuration>
        </configuration>
      </plugin>
    </plugins>
  </build>
</xmp>
</code>

<p>Then open a shell prompt and type <code>mvn cargo:start
</code>
. Jetty will start and monitor your webapp's dir for any change (Note that the same can be achieved using other containers too).</p>
<p>If you're interesting in learning more, check the <a href="http://cargo.codehaus.org">documentation</a> and join us on the <a href="http://archive.codehaus.org/cargo/">Cargo mailing lists</a>.</p>]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2006-01-10T21:05:22+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001275_javapolis_2005_slides_on_maven_2.html">
<title>Javapolis 2005 slides on Maven 2</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001275_javapolis_2005_slides_on_maven_2.html</link>
<description><![CDATA[<p>I'm just back from <a href="http://www.javapolis.com/confluence/display/JP05">Javapolis 2005</a>. I had the pleasure to present <a href="http://codehaus.org/~vmassol/blog/javapolis2005-Maven 2.0-massol.ppt">Maven 2.0</a>.</p>
<p>I was lucky to be presenting in Room 1 (the big one) and it was well packed. Here are the questions I asked the audience last year:</p>
<p><quote><i>
"The room was packed (I'd say around 400 to 600 people). Before starting with my session I've asked how many people are already using Maven and I've counted about 20 (but at that time the room was only half-packed), so I'd say it was about 3-5%. My second was "How many are planning to use Maven" and I got a resounding 3/4th of the people raising their hand. That shows that Maven is still in it's early adoption phase and that it has some great potential."
</i></quote></p>
<p>This year when I asked  the audience who is using Maven 1, I got about 30%-35% hands raised. Wow! This is a huge boost from the 3%-5% of last year! There were also about 5% people already using Maven 2 so that's great too. It seems Maven's adoption is well on its way</p>
<p>Thanks everyone for the warm welcome during the presentation.</p>
<p>Enjoy the slides while waiting for Javapolis to broadcast the videos.</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-12-16T19:09:31+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001218_welcome_to_the_matrix.html">
<title>Welcome to the Matrix!</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001218_welcome_to_the_matrix.html</link>
<description><![CDATA[<p>Amazon has released a beta of the <a href="http://www.mturk.com/mturk/welcome">Mechanical Turk</a>. It allows a program to programatically ask a question to a human and wait for the answer. Here's an example (copied from <a href="http://blog.outer-court.com/archive/2005-11-04-n69.html">Google Blogoscoped</a>):</p>
<pre><div class="code"><pre>read (photo);
photoContainsHuman = callMechanicalTurk(photo);
<span class="category1">if</span> (photoContainsHuman == TRUE) {
   acceptPhoto;
}
<span class="category1">else</span> {
   rejectPhoto;
}</pre></div>
</pre>
<p>This is really like the Matrix except that the humans get paid a little bit of money (but in the end that's close to getting fed) and it's other humans that controlling the programs... until we have web services using other web services using the Mechanical Turk. Then who's controlling who is going to be hard to decide :-)</p>
<p>Source: <a href="http://blog.outer-court.com/archive/2005-11-04-n69.html">Google Blogoscoped</a>.</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-11-04T18:30:50+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001209_database_manipulation_framework_wanted.html">
<title>Database manipulation framework wanted</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001209_database_manipulation_framework_wanted.html</link>
<description><![CDATA[<p>I'm working on automating a J2EE build using Maven 2 and I'm in need of a Maven 2 plugin to do the following:</p>
<ol>
<li>load a database schema in the instance</li>
<li>load data in the instance</li>
<li>start/stop a database instance</li>
<li>ability to create an instance from scratch</li>
</ol>
<p>The ideal situation would be to find an existing Java framework that would already perform all or some of those steps. Then I could easily create a Maven 2 plugin wrapping it.
So far I haven't been able to find such a tool. If you know any please suggest them!</p>
<p>Here's what I have found so far below. Please note that I have probably made mistakes while filling this table and I'd be happy to be corrected...</p>
<table border="1">
  <th>
    <td>Load schema</td>
    <td>Load data</td>
    <td>Start/stop instance</td>
    <td>Create instance</td>
    <td>Comments</td>
  </th>
  <tr>
    <td><a href="http://dbunit.sourceforge.net">DBunit</a></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/add.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><a href="http://db.apache.org/ddlutils/">DDLUtils</a></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/add.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td>I think DDLUtils is the old commons-sql project.</td>
  </tr>
  <tr>
    <td><a href="http://db.apache.org/derby/integrate/plugin_help/ij_toc.html">Derby ij</a></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/add.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/add.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td><img src="http://docs.codehaus.org/images/icons/emoticons/forbidden.gif"/></td>
    <td>ij 10.1.1.0 requires the db2jcc.jar which is not on Ibiblio. I need to check the license to see if it could be uploaded.</td>
  </tr>
</table>
<p>Again, let me know if you know some tools that are not listed here.</p>
<p>If no such tool exist, an idea I have would be to add support for databases in <a href="http://cargo.codehaus.org">Cargo</a>. Indeed Cargo is meant for manipulating any kind of containers.
It happens that the first type of container we've implemented are J2EE containers but it should work for any other type and the interfaces should remain the same.</p>
<p>WDYT?</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-10-26T18:49:41+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001188_farewell_to_nicolas_chalumeau.html">
<title>Farewell to Nicolas Chalumeau</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001188_farewell_to_nicolas_chalumeau.html</link>
<description><![CDATA[<p>Dear friends,</p>

<p>This is a sad moment. Our friend and colleague Nicolas Chalumeau has departed this world on the 4th of October at the age of 27.</p>

<p>The Apache Software Foundation would like to express its condolences to Nicolas' family and friends.</p>

<p>Nicolas had been developing open source software at Apache for several years. He was participating in several projects including Jakarta Cactus and Apache Maven. But even more importantly than helping those projects, what made Nicolas stand apart was his kindness and his generosity. He was always open to discussion and was constantly helping others. On the Cactus project he was regularly the first to answer questions from newcomers trying to use Cactus.</p>

<p>Recently he had taken up the important task of helping migrate Cactus to use Cargo and he had been working diligently towards that task. Actually Nicolas had been doing such a great job on the Cactus project that the Cactus committers had unanimously voted him in to become a committer. Nicolas was voted an Apache committer on the 1st of August 2005. I had several discussions with Nicolas about this new role and he was extremely happy to be part of the Apache Foundation.</p>

<p>Nicolas, we'll miss you, but the work you have done for the community will be remembered forever and will live on. All our thoughts and good wishes are with you and your loved ones.</p>

<p>-Vincent on behalf of the Apache community</p>

<p>(we have also created a special <a href="http://jakarta.apache.org/cactus/participating/nicolas.html">farewell page for Nicolas</a> on the Cactus website).</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-10-06T15:55:29+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001181_google_summer_of_code_results.html">
<title>Google Summer Of Code results</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001181_google_summer_of_code_results.html</link>
<description><![CDATA[<h3>Results</h3>
<p>
  The <a href="">Google Summer of Code</a> is now over. I've had the pleasure of being a mentor for 
  <a href="http://www.codehaus.org">Codehaus</a>. More specifically I've mentored the following
  projects:
</p>
<ul>
  <li>
    <b>JBoss 3.x and 4.x support in <a href="http://cargo.codehaus.org">Cargo</a></b>. 
    This project was successfully implemented by Nyoman Winardi (a.k.a. Win). Win started sending 
    patches and over the course of the programme Win became a committer proper. The full support
    of JBoss 3.x and 4.x will be available in the next release of Cargo (version 0.7).
  </li>
  <li>
    <b><a href="http://www.jcp.org/en/jsr/detail?id=88">JSR-88</a> support for Cargo</b>. This project was successfully implemented by
    Lev Olkhovich who also became a Cargo committer. Lev implemented deployment of J2EE archives
    using JSR-88. In the process he started a conversation to refactor Cargo to support the
    notion of remote containers. There's still some refactoring going on and we need to add some
    more tests but we should be able to have support for remote containers and JSR-88
    in Cargo 0.7. 
  </li>
  <li>
    <b>Refactor <a href="http://jakarta.apache.org/cactus">Cactus</a> to use Cargo</b>. One more 
    project revolving around Cargo! This one was implemented by Xuan Thang Nguyen. Xuan sent 
    several patches and thanks to Felipe we've applied
    some of those. However, I have to admit I have personally not been available enough to 
    fully help Xuan apply his patches. We still have some patches in JIRA that haven't been
    applied yet. Actually the plan was to have Nicolas Chalumeau to help Xuan and apply Xuan's
    patches. Nicolas has been working and helping on Cactus for a long time now and was voted
    a committer on Cactus at the beginning of the SOC programme. However, the Apache Software 
    Foundation (ASF) is extremely slow when it comes to adding a committer to a project (it can take
    more than 2 months) and we've not been able to give right access to Nicolas. Thus he's not
    been able to apply his own patches nor Xuan's... This is really an issue that the ASF has to
    solve quickly lest it'll see people leaving to create their project somewhere else.
  </li>
  <li>
    <b><a href="http://faqbot.codehaus.org">Faqbot</a> project</b>. There were 2 students on this
    project: Jie Tang and Harsh Puri. Harsh has had to resign from the programme because of the
    tragic flooding that happened in the region of Mumbai. Jie has continued alone and has done
    some good work. Unfortunately he's not been able to fully complete the project (which was
    probably the most ambitious of all the SOC projects I've mentored). The hardest part was
    probably starting a project from scratch. Everything had to be done. Hopefully Jie and others
    will continue the project and make it release-ready. <a href="http://blogs.codehaus.org/people/vmassol/archives/think_tank.html#000670_faq_bots">I was very excited by this 
    project</a> and I still am. 
  </li>
  <li>
    <b>Real-time collaboration editing (<a href="oxyd.codehaus.org">Oxyd</a>)</b>. This one
    was implemented by Jeremi Joslin of <a href="http://xwiki.org">XWiki</a> fame. Even though it
    was a project started from scratch Jeremi was able to complete it and have a first usable 
    release ready. Well done Jeremi!
  </li>
</ul>
<h3>Learnings</h3>
<ul>
  <li>
    Open source is about collaboration with others. I don't think the SOC emphasis was enough on
    this point. For example it was "fordbidden" for students to work together and the main focus 
    was to produce a working piece of software.
  </li>
  <li>
    Open source is not bound by time. People do it in their free time (at least most people) and as 
    such they can't be expected to be bothered by strong release pressure. The SOC students had
    to work on a given date which caused some friction as the students were not always aligned with 
    the project's timeline. Let me give you one example; 
    It happened that some student needed to do a refactoring to the existing code to progress. 
    This needs to be reviewed and possibly voted by project committer. There could easily be a 
    delay of 1 week before we get everyone's agreement/ideas, etc. In the meantime the student 
    is under pressure to quickly progress.
  </li>
  <li>
    I have taken too many students. I felt I did not do the best possible job when it came to 
    mentoring them. Some were not autonomous enough and would have required more mentoring. I'll
    take fewer students next time. The hardest is really to mentor students on a new open source project started from scratch.
    As I'm already involved with several open source project, I did not have enough 
    bandwidth to help on all aspects required to set up a new project.
  </li>
  <li>
    Several students had not enough time to participate. Some were still passing exams, others
    had some other summer job. This, combined with the deadline and the nature of open source did not
    mix well together. I think students should have an open source project to complete on a much 
    longer timescale (possibly with milestones to monitor progress). This would also help in
    having them really integrated into an open source team. In addition it'll show their real
    commitment over time which is really what "professional" open source is about. There's 
    nothing worse that someone who contributes big portion of code and then leaves some time
    after. Then, all the bug fixing and maintenance falls on the shoulders of the committers who
    were not the ones with the itch in the first place...
  </li>
</ul>
<h3>Parting words</h3>
<p>
  The SOC was good. It has boosted the open source community quite remarkably (even though it has
  also probably put some strain on it...). Out of all the students I've mentored I think 2 or 3
  of them (out of 6 initially) will continue to work on the open source project they've 
  participated to. That's a 30%-50% ratio and I'm very happy about it. Thanks Google for making this happen!
</p>
  ]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-09-28T16:25:41+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001170_javazone_2005.html">
<title>Javazone 2005</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001170_javazone_2005.html</link>
<description><![CDATA[<p>Javazone 2005 was good. It's getting more international every year but there's still a lot of Norwegian speaking there, which was a bit difficult to understand from time to time... Oh well, I had <a href="http://www.coffeebreaks.org/blogs/">Jerome Lacoste</a> translating for me whenever needed. Thanks Jerome. It also gave me the opportunity to learn "Hey alle semmon" ("hi everybody") and <a href="http://www.savoirtech.com/roller/page/jgenender">Jeff Genenger</a> woke up his audience on thursday morning with a "I'm a loud-mouthed american, don't listen to me I don't know anything" in Norwegian! :-)</p>
<p>I have presented <a href="http://www.codehaus.org/~vmassol/blog/Javazone2005%20-%20From%20m1%20to%20m2%20-%2020050914.ppt">From Maven 1 to Maven 2</a> which went well. There were about 60-70 people in the room, all Maven 1 users (to be expected for such a talk) and a few (about 5) Maven 2 users.</p>
<p><b>Update 2005-09-28</b>: Kito has <a href="http://weblogs.java.net/blog/kito75/archive/2005/09/javazone_2005_o_1.html">blogged about JavaZone 2005</a> and has uploaded some nice <a href="http://www.flickr.com/photos/97271958@N00/sets/1023006/">pictures</a>.</p>]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-09-15T08:56:27+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001132_cds_vs_yds.html">
<title>CDS vs YDS</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001132_cds_vs_yds.html</link>
<description><![CDATA[<p>I've just tried today <a href="http://www.copernic.com/en/products/desktop-search/index.html">Copernic Desktop Search</a> (CDS). I've been 
using <a href="">Yahoo Desktop Search</a> (YDS) for several months now and I'm very happy with it. It has some issues though like it's putting 
my laptop on its knees when it performs indexing, it has no Windows taskbar integration, etc. I wanted to see how CDS fared against YDS.</p>
<p>Here are my findings after one day of using CDS. Please note that this is definitely not long enough to have a definitive opinion on the 
topic but I thought I'd still share what I've learnt today.</p>
<h3>General opinion</h3>
<p>CDS is a very good desktop search. I was very impressed. It seemed perfect at first and then slowly I started finding some little
flaws compared to YDS. Still it is extremely good. It has all the features you'll find in YDS and Google Desktop Search (GDS).</p>
<h3>Pros of CDS vs YDS</h3>
<ul>
<li>Integration with Windows taskbar</li>
<li>Low resource for indexing. It is not slowing my laptop when indexing. That's very good!</li>
<li>Immediate scanning of new resources. If you receive an email for example, it is immediatly available for searching. No need to 
wait for the next indexing.</li>
</ul>
<h3>Cons of CDS vs YDS</h3>
<ul>
<li>No vertical layout for views (as there is in YDS). This means that you cannot fully the message being previewed</li>
<li>No "All" categories search. You have to choose the category you wish to search (emails, files, contacts, etc)</li>
<li>No as-you-type results</li>
<li>No possibility to choose the columns to display (for exemple email folders or email size). There are only a few basic columns</li>
<li>Slower to search and display items than YDS. It was very fast initially and it quickly became slow and very slow as indexed items increased</li>
<li>XML preview is using IE engine on Windows and thus there are lots of XML files that don't display correctly</li>
</ul>
<p>Some minor details:</p>
<ul>
<li>Delete key does not work to suppress an email</li>
<li>Cannot select different emails (to suppress them for example)</li>
</ul>
<h3>Conclusion</h3>
<p>If only it could have a better view layout and be faster to display results it would be perfect. Its killer features are really its CPU-friendly 
indexing for me and the immediate availability of new resources in searches.</p>
<p>I've just noticed that YDS has released verson 1.2beta yesterday and I'm installing it. For now, I'll still keep using YDS which is still my favorite. YMMV.</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-07-13T18:19:19+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001114_white_paper_on_agile_offhore_french.html">
<title>White Paper on Agile Offhore (French)</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001114_white_paper_on_agile_offhore_french.html</link>
<description><![CDATA[<p>I've just finished writing a White Paper for <a href="http://www.pivolis.com">Pivolis</a>, my company. It's on the topic of <a href="http://www.pivolis.com/fr/formulaire/formulaire.php3">Agile Offshore Software Development</a> and it explains how to perform collaborative software development when teams are distributed. It's a return of experience from the two main offshore development projects I have been on for the past 3.5 years.</p>
<p>It addresses different types of concern: from culture to communications to technical infrastructure to development practices.</p>
<p>Now just before you rush to it, you should know that it's written in French. I'm really sorry about that. I would have much preferred to write it in English but Pivolis' first market is currently France.</p>
<p>I hope you'll enjoy it.</p>
<p>Note: On the Pivolis web site, don't click on the English flag. The English version of the site is not yet up to date and you won't find the White Paper there.</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-06-19T11:02:23+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001097_manvebookorg_is_live.html">
<title>Manvebook.org is live</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001097_manvebookorg_is_live.html</link>
<description><![CDATA[<table>
  <tr><td>
<p>
In preparation for the launch of <a href="http://mavenbook.xwiki.com/xwiki/bin/view/Main/Book">Maven: A Developer's Notebook</a>, Tim and I have created the <a href="http://www.mavenbook.org">Mavenbook.org</a> web site. By using it you'll be able to track the progress of the book but more importantly it'll allow you to download the book's source code, get additional samples, read tips and tricks on using Maven, etc. All of this through a blog interface.
</p>
<p>BTW, we're not web designers so we've used a <a href="http://oswd.org/viewdesign.phtml?id=2070&referer=%2Fsearch.php%3Fsearchstring%3Dsimplexed%26tab%3Ddescription">skin</a> found on <a href="http://oswd.org/">OSWD</a>. I really like this web site which has both free skins and premium ones.</p>
<p>Last, the icing on the cake, the web site has been done using <a href="http://www.xwiki.com">XWiki</a>. Yeah, you heard it right, there is a wiki under the hood, which allow us to easily edit any page online. Each news item is actually a wiki page to which we have associated an Article object. The home page has a simple macro that does a search for all pages with articles and matching some criteria. Cool, no?</p>
</td>
<td><img alt="Maven: A Developer's Notebook" src="http://codehaus.org/~vmassol/blog/mdn.jpg"/></td>
</tr>
</table>
<p>Enjoy!</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-05-23T15:26:15+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001065_maven_using_the_cargo_plugin_for_testing.html">
<title>[Maven] Using the Cargo plugin for testing</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001065_maven_using_the_cargo_plugin_for_testing.html</link>
<description><![CDATA[<p><a href="http://cargo.codehaus.org">Cargo</a> 0.5 has been <a href="http://cargo.codehaus.org/Downloads">released yesterday</a>. One novelty
is the <a href="http://cargo.codehaus.org/Maven+Support">Maven plugin</a>. You can now start and stop a variety of containers using this plugin. This should come very handy for all of you
wishing to perform integration or functional testing with Maven. The containers that are currently supported are: Resin 2.x, Resin 3.x, Tomcat 3.x, Tomcat 4.x, Tomcat 5.x, Orion 1.x, Orion 2.x, Jetty 4.x, jo! 1.x, OC4J 9.x and WebLogic 8.x.</p>
<p>For example, imagine that you have some integration tests in your project's test directory and that you need, say, Tomcat 5.0.30 to run
them. You'll need to start the Tomcat container before the <code>test:test
</code>
 goal kicks in. Do this by writing a preGoal in your <code>maven.xml
</code>
:</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><code><xmp>
<preGoal name="test:test">
  <ant:mkdir dir="${maven.build.dir}/tomcat"/>
  <attainGoal name="cargo:start"/>
</preGoal>
</xmp>
</code>
</div>
<p>You'll need to provide Cargo configuration data in your <code>project.properties
</code>
 or <code>build.properties
</code>
 file. For example a minimal configuration would be:</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><code><pre>
cargo.containers = tomcat
cargo.container.tomcat.containerKey = tomcat5x
cargo.container.tomcat.homeDir = C:/apps/tomcat-5.0.30
cargo.container.tomcat.config.hint = standalone
cargo.container.tomcat.config.dir = ${maven.build.dir}/tomcat
cargo.container.tomcat.config.standalone.servlet.port = 8180
</pre>
</code>
</div>
<p>Alternatively you can ask the plugin to automatically download and install Tomcat for you (it'll download it only once), by specifying:</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><code><pre>
cargo.containers = tomcat
cargo.container.tomcat.containerKey = tomcat5x

cargo.zipUrlInstaller.tomcatinstaller.installUrl = http://www.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.zip
cargo.zipUrlInstaller.tomcatinstaller.installDir = ${maven.build.dir}/installs
cargo.container.tomcat.zipUrlInstaller = tomcatinstaller

cargo.container.tomcat.config.hint = standalone
cargo.container.tomcat.config.dir = ${maven.build.dir}/tomcat
cargo.container.tomcat.config.standalone.servlet.port = 8180
</pre>
</code>
</div>
<p>As you may have noticed, in our example above we've reused the existing Maven Test plugin which looks for test sources in <code>${pom.build.unitTestSourceDirectory}
</code>
. With this strategy
you'll need to create a separate subproject for running your integration/functional tests in order not to interfere with pure unit tests that you may already have in <code>${pom.build.unitTestSourceDirectory}
</code>
.
<p>If there's a strong demand, we may consider adding a <code>cargo:test
</code>
 goal in the future that you look for tests in, say, <code>src/test/cargo
</code>
 by default (leaving <code>src/test/java
</code>
 for unit tests).</p>
<p>Please note that there's also an alternative which is to <a href="http://blogs.codehaus.org/people/vmassol/archives/000893_using_cargo_for_functional_testing.html">start the Container directly from your unit tests</a>.</p>
<p>If you find Cargo interesting, please come and help us on the <a href="http://archive.codehaus.org/cargo/">Cargo mailing lists</a>. There are lots of different ways you can help: trying Cargo on containers, implementing
new containers (for example, JBoss, JOnas, WebSphere, etc), discussing new ideas, letting us know what new features you'd love to see, etc.</p>]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-05-01T10:48:50+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001064_cargo_05_released.html">
<title>Cargo 0.5 released</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001064_cargo_05_released.html</link>
<description><![CDATA[<p>The <a href="http://cargo.codehaus.org">Cargo</a> team is pleased to announce the <a href="http://cargo.codehaus.org/Downloads">release of Cargo 0.5</a>.</p>
<p>The major changes from Cargo 0.4 to 0.5 are:</p>
<ul>
  <li>New Maven plugin</li>
  <li>Added support for hot deployments</li>
  <li>Added support for the <a href="http://www.tagtraum.com/">jo!</a> container</li>
</ul>
<p>Detailed release notes are available on the <a href="http://cargo.codehaus.org/Downloads">download</a> page.
<p>Here's an example of how to use Cargo from Java:</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><pre><div class="code"><pre><span class="category2">Container</span> container = <span class="category1">new</span> Resin3xContainer();
container.setHomeDir("<span class="quote">c:/apps/resin-3.0.8</span>");

Deployable war = container.getDeployableFactory().createWAR("<span class="quote">path/to/simple.war</span>");
container.getConfiguration().addDeployable(war);

container.start();
<span class="linecomment">// Here you are assured the container is started.</span>

container.stop();
<span class="linecomment">// Here you are assured the container is stopped.</span></span></pre></div>
</pre></div>
<p>Here's an example using the provided Ant tasks:</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><code><xmp>
<cargo-orion2x homeDir="c:/apps/orion-2.0.3" output="target/output.log" 
    log="target/cargo.log" action="start">
  <configuration>
    <property name="cargo.servlet.port" value="8180"/>
    <war warfile="path/to/my/simple.war"/>
    <ear earfile="path/to/my/simple.ear"/>
  </configuration>
</cargo-orion2x>
</xmp>
</code>
</div>
<p>And here's an example using the Maven plugin:</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><code><pre>
// To run it:
maven cargo:start

// To configure it, add the following in a Maven properties file:
cargo.containers = myTomcat
cargo.container.myTomcat.containerKey = tomcat5x
cargo.container.myTomcat.homeDir = c:/apps/jakarta-tomcat-5.0.30
cargo.container.myTomcat.config.hint = standalone
cargo.container.myTomcat.config.dir = ${maven.build.dir}/myTomcat/config
cargo.container.myTomcat.config.standalone.servlet.port = 8180
</pre>
</code>
</div>
<p>Enjoy!</p>
]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-05-01T10:36:23+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001063_clirr_rocks.html">
<title>Clirr rocks!</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001063_clirr_rocks.html</link>
<description><![CDATA[<p><a href="http://clirr.sourceforge.net">Clirr</a> is one of these tools that would deserve to be known better. I have mentioned it several times in other posts but it's really the first
time I get to use it in real. It rocks! I'm about to release <a href="http://cargo.codehaus.org">Cargo</a> 0.5 and I wanted to get an exact list 
of the API modifications we have done compared to version 0.4.</p>
<p>Here's the kind of output Clirr gives (the full output is available <a href="http://cargo.codehaus.org/Downloads#clirr">here</a>):</p>
<div style="width:100%; overflow:auto; border-style: solid; border-width: 1px"><code><pre>
ERROR: 8001: org.codehaus.cargo.deployment.DefaultJarArchive: Class org.codehaus.cargo.deployment.DefaultJarArchive removed
INFO: 8000: org.codehaus.cargo.module.DefaultJarArchive: Class org.codehaus.cargo.module.DefaultJarArchive added
ERROR: 7002: org.codehaus.cargo.container.Container: Method 'public void addDeployable(org.codehaus.cargo.container.deployable.Deployable)' has been removed
INFO: 7011: org.codehaus.cargo.ant.ConfigurationElement: Method 'public void addConfiguredEar(org.codehaus.cargo.ant.EARElement)' has been added
INFO: 4000: org.codehaus.cargo.container.jetty.JettyStandaloneConfiguration: Added org.codehaus.cargo.container.configuration.StandaloneConfiguration to the set of implemented interfaces
ERROR: 7005: org.codehaus.cargo.container.Container: Parameter 1 of 'public void setConfiguration(org.codehaus.cargo.container.Configuration)' has changed its type to org.codehaus.cargo.container.configuration.Configuration
ERROR: 7006: org.codehaus.cargo.ant.ConfigurationElement: Return type of method 'public org.codehaus.cargo.container.Configuration createConfiguration(org.codehaus.cargo.container.Container)' has been changed to org.codehaus.cargo.container.configuration.Configuration
ERROR: 4001: org.codehaus.cargo.container.jetty.JettyStandaloneConfiguration: Removed org.codehaus.cargo.container.Configuration from the set of implemented interfaces
INFO: 7003: org.codehaus.cargo.container.spi.AbstractConfiguration: Method 'public void configure()' has been removed, but an inherited definition exists.
ERROR: 5001: org.codehaus.cargo.container.deployable.EAR: Removed org.codehaus.cargo.util.MonitoredObject from the list of superclasses
INFO: 5000: org.codehaus.cargo.container.deployable.EAR: Added org.codehaus.cargo.util.monitor.MonitoredObject to the list of superclasses
ERROR: 7012: org.codehaus.cargo.container.Container: Method 'public java.io.File getOutput()' has been added to an interface
INFO: 7010: org.codehaus.cargo.container.spi.AbstractContainer: Accessibility of method 'protected java.io.File getOutput()' has been increased from protected to public
INFO: 6000: org.codehaus.cargo.container.property.GeneralPropertySet: Added public field JVMARGS
</pre>
</code>
</div>
<p>Even though we're using JIRA with an Iteration-Driven Development strategy (IDD) it was still a very interesting exercise to verify that we had not missed any issue by running Clirr on the source code. 
In addition, it provides a more detailed view of what exactly has changed in term of API which our JIRA report does not provide.</p>
<p>The next step would be to use it to fail our build whenever someone introduces a public API break. It would be quite easy for us because we've cleanly separated non-public API from public APIs by using internal
packages (see the <a href="http://jakarta.apache.org/cactus/participating/apis.html">Cactus API design rule</a> to see what it means). Of course sometimes, you want to voluntariy add a breaking change. That's legitimate
 but it has to be controlled. The strategy would be to have the build fail and then if the change is voluntary to exclude it from Clirr.</p>
<p>Well done Lars!</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-04-30T15:22:11+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001036_id_love_reusable_ant_tasks.html">
<title>I&apos;d love reusable Ant tasks</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001036_id_love_reusable_ant_tasks.html</link>
<description><![CDATA[<p>Where is Ant heading in the future? I would be very interested to learn more about this. I've been using Ant for several years now and I've always been a happy user. However these days, I'm no longer using much the XML scripting side of Ant but I'm using heavily the Ant Java API; what I'm interested in are the Java Ant tasks.</p>
<p>I think this is really where the value of Ant is. All those years of implementing the base building block for a portable OS Java API have created a very useful Task set. I think every Java application that needs to do copying, deleting a directory, spawning a Java application, etc should use these tasks. There's no point in reinventing the wheel!</p>
<p>For example, you may think that deleting a directory is simple. But it's not so easy. Have a look at the Delete Ant task source code. You'll find portion of code like this one:</p>
<pre><div class="code"><pre><span class="blockcomment">/**
 * Accommodate Windows bug encountered in both Sun and IBM JDKs.
 * Others possible. If the delete does not work, call System.gc(),
 * wait a little and try again.
 */</span>
<span class="category1">private</span> <span class="category1">boolean</span> delete(<span class="category2">File</span> f) {
     <span class="category1">if</span> (!f.delete()) {
          <span class="category1">if</span> (Os.isFamily("<span class="quote">windows</span>")) {
               System.gc();
           }
          <span class="category1">try</span> {
               Thread.sleep(DELETE_RETRY_SLEEP_MILLIS);
           } <span class="category1">catch</span> (<span class="category2">InterruptedException</span> ex) {
               <span class="linecomment">// Ignore Exception</span>
           }
          <span class="category1">if</span> (!f.delete()) {
               <span class="category1">if</span> (deleteOnExit) {
                    <span class="category1">int</span> level = quiet ? Project.MSG_VERBOSE : Project.MSG_INFO;
                    log("<span class="quote">Failed to delete </span>" + f + "<span class="quote">, calling deleteOnExit.</span>"
                        + "<span class="quote"> This attempts to delete the file when the ant jvm</span>"
                        + "<span class="quote"> has exited and might not succeed.</span>"
                        , level);
                    f.deleteOnExit();
                    <span class="category1">return</span> <span class="category1">true</span>;
                }
               <span class="category1">return</span> <span class="category1">false</span>;
           }
      }
     <span class="category1">return</span> <span class="category1">true</span>;
}</pre></div>
</pre>
<p>Would you have thought about this? Probably not and you would have been right not to as this only happens in some rare occasions. But when one of your users reports it, it's going to be darn difficult to identify and fix. Personally I'd rather depend on a stable and well tested library rather than recode it myself.</p>
<p>The problem is that the Ant tasks are a bit too much linked to the execution engine (the XML scripting engine). For example reusing an Ant tasks requires you to create a Project object. This in turn drags loggers, the Ant classloader (in some cases) and possibly other objects. I know it's possible to use Ant from Java (I've been doing it for a long time now) but I'd love it be even easier to do so.</p>
<p>Instead of writing:</p>
<pre><div class="code"><pre>Project project = <span class="category1">new</span> Project();
Expander expander = project.createTask("<span class="quote">unzip</span>"); 
expander.setSrc(<span class="category1">new</span> <span class="category2">File</span>(zipfile)); 
expander.setDest(<span class="category1">new</span> <span class="category2">File</span>(destdir)); 
expander.execute();</pre></div>
</pre>
<p>I'd like to be able to write:</p>
<pre><div class="code"><pre>Expand expand = <span class="category1">new</span> Expand();
expand.setSrc(<span class="category1">new</span> <span class="category2">File</span>(zipfile));
expand.setDest(<span class="category1">new</span> <span class="category2">File</span>(destdir));
expand.setLogger(myLogger);
expand.execute();</pre></div>
</pre>
<p>I don't want to see the get/setLocation, get/setTaskName(), get/setDescription() and in general all methods from Task.java.</p>
<p>What I'd love to see is Ant moving in the direction of providing completely reusable Tasks that have 0% dependencies on the Ant engine. This means that loggers, classloaders would be passed to the Ant task by the program who uses it.</p>
<p>I'd like to see Ant provide 2 distributable jars: one containing the XML scripting engine only and one containing all the pure java beans Ant tasks that can be reused in any Java application.</p>
<p>I'd like to see Ant separate into 2 subprojects: one for the XML scripting engine (let's call it engine) and one for the Ant tasks (let's call it tasks). The reason for the 2 projects is to ensure there's no dependency in the direction tasks->engine.</p>
<p>I'd like to see Maven2 use those completely reusable Ant tasks instead of recreating them (this is a wish I'm addressing to both projects, not just Ant! :-)).</p>
<p>I'd like to see those Ant tasks being a JSR and incorporated in a future version of the JDK, thus providing a higher level API that the best classes from the JDK.</p>
<p>Is that where Ant is heading today?</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-04-07T16:29:11+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001007_increasing_open_source_project_contributions.html">
<title>Increasing open source project contributions</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001007_increasing_open_source_project_contributions.html</link>
<description><![CDATA[<p>I may be dense but I've just realized today that there is a potentially simple way to increase participation to an open source project. That's always been one of the questions on my mind: how do I make my open source projects more successful? For me 
a successful open source project is one which has a rich developer community. How do I make this possible? There are of course several ideas to make this happen but the one that dawned on me this morning is that
the project has to reduce its complexity (by making it more modular for example).</p>
<p>Indeed, the barrier to participation is often due to the fact that a user who wants to participate will need to understand the whole design, how the different classes are entangled, what effect a change here will have on the rest of the project, etc.
Thus, if we make the project more modular a contributor who wants to participate will only need to understand the design of a given 'module'.</p>
<p>A 'module' would need to have some good-to-have characteristics:<p>
<ul>
<li>Very loose coupling with other modules</li>
<li>Clearly defined and *published* interfaces. There should be some documentation on the project's web site explaining them and a tutorial showing how to implement new modules (or swapping a module implementation by another one) for example.</li>
<li>Separate builds so that it's easy to build only the module (this can be alleviated if the master build is easy to use (i.e. no property tweaking necessary, it just builds - As it's the case with good Maven builds... ;-))</li>
<li>Separate documentation on the web site, so that the website itself is modular and the complexity of each module is hidden in that module's web site. Thus the top level web site would be quite simple only listing what the project does as a whole and listing the different modules</li>
</ul>
<p>Interestingly one way to implement the 'very loose coupling with other modules' characteristic is by using a Service Architecture. This can be done for example by using the Dependency Injection pattern and/or using a lightweight container - PicoContainer, Spring, etc).</p>
<p>This is probably obvious stuff but I've just realized that it's not only good design practices but that it'll also help open source projects attract more contributions. Of course that leads to another topic which is when to accept contributions and how to maintain them in the long run but that would be another discussion...</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-03-11T11:21:57+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001006_distributed_build.html">
<title>Distributed build</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001006_distributed_build.html</link>
<description><![CDATA[<p>Continuing with my current build-mania, I'd like to propose the idea of a distributed build architecture. I'd love to
see my favorite continuous integration tools (CruiseControl, DamageControl and Continuum in the future) support this notion in the future (I know they're thinking about it already!).</p>
<h3>So what is the need for a distributed build?</h3>
<p>I can see several use cases:</p>
<ul>
<li>building on several JDKs</li>
<li>building on different OS platforms</li>
<li>building with different environment setups (for example building with different application servers, different browsers, different databases, etc) to validate that a product integrates well with various environment setups</li>
<li>delegating the build load on several machines when the build starts to take too long (of course, the first solution should be to try to lighten your build as much as possible)</li>
</ul>
<h3>A proposed architecture</h3>
<p><b>Disclaimer</b>: this only ONE potential solution. There are lots of other solution probably even more valid than this one. Please feel free to add your ideas as comments to this post.</p>
<a href="http://www.codehaus.org/~vmassol/blog/distributed_build_archi.jpg"><img src="http://www.codehaus.org/~vmassol/blog/distributed_build_archi_small.jpg"/></a>
<p>It could work as follows:</p>
<ol>
<li>The central build machine (aka the build orchestrator) decides to start a build. The orchestrator can be one existing continuous integration tool like CruiseControl, DamageControl, etc.
They can trigger a build on anything they want: time-based, change-based, manual, continuously, etc. The orchestrator sends a build request to the space. The request contains all the information 
about the requested build (e.g. JDK to run on, OS to run on, App.Sever/DB/etc to run on)</li>
<li>The space holds all requests. It chould be a good idea to provide a browser to see pending requests (preferably using a simple HTTP browser so that people who wish to contribute can see what type of builds are required). 
In any case it's important that the space be transactional (Note: I'm not sure about the word "transactional". What I mean is that a request cannot be read by several build agents at the same time)</li>
<li>Build agents listen on space build requests objects that match their capabilities. Using Jini/Javaspace would be nice here because (among other things) agents would be able to easily listen to requests with Jini attributes (OS, JDK, etc). Once they read a request they start a local build and publish the result to the space as a Result object</li>
<li>The build orchestrator listens to Results object, and generate result reports, aggregating all results. Build results could contain anything required: result of the build, logs, generated artifacts, etc. The orchestrator gets the data from the Result object and perform usual build operations (publishing, build result notification).</li>
</ol>
<p>Of course there would be several details to sort out, like should we send 2 Requests object for each build need so that we can compare the results and only accept the result if they match, etc.</p>
<h3>Conclusion</h3>
<p>I think this type of distributed build could be especially interesting for open source projects in order to build an active community around a project. This would be yet another way in which people can contribute 
to an open source project: by lending some of their machine CPU to perform continuous integration builds of this project. This usually makes sense as open source projects may be low on hardware resources and lending 
some would help. Of course it also bring its challenge of security issues that would also need to be implemented...</p>
<p>Would you like such a distributed build system? I personally prefer this architecture over one where the orchestrator directly sends build requests to build agents as I find it more scalable and more flexible.</p>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-03-11T09:28:42+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/001003_maven_book_and_maven_quiz.html">
<title>Maven book and Maven Quiz</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/001003_maven_book_and_maven_quiz.html</link>
<description><![CDATA[<p>Here it is, it's now official! I'm currently writing a Maven book for O'Reilly with <a href="http://www.oreillynet.com/pub/au/1738">Tim O'Brien</a>. I can't say much more at this point in time except that it'll be available sometime this summer.</p>
<p>I've also written <a href="http://www.javablackbelt.com/jbb/WikiPage.do?action=view&page=Maven">2 Maven quizzes</a> for <a href="http://www.javablackbelt.com/">JavaBlackBelt.com</a>. If you want to see if your Maven knowledge is up to the par, go and take them! And let me know your comments. If you register on the site you can even propose new questions!</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-03-10T09:21:54+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/000976_getting_svnsshprivate_key_to_work_in_intellij_ideaeclipse.html">
<title>Getting svn+ssh/private key to work in IntelliJ IDEA/Eclipse</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/000976_getting_svnsshprivate_key_to_work_in_intellij_ideaeclipse.html</link>
<description><![CDATA[<p>At last, I was able to get the svn+ssh protocol to work from both IntelliJ IDEA (Irida #3200) and Eclipse (3.1M4), using a private key! Here's how to do it:<p>
<h3>For IntelliJ IDEA</h3>
<ul>
<li>Start by downloading the latest <code>javasvn.jar
</code>
 from the <a href="http://www.tmate.org/svn/">TMate JavaSVN web site</a>. You need version 0.8.0 or later (I've used 0.8.0). The reason is that there is a new property named <code>javasvn.ssh2.key
</code>
 that has been added as a hack for getting the Subclipse plugin for Eclipse to work with svn+ssh... Drop the jar in <code>[IDEAHOME]/plugins/svn4idea/lib
</code>
, replacing the existing jar of the same name there.</li>
<li>Modify the <code>[IDEAHOME]/bin/idea.bat
</code>
 file to add the <code>javasvn.ssh2.key
</code>
 system property: <code>IF "%IDEA_JVM_ARGS%" == "" set IDEA_JVM_ARGS= [...] -Djavasvn.ssh2.key=/path/to/your/private/key
</code>
.</li>
<li>Make sure you use  an openSSH-compatible private key. The Putty format is NOT supported by JSch. If you have a Putty private key, use Puttygen to export it as an OpenSSH key.</li>
<li>Make you sure you specify a valid username in the IDEA subversion setting, leaving the password field blank.</li>
</ul>
<h3>For Eclipse</h3>
<ul>
<li>Install <a href="http://subclipse.tigris.org/">Subclipse</a> using the provided Eclipse update site</li>
<li>Install the <a href="http://www.tmate.org/svn/subclipse.html">JavaSVN Subclipse Extension</a>, also using the provided Eclipse update site</li>
<li>Modify the way you start Eclipse as mentioned on the <a href="http://www.tmate.org/svn/subclipse.html">JavaSVN Subclipse Extension</a> web page</li>
<li>Go the SVN Repository Exploring perspective, right-click on your SVN Repository, click on "properties" and make sure you enter a valid username (leave the password blank).
</ul>
<p>Enjoy! That should please all the Codehaus hausmates... :-)</p>]]></description>
<dc:subject>Open source involvement</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-02-06T14:23:56+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/000963_javapolis_2004_maven_presentation.html">
<title>Javapolis 2004 Maven presentation</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/000963_javapolis_2004_maven_presentation.html</link>
<description><![CDATA[<p>Javapolis/Javalobby have just made by <a href="http://blogs.codehaus.org/people/vmassol/archives/000931_javapolis_2004.html">Maven presentation</a> available in <a href="http://www.javalobby.org/av/javapolis/27/massol-maven">audio+slides</a> format.</p>
<p>Enjoy! (I hope...;-))</p>]]></description>
<dc:subject>Personal events</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-01-26T07:59:56+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/000953_binary_dependency_builds.html">
<title>Binary Dependency Builds</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/000953_binary_dependency_builds.html</link>
<description><![CDATA[<h3>The concept</h3>
<p>The typical local builds that developers run on their machines work by building the subproject they're working on but also all the dependent subprojects it requires. Usually, as building all dependent subprojects takes
a lot of time, the developer infrequently checks-out other project sources and build them on demand. His focus is on his subproject that he's making modifications to (and rightly so!). This strategy has the following 
drawbacks:</p>
<ul>
<li>Setting up the build on a new fresh machine is complex and takes time. Indeed you have to check out all the top level project sources and build all projecets one by one until you reach the subproject you're concerned with.</li>
<li>It doesn't scale too well. Your local build starts taking tens of minutes which does not encourage running it that often. And if you do, you don't rebuild all the subprojects even though there are probably lots of changes 
that have been made by other coworkers. Thus, you're increasing the possibility of an integration break (breaking your other coworkers when they integrate your changes).</li>
<li>When someone from another team inadverently breaks your project's build, you'll have to switch context (i.e. stop what you're doing) and help out to restore the master build. If this happens unfrequently, it's probably fine 
and even positive (as it increases team collaboration ;-)). However when it happens frequently (which is bound to happen as the team grows), you'll start suffering from it...</li>
</ul>
<p>Because of all these problems, I have been using a different approach on my current project for the past 2 years. This was mostly motivated by the fact that the project is a big project (close to 100 developers) and we were hitting the issues 
mentioned above. I have called this strategy "Binary Dependencies Build". If you're interested this is an approach I have presented both at <a href="http://www.pivolis.com/pdf/Enterprise_Builds_V1.0.pdf">TSSS2004</a> and 
at <a href="http://www.codehaus.org/~vmassol/blog/Maven%201.0%20-%2020041216.ppt">Javapolis 2004</a>.</p>
<p>Here is how it works (click on image for a larger picture):</p>
<a href="http://www.codehaus.org/~vmassol/blog/binary-dependencies-build.jpg"><img src="http://www.codehaus.org/~vmassol/blog/binary-dependencies-build-small.jpg"/></a>
<p>Imagine that you have a "trading" subproject that depends on 2 other subprojects ("partners" and "referenceData"). The idea is that your local build will NOT build them from sources but instead will download their <b>latest
version that work</b> from a remote artifact repository (a location where the result of the subproject build is located). In order to accelerate even further the build, the versions downloaded are stored locally. In our example, 
the latest "partners" jar is already available locally and is thus not downloaded but the "referenceData" one is not. It is downloaded and then stored locally. The "trading" subproject is built using these binary dependencies.</p>
<p>This is all fine but there is a burning question: How do I do continuous integration with such a system? Won't the binary dependencies be old versions when I get them? The solution to this is to have a continuous build
server that continuously build subprojects and puts their artifacts in the remote repository. Note that there are put in the repository <b>only</b> if their build passes with no errors. This ensure that there are always fresh
versions available and that they are as "good" as they can get.</p>
<h3>Doing it with Maven</h3>
<p>The good news is that this feature is built in Maven. Maven implements this support of artifact repositories (local and remote) and it supports the process of automatic download of artifacts not available in the local repository. 
Usually Maven will verify first in the local repository if the artifact's version exists and if so will use it. However, if an artifact's version contains the "SNAPSHOT" keyword, Maven will always check if there's is a more uptodate
artifact in the remote repository. This allows implementing easily the strategy defined above.</p>
<h3>Conclusion</h3>
<p>We've been very happy with this solution so far. I think there are 2 key points in making this work:</p>
<ul>
<li>A good build that provides assurance that the binary artifacts are working. Indeed we've experienced that our subproject build was not always good enough to qualify how "good" was a jar artifact. This was usually caused by the 
non-existence of automated functional tests which meant that even though the build was passing the jar was not working when executed on the developer's machine. The solution is of course to include integration/functional tests in
the build (at least the master CI build). </li>
<li>A quick master build. It's important that it generates fresh jar artifacts as quickly as possible so that CI can happen as often as possible.</li>
</ul>]]></description>
<dc:subject>Think tank</dc:subject>
<dc:creator>vmassol</dc:creator>
<dc:date>2005-01-12T10:44:45+00:00</dc:date>
</item>
<item rdf:about="http://blogs.codehaus.org/people/vmassol/archives/000939_top_buildbreakers.html">
<title>Top build-breakers</title>
<link>http://blogs.codehaus.org/people/vmassol/archives/000939_top_buildbreakers.html</link>
<description><![CDATA[<p>Here's a non-ordered list of the main problems causing build-breaks that we had found on the current project I'm working on (Note that this list is now a year old and that we have fixed some of them - Unfortunately the majority still remains...). I've added some possible ideas on how to fix them.</p>

<ol>

<li><b>Build takes too long to execute (and thus it is executed less often)</b></li>
  <ul>
    <li>Fix the build by having more subprojects with binary dependencies and/or streamline the build to
        ensure that only important build steps are run. Optimize it (f.e. offer different goals/targets: one
        for a clean build and another one that does not perform a clean).</li>
  </ul>

<li><b>Local build not executed</b></li>
  <ul>
    <li>Build coaches to increase build awareness. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>Public API breakage in dependent project without warning</b></li>
  <ul>
    <li>Better team communication. Set up a deprecation policy. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>Not enough continuous commits (all packed up at end of iteration)</b></li>
  <ul>
    <li>Team meetings to explain more the importance of continuous integration. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>. The idea is that if you keep your changes to yourself and accumulate them, whenever you'll want to commit them, 
        the unbreakable build will likely reject your changes as they will break some other part of the code. Thus you'll need to spend several days to talk to other developers to not only fix your code but also fix theirs. Normally
        after doing this several times, you should understand that it is in your best interest to commit frequently.</li>
  </ul>

<li><b>No functional/integration automated tests (f.e. no local verification of ejb-jar deployments)</b></li>
  <ul>
    <li>Automated functional tests! Build a suite slowly over time, improving it at each iteration. And maintain it! Decide on a good data handling strategy (this is usually the main issue). Ensure that your data strategy keeps everyone in sync WRT DB data.</li>
  </ul>

<li><b>Commit problems (Forget to commit some files, Pb due to SCM tool - Starteam: new directory do not appear in Starteam view!)</b></li>
  <ul>
    <li>Coaching + change the SCM tool! Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>Devs “building” with IDE but forgetting to use the automated build</b></li>
  <ul>
    <li>Coaching. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>Checkstyle errors failing the build</b></li>
  <ul>
    <li>Coaching. More team meeting to decide what checkstyle errors we want to fail the build or not. Get a strong team buy-in. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>Failing unit tests</b></li>
  <ul>
    <li>It probably means that the unit tests are actually integration tests depending on database data. Ensure that unit tests are quick and fast and independent of the environment. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>[Maven] project.xml not up to date and missing dependency</b></li>
  <ul>
    <li>SCM diff emails on check-ins (team by team) in order for everyone to have the knowledge of what's happening. Complementary idea: <a href="http://blogs.codehaus.org/people/vmassol/archives/000937_unbreakable_builds.html">"unbreakable builds"</a>.</li>
  </ul>

<li><b>Database data modifications (vol