Ok, this works for the problem at hand: with the latest source as of a moment ago, and with rakefile:43 commented out, there were a couple of downloads that needed to be done (for junit, jmock, and hamcrest and diverse ants), and now I am getting quite far:

PS C:\Temps\Attestation\odeX> buildr package test=no
(in C:/Temps/Attestation/odeX, development)
The javadoc method is deprecated and will be removed in a future release.
Building ode
Skipping tests for ode:utils
...
redefining Project
584 ode-store INFO [main] openjpa.Tool - No targets were given. Running on all classes in your persistent classes l ist, or all metadata files in classpath directories if you have not listed your persistent classes. Use -help to displa
y tool usage information.
Skipping tests for ode:bpel-store
...
Skipping tests for ode:jbi
Building apache-ode
Skipping tests for apache-ode
Skipping tests for apache-ode:distro
Packaging ode
Packaging apache-ode
Packaging apache-ode-sources-1.3.4-SNAPSHOT.zip
Buildr aborted!
RuntimeError : Unable to define doc task for nil language

That looks like we are almost through, but I did not get a new package before the abort. By the way, which of the tasks could give me an ode.war directly, without the release packaging?

On 4/9/2010 6:27 PM, Antoine Toulme wrote:
Allright, please see comments inline:
That's also been fixed. You can remove the find method on release or comment
out line 43 of the Rakefile.

C:/Temps/Attestation/odeX/Rakefile:43
C:/Temps/Attestation/odeX/Rakefile:398:in `load'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:398:in
`raw_load_buildfil
e'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:218:in
`load_buildfile'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in
`standard_exceptio
n_handling'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:213:in
`load_buildfile'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:137:in
`run'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in
`standard_exceptio
n_handling'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:135:in
`run'

C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19:in
`load'
C:\Me\Apps\jruby-1.4.0\bin\buildr:19

if you got any instant ideas, shoot, I will look at that second trace no
earlier than tomorrow

jan



On 4/8/2010 8:06 PM, Antoine Toulme wrote:

Oh, you're using jruby. Then this is the right gem:
buildr-1.4.0-java.gem<
http://people.apache.org/~toulmean/buildr/1.4.0/dist/buildr-1.4.0-java.gem

On Thu, Apr 8, 2010 at 10:11, Jan Sinschek<[email protected]>   wrote:



On 4/8/2010 5:13 PM, Antoine Toulme wrote:



The gem is under the dist folder:
buildr-1.4.0.gem<
http://people.apache.org/~toulmean/buildr/1.4.0/dist/buildr-1.4.0.gem>





doesn't fly with windows right now: (viz. gem install buildr-1.4.0.gem
does
not, which is hopefully the right thing to do)
yields:

Building native extensions.  This could take a while...
WARNING: JRuby does not support native extensions or the `mkmf' library.
         Check wiki.jruby.org for alternatives.
extconf.rb:20:in `include': undefined method `+' for nil:NilClass
(NoMethodError)
        from extconf.rb:38
ERROR:  Error installing buildr-1.4.0.gem:
        ERROR: Failed to build gem native extension.

I checked with the wiki, but native extensions do not figure very
prominently there. There is for use with jruby

jruby.native.enabled=true|false
but I failed getting gem to take that argument, being a ruby noob








Reply via email to