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

2009-12-17 Thread Will Rogers
I just went through an unpleasant two hours trying to get buildr to install on Windows. May I make two suggestions to improve your Installing on Windows section at http://buildr.apache.org/installing.html ? 1. Installing the Ruby one-click installer is not enough, you also need the devkit so you

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

2009-12-17 Thread Will Rogers
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 the all-platforms gem with RJB 1.1.9 dependency, but you shouldn't.   Could be

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

2009-12-19 Thread Will Rogers
On Thu, Dec 17, 2009 at 1:43 PM, Assaf Arkin as...@labnotes.org wrote: I think they're just using a different platform identifier, because their suggestion is: gem install --platform=mswin32 Thanks for clarifying the problem. To follow up, I can confirm that buildr installs and works with:

buildr + XMLBeans documentation?

2009-12-19 Thread Will Rogers
I have not been able to find any documentation for buildr's XMLBeans support other than a short comment within addon/buildr/xmlbeans.rb itself. That comment got it working for me, but I have more questions. Is there documentation hiding somewhere? If not, can anyone help me with these two

end-to-end build and deploy including Subversion checkout?

2009-12-28 Thread Will Rogers
Hi Buildr folks, My ultimate goal in adopting a Java build system is to have a single-command process that can check code out of source control, build it, and deploy it. Now that I've read through all the Buildr documentation, it seems that Buildr is perfect for building, and I also think it can

Re: end-to-end build and deploy including Subversion checkout?

2009-12-28 Thread Will Rogers
Thanks, Alex. I know what I want to accomplish, but I'm still getting a feel for the Java ecosystem, so I'm not always sure what the popular steps are along the way. Your pointers toward fresh research material are very helpful. -- Will

generate geronimo-application.xml during EAR packaging?

2010-02-24 Thread Will Rogers
Buildr's EAR packaging automatically generates an application.xml and includes it in the output's META-INF directory. I would like to do something similar to generate a geronimo-application.xml for inclusion in the EAR. I can handle the actual file generation part, but I'm not sure how/where to

Re: dzone

2010-02-24 Thread Will Rogers
On Sat, Jan 23, 2010 at 12:25 PM, Alex Boisvert alex.boisv...@gmail.com wrote: solid.  Whitelisting dependencies has worked very well for many of us on big projects and is probably an under-appreciated feature. What does whitelisting dependencies mean? I have jumped into a project at the deep

Re: generate geronimo-application.xml during EAR packaging?

2010-02-24 Thread Will Rogers
Thanks, that should help me get there. Related follow-up question: it looks like I need to specify one of the libs I'm packaging in my EAR as a module/connector in the application.xml. Can I add arbitrary elements to Buildr's application.xml output? Should I give up on the auto-EAR packaging and

Re: generate geronimo-application.xml during EAR packaging?

2010-02-24 Thread Will Rogers
On Wed, Feb 24, 2010 at 3:50 PM, Alex Boisvert alex.boisv...@gmail.com wrote: Related follow-up question: it looks like I need to specify one of the libs I'm packaging in my EAR as a module/connector in the application.xml. Can I add arbitrary elements to Buildr's application.xml output?

Re: generate geronimo-application.xml during EAR packaging?

2010-02-26 Thread Will Rogers
For the reference of others, here's what I came up with. I modeled my task after the code for generating application.xml in Buildr's EarTask. Don't take the list of dependencies too seriously, it's probably missing stuff. Figuring that out is part of the next step. http://gist.github.com/315869

xmlbeans problems

2010-03-02 Thread Will Rogers
I'm using 'buildr/xmlbeans' and 'compile_xml_beans _(:source, :main, :xsd)' in my project definition. 1. I'm observing a similar problem to the one I reported yesterday with the resources task. I edited one of my files in src/main/xsd and ran buildr package. Output: Building myproject Running

Re: xmlbeans problems

2010-03-03 Thread Will Rogers
On Wed, Mar 3, 2010 at 10:08 AM, Alex Boisvert alex.boisv...@gmail.com wrote: Now tracking #1 and #2 with: https://issues.apache.org/jira/browse/BUILDR-393 Thank you for following up on these. I was pretty much exhausted by the time you got back to me last night, so I wasn't going to get to it

Re: xmlbeans problems

2010-03-03 Thread Will Rogers
FYI I have... 79 specs failing on Windows 7 + java 1.6.0_18-b07 + jruby 1.4.0 + buildr r918501 13 specs failing on ubuntu 9.10 + java 1.6.0_15-b03 + jruby 1.4.0 + buildr r918501 ...and one of the differences is Buildr::ZipTask 'should create new archive when updating' (fails on Windows). If I

Re: Buildr 1.4.0RC2 is out

2010-04-26 Thread Will Rogers
On Sat, Apr 24, 2010 at 1:05 PM, Antoine Toulme anto...@lunar-ocean.com wrote: I pushed RC3 which fixes this bug. I will start a vote for this RC3 to be our GA now. http://people.apache.org/~toulmean/buildr/1.4.0RC3/ Thanks. Sorry I didn't file a bug; I hadn't gotten around to resetting my

Re: Buildr 1.4.0RC2 is out

2010-04-26 Thread Will Rogers
On Mon, Apr 26, 2010 at 1:34 PM, Antoine Toulme anto...@lunar-ocean.com wrote: Also, can you please open a bug with the output of the testing you made ? https://issues.apache.org/jira/browse/BUILDR-427 Also, I just realized I get an error at the end of rake spec, too: rake aborted! Command

Re: Buildr 1.4.0RC2 is out

2010-04-26 Thread Will Rogers
On Mon, Apr 26, 2010 at 2:33 PM, Antoine Toulme anto...@lunar-ocean.com wrote: 1882 examples, 48 failures rake aborted! Command C:/Ruby/bin/ruby.exe [...] failed Not sure. If you run with --trace, it gives a lot more info and should send a backtrace. I think maybe the error I reported after