You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Florian Wagner - FloWSoft.de" <in...@flowsoft.de> on 2010/09/21 09:38:32 UTC
Can't build 1.3.4 branch
Dear ODE Devs,
I tried to compile the current
http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.3.4.X/
branch under Windows XP 32-bit.
I installed Ruby 1.8.7-p302 and following
Apache Buildr Versions:
1.3.5
1.4.1
1.4.2
however the recommended buildr 1.3.5 isn't working with the current Ruby
modules...
I already patched the Rakefile like described in
https://issues.apache.org/jira/browse/ODE-846
As I tried to build with
buildr _1.4.x_ package test=no
I get following error messages:
for 1.4.1:
Skipping tests for ode
Skipping tests for ode:tools
Skipping tests for ode:axis2
Packaging ode-axis2-1.3.4.jar
Skipping tests for ode:axis2-war
Skipping tests for ode:dao-jpa-ojpa-derby
Buildr aborted!
NameError : undefined local variable or method `block' for
project("ode:dao-hibe
rnate-db"):Buildr::Project
for 1.4.2:
Skipping tests for ode:dao-hibernate-db
Skipping tests for ode:bpel-scripts
Skipping tests for ode:bpel-test
Skipping tests for ode:jbi
Building apache-ode
Skipping tests for apache-ode
Skipping tests for apache-ode:distro
Packaging ode
Packaging ode-dao-hibernate-db-1.3.4.zip
Packaging ode-axis2-war-1.3.4.war
Packaging ode-bpel-test-1.3.4.jar
Packaging ode-jbi-1.3.4.jar
Packaging ode-jbi-1.3.4.zip
Packaging apache-ode
Buildr aborted!
RuntimeError : Unable to define doc task for nil language
Thanks for your help!
Regards,
Florian
Re: Can't build 1.3.4 branch
Posted by "Florian Wagner - FloWSoft.de" <in...@flowsoft.de>.
Hey Tammo,
thanks the patch helped to get buildr 1.3.5 running but I still have
problems, now there is a problem with the 'write' function? Maybe a more
general problem with my environment?
WinXP 32-bit
Ruby 1.8.7 p302
DevKit 3.4.5
I get following error message with 'buildr _1.3.5_ package test=no --trace'
mkdir -p C:/ODE/ode-1.3.4/dao-jpa-ojpa-derby/target/derby/jpadb
mkdir -p C:/ODE/ode-1.3.4/dao-jpa-ojpa-derby/target/derby/jpadb
Buildr aborted!
←[31mBad file descriptor←[0m
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:596:in `write'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:596:in `puts'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:596:in `trace'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:625:in `invoke_with_call_chain'
C:/Ruby187/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:616:in `invoke_with_call_chain'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:611:in `invoke'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:232:in `top_level'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:232:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:232:in `top_level'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:496:in `standard_exception_handling'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:223:in `top_level'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:138:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:496:in `standard_exception_handling'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/core/appli
cation.rb:135:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/bin/buildr:19
C:/Ruby187/bin/buildr:19:in `load'
C:/Ruby187/bin/buildr:19
Regards,
Florian
Am 21.09.2010 21:49, schrieb Tammo van Lessen:
> Hi,
>
> yeah, using buildr with 1.3.4 could be easier, I also had to patch my
> buildr installation in order to get it run.
>
> Please try to apply the following patch to buildr 1.3.5, that should
> help:
> http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/packaging/version_requirement.rb?r1=917054&r2=917053&pathrev=917054
>
> Best,
> Tammo
>
> On 21.09.2010 16:48, Florian Wagner - FloWSoft.de wrote:
>> `const_missing'
>> : uninitialized constant Gem::Requirement::OP_RE (NameError)
Re: Can't build 1.3.4 branch
Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,
yeah, using buildr with 1.3.4 could be easier, I also had to patch my
buildr installation in order to get it run.
Please try to apply the following patch to buildr 1.3.5, that should
help:
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/packaging/version_requirement.rb?r1=917054&r2=917053&pathrev=917054
Best,
Tammo
On 21.09.2010 16:48, Florian Wagner - FloWSoft.de wrote:
> `const_missing'
> : uninitialized constant Gem::Requirement::OP_RE (NameError)
--
Tammo van Lessen - http://www.taval.de
Re: Can't build 1.3.4 branch
Posted by "Florian Wagner - FloWSoft.de" <in...@flowsoft.de>.
\ode-1.3.4>buildr _1.3.5_ package test=no
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
`const_missing'
: uninitialized constant Gem::Requirement::OP_RE (NameError)
from
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buil
dr/packaging/version_requirement.rb:24
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buil
dr/packaging/artifact_namespace.rb:17
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buil
dr/packaging/artifact.rb:19
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buil
dr/packaging.rb:17
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buil
dr.rb:21
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
C:/Ruby187/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/bin/buil
dr:18
from C:/Ruby187/bin/buildr:19:in `load'
from C:/Ruby187/bin/buildr:19
Am 21.09.2010 16:26, schrieb Antoine Toulme:
> You should not have patched the Rakefile and kept on with 1.3.5. What's the
> problem with 1.3.5 ?
>
> On Tue, Sep 21, 2010 at 00:38, Florian Wagner - FloWSoft.de<
> info@flowsoft.de> wrote:
>
>> Dear ODE Devs,
>> I tried to compile the current
>> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.3.4.X/
>>
>> branch under Windows XP 32-bit.
>>
>> I installed Ruby 1.8.7-p302 and following
>> Apache Buildr Versions:
>> 1.3.5
>> 1.4.1
>> 1.4.2
>>
>> however the recommended buildr 1.3.5 isn't working with the current Ruby
>> modules...
>>
>> I already patched the Rakefile like described in
>> https://issues.apache.org/jira/browse/ODE-846
>>
>> As I tried to build with
>> buildr _1.4.x_ package test=no
>>
>> I get following error messages:
>> for 1.4.1:
>>
>> Skipping tests for ode
>> Skipping tests for ode:tools
>> Skipping tests for ode:axis2
>> Packaging ode-axis2-1.3.4.jar
>> Skipping tests for ode:axis2-war
>> Skipping tests for ode:dao-jpa-ojpa-derby
>> Buildr aborted!
>> NameError : undefined local variable or method `block' for
>> project("ode:dao-hibe
>> rnate-db"):Buildr::Project
>>
>> for 1.4.2:
>>
>> Skipping tests for ode:dao-hibernate-db
>> Skipping tests for ode:bpel-scripts
>> Skipping tests for ode:bpel-test
>> Skipping tests for ode:jbi
>> Building apache-ode
>> Skipping tests for apache-ode
>> Skipping tests for apache-ode:distro
>> Packaging ode
>> Packaging ode-dao-hibernate-db-1.3.4.zip
>> Packaging ode-axis2-war-1.3.4.war
>> Packaging ode-bpel-test-1.3.4.jar
>> Packaging ode-jbi-1.3.4.jar
>> Packaging ode-jbi-1.3.4.zip
>> Packaging apache-ode
>> Buildr aborted!
>> RuntimeError : Unable to define doc task for nil language
>>
>>
>> Thanks for your help!
>>
>> Regards,
>> Florian
>>
>>
Re: Can't build 1.3.4 branch
Posted by Antoine Toulme <an...@lunar-ocean.com>.
You should not have patched the Rakefile and kept on with 1.3.5. What's the
problem with 1.3.5 ?
On Tue, Sep 21, 2010 at 00:38, Florian Wagner - FloWSoft.de <
info@flowsoft.de> wrote:
> Dear ODE Devs,
> I tried to compile the current
> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.3.4.X/
>
> branch under Windows XP 32-bit.
>
> I installed Ruby 1.8.7-p302 and following
> Apache Buildr Versions:
> 1.3.5
> 1.4.1
> 1.4.2
>
> however the recommended buildr 1.3.5 isn't working with the current Ruby
> modules...
>
> I already patched the Rakefile like described in
> https://issues.apache.org/jira/browse/ODE-846
>
> As I tried to build with
> buildr _1.4.x_ package test=no
>
> I get following error messages:
> for 1.4.1:
>
> Skipping tests for ode
> Skipping tests for ode:tools
> Skipping tests for ode:axis2
> Packaging ode-axis2-1.3.4.jar
> Skipping tests for ode:axis2-war
> Skipping tests for ode:dao-jpa-ojpa-derby
> Buildr aborted!
> NameError : undefined local variable or method `block' for
> project("ode:dao-hibe
> rnate-db"):Buildr::Project
>
> for 1.4.2:
>
> Skipping tests for ode:dao-hibernate-db
> Skipping tests for ode:bpel-scripts
> Skipping tests for ode:bpel-test
> Skipping tests for ode:jbi
> Building apache-ode
> Skipping tests for apache-ode
> Skipping tests for apache-ode:distro
> Packaging ode
> Packaging ode-dao-hibernate-db-1.3.4.zip
> Packaging ode-axis2-war-1.3.4.war
> Packaging ode-bpel-test-1.3.4.jar
> Packaging ode-jbi-1.3.4.jar
> Packaging ode-jbi-1.3.4.zip
> Packaging apache-ode
> Buildr aborted!
> RuntimeError : Unable to define doc task for nil language
>
>
> Thanks for your help!
>
> Regards,
> Florian
>
>