<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-31413</id>
	<title>Nabble - gradle-dev</title>
	<updated>2008-11-20T03:13:46Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/gradle-dev-f31413.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/gradle-dev-f31413.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-20599071</id>
	<title>Re: We are about to release a gradle-based scaffolding tool</title>
	<published>2008-11-20T03:13:46Z</published>
	<updated>2008-11-20T03:13:46Z</updated>
	<author>
		<name>Rafael Serrano</name>
	</author>
	<content type="html">Hi Hans,
&lt;br&gt;&lt;br&gt;Thanks for your comments! I have just commited the changes.
&lt;br&gt;&lt;br&gt;Kind regards,
&lt;br&gt;Rafa
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;hdockter wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi Rafa,
&lt;br&gt;&lt;br&gt;On Nov 18, 2008, at 8:46 PM, Rafael Serrano wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We are about to release a scaffolding tool with the next release of &amp;nbsp;
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; Loom project ( &lt;a href=&quot;http://loom.extrema-sistemas.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://loom.extrema-sistemas.org&lt;/a&gt;&amp;nbsp;) that creates a &amp;nbsp;
&lt;br&gt;&amp;gt; eclipse
&lt;br&gt;&amp;gt; project structure based on gradle.
&lt;br&gt;&lt;br&gt;Cool :)
&lt;br&gt;&lt;br&gt;&amp;gt; I attach the
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/file/p20566832/build.gradle&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/file/p20566832/build.gradle&lt;/a&gt;&amp;nbsp;build.gradle &amp;nbsp;file
&lt;br&gt;&amp;gt; that would be generated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Everything works fine, but we wanted to ask the gradle list for &amp;nbsp;
&lt;br&gt;&amp;gt; comments
&lt;br&gt;&amp;gt; regarding the build file. If someone wanted to discuss about it
&lt;br&gt;&amp;gt; (additions / removals / optimizations are most welcome!) or wanted to
&lt;br&gt;&amp;gt; test the scaffolding tool before the release, please drop me a line
&lt;br&gt;&amp;gt; (on-list or off-list, as you prefer).
&lt;br&gt;&lt;br&gt;I had a quick look and it looks good to me. But I had no time to &amp;nbsp;
&lt;br&gt;think myself into the problem space you are trying to solve, so I &amp;nbsp;
&lt;br&gt;might have missed something.
&lt;br&gt;&lt;br&gt;A couple of comments:
&lt;br&gt;&lt;br&gt;1.) task(&amp;quot;eclipse&amp;quot;).doFirst {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; task(&amp;quot;gen-lib&amp;quot;).execute()
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Instead of task(&amp;quot;eclipse&amp;quot;) you can also write eclipse. And instead of &amp;nbsp;
&lt;br&gt;executing you could create a dependsOn relation. The above would turn &amp;nbsp;
&lt;br&gt;into:
&lt;br&gt;&lt;br&gt;eclipse.dependsOn &amp;quot;gen-lib&amp;quot;
&lt;br&gt;&lt;br&gt;2.) There is a predefined dir which is used automatically by the war &amp;nbsp;
&lt;br&gt;plugin. The property is called webAppDir and defaults to src/main/ 
&lt;br&gt;webApp. If you don't like the location you can say: webAppDirName = &amp;nbsp;
&lt;br&gt;'env'. This name is relative to the src dir. That should spare you the:
&lt;br&gt;&lt;br&gt;archive_war {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileSet(dir: webappDir)
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;3.) Instead of try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this[&amp;quot;${appServer}Home&amp;quot;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch(MissingPropertyException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // println &amp;quot;The property ${appServer}Home has not been set. Trying &amp;nbsp;
&lt;br&gt;to use $envName&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this[&amp;quot;${appServer}Home&amp;quot;] = getEnv(envName)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;You can use the hasProperty method: if (hasProperty(&amp;quot;${appServer} 
&lt;br&gt;Home&amp;quot;)) { ... }
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/We-are-about-to-release-a-gradle-based-scaffolding-tool-tp20566832p20599071.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20588023</id>
	<title>Re: We are about to release a gradle-based scaffolding tool</title>
	<published>2008-11-19T11:58:55Z</published>
	<updated>2008-11-19T11:58:55Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">Hi Rafa,
&lt;br&gt;&lt;br&gt;On Nov 18, 2008, at 8:46 PM, Rafael Serrano wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We are about to release a scaffolding tool with the next release of &amp;nbsp;
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; Loom project ( &lt;a href=&quot;http://loom.extrema-sistemas.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://loom.extrema-sistemas.org&lt;/a&gt;&amp;nbsp;) that creates a &amp;nbsp;
&lt;br&gt;&amp;gt; eclipse
&lt;br&gt;&amp;gt; project structure based on gradle.
&lt;br&gt;&lt;br&gt;Cool :)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I attach the
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/file/p20566832/build.gradle&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/file/p20566832/build.gradle&lt;/a&gt;&amp;nbsp;build.gradle &amp;nbsp;file
&lt;br&gt;&amp;gt; that would be generated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Everything works fine, but we wanted to ask the gradle list for &amp;nbsp;
&lt;br&gt;&amp;gt; comments
&lt;br&gt;&amp;gt; regarding the build file. If someone wanted to discuss about it
&lt;br&gt;&amp;gt; (additions / removals / optimizations are most welcome!) or wanted to
&lt;br&gt;&amp;gt; test the scaffolding tool before the release, please drop me a line
&lt;br&gt;&amp;gt; (on-list or off-list, as you prefer).
&lt;/div&gt;&lt;br&gt;I had a quick look and it looks good to me. But I had no time to &amp;nbsp;
&lt;br&gt;think myself into the problem space you are trying to solve, so I &amp;nbsp;
&lt;br&gt;might have missed something.
&lt;br&gt;&lt;br&gt;A couple of comments:
&lt;br&gt;&lt;br&gt;1.) task(&amp;quot;eclipse&amp;quot;).doFirst {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; task(&amp;quot;gen-lib&amp;quot;).execute()
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Instead of task(&amp;quot;eclipse&amp;quot;) you can also write eclipse. And instead of &amp;nbsp;
&lt;br&gt;executing you could create a dependsOn relation. The above would turn &amp;nbsp;
&lt;br&gt;into:
&lt;br&gt;&lt;br&gt;eclipse.dependsOn &amp;quot;gen-lib&amp;quot;
&lt;br&gt;&lt;br&gt;2.) There is a predefined dir which is used automatically by the war &amp;nbsp;
&lt;br&gt;plugin. The property is called webAppDir and defaults to src/main/ 
&lt;br&gt;webApp. If you don't like the location you can say: webAppDirName = &amp;nbsp;
&lt;br&gt;'env'. This name is relative to the src dir. That should spare you the:
&lt;br&gt;&lt;br&gt;archive_war {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileSet(dir: webappDir)
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;3.) Instead of try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this[&amp;quot;${appServer}Home&amp;quot;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch(MissingPropertyException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // println &amp;quot;The property ${appServer}Home has not been set. Trying &amp;nbsp;
&lt;br&gt;to use $envName&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this[&amp;quot;${appServer}Home&amp;quot;] = getEnv(envName)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;You can use the hasProperty method: if (hasProperty(&amp;quot;${appServer} 
&lt;br&gt;Home&amp;quot;)) { ... }
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/We-are-about-to-release-a-gradle-based-scaffolding-tool-tp20566832p20588023.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20566832</id>
	<title>We are about to release a gradle-based scaffolding tool</title>
	<published>2008-11-18T11:46:38Z</published>
	<updated>2008-11-18T11:46:38Z</updated>
	<author>
		<name>Rafael Serrano</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;We are about to release a scaffolding tool with the next release of the
&lt;br&gt;Loom project ( &lt;a href=&quot;http://loom.extrema-sistemas.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://loom.extrema-sistemas.org&lt;/a&gt;&amp;nbsp;) that creates a eclipse
&lt;br&gt;project structure based on gradle. I attach the &lt;a href=&quot;http://www.nabble.com/file/p20566832/build.gradle&quot; target=&quot;_top&quot;&gt;build.gradle&lt;/a&gt;&amp;nbsp;file
&lt;br&gt;that would be generated.
&lt;br&gt;&lt;br&gt;Everything works fine, but we wanted to ask the gradle list for comments
&lt;br&gt;regarding the build file. If someone wanted to discuss about it
&lt;br&gt;(additions / removals / optimizations are most welcome!) or wanted to
&lt;br&gt;test the scaffolding tool before the release, please drop me a line
&lt;br&gt;(on-list or off-list, as you prefer).
&lt;br&gt;&lt;br&gt;The scaffolding tool is a java application that generates a [ JPA +
&lt;br&gt;Hibernate + Spring + Loom + JSP ] project structure with gradle as the
&lt;br&gt;build system. We wanted to release it this same week if possible, so
&lt;br&gt;time is an issue.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Rafa
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/We-are-about-to-release-a-gradle-based-scaffolding-tool-tp20566832p20566832.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20492977</id>
	<title>Re: ditch latex?</title>
	<published>2008-11-13T17:10:48Z</published>
	<updated>2008-11-13T17:10:48Z</updated>
	<author>
		<name>Helmut Denk</name>
	</author>
	<content type="html">i can confirm, what you wrote about fop
&lt;br&gt;and xep.
&lt;br&gt;&lt;br&gt;things, that the discussion has shown IMO:
&lt;br&gt;&lt;br&gt;- the grass isn't so much greener on the
&lt;br&gt;other side of the river 
&lt;br&gt;&lt;br&gt;- today there is no perfect solution for doing open-source-docs
&lt;br&gt;like the gradle-users-guide. 
&lt;br&gt;&lt;br&gt;(even if some weired people proclaim, that there 
&lt;br&gt;could be one in the future ;~)
&lt;br&gt;&lt;br&gt;gruesse</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ditch-latex--tp20196953p20492977.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20492030</id>
	<title>Re: ditch latex?</title>
	<published>2008-11-13T15:47:22Z</published>
	<updated>2008-11-13T15:47:22Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I had the chance today to speak with a computer book author who uses &amp;nbsp;
&lt;br&gt;docbook to write his books. He said he is very happy with docbook. &amp;nbsp;
&lt;br&gt;But he also said that he wasted an enormous amount time in &amp;nbsp;
&lt;br&gt;transforming fo in pdf with Apache FO. He said one big problem is &amp;nbsp;
&lt;br&gt;that when errors occur, Apache FO does not tell you what the reason &amp;nbsp;
&lt;br&gt;is. And you have to do try and error to fix the problem. He said that &amp;nbsp;
&lt;br&gt;this has cost him 2 months. May be we don't have the same problems as &amp;nbsp;
&lt;br&gt;what we want to render is not so difficult. Anyway, he finally turned &amp;nbsp;
&lt;br&gt;to a commercial tool called XEP (&lt;a href=&quot;http://www.renderx.com/tools/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.renderx.com/tools/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;xep.html). He is very happy with this tool. They offer a free license &amp;nbsp;
&lt;br&gt;for non-profit use, but I doubt that this license allows us to put it &amp;nbsp;
&lt;br&gt;into svn. But at least it means there is a tool that would provide us &amp;nbsp;
&lt;br&gt;book publishing PDF quality.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/ditch-latex--tp20196953p20492030.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20437390</id>
	<title>Re: -S and -B command line options</title>
	<published>2008-11-11T03:07:12Z</published>
	<updated>2008-11-11T03:07:12Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 11, 2008, at 10:59 AM, Adam Murdoch wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do we need the -S and -B command line options? Can we get rid of them?
&lt;br&gt;&lt;br&gt;I have removed the -B option. The -S option is needed by the unit &amp;nbsp;
&lt;br&gt;test of the main class.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-S-and--B-command-line-options-tp20436463p20437390.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20436463</id>
	<title>-S and -B command line options</title>
	<published>2008-11-11T01:59:33Z</published>
	<updated>2008-11-11T01:59:33Z</updated>
	<author>
		<name>Adam Murdoch-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Do we need the -S and -B command line options? Can we get rid of them?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Adam
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-S-and--B-command-line-options-tp20436463p20436463.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20423757</id>
	<title>Installed HTML</title>
	<published>2008-11-10T08:53:18Z</published>
	<updated>2008-11-10T08:53:18Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">I have just found that all the links in the HTML documentation that gets
&lt;br&gt;created during explodedDists have absolute URL to the Gradle website. &amp;nbsp;I
&lt;br&gt;would say that this is wrong, all the links should be internal to the
&lt;br&gt;installed documentation.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20423757/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Installed-HTML-tp20423757p20423757.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20419093</id>
	<title>[Fwd: [gradle-user] Stability of Subprocess Tests]</title>
	<published>2008-11-10T04:32:19Z</published>
	<updated>2008-11-10T04:32:19Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">OK, this is weird -- but very good.
&lt;br&gt;&lt;br&gt;With the latest Gradle installed, all the Gant tests pass. &amp;nbsp;Seemingly
&lt;br&gt;consistently.
&lt;br&gt;&lt;br&gt;Whatever changed is good :-)
&lt;br&gt;&lt;br&gt;-------- Forwarded Message --------
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Russel Winder &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20419093&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;russel.winder@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Reply-To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20419093&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: Gradle Users &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20419093&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: [gradle-user] Stability of Subprocess Tests
&lt;br&gt;&amp;gt; Date: Sun, 09 Nov 2008 19:02:10 +0000
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Gant tests for the Gant Ant task work consistently fine run from Ant
&lt;br&gt;&amp;gt; and Gant. &amp;nbsp;However from an IDE, one of the tests is very unstable.
&lt;br&gt;&amp;gt; Unfortunately Gradle is failing on the same tests but in a fairly
&lt;br&gt;&amp;gt; consistent way. &amp;nbsp;The problem is definitely associated with a test that
&lt;br&gt;&amp;gt; causes a subprocess to be started. &amp;nbsp;The problem appears to be that there
&lt;br&gt;&amp;gt; is some inconsistency in the characters stream sent from the subprocess
&lt;br&gt;&amp;gt; to the main process. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have been failing to find a way of dealing with the problem. &amp;nbsp;Has
&lt;br&gt;&amp;gt; anyone come across this sort of thing elsewhere?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;-- 
&lt;/div&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20419093/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-Fwd%3A--gradle-user--Stability-of-Subprocess-Tests--tp20419093p20419093.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20418702</id>
	<title>Re: jars and ISO 8601</title>
	<published>2008-11-10T04:02:44Z</published>
	<updated>2008-11-10T04:02:44Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">Hans,
&lt;br&gt;&lt;br&gt;On Mon, 2008-11-10 at 11:41 +0100, Hans Dockter wrote:
&lt;br&gt;&amp;gt; On Nov 10, 2008, at 11:01 AM, Russel Winder wrote:
&lt;br&gt;[ . . . ]
&lt;br&gt;&amp;gt; &amp;gt; gradle-0.5-20081110074402+0000.jar
&lt;br&gt;&amp;gt; &amp;gt; gradle-wrapper-0.5-20081110074402+0000.jar
&lt;br&gt;[ . . . ]
&lt;br&gt;&amp;gt; Fixed.
&lt;br&gt;&lt;br&gt;Splendid. &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20418702/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/jars-and-ISO-8601-tp20417347p20418702.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20417762</id>
	<title>Re: jars and ISO 8601</title>
	<published>2008-11-10T02:41:29Z</published>
	<updated>2008-11-10T02:41:29Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 10, 2008, at 11:01 AM, Russel Winder wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I think the naming strategy for the jars should be changed:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; gradle-0.5-081110074402+0000.jar
&lt;br&gt;&amp;gt; gradle-wrapper-0.5-081110074402+0000.jar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; should be
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; gradle-0.5-20081110074402+0000.jar
&lt;br&gt;&amp;gt; gradle-wrapper-0.5-20081110074402+0000.jar
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; without the 20 the names are violating ISO 8601 even though they are
&lt;br&gt;&amp;gt; trying to look like valid dates.
&lt;/div&gt;&lt;br&gt;Fixed.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/jars-and-ISO-8601-tp20417347p20417762.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20417347</id>
	<title>jars and ISO 8601</title>
	<published>2008-11-10T02:01:02Z</published>
	<updated>2008-11-10T02:01:02Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">I think the naming strategy for the jars should be changed:
&lt;br&gt;&lt;br&gt;gradle-0.5-081110074402+0000.jar
&lt;br&gt;gradle-wrapper-0.5-081110074402+0000.jar
&lt;br&gt;&lt;br&gt;should be 
&lt;br&gt;&lt;br&gt;gradle-0.5-20081110074402+0000.jar
&lt;br&gt;gradle-wrapper-0.5-20081110074402+0000.jar
&lt;br&gt;&lt;br&gt;without the 20 the names are violating ISO 8601 even though they are
&lt;br&gt;trying to look like valid dates.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20417347/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/jars-and-ISO-8601-tp20417347p20417347.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20417084</id>
	<title>TestNG newsflash</title>
	<published>2008-11-10T01:42:42Z</published>
	<updated>2008-11-10T01:42:42Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">BTW &amp;nbsp;Good luck with getting 0.5 out today, I hope it goes well.
&lt;br&gt;&lt;br&gt;The TestNG stuff seems to be progressing nicely, the branch compiles and
&lt;br&gt;all the unit tests pass. &amp;nbsp;Moreover, my ADS project now does something
&lt;br&gt;more sensible than it used to:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;gt; gradle test
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TestNGTestPolicy [init]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :init
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :resources
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :compile
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Note: Some input files use unchecked or unsafe operations.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Note: Recompile with -Xlint:unchecked for details.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :testResources
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :testCompile
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :test
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Build failed with an exception.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Run with -s or -d option to get more details. Run with -f option
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to get the full (very verbose) stacktrace.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Build file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '/home/users/russel/Repositories/Bazaar/Masters/ADS/build.gradle'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Execution failed for task :test.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cause: Expected at least one TestNG suite to execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILD FAILED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total time: 25.965 secs
&lt;br&gt;&lt;br&gt;So clearly the initial experiment is a success, the question is now:
&lt;br&gt;how to progress this. &amp;nbsp; I won't be able to do any work on this for the
&lt;br&gt;next couple of weeks or so -- I have to prepare for and go to SC08 in
&lt;br&gt;Austin.
&lt;br&gt;&lt;br&gt;There is a Bazaar branch at lp:~russel/gradle/testng and a branch in the
&lt;br&gt;Git repository on GitHub git://github.com/russel/gradle.git
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20417084/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/TestNG-newsflash-tp20417084p20417084.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416971</id>
	<title>Re: Spurious or ?</title>
	<published>2008-11-10T01:33:53Z</published>
	<updated>2008-11-10T01:33:53Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">On Mon, 2008-11-10 at 10:19 +0100, Hans Dockter wrote:
&lt;br&gt;[ . . . ]
&lt;br&gt;&amp;gt; In the long run it would be nice to get rid of the Ant dependency for &amp;nbsp;
&lt;br&gt;&amp;gt; all our core tasks. Once we modularize we don't need a big dependency &amp;nbsp;
&lt;br&gt;&amp;gt; any longer. And the behavior of the Ant tasks are often not as &amp;nbsp;
&lt;br&gt;&amp;gt; flexible as we like.
&lt;br&gt;&lt;br&gt;On the one hand I agree it is good if Gradle Core can have very few
&lt;br&gt;dependencies. &amp;nbsp;On the other hand not using ready-made resource, but
&lt;br&gt;replicating it could be seen as a bad move -- and create negative
&lt;br&gt;publicity.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20416971/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spurious-or---tp20415501p20416971.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416710</id>
	<title>Re: Spurious or ?</title>
	<published>2008-11-10T01:19:11Z</published>
	<updated>2008-11-10T01:19:11Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 10, 2008, at 10:13 AM, Russel Winder wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 2008-11-10 at 09:42 +0100, Hans Dockter wrote:
&lt;br&gt;&amp;gt; [ . . . ]
&lt;br&gt;&amp;gt;&amp;gt; I always run into this frequently. There is a Gradle multiproject
&lt;br&gt;&amp;gt;&amp;gt; build where it only occurs if multiple projects are build but not in
&lt;br&gt;&amp;gt;&amp;gt; the case of a single project sub project build. The reports are still
&lt;br&gt;&amp;gt;&amp;gt; OK despite this warning. It would be nice to get rid of it but I
&lt;br&gt;&amp;gt;&amp;gt; don't know how at the moment. When we move away from Ant for this
&lt;br&gt;&amp;gt;&amp;gt; kind of stuff this will be obsolete anyway.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OK, I'll just ignore it then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is the &amp;quot;move away from Ant&amp;quot; and indicator that there is a &amp;quot;move to &amp;nbsp;
&lt;br&gt;&amp;gt; XXX&amp;quot;
&lt;br&gt;&amp;gt; for some XXX, or is the intention to reimplement all the Ant tasks?
&lt;/div&gt;&lt;br&gt;In the long run it would be nice to get rid of the Ant dependency for &amp;nbsp;
&lt;br&gt;all our core tasks. Once we modularize we don't need a big dependency &amp;nbsp;
&lt;br&gt;any longer. And the behavior of the Ant tasks are often not as &amp;nbsp;
&lt;br&gt;flexible as we like.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spurious-or---tp20415501p20416710.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416643</id>
	<title>Re: stdout capture</title>
	<published>2008-11-10T01:14:10Z</published>
	<updated>2008-11-10T01:14:10Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 7, 2008, at 6:54 AM, Adam Murdoch wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hans Dockter wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Nov 1, 2008, at 10:07 PM, Adam Murdoch wrote
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Should there be some kind of inheritance going on, where a &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; project inherits this setting from its parent, and tasks from &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; their project?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In general I'm not sure if inheritance is a good means to define &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; commons stuff in multi-project builds. Gradle provides inheritance &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; for properties and methods amongst build scripts (which would not &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; enable inheritance for settings stdout capture). But in general my &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; preferred way of configuring things is for example:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; allprojects {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; captureStandardOut(LogLevel.INFO)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; groovydoc.captureStandardOut(LogLevel.DEBUG)
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; That way you can easily make exceptions for certain projects based &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; on filters.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Would you prefer an inheritance approach?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not really for projects. Not fussed. Perhaps tasks could use the &amp;nbsp;
&lt;br&gt;&amp;gt; level from their project as a default. Having played with this a &amp;nbsp;
&lt;br&gt;&amp;gt; bit, it seems kind of odd that when you set the level on a project, &amp;nbsp;
&lt;br&gt;&amp;gt; its doesn't affect the project's tasks.
&lt;/div&gt;&lt;br&gt;We should use it as a default. &lt;a href=&quot;http://jira.codehaus.org/browse/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;GRADLE-309
&lt;br&gt;&lt;br&gt;&amp;gt; Or perhaps we just need to be able to do something like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; alltasks {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;captureStandardOut(LogLevel.INFO)
&lt;br&gt;&amp;gt; }
&lt;br&gt;&lt;br&gt;It probably would make sense to add such a alltasks notation although &amp;nbsp;
&lt;br&gt;right now there are probably not that many use cases for it.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/stdout-capture-tp20273291p20416643.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416625</id>
	<title>Re: Spurious or ?</title>
	<published>2008-11-10T01:12:30Z</published>
	<updated>2008-11-10T01:12:30Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">On Mon, 2008-11-10 at 09:42 +0100, Hans Dockter wrote:
&lt;br&gt;[ . . . ]
&lt;br&gt;&amp;gt; I always run into this frequently. There is a Gradle multiproject &amp;nbsp;
&lt;br&gt;&amp;gt; build where it only occurs if multiple projects are build but not in &amp;nbsp;
&lt;br&gt;&amp;gt; the case of a single project sub project build. The reports are still &amp;nbsp;
&lt;br&gt;&amp;gt; OK despite this warning. It would be nice to get rid of it but I &amp;nbsp;
&lt;br&gt;&amp;gt; don't know how at the moment. When we move away from Ant for this &amp;nbsp;
&lt;br&gt;&amp;gt; kind of stuff this will be obsolete anyway.
&lt;br&gt;&lt;br&gt;OK, I'll just ignore it then.
&lt;br&gt;&lt;br&gt;Is the &amp;quot;move away from Ant&amp;quot; and indicator that there is a &amp;quot;move to XXX&amp;quot;
&lt;br&gt;for some XXX, or is the intention to reimplement all the Ant tasks?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20416625/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spurious-or---tp20415501p20416625.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416501</id>
	<title>Re: Move unmanaged classpath into Configuration?</title>
	<published>2008-11-10T00:59:20Z</published>
	<updated>2008-11-10T00:59:20Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 7, 2008, at 11:43 PM, Adam Murdoch wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think we might get some nice benefits from moving the concept of &amp;nbsp;
&lt;br&gt;&amp;gt; unmanaged classpaths out of the various tasks and into &amp;nbsp;
&lt;br&gt;&amp;gt; Configuration. These are:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - We remove the parallel concepts of configurations and unmanaged &amp;nbsp;
&lt;br&gt;&amp;gt; classpaths from all the tasks, and leave configurations (or more &amp;nbsp;
&lt;br&gt;&amp;gt; likely FileCollections). This means simpler tasks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - The unmanaged classpaths can be easily reused by multiple tasks. &amp;nbsp;
&lt;br&gt;&amp;gt; Currently, if I add something to the unmanaged classpath for &amp;nbsp;
&lt;br&gt;&amp;gt; compile, I have to hunt down all the other places that use the &amp;nbsp;
&lt;br&gt;&amp;gt; compile configuration and add it there (providing, of course, they &amp;nbsp;
&lt;br&gt;&amp;gt; all support unmanaged classpaths). If I add it to the compile &amp;nbsp;
&lt;br&gt;&amp;gt; configuration, then they all just pick it up.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - We could attach meta-info to the items in the unmanaged &amp;nbsp;
&lt;br&gt;&amp;gt; classpath, such as which tasks produce them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - We could mix and match the use of ivy and files for a given &amp;nbsp;
&lt;br&gt;&amp;gt; dependency. For instance, I might want to bypass ivy for my intra- 
&lt;br&gt;&amp;gt; build dependencies by providing File for them, but still have ivy &amp;nbsp;
&lt;br&gt;&amp;gt; resolution used for those same dependencies when used outside the &amp;nbsp;
&lt;br&gt;&amp;gt; build (actually, its not 'might', I really do want to do this for &amp;nbsp;
&lt;br&gt;&amp;gt; some of my builds).
&lt;/div&gt;&lt;br&gt;I like this very much. That would provide also a very convenient way &amp;nbsp;
&lt;br&gt;for projects which want to migrate to Gradle and have a lib folder &amp;nbsp;
&lt;br&gt;with unversioned jars for example.
&lt;br&gt;&lt;br&gt;Regarding the mix and match. This would mean a file dependency is &amp;nbsp;
&lt;br&gt;also part of the Ivy module descriptor?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, how might this look? I can see a few options:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Add some methods to Configuration which allow unmanaged files to &amp;nbsp;
&lt;br&gt;&amp;gt; be added to the Configuration. When Configuration.resolve() is &amp;nbsp;
&lt;br&gt;&amp;gt; called, it returns the union of the files provided by ivy and the &amp;nbsp;
&lt;br&gt;&amp;gt; set of unmanaged files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Make Configuration polymorphic, so that you can have an Ivy &amp;nbsp;
&lt;br&gt;&amp;gt; Configuration or an unmanaged Configuration.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Change Dependency so that an implementation can provide either an &amp;nbsp;
&lt;br&gt;&amp;gt; ivy descriptor or a set of files or both, and add an &amp;nbsp;
&lt;br&gt;&amp;gt; UnmanagedDependency impl.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I prefer the last option.
&lt;/div&gt;&lt;br&gt;Me too. At the end of the day we might have dependencies being tasks. &amp;nbsp;
&lt;br&gt;We plan this for configurations anyway. But both would serve &amp;nbsp;
&lt;br&gt;different use cases.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We would need a term other then 'unmanaged classpath' for this type &amp;nbsp;
&lt;br&gt;&amp;gt; of artifact because they aren't necessarily unmanaged, or used for &amp;nbsp;
&lt;br&gt;&amp;gt; the classpath.
&lt;br&gt;&lt;br&gt;I would say we can simply skip the term and we can replace it with &amp;nbsp;
&lt;br&gt;file configurations or file dependencies.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Move-unmanaged-classpath-into-Configuration--tp20390260p20416501.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416326</id>
	<title>Re: Task dynamic properties</title>
	<published>2008-11-10T00:48:06Z</published>
	<updated>2008-11-10T00:48:06Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 7, 2008, at 9:33 PM, Adam Murdoch wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wonder if we should generalise the extension mechanisms we have &amp;nbsp;
&lt;br&gt;&amp;gt; in Project (additional properties, extension using convention &amp;nbsp;
&lt;br&gt;&amp;gt; objects, and inheritance) and apply them to Task.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've found using convention objects to add behaviour to projects to &amp;nbsp;
&lt;br&gt;&amp;gt; be extremely useful in my own builds and plugins. I imagine the &amp;nbsp;
&lt;br&gt;&amp;gt; same would be true of applying them to tasks as well (and possibly &amp;nbsp;
&lt;br&gt;&amp;gt; a few other common types, such as Settings and DependencyManager).
&lt;/div&gt;&lt;br&gt;This is an excellent idea.
&lt;br&gt;&lt;br&gt;I would also like to review the way the convention mechanism is &amp;nbsp;
&lt;br&gt;implemented at the moment.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In addition, I think consistency is important here. Settings, &amp;nbsp;
&lt;br&gt;&amp;gt; Project and Task all have dynamic properties and/or methods, but &amp;nbsp;
&lt;br&gt;&amp;gt; they all work a little differently, and the methods on the &amp;nbsp;
&lt;br&gt;&amp;gt; interfaces are not quite the same (setProperty vs defineProperty). &amp;nbsp;
&lt;br&gt;&amp;gt; I'd rather not have to keep a different set of rules in my head for &amp;nbsp;
&lt;br&gt;&amp;gt; each type of extensible thing.
&lt;br&gt;&lt;br&gt;Definitely. But we have run into a Groovy pecularity here. For any &amp;nbsp;
&lt;br&gt;Groovy object setProperty is automatically added. You can overwrite &amp;nbsp;
&lt;br&gt;this but this gets not inherited. Therefore the way we use it works &amp;nbsp;
&lt;br&gt;for projects, as we only use the default project. But it does not &amp;nbsp;
&lt;br&gt;work for tasks as the tasks inherit from DefaultTask where &amp;nbsp;
&lt;br&gt;setProperty is overwritten. So I guess we have to rename the &amp;nbsp;
&lt;br&gt;setProperty method of the Project class.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Task-dynamic-properties-tp20388583p20416326.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20416268</id>
	<title>Re: Spurious or ?</title>
	<published>2008-11-10T00:42:43Z</published>
	<updated>2008-11-10T00:42:43Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 10, 2008, at 8:36 AM, Russel Winder wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; When I build Gradle, I get:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [ . . . ]
&lt;br&gt;&amp;gt; :test
&lt;br&gt;&amp;gt; [ant:junitreport] the file /home/users/russel/Repositories/Git/ 
&lt;br&gt;&amp;gt; Subversion/GradleCore/build/test-results/TESTS-TestSuites.xml is &amp;nbsp;
&lt;br&gt;&amp;gt; not a valid testsuite XML document
&lt;br&gt;&amp;gt; :archive_jar
&lt;br&gt;&amp;gt; [ . . . ]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this to be expected?
&lt;/div&gt;&lt;br&gt;I always run into this frequently. There is a Gradle multiproject &amp;nbsp;
&lt;br&gt;build where it only occurs if multiple projects are build but not in &amp;nbsp;
&lt;br&gt;the case of a single project sub project build. The reports are still &amp;nbsp;
&lt;br&gt;OK despite this warning. It would be nice to get rid of it but I &amp;nbsp;
&lt;br&gt;don't know how at the moment. When we move away from Ant for this &amp;nbsp;
&lt;br&gt;kind of stuff this will be obsolete anyway.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spurious-or---tp20415501p20416268.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20415560</id>
	<title>Integration test failure</title>
	<published>2008-11-09T23:41:32Z</published>
	<updated>2008-11-09T23:41:32Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">I tried using &amp;quot;gradle install&amp;quot; rather than my install script (which only
&lt;br&gt;goes as far as :explodedDist. &amp;nbsp;I get an integration test failure:
&lt;br&gt;&lt;br&gt;Build file '/home/users/russel/Repositories/Git/Subversion/GradleCore/build.gradle' line(s): 417, 417
&lt;br&gt;&lt;br&gt;Execution failed for task :integTest.
&lt;br&gt;Cause: Cannot run program &amp;quot;/home/users/russel/Repositories/Git/Subversion/GradleCore/build/distributions/exploded/bin/gradle&amp;quot; (in directory &amp;quot;/home/users/russel/Repositories/Git/Subversion/GradleCore/build/distributions/exploded/samples/userguide/multiproject/flat/shark&amp;quot;): java.io.IOException: error=2, No such file or directory
&lt;br&gt;&lt;br&gt;Is this to be expected?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20415560/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Integration-test-failure-tp20415560p20415560.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20415501</id>
	<title>Spurious or ?</title>
	<published>2008-11-09T23:35:36Z</published>
	<updated>2008-11-09T23:35:36Z</updated>
	<author>
		<name>Russel Winder-4</name>
	</author>
	<content type="html">When I build Gradle, I get:
&lt;br&gt;&lt;br&gt;[ . . . ]
&lt;br&gt;:test
&lt;br&gt;[ant:junitreport] the file /home/users/russel/Repositories/Git/Subversion/GradleCore/build/test-results/TESTS-TestSuites.xml is not a valid testsuite XML document
&lt;br&gt;:archive_jar
&lt;br&gt;[ . . . ]
&lt;br&gt;&lt;br&gt;Is this to be expected?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Russel.
&lt;br&gt;====================================================
&lt;br&gt;Dr Russel Winder &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partner
&lt;br&gt;&lt;br&gt;Concertant LLP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t: +44 20 7585 2200, +44 20 7193 9203
&lt;br&gt;41 Buckmaster Road, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f: +44 8700 516 084
&lt;br&gt;London SW11 1EN, UK. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m: +44 7770 465 077
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20415501/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spurious-or---tp20415501p20415501.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20390260</id>
	<title>Move unmanaged classpath into Configuration?</title>
	<published>2008-11-07T14:43:46Z</published>
	<updated>2008-11-07T14:43:46Z</updated>
	<author>
		<name>Adam Murdoch-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I think we might get some nice benefits from moving the concept of 
&lt;br&gt;unmanaged classpaths out of the various tasks and into Configuration. 
&lt;br&gt;These are:
&lt;br&gt;&lt;br&gt;- We remove the parallel concepts of configurations and unmanaged 
&lt;br&gt;classpaths from all the tasks, and leave configurations (or more likely 
&lt;br&gt;FileCollections). This means simpler tasks.
&lt;br&gt;&lt;br&gt;- The unmanaged classpaths can be easily reused by multiple tasks. 
&lt;br&gt;Currently, if I add something to the unmanaged classpath for compile, I 
&lt;br&gt;have to hunt down all the other places that use the compile 
&lt;br&gt;configuration and add it there (providing, of course, they all support 
&lt;br&gt;unmanaged classpaths). If I add it to the compile configuration, then 
&lt;br&gt;they all just pick it up.
&lt;br&gt;&lt;br&gt;- We could attach meta-info to the items in the unmanaged classpath, 
&lt;br&gt;such as which tasks produce them.
&lt;br&gt;&lt;br&gt;- We could mix and match the use of ivy and files for a given 
&lt;br&gt;dependency. For instance, I might want to bypass ivy for my intra-build 
&lt;br&gt;dependencies by providing File for them, but still have ivy resolution 
&lt;br&gt;used for those same dependencies when used outside the build (actually, 
&lt;br&gt;its not 'might', I really do want to do this for some of my builds).
&lt;br&gt;&lt;br&gt;So, how might this look? I can see a few options:
&lt;br&gt;&lt;br&gt;- Add some methods to Configuration which allow unmanaged files to be 
&lt;br&gt;added to the Configuration. When Configuration.resolve() is called, it 
&lt;br&gt;returns the union of the files provided by ivy and the set of unmanaged 
&lt;br&gt;files.
&lt;br&gt;&lt;br&gt;- Make Configuration polymorphic, so that you can have an Ivy 
&lt;br&gt;Configuration or an unmanaged Configuration.
&lt;br&gt;&lt;br&gt;- Change Dependency so that an implementation can provide either an ivy 
&lt;br&gt;descriptor or a set of files or both, and add an UnmanagedDependency impl.
&lt;br&gt;&lt;br&gt;I prefer the last option.
&lt;br&gt;&lt;br&gt;We would need a term other then 'unmanaged classpath' for this type of 
&lt;br&gt;artifact because they aren't necessarily unmanaged, or used for the 
&lt;br&gt;classpath.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Adam
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Move-unmanaged-classpath-into-Configuration--tp20390260p20390260.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20388583</id>
	<title>Task dynamic properties</title>
	<published>2008-11-07T12:33:16Z</published>
	<updated>2008-11-07T12:33:16Z</updated>
	<author>
		<name>Adam Murdoch-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I wonder if we should generalise the extension mechanisms we have in 
&lt;br&gt;Project (additional properties, extension using convention objects, and 
&lt;br&gt;inheritance) and apply them to Task.
&lt;br&gt;&lt;br&gt;I've found using convention objects to add behaviour to projects to be 
&lt;br&gt;extremely useful in my own builds and plugins. I imagine the same would 
&lt;br&gt;be true of applying them to tasks as well (and possibly a few other 
&lt;br&gt;common types, such as Settings and DependencyManager).
&lt;br&gt;&lt;br&gt;In addition, I think consistency is important here. Settings, Project 
&lt;br&gt;and Task all have dynamic properties and/or methods, but they all work a 
&lt;br&gt;little differently, and the methods on the interfaces are not quite the 
&lt;br&gt;same (setProperty vs defineProperty). I'd rather not have to keep a 
&lt;br&gt;different set of rules in my head for each type of extensible thing.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Adam
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Task-dynamic-properties-tp20388583p20388583.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20388389</id>
	<title>Re: Java plugin task dependencies</title>
	<published>2008-11-07T12:18:28Z</published>
	<updated>2008-11-07T12:18:28Z</updated>
	<author>
		<name>Adam Murdoch-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Hans Dockter wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm wondering if it is a good idea to have the uploadDists task depend 
&lt;br&gt;&amp;gt; on the uploadLibs task. I'm thinking about letting uploadDists to 
&lt;br&gt;&amp;gt; depend only on libs. Of course this can be easily customized.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think?
&lt;br&gt;&amp;gt;
&lt;br&gt;I think this is good idea. We could possibly also add an 'upload' task 
&lt;br&gt;whose role is to upload everything produced by the build (libs, dists, 
&lt;br&gt;and anything else added by plugins or the project)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Adam
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Java-plugin-task-dependencies-tp20384634p20388389.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20384634</id>
	<title>Java plugin task dependencies</title>
	<published>2008-11-07T09:03:50Z</published>
	<updated>2008-11-07T09:03:50Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm wondering if it is a good idea to have the uploadDists task &amp;nbsp;
&lt;br&gt;depend on the uploadLibs task. I'm thinking about letting uploadDists &amp;nbsp;
&lt;br&gt;to depend only on libs. Of course this can be easily customized.
&lt;br&gt;&lt;br&gt;What do you think?
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Java-plugin-task-dependencies-tp20384634p20384634.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20375164</id>
	<title>Re: stdout capture</title>
	<published>2008-11-06T21:54:28Z</published>
	<updated>2008-11-06T21:54:28Z</updated>
	<author>
		<name>Adam Murdoch-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Hans Dockter wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 1, 2008, at 10:07 PM, Adam Murdoch wrote
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Should there be some kind of inheritance going on, where a project 
&lt;br&gt;&amp;gt;&amp;gt; inherits this setting from its parent, and tasks from their project?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In general I'm not sure if inheritance is a good means to define 
&lt;br&gt;&amp;gt; commons stuff in multi-project builds. Gradle provides inheritance for 
&lt;br&gt;&amp;gt; properties and methods amongst build scripts (which would not enable 
&lt;br&gt;&amp;gt; inheritance for settings stdout capture). But in general my preferred 
&lt;br&gt;&amp;gt; way of configuring things is for example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; allprojects {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; captureStandardOut(LogLevel.INFO)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; groovydoc.captureStandardOut(LogLevel.DEBUG)
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That way you can easily make exceptions for certain projects based on 
&lt;br&gt;&amp;gt; filters.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Would you prefer an inheritance approach?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Not really for projects. Not fussed. Perhaps tasks could use the level 
&lt;br&gt;from their project as a default. Having played with this a bit, it seems 
&lt;br&gt;kind of odd that when you set the level on a project, its doesn't affect 
&lt;br&gt;the project's tasks. Or perhaps we just need to be able to do something 
&lt;br&gt;like:
&lt;br&gt;&lt;br&gt;alltasks {
&lt;br&gt;&amp;nbsp; &amp;nbsp; captureStandardOut(LogLevel.INFO)
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Adam
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/stdout-capture-tp20273291p20375164.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20371661</id>
	<title>Re: Hans' new Maven support and build numbers</title>
	<published>2008-11-06T15:06:09Z</published>
	<updated>2008-11-06T15:06:09Z</updated>
	<author>
		<name>Phil Messenger</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;hdockter wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Could &amp;nbsp;you retrieve this number in your Maven builds?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Nope, but then it wasn't necessary as the functionality I'm writing now was basically built in. The pain of being an early adopter ;)
&lt;br&gt;&lt;br&gt;I've actually bitten the bullet and swapped to pure ivy repositories for internal artifacts. I'm still generating Pom's for everything, but as all of our projects are now converted maven compatibility is no longer a major concern.
&lt;br&gt;&lt;br&gt;Phil.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Hans%27-new-Maven-support-and-build-numbers-tp20360825p20371661.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20371362</id>
	<title>Re: Hans' new Maven support and build numbers</title>
	<published>2008-11-06T14:46:11Z</published>
	<updated>2008-11-06T14:46:11Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 6, 2008, at 5:45 PM, Phil Messenger wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hdockter wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I had a short look at the source code of the Ant Maven tasks, but
&lt;br&gt;&amp;gt;&amp;gt; there was no obvious way of getting the snapshot string. But I have
&lt;br&gt;&amp;gt;&amp;gt; found also no way in my earlier Maven builds to get hold of the
&lt;br&gt;&amp;gt;&amp;gt; snapshot string. Have you?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It would be cool to get the snapshot number. We could parse the log
&lt;br&gt;&amp;gt;&amp;gt; output if all else doesn't work.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yup, saw the use of the ant tasks and the lack of useful functions to
&lt;br&gt;&amp;gt; retrieve the required info. Is there an easy way to capture the log &amp;nbsp;
&lt;br&gt;&amp;gt; output?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Nothing really easy yet. You can hook into logback to add an &amp;nbsp;
&lt;br&gt;appender. But it would be nice to tell gradle that you want a String &amp;nbsp;
&lt;br&gt;with the log for a certain area of execution.
&lt;br&gt;&lt;br&gt;I might come up with something tomorrow. Just out of curiosity. Could &amp;nbsp;
&lt;br&gt;you retrieve this number in your Maven builds?
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Hans%27-new-Maven-support-and-build-numbers-tp20360825p20371362.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20364873</id>
	<title>Re: Hans' new Maven support and build numbers</title>
	<published>2008-11-06T08:45:20Z</published>
	<updated>2008-11-06T08:45:20Z</updated>
	<author>
		<name>Phil Messenger</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;hdockter wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I had a short look at the source code of the Ant Maven tasks, but &amp;nbsp;
&lt;br&gt;there was no obvious way of getting the snapshot string. But I have &amp;nbsp;
&lt;br&gt;found also no way in my earlier Maven builds to get hold of the &amp;nbsp;
&lt;br&gt;snapshot string. Have you?
&lt;br&gt;&lt;br&gt;It would be cool to get the snapshot number. We could parse the log &amp;nbsp;
&lt;br&gt;output if all else doesn't work.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Yup, saw the use of the ant tasks and the lack of useful functions to retrieve the required info. Is there an easy way to capture the log output?
&lt;br&gt;&lt;br&gt;Phil.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Hans%27-new-Maven-support-and-build-numbers-tp20360825p20364873.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20364434</id>
	<title>Re: Hans' new Maven support and build numbers</title>
	<published>2008-11-06T08:24:11Z</published>
	<updated>2008-11-06T08:24:11Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 6, 2008, at 2:17 PM, Phil Messenger wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been experimenting with the new Maven support in gradle for &amp;nbsp;
&lt;br&gt;&amp;gt; deploying
&lt;br&gt;&amp;gt; artifacts, rather than using my own hacked up solution. I have a
&lt;br&gt;&amp;gt; &amp;quot;releaseSnapshot&amp;quot; task, which does what it says - tags a SVN repo &amp;nbsp;
&lt;br&gt;&amp;gt; with a
&lt;br&gt;&amp;gt; version and uploads a snapshot to a remote repository.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm trying to do the &amp;quot;snapshot to a remote repository&amp;quot; thing with the
&lt;br&gt;&amp;gt; MavenUploader, with mixed success. I can get it to upload snapshots &amp;nbsp;
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; increment the version etc:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [INFO] Retrieving previous build number from remote
&lt;br&gt;&amp;gt; Uploading:
&lt;br&gt;&amp;gt; miniweb/library/1.0.3-SNAPSHOT/library-1.0.3-20081106.131330-7.jar &amp;nbsp;
&lt;br&gt;&amp;gt; to remote
&lt;br&gt;&amp;gt; Uploaded 28K
&lt;br&gt;&amp;gt; [INFO] Uploading project information for library &amp;nbsp;
&lt;br&gt;&amp;gt; 1.0.3-20081106.131330-7
&lt;br&gt;&amp;gt; [INFO] Retrieving previous metadata from remote
&lt;br&gt;&amp;gt; [INFO] Uploading repository metadata for: 'artifact miniweb:library'
&lt;br&gt;&amp;gt; [INFO] Retrieving previous metadata from remote
&lt;br&gt;&amp;gt; [INFO] Uploading repository metadata for: 'snapshot
&lt;br&gt;&amp;gt; miniweb:library:1.0.3-SNAPSHOT'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I need to get the build number - &amp;quot;7&amp;quot; in this case - from the upload &amp;nbsp;
&lt;br&gt;&amp;gt; task. I
&lt;br&gt;&amp;gt; can't see a way for doing - am I blind or is it impossible at the &amp;nbsp;
&lt;br&gt;&amp;gt; moment?
&lt;/div&gt;&lt;br&gt;We delegate to the Ant Maven tasks for doing this. Reverse &amp;nbsp;
&lt;br&gt;engineering all the Maven meta-manipulation didn't look appealing and &amp;nbsp;
&lt;br&gt;that way we can guarantee 100 percent compatibility.
&lt;br&gt;&lt;br&gt;I had a short look at the source code of the Ant Maven tasks, but &amp;nbsp;
&lt;br&gt;there was no obvious way of getting the snapshot string. But I have &amp;nbsp;
&lt;br&gt;found also no way in my earlier Maven builds to get hold of the &amp;nbsp;
&lt;br&gt;snapshot string. Have you?
&lt;br&gt;&lt;br&gt;It would be cool to get the snapshot number. We could parse the log &amp;nbsp;
&lt;br&gt;output if all else doesn't work.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Hans%27-new-Maven-support-and-build-numbers-tp20360825p20364434.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20360825</id>
	<title>Hans' new Maven support and build numbers</title>
	<published>2008-11-06T05:17:47Z</published>
	<updated>2008-11-06T05:17:47Z</updated>
	<author>
		<name>Phil Messenger</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I've been experimenting with the new Maven support in gradle for deploying artifacts, rather than using my own hacked up solution. I have a &amp;quot;releaseSnapshot&amp;quot; task, which does what it says - tags a SVN repo with a version and uploads a snapshot to a remote repository.
&lt;br&gt;&lt;br&gt;I'm trying to do the &amp;quot;snapshot to a remote repository&amp;quot; thing with the MavenUploader, with mixed success. I can get it to upload snapshots and increment the version etc:
&lt;br&gt;&lt;br&gt;[INFO] Retrieving previous build number from remote
&lt;br&gt;Uploading: miniweb/library/1.0.3-SNAPSHOT/library-1.0.3-20081106.131330-7.jar to remote
&lt;br&gt;Uploaded 28K
&lt;br&gt;[INFO] Uploading project information for library 1.0.3-20081106.131330-7
&lt;br&gt;[INFO] Retrieving previous metadata from remote
&lt;br&gt;[INFO] Uploading repository metadata for: 'artifact miniweb:library'
&lt;br&gt;[INFO] Retrieving previous metadata from remote
&lt;br&gt;[INFO] Uploading repository metadata for: 'snapshot miniweb:library:1.0.3-SNAPSHOT'
&lt;br&gt;&lt;br&gt;I need to get the build number - &amp;quot;7&amp;quot; in this case - from the upload task. I can't see a way for doing - am I blind or is it impossible at the moment?
&lt;br&gt;&lt;br&gt;Phil.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Hans%27-new-Maven-support-and-build-numbers-tp20360825p20360825.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20358114</id>
	<title>Re: Transformers</title>
	<published>2008-11-06T01:37:16Z</published>
	<updated>2008-11-06T01:37:16Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 4, 2008, at 12:32 AM, Adam Murdoch wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hans Dockter wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi Adam,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm excited that we will get your transformer stuff into 0.5. I &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; have applied the transformers also to the SettingsConverter.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The name ModuleDescriptorContributor doesn't fit any longer. We &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; could go for something like: IvyObjectConfigurer. But I'm &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; wondering if it wouldn't be best to give it a truly general name &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; like: TransformableContributor
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wonder. The methods will need renaming to something general as well.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think perhaps it's the pattern we should be reusing, if we come &amp;nbsp;
&lt;br&gt;&amp;gt; across this problem again, rather than the interface.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regardless, does this interface belong in the public API, or should &amp;nbsp;
&lt;br&gt;&amp;gt; it remain in api.internal? So far, I've been avoiding adding direct &amp;nbsp;
&lt;br&gt;&amp;gt; references to ivy classes to the public API, as I'm not sure its &amp;nbsp;
&lt;br&gt;&amp;gt; the right thing to do. However, there are plenty of references &amp;nbsp;
&lt;br&gt;&amp;gt; already there, so perhaps I should just add them in and worry about &amp;nbsp;
&lt;br&gt;&amp;gt; the coupling later.
&lt;/div&gt;&lt;br&gt;Probably. We don't have to care too much about API stability before &amp;nbsp;
&lt;br&gt;1.0. That doesn't mean we shouldn't pay attention but we can let it &amp;nbsp;
&lt;br&gt;evolve into one direction and later, based on experience, review this &amp;nbsp;
&lt;br&gt;approach and decide whether this is the right thing to do.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; One other thing is the behavior of the addIvyTransformer(Closure &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; transformer) method. Right now the closure is executed and we pass &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; the transformable as an argument. In code this would look like:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; addIvyTransformer { moduleDescriptor -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;moduleDescriptor.doThis()
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;moduleDescriptor.doThat()
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What about passing no argument to the closure but setting the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; delegate of the closure to the transformable (like we do it for &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; example in DefaultProject.allprojects)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; addIvyTransformer {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;doThis()
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;doThat()
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is definitely an option. The problem is that some of the ivy &amp;nbsp;
&lt;br&gt;&amp;gt; classes we use are immutable, such as Configuration.
&lt;/div&gt;&lt;br&gt;We've been through this but I had forgotten again.
&lt;br&gt;&lt;br&gt;&amp;gt; Perhaps we could do both: pass the transformable object in as a &amp;nbsp;
&lt;br&gt;&amp;gt; parameter, and set it as the delegate. If the closure returns an &amp;nbsp;
&lt;br&gt;&amp;gt; object of the same type as the transformable, we use it as the &amp;nbsp;
&lt;br&gt;&amp;gt; result. Otherwise we use the passed in object as the result.
&lt;br&gt;&lt;br&gt;This is an excellent idea.
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Transformers-tp20291553p20358114.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20358088</id>
	<title>Re: stdout capture</title>
	<published>2008-11-06T01:32:16Z</published>
	<updated>2008-11-06T01:32:16Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 1, 2008, at 10:07 PM, Adam Murdoch wrote
&lt;br&gt;&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Should there be some kind of inheritance going on, where a project &amp;nbsp;
&lt;br&gt;&amp;gt; inherits this setting from its parent, and tasks from their project?
&lt;br&gt;&lt;br&gt;In general I'm not sure if inheritance is a good means to define &amp;nbsp;
&lt;br&gt;commons stuff in multi-project builds. Gradle provides inheritance &amp;nbsp;
&lt;br&gt;for properties and methods amongst build scripts (which would not &amp;nbsp;
&lt;br&gt;enable inheritance for settings stdout capture). But in general my &amp;nbsp;
&lt;br&gt;preferred way of configuring things is for example:
&lt;br&gt;&lt;br&gt;allprojects {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; captureStandardOut(LogLevel.INFO)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; groovydoc.captureStandardOut(LogLevel.DEBUG)
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;That way you can easily make exceptions for certain projects based on &amp;nbsp;
&lt;br&gt;filters.
&lt;br&gt;&lt;br&gt;Would you prefer an inheritance approach?
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/stdout-capture-tp20273291p20358088.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20338790</id>
	<title>Re: Should we use fork equals true as a default for compile.</title>
	<published>2008-11-05T01:53:09Z</published>
	<updated>2008-11-05T01:53:09Z</updated>
	<author>
		<name>hdockter</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 5, 2008, at 2:34 AM, Peter Niederwieser wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hdockter wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So fork = true is a must have for Groovyc compile.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think it's a must-have to fix Groovyc's classpath issues. :-)
&lt;br&gt;&lt;br&gt;It definitely is for groovyc (due to a bug in groovyc not considering &amp;nbsp;
&lt;br&gt;includeAntRuntime in non fork mode).
&lt;br&gt;&lt;br&gt;For Java compile we still have non-fork as the default. I'm just &amp;nbsp;
&lt;br&gt;wondering if I have overseen an issue, as Maven and Ant use non-fork &amp;nbsp;
&lt;br&gt;as default. On the other hand, Maven might use it as default because &amp;nbsp;
&lt;br&gt;Ant use it as default :). If nobody objects I will set fork as &amp;nbsp;
&lt;br&gt;default for the Java compile as well.
&lt;br&gt;&lt;br&gt;Should I also specify a default value for maximum memory?
&lt;br&gt;&lt;br&gt;- Hans
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Hans Dockter
&lt;br&gt;Gradle Project lead
&lt;br&gt;&lt;a href=&quot;http://www.gradle.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gradle.org&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Should-we-use-fork-equals-true-as-a-default-for-compile.-tp20297783p20338790.html" />
</entry>

</feed>
