Continuous Integration Tool with Buildr support?

2010-01-18 Thread Anders Janmyr
Hi, I am planning to use Buildr in a project which will use Java and JRuby modules. We are planning to use Hudson as an integration server, but I couldn't find any support for Buildr with it. I know I can just run it as a normal script, but I am still curious. What CI do you guys use when

Re: Continuous Integration Tool with Buildr support?

2010-01-19 Thread Anders Janmyr
+0100, Anders Janmyr wrote: Hi Martin, How are you using it? Are you running buildr as a system command or are you calling the command differently. Can you mail me a sample configuration file? Anders On Tue, Jan 19, 2010 at 9:16 AM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi

File Task discrepancy between Rake and Buildr

2010-01-19 Thread Anders Janmyr
Hi again, I have a task and it works as expected in Rake, but it fails when I am using buildr. # This is the task defined in docs.rake def asciidoc from, to system asciidoc --unsafe --out-file=#{to} #{from} end def wkpdf from, to system wkpdf --source #{from} --output #{to} --format A4 end

Re: File Task discrepancy between Rake and Buildr

2010-01-19 Thread Anders Janmyr
) end end Regards Anders On Tue, Jan 19, 2010 at 9:10 PM, Anders Janmyr anders.jan...@jayway.com wrote: Hi again, I have a task and it works as expected in Rake, but it fails when I am using buildr. # This is the task defined in docs.rake def asciidoc from, to  system asciidoc --unsafe

Re: Continuous Integration Tool with Buildr support?

2010-01-19 Thread Anders Janmyr
be good enough though. We also use it for our Hudson-based builds. I also use shell commands to run buildr builds in hudson.  I'm not sure how plugin would be better -- what are people thinking the benefits would be? Rhett Thanks, Antoine On Tue, Jan 19, 2010 at 01:43, Anders Janmyr

Patches and documentation

2010-01-31 Thread Anders Janmyr
Hi, I started a fork of the project here http://github.com/andersjanmyr/buildr 7877af8 Started on a quick reference document. 777a48c improved notification when generating files I log when there is no package specification in the project instead of just wring generating xxx.iml file. 1ae35ba

Re: Patches and documentation

2010-01-31 Thread Anders Janmyr
, Antoine Toulme anto...@lunar-ocean.com wrote: You need to open one or more Jira bugs and attach patches there to accept that your code is enclosed under the ASL terms. Thanks for your interest! Antoine On Sun, Jan 31, 2010 at 02:56, Anders Janmyr anders.jan...@jayway.comwrote: Hi, I started

Download dependency

2010-02-16 Thread Anders Janmyr
Hi, I have an artifact that is constructed from a zip-file, like this google_zip = download target/google-collect-1.0.zip = 'http://google-collections.googlecode.com/files/google-collect-1.0.zip' google_jar = file(target/zip/google-collect-1.0/google-collect-1.0.jar =

Re: Download dependency

2010-02-16 Thread Anders Janmyr
Hi Alex, artifact(...).from(...) only changes the source of the artifact for a given execution.   It doesn't actually install the artifact in the local Maven2 repo.   If you want to install it, you can do something along the lines of: It actually does install the artifact into the

Re: Download dependency

2010-02-17 Thread Anders Janmyr
Ouch, I should have told you I'm using the 1.4 version. Anders from phone. On 17 feb 2010, at 16.41, Alex Boisvert alex.boisv...@gmail.com wrote: On Tue, Feb 16, 2010 at 8:58 PM, Anders Janmyr anders.jan...@jayway.com wrote: Hi Alex, artifact(...).from(...) only changes the source

Re: Download dependency

2010-02-18 Thread Anders Janmyr
, 2010 at 7:39 PM, Anders Janmyr anders.jan...@jayway.com wrote: Hi again, I can reproduce it with buildr-1.3.5, Here is a session with the full buildfile after. Anders [512:words (master)]$ rm -r /Users/andersjanmyr/.m2/repository/google/ [513:words (master)]$ buildr (in /Users/andersjanmyr

Re: Download dependency

2010-02-21 Thread Anders Janmyr
investigated the issue properly. Anders On Tue, Feb 16, 2010 at 6:45 PM, Anders Janmyr anders.jan...@jayway.com wrote: Hi, I have an artifact that is constructed from a zip-file, like this  google_zip = download target/google-collect-1.0.zip = 'http://google-collections.googlecode.com/files

Patch for artifact.from

2010-02-26 Thread Anders Janmyr
From: Anders Janmyr anders.jan...@jayway.com Date: Fri, 26 Feb 2010 12:12:48 +0100 Subject: [PATCH] artifact.from should only be invoked when needed. * It is only needed if the file it is dependent on is newer or if the artifact does not exist at all. * If the artifact exists, but the dependent file

Re: Patch for artifact.from

2010-02-27 Thread Anders Janmyr
you give it a try to make sure it addresses your issue? thanks, alex On Fri, Feb 26, 2010 at 3:24 AM, Anders Janmyr anders.jan...@jayway.comwrote: Hi, I have made changes to allow you to write code like this  google_zip = download target/google-collect-1.0.zip =          ' http