Re: Buildr:Package doc error

2009-11-17 Thread Alex Boisvert
Yes, it's wrong. I'll fix it. thanks, alex On Tue, Nov 17, 2009 at 9:00 AM, Greg Lucas greg.lu...@gmail.com wrote: I believe the doc on implementing a custom packaging type is incorrect: def package_as_sources_spec(spec) #:nodoc: { :type=:zip, :classifier='sources' }.merge(spec) end

Re: Bundled Buildr + JRuby distribution

2009-11-17 Thread Greg Lucas
Alex, I was seeing this with the ODE 1.x project, which just moved from Buildr 1.2.10 to 1.3.5. It turns out that if I explicitly add the test task on the command line it does work as expected: buildr test=all test package Otherwise, the test=all is ignored and the build aborts on the

Re: Bundled Buildr + JRuby distribution

2009-11-17 Thread Greg Lucas
Thanks Alex. I think I was wrong before about the workaround, but I just tried your patch and that does solve the issue. On Tue, 17 Nov 2009 14:03:43 -0500, Alex Boisvert alex.boisv...@gmail.com wrote: On Tue, Nov 17, 2009 at 9:49 AM, Greg Lucas greg.lu...@gmail.com wrote: Alex, I was

Re: documentation about git on github and buildr

2009-11-17 Thread Antoine Toulme
Hey Peter, I fork the git repository from the Apache mirror directly: git://git.apache.org/buildr.git git://git.apache.org/buildr.gitYep, the github mirror is outdated and I had opened a ticket about it: http://support.github.com/discussions/repos/1568-apache-buildr-mirror-is-out-of-date Please

Re: How to run a java test (Junit) in debug mode

2009-11-17 Thread Rhett Sutphin
Hi Babu, On Nov 17, 2009, at 3:30 PM, Babu Naidu wrote: Hi, I have a junit test that I would like to debug, however I am not able to figure out how to pass java debug options to the JVM that runs junit test or test task. For example, I would like to run the junit test with '- Xdebug

Re: How to run a java test (Junit) in debug mode

2009-11-17 Thread Rhett Sutphin
Hi Babu, On Nov 17, 2009, at 6:05 PM, Babu Naidu wrote: Sorry for the confusion. I tried with just :java_args, it didn't work for me. However, with JAVA_OPTS setting and :fork=false works but painful. I am not sure why just :java_args isn't working. I am using JDK 6 on Mac OS. I just