<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>users@buildr.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/buildr-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/buildr-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/buildr-users/</id>
<updated>2009-12-10T08:25:57Z</updated>
<entry>
<title>Re: poms generated by upload task</title>
<author><name>Jeremy Huiskamp &lt;jeremy.huiskamp@karoshealth.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4B1FE49D.6050901@karoshealth.com%3e"/>
<id>urn:uuid:%3c4B1FE49D-6050901@karoshealth-com%3e</id>
<updated>2009-12-09T17:55:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 08/12/09 3:34 PM, Alex Boisvert wrote:
&gt; On Tue, Dec 8, 2009 at 12:00 PM, Jeremy Huiskamp&lt;
&gt; jeremy.huiskamp@karoshealth.com&gt;  wrote:
&gt;
&gt;    
&gt;&gt; I've noticed that the pom.xml generated by the upload task and placed in
&gt;&gt; the target maven repository doesn't include dependency information, which is
&gt;&gt; kind of a pain when my maven-using colleagues want to use libraries I've
&gt;&gt; built with buildr and they have to go and list all of my dependencies
&gt;&gt; explicitly.  Can the pom generation include a list of artifacts and, if so,
&gt;&gt; how can I specify it?  I'd be fine with handcrafting a pom.xml and having
&gt;&gt; the task use that instead of a generated one but doing it in the buildfile
&gt;&gt; would be nicer.
&gt;&gt;
&gt;&gt;      
&gt; To provide your own pom.xml:
&gt;
&gt; package(:jar).pom.from _("pom.xml")
&gt;
&gt; If you want to craft a pom from within your buildfile, do can do something
&gt; along the lines of
&gt;
&gt;    file("target/pom.xml") do |file|
&gt;      pkg = package(:jar)
&gt;      File.open(file.to_s, 'w') do |file|
&gt;        xml = Builder::XmlMarkup.new(:target=&gt;file, :indent=&gt;2)
&gt;        xml.project do
&gt;          xml.modelVersion '4.0.0'
&gt;          xml.groupId pkg.group
&gt;          xml.artifactId pkg.id
&gt;          xml.version pkg.version
&gt;          # add more information ...
&gt;        end
&gt;      end
&gt;    end
&gt;    package(:jar).pom.from _("target/pom.xml")
&gt;
&gt; Hope this helps,
&gt; alex
&gt;
&gt;    
Great, thanks.  That should get me where I need to go.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: AW: documentation about git on github and buildr</title>
<author><name>=?iso-8859-1?Q?Peter_Schr=F6der?= &lt;ps@blau.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c9A93DE32-4478-432C-8F8C-FAE28985CE8E@blau.de%3e"/>
<id>urn:uuid:%3c9A93DE32-4478-432C-8F8C-FAE28985CE8E@blau-de%3e</id>
<updated>2009-12-09T08:13:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
nice!

Am 08.12.2009 um 22:33 schrieb Alex Boisvert:

&gt; FYI, the github mirror is now up to date :)
&gt; 
&gt; http://github.com/apache/buildr
&gt; 
&gt; (Well, more or less, there's still a lag of one hour or something like that)
&gt; 
&gt; alex
&gt; 
&gt; On Tue, Nov 17, 2009 at 3:46 PM, Rhett Sutphin &lt;rhett@detailedbalance.net&gt;wrote:
&gt; 
&gt;&gt; Hi Peter,
&gt;&gt; 
&gt;&gt; 
&gt;&gt; On Nov 17, 2009, at 2:49 PM, Peter Schröder wrote:
&gt;&gt; 
&gt;&gt; hi antoine,
&gt;&gt;&gt; 
&gt;&gt;&gt; i am currently using the apache mirror right after noticing that the one
&gt;&gt;&gt; on github is out of sync.
&gt;&gt;&gt; 
&gt;&gt;&gt; but i have some problems with that:
&gt;&gt;&gt; 
&gt;&gt;&gt; 1. i like github and contributing/sharing code on it with my collegues
&gt;&gt;&gt; 
&gt;&gt; 
&gt;&gt; Agree.
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 2. i dont know how to keep my buildr fork on github in sync with the
&gt;&gt;&gt; apache-buildr repo painlessly
&gt;&gt;&gt; 
&gt;&gt; 
&gt;&gt; You can do this with multiple remotes on your local repo.  I haven't done
&gt;&gt; it myself, but I believe someone outlined the process on the mailing list a
&gt;&gt; while back.
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 3. i would like to use github for pulling changes instead of opening up
&gt;&gt;&gt; tickets in jira (currently 104 issues)
&gt;&gt;&gt; 
&gt;&gt; 
&gt;&gt; If you want to submit code to buildr you will have to eventually submit a
&gt;&gt; patch in JIRA.  As I understand it, the Apache Foundation requires this to
&gt;&gt; make explicit that you are granting a license to incorporate your code into
&gt;&gt; buildr.
&gt;&gt; 
&gt;&gt; I agree, though, that making your changes available on github first and
&gt;&gt; discussing them on the mailing list is a better way of getting feedback than
&gt;&gt; enhancement requests in JIRA.
&gt;&gt; 
&gt;&gt; Rhett
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 4. i dont think that the documentation should encourage using the github
&gt;&gt;&gt; repo as long as its out of sync!
&gt;&gt;&gt; 
&gt;&gt;&gt; i commented on your ticket and i hope that we can reuse github for this
&gt;&gt;&gt; one soon.
&gt;&gt;&gt; 
&gt;&gt;&gt; kind regards,
&gt;&gt;&gt; peter
&gt;&gt;&gt; ________________________________________
&gt;&gt;&gt; Von: antoine.toulme@gmail.com [antoine.toulme@gmail.com] im Auftrag von
&gt;&gt;&gt; Antoine Toulme [antoine@lunar-ocean.com]
&gt;&gt;&gt; Gesendet: Dienstag, 17. November 2009 20:54
&gt;&gt;&gt; An: users@buildr.apache.org
&gt;&gt;&gt; Betreff: Re: documentation about git on github and buildr
&gt;&gt;&gt; 
&gt;&gt;&gt; Hey Peter,
&gt;&gt;&gt; 
&gt;&gt;&gt; I fork the git repository from the Apache mirror directly:
&gt;&gt;&gt; git://git.apache.org/buildr.git
&gt;&gt;&gt; 
&gt;&gt;&gt; &lt;git://git.apache.org/buildr.git&gt;Yep, the github mirror is outdated and
I
&gt;&gt;&gt; had opened a ticket about it:
&gt;&gt;&gt; 
&gt;&gt;&gt; http://support.github.com/discussions/repos/1568-apache-buildr-mirror-is-out-of-date
&gt;&gt;&gt; 
&gt;&gt;&gt; Please feel free to weigh in!
&gt;&gt;&gt; 
&gt;&gt;&gt; Antoine
&gt;&gt;&gt; 
&gt;&gt;&gt; On Tue, Nov 17, 2009 at 11:40, Peter Schröder &lt;Peter.Schroeder@blau.de
&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt; 
&gt;&gt;&gt; there is some documentation under 'contributing' about how to use github
&gt;&gt;&gt;&gt; for helping contributing code for buildr.
&gt;&gt;&gt;&gt; 
&gt;&gt;&gt;&gt; is this still up to date? the github repo is outdated and i dont think
&gt;&gt;&gt;&gt; that
&gt;&gt;&gt;&gt; i would like to work on that one for my contributions...
&gt;&gt;&gt;&gt; 
&gt;&gt;&gt; 
&gt;&gt; 



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912081816m6991061dy7df2439509003723@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912081816m6991061dy7df2439509003723@mail-gmail-com%3e</id>
<updated>2009-12-09T02:16:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 5:55 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:

&gt; OK I just tried, it worked for me.
&gt;

Cool!


&gt; For some reason rake -T doesn't return all-in-one ?
&gt;

Fixed.

alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Antoine Toulme &lt;antoine@lunar-ocean.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3cf97124910912081755h602122e9j72ecbaac55ba5829@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf97124910912081755h602122e9j72ecbaac55ba5829@mail-gmail-com%3e</id>
<updated>2009-12-09T01:55:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
OK I just tried, it worked for me.

For some reason rake -T doesn't return all-in-one ?

Cheers,

Antoine

On Tue, Dec 8, 2009 at 17:40, Alex Boisvert &lt;alex.boisvert@gmail.com&gt; wrote:

&gt; On Tue, Dec 8, 2009 at 4:12 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:
&gt;
&gt;&gt;
&gt;&gt;  Do you mind sharing how you bundled jruby with buildr ? Do you have a
&gt;&gt;&gt;&gt; script for that ?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; I don't have a script yet;  I just whipped it out manually.
&gt;&gt;&gt;
&gt;&gt;&gt; I'll add it to Buildr's rakefile now(ish).
&gt;&gt;&gt;
&gt;&gt;
&gt; Ok, committed a first shot.  Try "rake all-in-one".  I'm curious to know if
&gt; it runs on MacOS.  And there's probably more cleanup to do...  far from
&gt; ready for a release but good enough to get the ball rolling.
&gt;
&gt; alex
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912081740h3de99b06s5048b923a889867e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912081740h3de99b06s5048b923a889867e@mail-gmail-com%3e</id>
<updated>2009-12-09T01:40:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 4:12 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:

&gt;
&gt; Do you mind sharing how you bundled jruby with buildr ? Do you have a
&gt;&gt;&gt; script for that ?
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; I don't have a script yet;  I just whipped it out manually.
&gt;&gt;
&gt;&gt; I'll add it to Buildr's rakefile now(ish).
&gt;&gt;
&gt;
Ok, committed a first shot.  Try "rake all-in-one".  I'm curious to know if
it runs on MacOS.  And there's probably more cleanup to do...  far from
ready for a release but good enough to get the ball rolling.

alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Antoine Toulme &lt;antoine@lunar-ocean.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3cf97124910912081612n7f94e5cdjb3470e65ec6388d6@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf97124910912081612n7f94e5cdjb3470e65ec6388d6@mail-gmail-com%3e</id>
<updated>2009-12-09T00:12:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 16:11, Alex Boisvert &lt;alex.boisvert@gmail.com&gt; wrote:

&gt; On Tue, Dec 8, 2009 at 3:51 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:
&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; On Tue, Dec 8, 2009 at 15:43, Alex Boisvert &lt;alex.boisvert@gmail.com&gt;wrote:
&gt;&gt;
&gt;&gt;&gt; On Tue, Dec 8, 2009 at 3:14 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I have been working a bit with the standalone distrib of Buildr mounted
&gt;&gt;&gt;&gt; on
&gt;&gt;&gt;&gt; JRuby and I liked it so far, I think it offers a very simple way to have
&gt;&gt;&gt;&gt; buildr around.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Good to hear.
&gt;&gt;&gt;
&gt;&gt;&gt; I had the need to install gems on that jruby installation and my quick
&gt;&gt;&gt;&gt; fix
&gt;&gt;&gt;&gt; was to edit the buildr executable, remove the mention of _buildr, run:
&gt;&gt;&gt;&gt; buildr gem install mygem
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; That's the kind of feedback I was hoping for :)
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Two questions:
&gt;&gt;&gt;&gt; 1. Can we have a way to install Buildr gems as part of Buildr in an easy
&gt;&gt;&gt;&gt; way?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Yes, we could leave the original jruby executable/scripts in the distro
&gt;&gt;&gt; for that purpose.
&gt;&gt;&gt;
&gt;&gt; Indeed.
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; 2. Can we prepackage Buildr with one or more plugins and distribute it
&gt;&gt;&gt;&gt; that
&gt;&gt;&gt;&gt; way ? Either on apache.org or at the plugin website ? If yes, what
&gt;&gt;&gt;&gt; would be
&gt;&gt;&gt;&gt; the instructions to do that ?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Possible but I'd personally rather do #1.   Sooner or later you want to
&gt;&gt;&gt; add another plugin and I'd rather avoid the combinational explosion of
&gt;&gt;&gt; distros.
&gt;&gt;&gt;
&gt;&gt; After giving it some more thought, I think in that case, such a distro
&gt;&gt; would not be buildr anymore. Buildr would be bundled in there, but the
&gt;&gt; distro would be something else.
&gt;&gt; Do you mind sharing how you bundled jruby with buildr ? Do you have a
&gt;&gt; script for that ?
&gt;&gt;
&gt;
&gt; I don't have a script yet;  I just whipped it out manually.
&gt;
&gt; I'll add it to Buildr's rakefile now(ish).
&gt;
ok(ish)

Thanks!

&gt;
&gt; alex
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912081611h29fc0c8ak2c5b7b5bddeca3e8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912081611h29fc0c8ak2c5b7b5bddeca3e8@mail-gmail-com%3e</id>
<updated>2009-12-09T00:11:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 3:51 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:

&gt;
&gt;
&gt; On Tue, Dec 8, 2009 at 15:43, Alex Boisvert &lt;alex.boisvert@gmail.com&gt;wrote:
&gt;
&gt;&gt; On Tue, Dec 8, 2009 at 3:14 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:
&gt;&gt;
&gt;&gt;&gt; I have been working a bit with the standalone distrib of Buildr mounted
&gt;&gt;&gt; on
&gt;&gt;&gt; JRuby and I liked it so far, I think it offers a very simple way to have
&gt;&gt;&gt; buildr around.
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; Good to hear.
&gt;&gt;
&gt;&gt; I had the need to install gems on that jruby installation and my quick fix
&gt;&gt;&gt; was to edit the buildr executable, remove the mention of _buildr, run:
&gt;&gt;&gt; buildr gem install mygem
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; That's the kind of feedback I was hoping for :)
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; Two questions:
&gt;&gt;&gt; 1. Can we have a way to install Buildr gems as part of Buildr in an easy
&gt;&gt;&gt; way?
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; Yes, we could leave the original jruby executable/scripts in the distro
&gt;&gt; for that purpose.
&gt;&gt;
&gt; Indeed.
&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; 2. Can we prepackage Buildr with one or more plugins and distribute it
&gt;&gt;&gt; that
&gt;&gt;&gt; way ? Either on apache.org or at the plugin website ? If yes, what would
&gt;&gt;&gt; be
&gt;&gt;&gt; the instructions to do that ?
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; Possible but I'd personally rather do #1.   Sooner or later you want to
&gt;&gt; add another plugin and I'd rather avoid the combinational explosion of
&gt;&gt; distros.
&gt;&gt;
&gt; After giving it some more thought, I think in that case, such a distro
&gt; would not be buildr anymore. Buildr would be bundled in there, but the
&gt; distro would be something else.
&gt; Do you mind sharing how you bundled jruby with buildr ? Do you have a
&gt; script for that ?
&gt;

I don't have a script yet;  I just whipped it out manually.

I'll add it to Buildr's rakefile now(ish).

alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Antoine Toulme &lt;antoine@lunar-ocean.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3cf97124910912081551p10d6b57dlb80a4d84b18b6bc6@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf97124910912081551p10d6b57dlb80a4d84b18b6bc6@mail-gmail-com%3e</id>
<updated>2009-12-08T23:51:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 15:43, Alex Boisvert &lt;alex.boisvert@gmail.com&gt; wrote:

&gt; On Tue, Dec 8, 2009 at 3:14 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:
&gt;
&gt;&gt; I have been working a bit with the standalone distrib of Buildr mounted on
&gt;&gt; JRuby and I liked it so far, I think it offers a very simple way to have
&gt;&gt; buildr around.
&gt;&gt;
&gt;
&gt; Good to hear.
&gt;
&gt; I had the need to install gems on that jruby installation and my quick fix
&gt;&gt; was to edit the buildr executable, remove the mention of _buildr, run:
&gt;&gt; buildr gem install mygem
&gt;&gt;
&gt;
&gt; That's the kind of feedback I was hoping for :)
&gt;
&gt;
&gt;&gt; Two questions:
&gt;&gt; 1. Can we have a way to install Buildr gems as part of Buildr in an easy
&gt;&gt; way?
&gt;&gt;
&gt;
&gt; Yes, we could leave the original jruby executable/scripts in the distro for
&gt; that purpose.
&gt;
Indeed.

&gt;
&gt;
&gt;&gt; 2. Can we prepackage Buildr with one or more plugins and distribute it
&gt;&gt; that
&gt;&gt; way ? Either on apache.org or at the plugin website ? If yes, what would
&gt;&gt; be
&gt;&gt; the instructions to do that ?
&gt;&gt;
&gt;
&gt; Possible but I'd personally rather do #1.   Sooner or later you want to add
&gt; another plugin and I'd rather avoid the combinational explosion of distros.
&gt;
After giving it some more thought, I think in that case, such a distro would
not be buildr anymore. Buildr would be bundled in there, but the distro
would be something else.
Do you mind sharing how you bundled jruby with buildr ? Do you have a script
for that ?

Thanks,

Antoine


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912081543y39d90c9fxe198ef0c9f1c99db@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912081543y39d90c9fxe198ef0c9f1c99db@mail-gmail-com%3e</id>
<updated>2009-12-08T23:43:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 3:14 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:

&gt; I have been working a bit with the standalone distrib of Buildr mounted on
&gt; JRuby and I liked it so far, I think it offers a very simple way to have
&gt; buildr around.
&gt;

Good to hear.

I had the need to install gems on that jruby installation and my quick fix
&gt; was to edit the buildr executable, remove the mention of _buildr, run:
&gt; buildr gem install mygem
&gt;

That's the kind of feedback I was hoping for :)


&gt; Two questions:
&gt; 1. Can we have a way to install Buildr gems as part of Buildr in an easy
&gt; way?
&gt;

Yes, we could leave the original jruby executable/scripts in the distro for
that purpose.


&gt; 2. Can we prepackage Buildr with one or more plugins and distribute it that
&gt; way ? Either on apache.org or at the plugin website ? If yes, what would
&gt; be
&gt; the instructions to do that ?
&gt;

Possible but I'd personally rather do #1.   Sooner or later you want to add
another plugin and I'd rather avoid the combinational explosion of distros.

alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Package Buildr plugins with Buildr standalone distributions</title>
<author><name>Antoine Toulme &lt;antoine@lunar-ocean.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3cf97124910912081514h6e5c68c5q2fa3bf37f3a7107e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf97124910912081514h6e5c68c5q2fa3bf37f3a7107e@mail-gmail-com%3e</id>
<updated>2009-12-08T23:14:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi guys,

I have been working a bit with the standalone distrib of Buildr mounted on
JRuby and I liked it so far, I think it offers a very simple way to have
buildr around.

I had the need to install gems on that jruby installation and my quick fix
was to edit the buildr executable, remove the mention of _buildr, run:
buildr gem install mygem

Two questions:
1. Can we have a way to install Buildr gems as part of Buildr in an easy way
?
2. Can we prepackage Buildr with one or more plugins and distribute it that
way ? Either on apache.org or at the plugin website ? If yes, what would be
the instructions to do that ?

Thanks,

Antoine


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: AW: documentation about git on github and buildr</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912081333idf5e128xe1202ab9777b4a5b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912081333idf5e128xe1202ab9777b4a5b@mail-gmail-com%3e</id>
<updated>2009-12-08T21:33:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
FYI, the github mirror is now up to date :)

http://github.com/apache/buildr

(Well, more or less, there's still a lag of one hour or something like that)

alex

On Tue, Nov 17, 2009 at 3:46 PM, Rhett Sutphin &lt;rhett@detailedbalance.net&gt;wrote:

&gt; Hi Peter,
&gt;
&gt;
&gt; On Nov 17, 2009, at 2:49 PM, Peter Schröder wrote:
&gt;
&gt;  hi antoine,
&gt;&gt;
&gt;&gt; i am currently using the apache mirror right after noticing that the one
&gt;&gt; on github is out of sync.
&gt;&gt;
&gt;&gt; but i have some problems with that:
&gt;&gt;
&gt;&gt; 1. i like github and contributing/sharing code on it with my collegues
&gt;&gt;
&gt;
&gt; Agree.
&gt;
&gt;
&gt;  2. i dont know how to keep my buildr fork on github in sync with the
&gt;&gt; apache-buildr repo painlessly
&gt;&gt;
&gt;
&gt; You can do this with multiple remotes on your local repo.  I haven't done
&gt; it myself, but I believe someone outlined the process on the mailing list a
&gt; while back.
&gt;
&gt;
&gt;  3. i would like to use github for pulling changes instead of opening up
&gt;&gt; tickets in jira (currently 104 issues)
&gt;&gt;
&gt;
&gt; If you want to submit code to buildr you will have to eventually submit a
&gt; patch in JIRA.  As I understand it, the Apache Foundation requires this to
&gt; make explicit that you are granting a license to incorporate your code into
&gt; buildr.
&gt;
&gt; I agree, though, that making your changes available on github first and
&gt; discussing them on the mailing list is a better way of getting feedback than
&gt; enhancement requests in JIRA.
&gt;
&gt; Rhett
&gt;
&gt;
&gt;  4. i dont think that the documentation should encourage using the github
&gt;&gt; repo as long as its out of sync!
&gt;&gt;
&gt;&gt; i commented on your ticket and i hope that we can reuse github for this
&gt;&gt; one soon.
&gt;&gt;
&gt;&gt; kind regards,
&gt;&gt; peter
&gt;&gt; ________________________________________
&gt;&gt; Von: antoine.toulme@gmail.com [antoine.toulme@gmail.com] im Auftrag von
&gt;&gt; Antoine Toulme [antoine@lunar-ocean.com]
&gt;&gt; Gesendet: Dienstag, 17. November 2009 20:54
&gt;&gt; An: users@buildr.apache.org
&gt;&gt; Betreff: Re: documentation about git on github and buildr
&gt;&gt;
&gt;&gt; Hey Peter,
&gt;&gt;
&gt;&gt; I fork the git repository from the Apache mirror directly:
&gt;&gt; git://git.apache.org/buildr.git
&gt;&gt;
&gt;&gt; &lt;git://git.apache.org/buildr.git&gt;Yep, the github mirror is outdated and I
&gt;&gt; had opened a ticket about it:
&gt;&gt;
&gt;&gt; http://support.github.com/discussions/repos/1568-apache-buildr-mirror-is-out-of-date
&gt;&gt;
&gt;&gt; Please feel free to weigh in!
&gt;&gt;
&gt;&gt; Antoine
&gt;&gt;
&gt;&gt; On Tue, Nov 17, 2009 at 11:40, Peter Schröder &lt;Peter.Schroeder@blau.de
&gt;&gt; &gt;wrote:
&gt;&gt;
&gt;&gt;  there is some documentation under 'contributing' about how to use github
&gt;&gt;&gt; for helping contributing code for buildr.
&gt;&gt;&gt;
&gt;&gt;&gt; is this still up to date? the github repo is outdated and i dont think
&gt;&gt;&gt; that
&gt;&gt;&gt; i would like to work on that one for my contributions...
&gt;&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: poms generated by upload task</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912081234p19183c6creeb6dd733bdb328f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912081234p19183c6creeb6dd733bdb328f@mail-gmail-com%3e</id>
<updated>2009-12-08T20:34:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Dec 8, 2009 at 12:00 PM, Jeremy Huiskamp &lt;
jeremy.huiskamp@karoshealth.com&gt; wrote:

&gt; I've noticed that the pom.xml generated by the upload task and placed in
&gt; the target maven repository doesn't include dependency information, which is
&gt; kind of a pain when my maven-using colleagues want to use libraries I've
&gt; built with buildr and they have to go and list all of my dependencies
&gt; explicitly.  Can the pom generation include a list of artifacts and, if so,
&gt; how can I specify it?  I'd be fine with handcrafting a pom.xml and having
&gt; the task use that instead of a generated one but doing it in the buildfile
&gt; would be nicer.
&gt;

To provide your own pom.xml:

package(:jar).pom.from _("pom.xml")

If you want to craft a pom from within your buildfile, do can do something
along the lines of

  file("target/pom.xml") do |file|
    pkg = package(:jar)
    File.open(file.to_s, 'w') do |file|
      xml = Builder::XmlMarkup.new(:target=&gt;file, :indent=&gt;2)
      xml.project do
        xml.modelVersion '4.0.0'
        xml.groupId pkg.group
        xml.artifactId pkg.id
        xml.version pkg.version
        # add more information ...
      end
    end
  end
  package(:jar).pom.from _("target/pom.xml")

Hope this helps,
alex


</pre>
</div>
</content>
</entry>
<entry>
<title>poms generated by upload task</title>
<author><name>Jeremy Huiskamp &lt;jeremy.huiskamp@karoshealth.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4B1EB045.2060407@karoshealth.com%3e"/>
<id>urn:uuid:%3c4B1EB045-2060407@karoshealth-com%3e</id>
<updated>2009-12-08T20:00:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I've noticed that the pom.xml generated by the upload task and placed in 
the target maven repository doesn't include dependency information, 
which is kind of a pain when my maven-using colleagues want to use 
libraries I've built with buildr and they have to go and list all of my 
dependencies explicitly.  Can the pom generation include a list of 
artifacts and, if so, how can I specify it?  I'd be fine with 
handcrafting a pom.xml and having the task use that instead of a 
generated one but doing it in the buildfile would be nicer.

Thanks,
  Jeremy


</pre>
</div>
</content>
</entry>
<entry>
<title>Broken JSP compilation with Jetty on Java 6</title>
<author><name>Rhett Sutphin &lt;r-sutphin@northwestern.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c40E2658F-B498-4B99-BD70-D79166A372F2@northwestern.edu%3e"/>
<id>urn:uuid:%3c40E2658F-B498-4B99-BD70-D79166A372F2@northwestern-edu%3e</id>
<updated>2009-12-04T05:12:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I have a build script which uses this stanza to enable JSP compilation on Jetty:

Java.classpath.concat([
  "org.mortbay.jetty:jsp-api-2.1:jar:#{Buildr::Jetty::VERSION}",
  "org.mortbay.jetty:jsp-2.1:jar:#{Buildr::Jetty::VERSION}"
])

It works fine on Java 5 (1.5.0_20 on OS X 10.5) but on Java 6 (1.6.0_17[1] on OS X 10.6),
I get compilation failure exceptions from jasper.  There's circumstantial evidence that it's
a javac problem -- the exceptions indicate that certain classes and methods derived from compiling
some JSP tagfiles don't exist.  The classfiles themselves exist (and seem to be in the right
place) but I can't get any decompiler to decompile them.

I've just started looking into it, but I thought I'd ask to see if anyone else had run into
this problem and could offer a pointer.

Thanks,
Rhett

[1]: It also failed on the previous version of Java 6 on Snow Leopard.

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: installing buildr with jruby 1.4.0 on windows?</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912031321u78d9a2b0n48922ae2cae2a43@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912031321u78d9a2b0n48922ae2cae2a43@mail-gmail-com%3e</id>
<updated>2009-12-03T21:21:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I've been successful with the "all-in-one" JRuby 1.4.0 + Buildr 1.3.5 distro

http://people.apache.org/~boisvert/buildr-1.3.5-jruby-1.4.0.zip

Haven't tried the manual install on Windows.

alex

On Thu, Dec 3, 2009 at 1:04 PM, Shane Witbeck &lt;shane@digitalsanctum.com&gt;wrote:

&gt; Has anyone been able to install buildr via the latest jruby 1.4.0 on
&gt; windows? I'm getting the following even after installing
&gt; jruby-openssl:
&gt;
&gt; C:\installs&gt;jruby -S gem install buildr
&gt; JRuby limited openssl loaded. gem install jruby-openssl for full support.
&gt; http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8:
&gt; OpenSSL::SSL requires the
&gt;  jruby-openssl gem (LoadError)
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:124:in
&gt; `use_ssl
&gt; ='
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:242:in
&gt; `connection_for
&gt; '
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:320:in
&gt; `request'
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:279:in
&gt; `open_uri_or_pa
&gt; th'
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:288:in
&gt; `open_uri_or_pa
&gt; th'
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:164:in
&gt; `fetch_path'
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:108:in
&gt; `download'
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:232:in
&gt; `install'
&gt;
&gt;         ... 7 levels...
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in
&gt; `run'
&gt;        from
&gt; C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in
&gt; `run'
&gt;        from C:/jruby-1.4.0/bin/gem:24
&gt;
&gt; -Shane
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>installing buildr with jruby 1.4.0 on windows?</title>
<author><name>Shane Witbeck &lt;shane@digitalsanctum.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c153af7a10912031304m68ebfeadk3cbb68dd4114c853@mail.gmail.com%3e"/>
<id>urn:uuid:%3c153af7a10912031304m68ebfeadk3cbb68dd4114c853@mail-gmail-com%3e</id>
<updated>2009-12-03T21:04:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Has anyone been able to install buildr via the latest jruby 1.4.0 on
windows? I'm getting the following even after installing
jruby-openssl:

C:\installs&gt;jruby -S gem install buildr
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
C:/jruby-1.4.0/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8:
OpenSSL::SSL requires the
 jruby-openssl gem (LoadError)
        from C:/jruby-1.4.0/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:124:in
`use_ssl
='
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:242:in
`connection_for
'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:320:in
`request'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:279:in
`open_uri_or_pa
th'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:288:in
`open_uri_or_pa
th'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:164:in
`fetch_path'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:108:in
`download'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:232:in
`install'

         ... 7 levels...
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in
`run'
        from C:/jruby-1.4.0/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in
`run'
        from C:/jruby-1.4.0/bin/gem:24

-Shane


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Documentation bug</title>
<author><name>=?iso-8859-1?Q?Peter_Schr=F6der?= &lt;ps@blau.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c632CFB1D-F070-4991-A061-AB88FFC721AB@blau.de%3e"/>
<id>urn:uuid:%3c632CFB1D-F070-4991-A061-AB88FFC721AB@blau-de%3e</id>
<updated>2009-12-03T15:27:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi sebastian,

i am currently scraping the documentation for bugs and there is an open ticket for this:

https://issues.apache.org/jira/browse/BUILDR-345

i will propose a patch if you like.

there are also some working examples in the buildr-wiki:

http://cwiki.apache.org/confluence/display/BUILDR/Buildr+HowTos

and i started a little example project on github that are based on the examples provided in
the docs:

http://github.com/phoet/buildr-examples

kind regards,
peter

Am 03.12.2009 um 16:01 schrieb Sebastian Hennebrueder:

&gt; Hello,
&gt; 
&gt; the page http://buildr.apache.org/quick_start.html#custom-tasks has two bugs
&gt; 
&gt; should use
&gt; Project.local_task :deploy
&gt; instead of just local_task
&gt; and
&gt;  project.version '0.1.0'
&gt; should be
&gt;  project.version='0.1.0'
&gt; 
&gt; -- 
&gt; Best Regards / Viele Grüße
&gt; 
&gt; Sebastian Hennebrueder
&gt; -----
&gt; Software Developer and Trainer for Hibernate / Java Persistence
&gt; http://www.laliluna.de
&gt; 
&gt; 
&gt; 



</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation bug</title>
<author><name>Sebastian Hennebrueder &lt;usenet@laliluna.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4B17D2B0.1080105@laliluna.de%3e"/>
<id>urn:uuid:%3c4B17D2B0-1080105@laliluna-de%3e</id>
<updated>2009-12-03T15:01:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

the page http://buildr.apache.org/quick_start.html#custom-tasks has two bugs

should use
Project.local_task :deploy
instead of just local_task
and
  project.version '0.1.0'
should be
  project.version='0.1.0'

-- 
Best Regards / Viele GrĆ¼Će

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Buildr package as exe extension</title>
<author><name>Daniel Spiewak &lt;djspiewak@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c5c99d0330912021930i71608807ob8541a7d7bc66d71@mail.gmail.com%3e"/>
<id>urn:uuid:%3c5c99d0330912021930i71608807ob8541a7d7bc66d71@mail-gmail-com%3e</id>
<updated>2009-12-03T03:30:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Nifty!  Very nice work.

Daniel

On Wed, Dec 2, 2009 at 9:20 PM, Antoine Toulme &lt;antoine@lunar-ocean.com&gt;wrote:

&gt; Hi all,
&gt;
&gt; I just made available a cool Buildr extension that packages a .exe Win32
&gt; installer using makeNSIS.
&gt;
&gt; The code is located here:
&gt; http://github.com/intalio/package_as_exe
&gt;
&gt; The first gem was just pushed to gemcutter:
&gt; http://gemcutter.org/gems/buildr-package-as-exe
&gt;
&gt; I'll add it to the wiki. Contributions, remarks, critics are most welcome.
&gt;
&gt; Thanks,
&gt;
&gt; Antoine
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Buildr package as exe extension</title>
<author><name>Antoine Toulme &lt;antoine@lunar-ocean.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3cf97124910912021920i6af629c9le74699de98145507@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf97124910912021920i6af629c9le74699de98145507@mail-gmail-com%3e</id>
<updated>2009-12-03T03:20:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I just made available a cool Buildr extension that packages a .exe Win32
installer using makeNSIS.

The code is located here:
http://github.com/intalio/package_as_exe

The first gem was just pushed to gemcutter:
http://gemcutter.org/gems/buildr-package-as-exe

I'll add it to the wiki. Contributions, remarks, critics are most welcome.

Thanks,

Antoine


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: maven improvements - help offer</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4dcd15a90912021540m402bed25h1e84c96f72df98ea@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90912021540m402bed25h1e84c96f72df98ea@mail-gmail-com%3e</id>
<updated>2009-12-02T23:40:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, I would be quite interested in integrating your enhancements.  We
should try to remain backward compatible with the existing transitive() but
apart from that, the field is pretty open for improvements.  Give it your
best shot!

alex

On Wed, Dec 2, 2009 at 3:27 PM, Sebastian Hennebrueder
&lt;usenet@laliluna.de&gt;wrote:

&gt; Hello
&gt;
&gt; I started to use buildr and was slightly annoyed by the limited maven
&gt; support.
&gt;
&gt; Apart from not resolving properly, I had poms which couldn't be parsed. I
&gt; switched the parser to Nokogiri and improved the code to deliver better
&gt; results.
&gt;
&gt; Well it does work know but I run into the next big problem:
&gt;
&gt; The transitive methods split up a hash of dependencies and resolves them
&gt; individually. Naturally this doesn't work because I need to know all
&gt; dependencies to avoid duplicate instances.
&gt;
&gt; The consequence is that I have to change the API. It could look like the
&gt; following code snippet. Before I start working on this, is there interest to
&gt; integrate this or is there anybody working on something like this?
&gt;
&gt; MY_DEPS = maven do
&gt;   add("org.hibernate:hibernate-ehcache:jar:3.3.2.GA:
&gt; compile").transient.exclude("foo:bar")
&gt;   add({ :groupId=&gt;"org.hibernate", :artifactId =&gt;"hibernate-ehcache",
&gt; :version=&gt;"3.3.2.GA", :scope=&gt; "compile"}).transient
&gt;   add("foo:bar:1.0").exclude('foo:*')   end
&gt; define 'laliluna' do
&gt;   project.version = '1.1'
&gt;   package :jar
&gt;   compile.with MY_DEPS
&gt; end
&gt;
&gt; --
&gt; Best Regards / Viele Grüße
&gt;
&gt; Sebastian Hennebrueder
&gt; -----
&gt; Software Developer and Trainer for Hibernate / Java Persistence
&gt; http://www.laliluna.de
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>maven improvements - help offer</title>
<author><name>Sebastian Hennebrueder &lt;usenet@laliluna.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200912.mbox/%3c4B16F7E8.5060300@laliluna.de%3e"/>
<id>urn:uuid:%3c4B16F7E8-5060300@laliluna-de%3e</id>
<updated>2009-12-02T23:27:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello

I started to use buildr and was slightly annoyed by the limited maven 
support.

Apart from not resolving properly, I had poms which couldn't be parsed. 
I switched the parser to Nokogiri and improved the code to deliver 
better results.

Well it does work know but I run into the next big problem:

The transitive methods split up a hash of dependencies and resolves them 
individually. Naturally this doesn't work because I need to know all 
dependencies to avoid duplicate instances.

The consequence is that I have to change the API. It could look like the 
following code snippet. Before I start working on this, is there 
interest to integrate this or is there anybody working on something like 
this?

MY_DEPS = maven do
    
add("org.hibernate:hibernate-ehcache:jar:3.3.2.GA:compile").transient.exclude("foo:bar")
    add({ :groupId=&gt;"org.hibernate", :artifactId =&gt;"hibernate-ehcache", 
:version=&gt;"3.3.2.GA", :scope=&gt; "compile"}).transient
    add("foo:bar:1.0").exclude('foo:*')   
end
define 'laliluna' do
    project.version = '1.1'
    package :jar
    compile.with MY_DEPS
end

-- 
Best Regards / Viele GrĆ¼Će

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de





</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Depoying emma enchanced classes.</title>
<author><name>Megan Woods &lt;megan_woods@toll.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c7332006AF3155049A6A49954523C30E904E0BCD6@questions.toll.com.au%3e"/>
<id>urn:uuid:%3c7332006AF3155049A6A49954523C30E904E0BCD6@questions-toll-com-au%3e</id>
<updated>2009-11-30T19:15:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


-----Original Message-----
From: Alex Boisvert [mailto:alex.boisvert@gmail.com] 
Sent: Monday, 30 November 2009 4:27 PM
To: users@buildr.apache.org
Subject: Re: Depoying emma enchanced classes.

You can create an alternate packaging with instrumented classes, for
example:

package(:jar, :classifier =&gt; 'instrumented').tap do |pkg|
  pkg.include _('target/instrumented/classes'), :as =&gt; '.'
end


alex

Many Thanks..

Cheers Megan


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Depoying emma enchanced classes.</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911292127p1c312294vee479d8d7bdae406@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911292127p1c312294vee479d8d7bdae406@mail-gmail-com%3e</id>
<updated>2009-11-30T05:27:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You can create an alternate packaging with instrumented classes, for
example:

package(:jar, :classifier =&gt; 'instrumented').tap do |pkg|
  pkg.include _('target/instrumented/classes'), :as =&gt; '.'
end

alex

On Sun, Nov 29, 2009 at 2:05 PM, Megan Woods &lt;megan_woods@toll.com.au&gt;wrote:

&gt; Hi,
&gt;
&gt; Basically I am attempting do code coverage on some in-container integration
&gt; tests.
&gt;
&gt; How can I get Buildr to deploy the enchanced packages.?
&gt;
&gt; or
&gt;
&gt; Is there a way I can intercept the package task so I could create somthing
&gt; along the lines of a pre or post package task.?
&gt;
&gt;
&gt; Cheers Megan
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Depoying emma enchanced classes.</title>
<author><name>Megan Woods &lt;megan_woods@toll.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c7332006AF3155049A6A49954523C30E904E0B962@questions.toll.com.au%3e"/>
<id>urn:uuid:%3c7332006AF3155049A6A49954523C30E904E0B962@questions-toll-com-au%3e</id>
<updated>2009-11-29T22:05:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
An error occured while fetching this message, sorry !
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SVN credentials for release task</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911270816s460995baided6833f661d6b6d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911270816s460995baided6833f661d6b6d@mail-gmail-com%3e</id>
<updated>2009-11-27T16:16:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Looks good to me.   I normally set things up to use svn+ssh with ssh keys to
avoid having to manage passwords for continuous integration builds.

If you can open a Jira issue and attach your code, I'll merge it into the
codebase.

thanks,
alex

On Fri, Nov 27, 2009 at 3:31 AM, Danny O'Connor
&lt;danny.oconnor@propylon.com&gt;wrote:

&gt; Hi All,
&gt;
&gt; When you're using buildr with the hudson continuous integration server, the
&gt; 'release' task won't work because buildr needs a credential for svn.  This
&gt; would probably happen in any situation where you don't cached authentication
&gt; for svn servers.
&gt;
&gt; A quick patch is to allow svn username and password be set as environment
&gt; variables like so:
&gt;
&gt; # Modified to allow usernames/passwords for svn
&gt; module Buildr
&gt;  module Svn
&gt;  module_function
&gt;    def svn(*args)
&gt;      if ENV["svn_username"] and ENV["svn_password"] then
&gt;        svn_command = "svn --username #{ENV["svn_username"]} --password
&gt; #{ENV["svn_password"]} #{args.shift} #{args.map { |arg| arg.inspect }.join('
&gt; ')}"
&gt;      else
&gt;        svn_command = "svn #{args.shift} #{args.map { |arg| arg.inspect
&gt; }.join(' ')}"
&gt;      end
&gt;      output = `#{svn_command}`
&gt;      fail "SVN command failed with status #{$?.exitstatus}" unless
&gt; $?.exitstatus == 0
&gt;      return output
&gt;    end
&gt;  end
&gt; end
&gt;
&gt;
&gt; I'm not sure if this is entirely correct though.
&gt;
&gt; Regards,
&gt; Danny.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Including dependencies with a JAR package</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911270812i7f145fecsd9174c9c5da3e889@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911270812i7f145fecsd9174c9c5da3e889@mail-gmail-com%3e</id>
<updated>2009-11-27T16:12:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Neat!  I added this to our How-To section.

http://cwiki.apache.org/confluence/display/BUILDR/How+to+include+dependencies+in+.jar+packages

Thanks for sharing.

alex


On Fri, Nov 27, 2009 at 4:31 AM, Levin Alexander
&lt;levin.alexander@gmail.com&gt;wrote:

&gt; On Fri, Nov 27, 2009 at 9:44 AM, tommycli &lt;tommycli@ucla.edu&gt; wrote:
&gt; &gt;
&gt; &gt; I use buildr with the transitive compile.with artifact specifications.
&gt; &gt;
&gt; &gt; My problem is this: After buildr makes its package, I have a nice JAR
&gt; file,
&gt; &gt; but I cannot run it without its dependency JARs.
&gt; &gt;
&gt; &gt; I don't even know which JARs it depends on. How do you find out which
&gt; JARs
&gt; &gt; you need to distribute with your project? Can buildr package all of it
&gt; into
&gt; &gt; one file?
&gt;
&gt; I am using autojar with builder to find and bundle dependencies to the Jar:
&gt;
&gt; def add_dependencies(pkg)
&gt;  tempfile = pkg.to_s.sub(/.jar$/, "-without-dependencies.jar")
&gt;  mv pkg.to_s, tempfile
&gt;
&gt;  dependencies = compile.dependencies.map { |d| "-c #{d}"}.join(" ")
&gt;  sh "java -jar tools/autojar.jar -baev -o #{pkg} #{dependencies}
&gt; #{tempfile}"
&gt; end
&gt;
&gt; package(:jar).enhance { |pkg| pkg.enhance { |pkg| add_dependencies(pkg) }}
&gt;
&gt; &lt;
&gt; http://stackoverflow.com/questions/1279419/buildr-package-dependencies-into-a-single-jar/1285293#1285293
&gt; &gt;
&gt;
&gt; this is a hack and potentially has problems (it uses autojar's
&gt; dependency resolution mechanism and therefore cannot find dynamically
&gt; added dependencies) but for us it works quite well in practice.
&gt;
&gt; -Levin
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Including dependencies with a JAR package</title>
<author><name>Levin Alexander &lt;levin.alexander@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c58c407eb0911270431p2a4b6b87x4336a33347a1b37f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c58c407eb0911270431p2a4b6b87x4336a33347a1b37f@mail-gmail-com%3e</id>
<updated>2009-11-27T12:31:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Nov 27, 2009 at 9:44 AM, tommycli &lt;tommycli@ucla.edu&gt; wrote:
&gt;
&gt; I use buildr with the transitive compile.with artifact specifications.
&gt;
&gt; My problem is this: After buildr makes its package, I have a nice JAR file,
&gt; but I cannot run it without its dependency JARs.
&gt;
&gt; I don't even know which JARs it depends on. How do you find out which JARs
&gt; you need to distribute with your project? Can buildr package all of it into
&gt; one file?

I am using autojar with builder to find and bundle dependencies to the Jar:

def add_dependencies(pkg)
  tempfile = pkg.to_s.sub(/.jar$/, "-without-dependencies.jar")
  mv pkg.to_s, tempfile

  dependencies = compile.dependencies.map { |d| "-c #{d}"}.join(" ")
  sh "java -jar tools/autojar.jar -baev -o #{pkg} #{dependencies} #{tempfile}"
end

package(:jar).enhance { |pkg| pkg.enhance { |pkg| add_dependencies(pkg) }}

&lt;http://stackoverflow.com/questions/1279419/buildr-package-dependencies-into-a-single-jar/1285293#1285293&gt;

this is a hack and potentially has problems (it uses autojar's
dependency resolution mechanism and therefore cannot find dynamically
added dependencies) but for us it works quite well in practice.

-Levin


</pre>
</div>
</content>
</entry>
<entry>
<title>SVN credentials for release task</title>
<author><name>Danny O'Connor &lt;danny.oconnor@propylon.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4B0FB887.6080909@propylon.com%3e"/>
<id>urn:uuid:%3c4B0FB887-6080909@propylon-com%3e</id>
<updated>2009-11-27T11:31:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi All,

When you're using buildr with the hudson continuous integration server, 
the 'release' task won't work because buildr needs a credential for svn. 
  This would probably happen in any situation where you don't cached 
authentication for svn servers.

A quick patch is to allow svn username and password be set as 
environment variables like so:

# Modified to allow usernames/passwords for svn
module Buildr
   module Svn
   module_function
     def svn(*args)
       if ENV["svn_username"] and ENV["svn_password"] then
         svn_command = "svn --username #{ENV["svn_username"]} --password 
#{ENV["svn_password"]} #{args.shift} #{args.map { |arg| arg.inspect 
}.join(' ')}"
       else
         svn_command = "svn #{args.shift} #{args.map { |arg| arg.inspect 
}.join(' ')}"
       end
       output = `#{svn_command}`
       fail "SVN command failed with status #{$?.exitstatus}" unless 
$?.exitstatus == 0
       return output
     end
   end
end


I'm not sure if this is entirely correct though.

Regards,
Danny.



</pre>
</div>
</content>
</entry>
<entry>
<title>Including dependencies with a JAR package</title>
<author><name>tommycli &lt;tommycli@ucla.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c26537708.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26537708-post@talk-nabble-com%3e</id>
<updated>2009-11-27T08:44:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I use buildr with the transitive compile.with artifact specifications.

My problem is this: After buildr makes its package, I have a nice JAR file,
but I cannot run it without its dependency JARs.

I don't even know which JARs it depends on. How do you find out which JARs
you need to distribute with your project? Can buildr package all of it into
one file?

Tommy
-- 
View this message in context: http://old.nabble.com/Including-dependencies-with-a-JAR-package-tp26537708p26537708.html
Sent from the Buildr - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: cobertura tasks and test.using :integration</title>
<author><name>=?iso-8859-1?Q?Peter_Schr=F6der?= &lt;ps@blau.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c54FF3ED72F41454299EBC44FE688EC200A6E8422@exchange.blau.de.local%3e"/>
<id>urn:uuid:%3c54FF3ED72F41454299EBC44FE688EC200A6E8422@exchange-blau-de-local%3e</id>
<updated>2009-11-26T20:11:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
i think that we wont do this right now, cause cobertura-coverage is not interesting in our
system-test-setup, so we just ignore them when test.options[:integration] is set.

i will report back if we come back to this issue in the next month.

________________________________________
Von: Alex Boisvert [alex.boisvert@gmail.com]
Gesendet: Donnerstag, 26. November 2009 20:21
An: users@buildr.apache.org
Betreff: Re: cobertura tasks and test.using :integration

On Wed, Nov 25, 2009 at 10:36 PM, Peter Schröder &lt;ps@blau.de&gt; wrote:

&gt; you mean a self-defined task with a zip-task to create the report-artifact?
&gt;

yes.


&gt; we probably would need to create some other kind of top-level
&gt; package-report task, because we join all created reports (cobertura, junit,
&gt; javadoc...) into one big reports-zip and upload this to our bamboo-server,
&gt; so that we can attach all reports to a build.
&gt;

yes, that would be very nice.  if you implement this, I would be very
interested in bringing it into buildr.

alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: cobertura tasks and test.using :integration</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911261121gd8c3240od0175fe0ad8f1227@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911261121gd8c3240od0175fe0ad8f1227@mail-gmail-com%3e</id>
<updated>2009-11-26T19:21:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Nov 25, 2009 at 10:36 PM, Peter Schröder &lt;ps@blau.de&gt; wrote:

&gt; you mean a self-defined task with a zip-task to create the report-artifact?
&gt;

yes.


&gt; we probably would need to create some other kind of top-level
&gt; package-report task, because we join all created reports (cobertura, junit,
&gt; javadoc...) into one big reports-zip and upload this to our bamboo-server,
&gt; so that we can attach all reports to a build.
&gt;

yes, that would be very nice.  if you implement this, I would be very
interested in bringing it into buildr.

alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: cobertura tasks and test.using :integration</title>
<author><name>=?iso-8859-1?Q?Peter_Schr=F6der?= &lt;ps@blau.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c6B0D1ECF-1A09-440D-9BCD-F8E047A26E36@blau.de%3e"/>
<id>urn:uuid:%3c6B0D1ECF-1A09-440D-9BCD-F8E047A26E36@blau-de%3e</id>
<updated>2009-11-26T06:36:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
you mean a self-defined task with a zip-task to create the report-artifact?

we probably would need to create some other kind of top-level package-report task, because
we join all created reports (cobertura, junit, javadoc...) into one big reports-zip and upload
this to our bamboo-server, so that we can attach all reports to a build.


Am 25.11.2009 um 20:58 schrieb Alex Boisvert:

&gt; Create a package task for the cobertura reports (which is not a dependency
&gt; of :package) and add it as a dependency of :upload ?
&gt; 
&gt; On Nov 25, 2009 4:54 AM, "Peter Schröder" &lt;ps@blau.de&gt; wrote:
&gt; 
&gt; hi,
&gt; 
&gt; we have an issue regarding the order of task when running cobertura-tasks in
&gt; the test-integration mode.
&gt; 
&gt; we want to package the cobertura-results, so that an reports-artifact can be
&gt; created and uploaded, but the package task needs to be run before the
&gt; test-integration setup and teardown. but the cobertura task needs to run the
&gt; tests...
&gt; 
&gt; any ideas?



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: cobertura tasks and test.using :integration</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911251158t5916e1dfp1a31b462b793a769@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911251158t5916e1dfp1a31b462b793a769@mail-gmail-com%3e</id>
<updated>2009-11-25T19:58:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Create a package task for the cobertura reports (which is not a dependency
of :package) and add it as a dependency of :upload ?

On Nov 25, 2009 4:54 AM, "Peter Schröder" &lt;ps@blau.de&gt; wrote:

hi,

we have an issue regarding the order of task when running cobertura-tasks in
the test-integration mode.

we want to package the cobertura-results, so that an reports-artifact can be
created and uploaded, but the package task needs to be run before the
test-integration setup and teardown. but the cobertura task needs to run the
tests...

any ideas?


</pre>
</div>
</content>
</entry>
<entry>
<title>cobertura tasks and test.using :integration</title>
<author><name>=?iso-8859-1?Q?Peter_Schr=F6der?= &lt;ps@blau.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3cBB5D0A91-6CA0-44F3-8E52-E80EA33D3846@blau.de%3e"/>
<id>urn:uuid:%3cBB5D0A91-6CA0-44F3-8E52-E80EA33D3846@blau-de%3e</id>
<updated>2009-11-25T12:54:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi,

we have an issue regarding the order of task when running cobertura-tasks in the test-integration
mode.

we want to package the cobertura-results, so that an reports-artifact can be created and uploaded,
but the package task needs to be run before the test-integration setup and teardown. but the
cobertura task needs to run the tests...

any ideas?

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SFTP upoad failing</title>
<author><name>&quot;Greg Lucas&quot; &lt;greg.lucas@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3cop.u3wvmsmrxo3od7@pcbedglucas.bedford.progress.com%3e"/>
<id>urn:uuid:%3cop-u3wvmsmrxo3od7@pcbedglucas-bedford-progress-com%3e</id>
<updated>2009-11-24T18:14:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
In case anyone else hits this: The error is misleading, see

&lt;http://rubyforge.org/tracker/?func=detail&amp;aid=23981&amp;group_id=274&amp;atid=1125&gt;

I applied the patch to get a better error message, now at least I get

Net::SSH::AuthenticationFailed

Not sure what changed to cause this, but it's a start. (I get a different  
error running on windows, but that seems to be a known issue with  
jruby/ssh).


On Tue, 24 Nov 2009 12:19:07 -0500, Greg Lucas &lt;greg.lucas@gmail.com&gt;  
wrote:

&gt; I have a build that uses SFTP to upload to a maven repo. This was  
&gt; working at one point, but since updating from buildr 1.2.10 to buildr  
&gt; 1.3.5 + JRuby 1.4 I'm getting the following:
&gt;
&gt;   undefined method `shutdown!' for nil:NilClass
&gt;
&gt; Looks like Net::SSH.start is returning a nil session, the trace is:
&gt;
&gt;&gt; buildr-1.3.5-jruby-1.4.0/lib/ruby/gems/1.8/gems/net-sftp-2.0.2/lib/net/sftp.rb:43:in
 
&gt;&gt; `start'
&gt;&gt; buildr-1.3.5-jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/transports.rb:442:in
 
&gt;&gt; `write_internal'
&gt;
&gt; Has anyone else run in to this?
&gt;
&gt; Thanks,
&gt;


-- 
Greg Lucas


</pre>
</div>
</content>
</entry>
<entry>
<title>SFTP upoad failing</title>
<author><name>&quot;Greg Lucas&quot; &lt;greg.lucas@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3cop.u3ws14c9xo3od7@pcbedglucas.bedford.progress.com%3e"/>
<id>urn:uuid:%3cop-u3ws14c9xo3od7@pcbedglucas-bedford-progress-com%3e</id>
<updated>2009-11-24T17:19:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have a build that uses SFTP to upload to a maven repo. This was working  
at one point, but since updating from buildr 1.2.10 to buildr 1.3.5 +  
JRuby 1.4 I'm getting the following:

  undefined method `shutdown!' for nil:NilClass

Looks like Net::SSH.start is returning a nil session, the trace is:

&gt; buildr-1.3.5-jruby-1.4.0/lib/ruby/gems/1.8/gems/net-sftp-2.0.2/lib/net/sftp.rb:43:in
 
&gt; `start'
&gt; buildr-1.3.5-jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/transports.rb:442:in
 
&gt; `write_internal'

Has anyone else run in to this?

Thanks,

-- 
Greg Lucas


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Reducing Java::Commands:Java output</title>
<author><name>Megan Woods &lt;megan_woods@toll.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c7332006AF3155049A6A49954523C30E904D9D452@questions.toll.com.au%3e"/>
<id>urn:uuid:%3c7332006AF3155049A6A49954523C30E904D9D452@questions-toll-com-au%3e</id>
<updated>2009-11-23T19:14:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yea basically I get the full java command line dumped to stdout..

Thanks for your help.

Cheers Megan 

-----Original Message-----
From: Alex Boisvert [mailto:alex.boisvert@gmail.com] 
Sent: Tuesday, 24 November 2009 2:44 AM
To: users@buildr.apache.org
Subject: Re: Reducing Java::Commands:Java output

Yes, a few people have noticed this.  Looks like it's coming from Rake.
I'll look into it.

alex

On Sun, Nov 22, 2009 at 3:23 PM, Megan Woods &lt;megan_woods@toll.com.au&gt;wrote:

&gt; Hi all,
&gt;
&gt; Is it possible to stop Java::Commands:Java from producing so much output.?
&gt;
&gt; I have been digging through the buildr source code and can confirm 
&gt; that the following are:
&gt;
&gt;    Buildr.application.options.trace is nil
&gt;    :verbose is false
&gt;
&gt; which I have confirmed by putting puts statements in the appropriate 
&gt; places within \lib\buildr\java\commands.rb
&gt;
&gt; Buildr version is:
&gt;
&gt; buildr-1.3.5-x86-mswin32
&gt;
&gt; Cheers Megan
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: default buildr.rb</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911230945m25675de0t5c7e686edc5f6@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911230945m25675de0t5c7e686edc5f6@mail-gmail-com%3e</id>
<updated>2009-11-23T17:45:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Ok, I've changed this.

Here's how things work now,

1) $HOME/.buildr/buildr.rb is now loaded in preference.

2) If $HOME/.buildr/buildr.rb doesn't exist, $HOME/buildr.rb is loaded and a
deprecation warning is printed.

If you still use prior versions of Buildr and you don't want to duplicate
the content of your buildr.rb file, you can move you existing
$HOME/buildr.rb to $HOME/.buildr/buildr.b and create a new $HOME/buildr.rb
containing:

# Backward compatibility:  Buildr 1.4+ uses $HOME/.buildr/buildr.rb
load File.expand_path('buildr.rb', Buildr.application.home_dir)

alex

On Sun, Nov 22, 2009 at 12:01 PM, Peter Schröder &lt;ps@blau.de&gt; wrote:

&gt; oh, i didn't know that yet...
&gt;
&gt; so putting the file in there would be fine too.
&gt; ________________________________________
&gt; Von: Alex Boisvert [alex.boisvert@gmail.com]
&gt; Gesendet: Sonntag, 22. November 2009 18:24
&gt; An: users@buildr.apache.org
&gt; Betreff: Re: default buildr.rb
&gt;
&gt; I agree it's clutter.
&gt;
&gt; Since we already use the ~/.buildr directory, why not move it into that
&gt; directory?
&gt;
&gt; alex
&gt;
&gt; On Sun, Nov 22, 2009 at 8:49 AM, Peter Schröder &lt;ps@blau.de&gt; wrote:
&gt;
&gt; &gt; i would like the default buildr include (~/buildr.rb) to be a hidden file
&gt; &gt; .buildr f.e. so that it wont clutter the user-directory.
&gt; &gt;
&gt; &gt; what do you thing about this?
&gt; &gt;
&gt; &gt; kind regards,
&gt; &gt; peter
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Reducing Java::Commands:Java output</title>
<author><name>Alex Boisvert &lt;alex.boisvert@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/buildr-users/200911.mbox/%3c4dcd15a90911230743h7345007cg457e2521428d9ee2@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4dcd15a90911230743h7345007cg457e2521428d9ee2@mail-gmail-com%3e</id>
<updated>2009-11-23T15:43:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, a few people have noticed this.  Looks like it's coming from Rake.
I'll look into it.

alex

On Sun, Nov 22, 2009 at 3:23 PM, Megan Woods &lt;megan_woods@toll.com.au&gt;wrote:

&gt; Hi all,
&gt;
&gt; Is it possible to stop Java::Commands:Java from producing so much output.?
&gt;
&gt; I have been digging through the buildr source code and can confirm that the
&gt; following are:
&gt;
&gt;    Buildr.application.options.trace is nil
&gt;    :verbose is false
&gt;
&gt; which I have confirmed by putting puts statements in the appropriate places
&gt; within \lib\buildr\java\commands.rb
&gt;
&gt; Buildr version is:
&gt;
&gt; buildr-1.3.5-x86-mswin32
&gt;
&gt; Cheers Megan
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
</feed>
