Re: Run tasks

2010-01-28 Thread Assaf Arkin
On Thu, Jan 28, 2010 at 7:15 PM, Nicholas Andrews n...@jhu.edu wrote: Hi, I want to have several buildr run tasks. My current run task looks like this: task :run = :compile do Java.java cc.HelloWorld, arg1, :classpath = [ compile.dependencies, compile.target ], :java_args =

Re: Bundled Buildr + JRuby distribution

2009-12-17 Thread Assaf Arkin
On Thu, Dec 17, 2009 at 7:27 AM, Alex Boisvert alex.boisv...@gmail.comwrote: Hi Ittay, I'm unclear as to whether we'll be able to distribute it on the Apache site. We'll need to review the license on all packaged software against Apache policies. Official Apache releases are source code

Re: rjb-1.1.9 does not build on Windows with JDK in default location

2009-12-17 Thread Assaf Arkin
On Thu, Dec 17, 2009 at 10:29 AM, Will Rogers wjrog...@gmail.com wrote: On Thu, Dec 17, 2009 at 1:23 PM, Assaf Arkin as...@labnotes.org wrote: 2. The version rjb-1.1.9 required by buildr-1.3.5 does not build when your JAVA_HOME has spaces in the path I'm not sure why you're getting

Re: Is there a way to delay building a sub project?

2009-10-28 Thread Assaf Arkin
On Wed, Oct 28, 2009 at 1:19 PM, Andrew Moore rp.andrew.mo...@gmail.comwrote: Hi, I want to add a sub project to our buildr project that only runs if I specifically specify it, and not when I run the basic clean, build, package commands from the root. These are basically integration type

Re: helper for directories

2009-10-23 Thread Assaf Arkin
On Fri, Oct 23, 2009 at 1:02 AM, Peter Schröder p...@blau.de wrote: hi there, i am looking for the way that buildr is creating directories on demand. i would like to use some magic like if the directory is missing, just create it! so that i dont have to create the directories myself. Rake

A brief introduction to Rake

2009-09-10 Thread Assaf Arkin
Blog post by John Barnette, short and to the point: http://www.jbarnette.com/2009/08/27/on-rake.html Assaf

Re: Running several jetty instances in different subprojects

2009-07-23 Thread Assaf Arkin
/display/BUILDR/How+to+run+jetty Thanx cheers, Martin On Wed, 2009-07-22 at 02:05 -0700, Assaf Arkin wrote: On Tue, Jul 21, 2009 at 1:46 PM, Martin Grotzke martin.grot...@javakaffee.de wrote: On Tue, 2009-07-21 at 11:02 -0700, Assaf Arkin wrote: On Tue, Jul 21, 2009 at 2:50 AM, Martin

Re: Running several jetty instances in different subprojects

2009-07-21 Thread Assaf Arkin
provide a more complete example? Thanx cheers, Martin On Mon, 2009-07-20 at 20:04 -0700, Assaf Arkin wrote: On Mon, Jul 20, 2009 at 8:57 AM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi, our project contains several subprojects. Two of them I want to run

Re: Running several jetty instances in different subprojects

2009-07-20 Thread Assaf Arkin
On Mon, Jul 20, 2009 at 8:57 AM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi, our project contains several subprojects. Two of them I want to run with jetty, both instances shall be running at the same time. To change the port for one of the instances, I use jetty.url =

Re: How to run task in background

2009-07-10 Thread Assaf Arkin
On Fri, Jul 10, 2009 at 3:17 AM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi, I have another one :) I want to start a mailserver with test.setup so that it's available for tests. I created a task that starts a simple java mail server which blocks until it's interrupted. Now I

Re: could buildr build a package made of various assemblies ?

2009-07-10 Thread Assaf Arkin
On Wed, Jul 8, 2009 at 2:11 PM, thierry henrio thierry.hen...@gmail.comwrote: Hi all, our company produce various and unstandardized assemblies : tar.bz2, zip each assembly has its own layout, and mainly consist in jar files there is no standardized repository to host jar files it is a

Re: How to run task in background

2009-07-10 Thread Assaf Arkin
is just sleeping and won't block other threads. Assaf Daniel On Jul 10, 2009, at 9:39 PM, Assaf Arkin as...@labnotes.org wrote: On Fri, Jul 10, 2009 at 3:17 AM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi, I have another one :) I want to start a mailserver with test.setup

Re: Tests not executed with eclipse bulding automatically - how to set different output folder for eclipse

2009-07-07 Thread Assaf Arkin
On Tue, Jul 7, 2009 at 3:09 PM, Alex Boisvert boisv...@intalio.com wrote: I'm not sure if test=all was designed this way on purpose... Assaf? Maybe we should consider test=force as a more intentioned command. Buildr uses a timestamp to figure out if there's a code change and only execute

Re: Buildr book

2009-06-26 Thread Assaf Arkin
know yet, here it is: http://www.amazon.com/Buildr-Assaf-Arkin/dp/1442160942/ It's mostly the pdf for the online documentation that Assaf has reformatted with love and care for the comfort of your eyes. So if you're more of the paper and ink type than bits and pixels, there's now a solution

Re: Ivy Extension for buildr 'ivy4r'

2009-06-25 Thread Assaf Arkin
On Wed, Jun 24, 2009 at 6:28 AM, Klaas Prause k...@blau.de wrote: Hi, we are using Ivy in our company for dependency management. To switch to buildr we still needed support for the ivy dependency system. It took some time but we finished a buildr extension for seamless integration of ivy

Re: Help using Include

2009-06-18 Thread Assaf Arkin
On Wed, Jun 17, 2009 at 4:03 PM, Andrew Moore andrew.mo...@redprairie.comwrote: Well, I have it working, but not as it seems like it should... I'm essentially excluding every other kind of file, like this:

Re: Help using Include

2009-06-18 Thread Assaf Arkin
On Thu, Jun 18, 2009 at 11:12 AM, Ittay Dror ittay.d...@gmail.com wrote: Assaf Arkin wrote: On Wed, Jun 17, 2009 at 4:03 PM, Andrew Moore andrew.mo...@redprairie.comwrote: Well, I have it working, but not as it seems like it should... I'm essentially excluding every other kind of file

Re: How to generate sources for/before compile

2009-06-12 Thread Assaf Arkin
On Fri, Jun 12, 2009 at 11:05 AM, Alex Boisvert boisv...@intalio.comwrote: On Fri, Jun 12, 2009 at 6:12 AM, Martin Grotzke martin.grot...@javakaffee.de wrote: I needed to wrap the ant project with the generate = task ..., as otherwise (with just generate = ant('generate') do |ant| ...)

Re: Backwards-incompatible change in buildr 1.3.4: tasks/*.rake loaded after buildfile

2009-05-11 Thread Assaf Arkin
On Mon, May 11, 2009 at 9:38 AM, Rhett Sutphin rh...@detailedbalance.netwrote: Hi, In buildr 1.3.4, it appears that the contents of tasks/*.rake are evaluated after the buildfile itself. This means that you can't use methods defined in extension .rake files in the top level of your

Re: Correct Way to Depend on Another Buildfile

2009-05-08 Thread Assaf Arkin
On Thu, May 7, 2009 at 8:18 AM, Daniel Spiewak djspie...@gmail.com wrote: Consider: http://github.com/djspiewak/gll-combinators Specifically, the examples/ directory defines a separate Buildr project which depends upon the project in its parent directory (gll-combinators). I could have

Re: Allow user to specify jmock dependency

2009-04-21 Thread Assaf Arkin
On Tue, Apr 21, 2009 at 1:19 PM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi, I just need to use jmock-2 instead of jmock-1, as I need to proxy a class (not interface). Is this a big deal? http://buildr.apache.org/languages.html#java Scroll down to the discussion about JUnit,

Re: question about Test task

2009-03-27 Thread Assaf Arkin
On Fri, Mar 27, 2009 at 2:42 PM, Alexis Midon alexismi...@gmail.com wrote: Hi guys, I have attached a simple HelloWorld project, with 2 modules, mod2 depends on mod1. When I test mod2, mod1 gets packaged. is that the expected behavior? I'd say no. Does mod2 have mod1.jar as a classpath

Re: Update to site and documentation

2009-03-18 Thread Assaf Arkin
On Wed, Mar 18, 2009 at 5:52 AM, Alex Boisvert boisv...@intalio.com wrote: On Mon, Mar 16, 2009 at 3:57 PM, Assaf Arkin ar...@intalio.com wrote: Last week I switched our documentation system to use Jekyll[1]. Before the switch we used Docter to generate the Web site from Textile documents

Re: Mailing list archives Was: Welcome to Rebase Hell!

2009-03-05 Thread Assaf Arkin
boisv...@intalio.com wrote: On Mon, Mar 2, 2009 at 9:59 AM, Assaf Arkin ar...@intalio.com wrote: Speaking of, now that we're top-level and know our mailing lists, would be cool to point people at usable mailing list archives (i.e. not Apaches). Any recommendations

Re: Welcome to Rebase Hell!

2009-02-28 Thread Assaf Arkin
, or svn.eu.apache.org, although my starting point was Jukka's unofficial but somewhat official git mirror[1]. When you git log, check the git-svn-id: commit a3ab30a66a092bf730950bd95a1394253ebd2f39 Author: Assaf Arkin as...@apache.org Date: Fri Feb 27 22:24:50 2009 + Fixed RDoc 2.3

Re: How to run a webapp in jetty

2009-02-15 Thread Assaf Arkin
On Fri, Feb 13, 2009 at 5:37 PM, Martin Grotzke martin.grot...@javakaffee.de wrote: Hi Daniel, thanx for your fast reply! At javaworld I found one relevant article ([1]), but this does only show (at least AFAICS) how to start jetty programmatically from java - what's not what I'm looking

Re: How to run a webapp in jetty

2009-02-15 Thread Assaf Arkin
in the background, so I recommend using jetty:start. Assaf Cheers, Martin [1] http://cwiki.apache.org/confluence/display/BUILDR/How+to+run+jetty On Sun, 2009-02-15 at 01:40 -0800, Assaf Arkin wrote: On Fri, Feb 13, 2009 at 5:37 PM, Martin Grotzke martin.grot...@javakaffee.de wrote

Re: is buildr still active?

2009-02-11 Thread Assaf Arkin
On Wed, Feb 11, 2009 at 11:32 AM, Ittay Dror itt...@tikalk.com wrote: Assaf Arkin wrote: Specs really really help. A patch could look simple and trivial, maybe it's a one line fix, but writing the spec and then accepting the patch is more work than accepting a tested patch. If you

Re: suggestions for separating unit vs. integration tests

2009-02-11 Thread Assaf Arkin
2009/2/6 Shane Witbeck sh...@digitalsanctum.com All, I've been trying to determine the best way to run unit tests vs. integration tests. It seems you only have the option of marking a project/component containing integration tests or not containing integration tests. Some of my projects