<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What&#8217;s in a name&#8230;</title>
	<atom:link href="http://blog.xebia.com/2008/08/28/whats-in-a-name/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/</link>
	<description></description>
	<lastBuildDate>Thu, 11 Mar 2010 16:23:01 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Olivier Croisier</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-52192</link>
		<dc:creator>Olivier Croisier</dc:creator>
		<pubDate>Thu, 04 Sep 2008 09:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-52192</guid>
		<description>Yes, Ant scripts can also run quickly out of control if no guidelines / good practices are set by the architects or integration team.

But I believe that if you follow some common sense practices (for example, having standard targets like &quot;clean&quot;, &quot;build&quot;... and parameters put into properties files), Ant scripts can stay rather clean.
Using calls between scripts, you can even factorize standart targets into a project-agnostic reusable script, and then extend it with additional project-specific (or temporary) targets in another file.

One thing I don&#039;t like in Ant, though, is the ability/need to (re)name the tasks when you import them, as the very same task can then be named differently in different scripts... This helps prevent task name collision, but I think namespaces would&#039;ve been a better solution.

As for parameter naming (back to the main topic), I suggest never using negative forms, as double negative are harder to understand (ex: inactive=false) : use &quot;active&quot; (or &quot;isActive&quot;) instead of &quot;inactive&quot;, &quot;enabled&quot; instead of &quot;disabled&quot; - you get the idea.</description>
		<content:encoded><![CDATA[<p>Yes, Ant scripts can also run quickly out of control if no guidelines / good practices are set by the architects or integration team.</p>
<p>But I believe that if you follow some common sense practices (for example, having standard targets like &#8220;clean&#8221;, &#8220;build&#8221;&#8230; and parameters put into properties files), Ant scripts can stay rather clean.<br />
Using calls between scripts, you can even factorize standart targets into a project-agnostic reusable script, and then extend it with additional project-specific (or temporary) targets in another file.</p>
<p>One thing I don&#8217;t like in Ant, though, is the ability/need to (re)name the tasks when you import them, as the very same task can then be named differently in different scripts&#8230; This helps prevent task name collision, but I think namespaces would&#8217;ve been a better solution.</p>
<p>As for parameter naming (back to the main topic), I suggest never using negative forms, as double negative are harder to understand (ex: inactive=false) : use &#8220;active&#8221; (or &#8220;isActive&#8221;) instead of &#8220;inactive&#8221;, &#8220;enabled&#8221; instead of &#8220;disabled&#8221; &#8211; you get the idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Stolwijk</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-52181</link>
		<dc:creator>Nick Stolwijk</dc:creator>
		<pubDate>Thu, 04 Sep 2008 08:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-52181</guid>
		<description>@Lars: It also doesn&#039;t have a patch or that many votes, so maybe not many people are annoyed at it. Maybe if you could provide a patch and or vote on it, it can be in the next release. I wouldn&#039;t think anyone relies on this behavior.</description>
		<content:encoded><![CDATA[<p>@Lars: It also doesn&#8217;t have a patch or that many votes, so maybe not many people are annoyed at it. Maybe if you could provide a patch and or vote on it, it can be in the next release. I wouldn&#8217;t think anyone relies on this behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lars Vonk</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-52059</link>
		<dc:creator>Lars Vonk</dc:creator>
		<pubDate>Wed, 03 Sep 2008 12:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-52059</guid>
		<description>@Oliver: I have some negative experiences with ant; it quickly becomes an unmaintable buildscript.... But perhaps it is time to give ant and ivy a real change.

@Nick: I didn&#039;t post it on the mailing list since there is already a bug reported on this issue on 17-06-2006:  http://jira.codehaus.org/browse/MNG-2387.
Apparently it has no priority.

As workaround I just added an extra dummy proxy that always has its active flag set to false...</description>
		<content:encoded><![CDATA[<p>@Oliver: I have some negative experiences with ant; it quickly becomes an unmaintable buildscript&#8230;. But perhaps it is time to give ant and ivy a real change.</p>
<p>@Nick: I didn&#8217;t post it on the mailing list since there is already a bug reported on this issue on 17-06-2006:  <a href="http://jira.codehaus.org/browse/MNG-2387" rel="nofollow">http://jira.codehaus.org/browse/MNG-2387</a>.<br />
Apparently it has no priority.</p>
<p>As workaround I just added an extra dummy proxy that always has its active flag set to false&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Stolwijk</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-52058</link>
		<dc:creator>Nick Stolwijk</dc:creator>
		<pubDate>Wed, 03 Sep 2008 10:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-52058</guid>
		<description>Have you mentioned this on the mailinglist? This seems like a bug or at least unwanted behaviour.</description>
		<content:encoded><![CDATA[<p>Have you mentioned this on the mailinglist? This seems like a bug or at least unwanted behaviour.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier Croisier</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-51922</link>
		<dc:creator>Olivier Croisier</dc:creator>
		<pubDate>Tue, 02 Sep 2008 10:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-51922</guid>
		<description>If you want an alternative, Ant and Ivy work just fine, and provide dependency management via maven repositories (which is often the main feature causing the adoption of Maven over Ant).

In my opinion, from a paradigm point of view, Ant and Maven are perfect opposites :  
- the first is non-invasive and easily adapts to any project&#039;s structure, whereas the second forces your projects to fit into its own rigid structure (which I think is inherently a *bad* idea).
- Ant&#039;s scripts are transparent to the developers and integrators, can be looked at and easily changed or extended; Maven is a big black box and extending it is quite... painful.

Admitted, my opinion might be (well, IS) quite biased by several negative experiences with Maven (including those you mention : slooow dependency resolution, bad IDE plugins, mysterious un-debuggable behaviours...).

Let&#039;s not forget that Maven was developed for the specific needs of the Apache Foundation, whose many projects needed &quot;standardized&quot; automated building and website generation. 
Using it blindly on each and every enterprise project doesn&#039;t seem a good idea to me.</description>
		<content:encoded><![CDATA[<p>If you want an alternative, Ant and Ivy work just fine, and provide dependency management via maven repositories (which is often the main feature causing the adoption of Maven over Ant).</p>
<p>In my opinion, from a paradigm point of view, Ant and Maven are perfect opposites :<br />
- the first is non-invasive and easily adapts to any project&#8217;s structure, whereas the second forces your projects to fit into its own rigid structure (which I think is inherently a *bad* idea).<br />
- Ant&#8217;s scripts are transparent to the developers and integrators, can be looked at and easily changed or extended; Maven is a big black box and extending it is quite&#8230; painful.</p>
<p>Admitted, my opinion might be (well, IS) quite biased by several negative experiences with Maven (including those you mention : slooow dependency resolution, bad IDE plugins, mysterious un-debuggable behaviours&#8230;).</p>
<p>Let&#8217;s not forget that Maven was developed for the specific needs of the Apache Foundation, whose many projects needed &#8220;standardized&#8221; automated building and website generation.<br />
Using it blindly on each and every enterprise project doesn&#8217;t seem a good idea to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lars Vonk</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-51674</link>
		<dc:creator>Lars Vonk</dc:creator>
		<pubDate>Sun, 31 Aug 2008 19:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-51674</guid>
		<description>Hi Erik, actually I am not implying to ditch Maven... (although sometimes I feel like it). But if you know a serious alternative let me know .</description>
		<content:encoded><![CDATA[<p>Hi Erik, actually I am not implying to ditch Maven&#8230; (although sometimes I feel like it). But if you know a serious alternative let me know .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Pragt</title>
		<link>http://blog.xebia.com/2008/08/28/whats-in-a-name/comment-page-1/#comment-51394</link>
		<dc:creator>Erik Pragt</dc:creator>
		<pubDate>Thu, 28 Aug 2008 09:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=728#comment-51394</guid>
		<description>I very much agree on the naming of &#039;stuff&#039; in general, but I also have a +1 on ditching Maven. That&#039;s what you&#039;re implying right?

Even though I&#039;m quite a big fan of Maven (especially since IntelliJ integrates so well with it), my experience also learns me that we spend more than a day each iteration fixing Maven. Problem we encounter are not being able to find dependencies (even though we have a transparant proxy, and it worked yesterday), the build behaving differently on our build server than locally, very, very, very slow dependency resolution, conflicint dependencies, more pom XML than we have code (well, almost....)

So I totally agree on the naming. And replacing Maven ;)</description>
		<content:encoded><![CDATA[<p>I very much agree on the naming of &#8217;stuff&#8217; in general, but I also have a +1 on ditching Maven. That&#8217;s what you&#8217;re implying right?</p>
<p>Even though I&#8217;m quite a big fan of Maven (especially since IntelliJ integrates so well with it), my experience also learns me that we spend more than a day each iteration fixing Maven. Problem we encounter are not being able to find dependencies (even though we have a transparant proxy, and it worked yesterday), the build behaving differently on our build server than locally, very, very, very slow dependency resolution, conflicint dependencies, more pom XML than we have code (well, almost&#8230;.)</p>
<p>So I totally agree on the naming. And replacing Maven <img src='http://blog.xebia.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
