ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "victor panizza" <victor.pani...@gmail.com>
Subject RE: Error Building ODE (rake)
Date Wed, 28 May 2008 17:56:19 GMT
Hello Plabo,

I had the same issue.




Forwarded conversation
Subject: Building ODE from source
------------------------

From: *victor panizza* <victor.panizza@gmail.com>
Date: Mon, Apr 21, 2008 at 12:24 AM
To: dev@ode.apache.org


Hello All!!



I've download the last Ode's version from de SVN server and I realize that
maven is not longer the build tool, now is rake (ruby).



I already made all the steps to build Ode from source, but I have the follow
problems (I'm working on Windows XP Professional).



1)      The ruby installation dir is: C:\ruby

2)      I ran rake eclipse –-trace with the next messages:

Microsoft Windows XP [Versión 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.



C:\svn\ODE>rake eclipse --trace

(in C:/svn/ODE)

rake aborted!

no such file to load -- buildr/antlr

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_re

quire'

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'

C:/svn/ODE/rakefile:22

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
`raw_load_rakefile

'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in
`load_rakefile'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exceptio

n_handling'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in
`load_rakefile'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exceptio

n_handling'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7

c:/ruby/bin/rake:16:in `load'

c:/ruby/bin/rake:16



C:\svn\ODE>

3)      From the buildr's SVN server I download the follow file:
http://svn.apache.org/repos/asf/incubator/buildr/trunk/addon/buildr/antlr.rb

4)      I ran again the rake eclipse –-trace command with the next message:



C:\svn\ODE>rake eclipse --trace

(in C:/svn/ODE)

rake aborted!

no such file to load -- buildr/java

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_re

quire'

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'

c:/ruby/lib/ruby/gems/1.8/gems/buildr-1.2.4/lib/buildr/antlr.rb:17

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_re

quire'

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'

C:/svn/ODE/rakefile:22

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
`raw_load_rakefile

'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in
`load_rakefile'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exceptio

n_handling'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in
`load_rakefile'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exceptio

n_handling'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7

c:/ruby/bin/rake:16:in `load'

c:/ruby/bin/rake:16



C:\svn\ODE>



Any Idea???

Thanks in advance!!
----------
From: *Tammo van Lessen* <tvanlessen@gmail.com>
Date: Mon, Apr 21, 2008 at 1:36 AM
To: dev@ode.apache.org


Hi Victor,
>  Any Idea???

Looks like buildr is missing. Did you install buildr? For the trunk
please use buildr 1.2.10.
You can install it by running:

gem install buildr -v 1.2.10

Best,
 Tammo

--
Tammo van Lessen - tvanlessen@gmail.com - http://www.taval.de
----------
From: *victor panizza* <victor.panizza@gmail.com>
Date: Thu, Apr 24, 2008 at 11:08 PM
To: dev@ode.apache.org


Hi All!!!
After ran the gem install buildr -v 1.2.10 I get the follow output in the
console:C:\Documents and Settings\vic>gem install buildr -v 1.2.10
Bulk updating Gem source index for: http://gems.rubyforge.org
Install required dependency rjb? [Yn]  Y
Select which gem to install for your platform (i386-mswin32)
 1. rjb 1.1.3 (ruby)
 2. rjb 1.1.2 (x86-mswin32-60)
 3. rjb 1.1.2 (ruby)
 4. rjb 1.1.1 (ruby)
 5. rjb 1.1.1 (x86-mswin32-60)
 6. Skip this gem
 7. Cancel installation
>
Successfully installed buildr-1.2.10
Successfully installed rjb-1.1.1-x86-mswin32-60
Installing ri documentation for buildr-1.2.10...
Installing RDoc documentation for buildr-1.2.10...(in C:/svn/ODE)
C:/svn/ODE/tasks/derby.rake:22: Deprecated: please use Java.wrapper()
instead
C:/svn/ODE/tasks/derby.rake:22: Deprecated: use setup { |wrapper| ... }
instead
Downloading org.apache.openjpa:openjpa-all:jar:0.9.7-incubating
execution expired
Downloading
http://people.apache.org/repo/m2-incubating-repository/org/apache/op
enjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.jar
100% |.........................................|   2.6MB/  2.6MB Time:
00:00:23
Downloading org.apache.openjpa:openjpa-all:pom:0.9.7-incubating
execution expired
Downloading
http://people.apache.org/repo/m2-incubating-repository/org/apache/op
enjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.pom
100% |.........................................|   3.7KB/  3.7KB Time:
00:00:00
Downloading javax.persistence:persistence-api:jar:1.0
execution expired
Downloading
http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/
persistence-api-1.0.jar
100% |.........................................|  50.9KB/ 50.9KB Time:
00:00:00
Downloading javax.persistence:persistence-api:pom:1.0
execution expired
Downloading
http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/
persistence-api-1.0.pom
100% |.........................................|   1.3KB/  1.3KB Time:
00:00:00
Downloading
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0
execution expired
Downloading
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-j2e
e-connector_1.5_spec/1.0/geronimo-j2ee-connector_1.5_spec-1.0.jar
100% |.........................................|  32.4KB/ 32.4KB Time:
00:00:01
Downloading
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0
execution expired
Downloading
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-j2e
e-connector_1.5_spec/1.0/geronimo-j2ee-connector_1.5_spec-1.0.pom
100% |.........................................|    189B/   189B Time:
00:00:00
Downloading org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0
execution expired
Downloading
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jta
_1.0.1B_spec/1.0/geronimo-jta_1.0.1B_spec-1.0.jar
100% |.........................................|  11.2KB/ 11.2KB Time:
00:00:00
Downloading org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:pom:1.0
execution expired
Downloading
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jta
_1.0.1B_spec/1.0/geronimo-jta_1.0.1B_spec-1.0.pom
100% |.........................................|    181B/   181B Time:
00:00:00
Downloading net.sourceforge.serp:serp:jar:1.11.0
execution expired
Downloading
http://repo1.maven.org/maven2/net/sourceforge/serp/serp/1.11.0/serp-
1.11.0.jar
100% |.........................................| 185.1KB/185.1KB Time:
00:00:01
Downloading net.sourceforge.serp:serp:pom:1.11.0
execution expired
Downloading
http://repo1.maven.org/maven2/net/sourceforge/serp/serp/1.11.0/serp-
1.11.0.pom
100% |.........................................|   4.3KB/  4.3KB Time:
00:00:00
Downloading net.java.dev.javacc:javacc:jar:4.0
execution expired
Downloading
http://repo1.maven.org/maven2/net/java/dev/javacc/javacc/4.0/javacc-
4.0.jar
100% |.........................................| 267.9KB/267.9KB Time:
00:00:01
Downloading net.java.dev.javacc:javacc:pom:4.0
execution expired
Downloading
http://repo1.maven.org/maven2/net/java/dev/javacc/javacc/4.0/javacc-
4.0.pom
100% |.........................................|    897B/   897B Time:
00:00:00
Downloading org.antlr:antlr:jar:3.0
execution expired
Downloading http://repo1.maven.org/maven2/org/antlr/antlr/3.0/antlr-3.0.jar
100% |.........................................| 533.7KB/533.7KB Time:
00:00:05
Downloading org.antlr:antlr:pom:3.0
execution expired
Downloading http://repo1.maven.org/maven2/org/antlr/antlr/3.0/antlr-3.0.pom
100% |.........................................|    503B/   503B Time:
00:00:00
Downloading antlr:antlr:jar:2.7.7
execution expired
Downloading http://repo1.maven.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar
100% |.........................................| 434.9KB/434.9KB Time:
00:00:04
Downloading antlr:antlr:pom:2.7.7
Downloading http://repo1.maven.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom
100% |.........................................|    632B/   632B Time:
00:00:00
Downloading org.antlr:stringtemplate:jar:3.0
Downloading
http://repo1.maven.org/maven2/org/antlr/stringtemplate/3.0/stringtem
plate-3.0.jar
100% |.........................................| 124.7KB/124.7KB Time:
00:00:01
Downloading org.antlr:stringtemplate:pom:3.0
Downloading
http://repo1.maven.org/maven2/org/antlr/stringtemplate/3.0/stringtem
plate-3.0.pom
100% |.........................................|    689B/   689B Time:
00:00:00
Downloading org.apache.ant:ant:jar:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar

100% |.........................................|   1.2MB/  1.2MB Time:
00:00:11
Downloading org.apache.ant:ant:pom:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom

100% |.........................................|   9.5KB/  9.5KB Time:
00:00:00
Downloading org.apache.ant:ant-launcher:jar:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-
launcher-1.7.0.jar
100% |.........................................|  11.5KB/ 11.5KB Time:
00:00:00
Downloading org.apache.ant:ant-launcher:pom:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-
launcher-1.7.0.pom
100% |.........................................|   2.3KB/  2.3KB Time:
00:00:00
Downloading org.apache.ant:ant-trax:jar:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant-trax/1.7.0/ant-trax
-1.7.0.jar
100% |.........................................|   6.7KB/  6.7KB Time:
00:00:00
Downloading org.apache.ant:ant-trax:pom:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant-trax/1.7.0/ant-trax
-1.7.0.pom
100% |.........................................|   3.8KB/  3.8KB Time:
00:00:00
Downloading org.apache.ant:ant-junit:jar:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant-junit/1.7.0/ant-jun
it-1.7.0.jar
100% |.........................................|  90.6KB/ 90.6KB Time:
00:00:01
Downloading org.apache.ant:ant-junit:pom:1.7.0
Downloading
http://repo1.maven.org/maven2/org/apache/ant/ant-junit/1.7.0/ant-jun
it-1.7.0.pom
100% |.........................................|   3.7KB/  3.7KB Time:
00:00:00
Downloading org.mortbay.jetty:jetty:jar:6.1.3
Downloading
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.3/jetty-6.
1.3.jar
100% |.........................................| 461.3KB/461.3KB Time:
00:00:06
Downloading org.mortbay.jetty:jetty:pom:6.1.3
Downloading
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.3/jetty-6.
1.3.pom
100% |.........................................|   2.7KB/  2.7KB Time:
00:00:00
Downloading org.mortbay.jetty:jetty-util:jar:6.1.3
Downloading
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.3/jet
ty-util-6.1.3.jar
100% |.........................................| 125.1KB/125.1KB Time:
00:00:01
Downloading org.mortbay.jetty:jetty-util:pom:6.1.3
Downloading
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.3/jet
ty-util-6.1.3.pom
100% |.........................................|   2.6KB/  2.6KB Time:
00:00:00
Downloading org.mortbay.jetty:servlet-api-2.5:jar:6.1.3
Downloading
http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.
3/servlet-api-2.5-6.1.3.jar
100% |.........................................| 128.9KB/128.9KB Time:
00:00:01
Downloading org.mortbay.jetty:servlet-api-2.5:pom:6.1.3
Downloading
http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.
3/servlet-api-2.5-6.1.3.pom
100% |.........................................|   2.9KB/  2.9KB Time:
00:00:00
Downloading org.slf4j:slf4j-api:jar:1.4.3
Downloading
http://pxe.intalio.org/public/maven2/org/slf4j/slf4j-api/1.4.3/slf4j
-api-1.4.3.jar
100% |.........................................|  15.0KB/ 15.0KB Time:
00:00:00
Downloading org.slf4j:slf4j-api:pom:1.4.3
Downloading
http://pxe.intalio.org/public/maven2/org/slf4j/slf4j-api/1.4.3/slf4j
-api-1.4.3.pom
100% |.........................................|   2.7KB/  2.7KB Time:
00:00:00
Downloading org.slf4j:slf4j-simple:jar:1.4.3
Downloading
http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.4.3/slf4j-sim
ple-1.4.3.jar
100% |.........................................|   7.3KB/  7.3KB Time:
00:00:00
Downloading org.slf4j:slf4j-simple:pom:1.4.3
Downloading
http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.4.3/slf4j-sim
ple-1.4.3.pom
100% |.........................................|   1.5KB/  1.5KB Time:
00:00:00
Downloading org.slf4j:jcl104-over-slf4j:jar:1.4.3
Downloading
http://repo1.maven.org/maven2/org/slf4j/jcl104-over-slf4j/1.4.3/jcl1
04-over-slf4j-1.4.3.jar
100% |.........................................|  15.1KB/ 15.1KB Time:
00:00:00
Downloading org.slf4j:jcl104-over-slf4j:pom:1.4.3
Downloading
http://repo1.maven.org/maven2/org/slf4j/jcl104-over-slf4j/1.4.3/jcl1
04-over-slf4j-1.4.3.pom
100% |.........................................|   1.5KB/  1.5KB Time:
00:00:00
Downloading org.apache.derby:derby:jar:10.1.2.1
Downloading
http://pxe.intalio.org/public/maven2/org/apache/derby/derby/10.1.2.1
/derby-10.1.2.1.jar
100% |.........................................|   2.0MB/  2.0MB Time:
00:00:10
Downloading org.apache.derby:derby:pom:10.1.2.1
Downloading
http://pxe.intalio.org/public/maven2/org/apache/derby/derby/10.1.2.1
/derby-10.1.2.1.pom
100% |.........................................|   1.9KB/  1.9KB Time:
00:00:00
Downloading org.apache.derby:derbytools:jar:10.1.2.1
Downloading
http://pxe.intalio.org/public/maven2/org/apache/derby/derbytools/10.
1.2.1/derbytools-10.1.2.1.jar
100% |.........................................| 148.6KB/148.6KB Time:
00:00:01
Downloading org.apache.derby:derbytools:pom:10.1.2.1
Downloading
http://pxe.intalio.org/public/maven2/org/apache/derby/derbytools/10.
1.2.1/derbytools-10.1.2.1.pom
100% |.........................................|   1.9KB/  1.9KB Time:
00:00:00
rake aborted!
No such file or directory - svn status -v
C:/svn/ODE/rakefile:580:in ``'
(See full trace by running task with --trace)

C:\svn\ODE>

Any idea, thanks in advance!
-- 
Saludos,
Victor Panizza ----------
From: *Matthieu Riou* <matthieu@offthelip.org>
Date: Thu, Apr 24, 2008 at 11:48 PM
To: dev@ode.apache.org


Do you have the svn command in your path?

Matthieu

On Thu, Apr 24, 2008 at 9:08 PM, victor panizza <victor.panizza@gmail.com>
wrote:
 > enjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.jar<
http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.jar
>
> enjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.pom<
http://people.apache.org/repo/m2-incubating-repository/org/apache/openjpa/openjpa-all/0.9.7-incubating/openjpa-all-0.9.7-incubating.pom
>
> persistence-api-1.0.jar<
http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
>
> persistence-api-1.0.pom<
http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom
>
> e-connector_1.5_spec/1.0/geronimo-j2ee-connector_1.5_spec-1.0.jar<
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.0/geronimo-j2ee-connector_1.5_spec-1.0.jar
>
> e-connector_1.5_spec/1.0/geronimo-j2ee-connector_1.5_spec-1.0.pom<
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.0/geronimo-j2ee-connector_1.5_spec-1.0.pom
>
 > plate-3.0.jar<
http://repo1.maven.org/maven2/org/antlr/stringtemplate/3.0/stringtemplate-3.0.jar
>
> plate-3.0.pom<
http://repo1.maven.org/maven2/org/antlr/stringtemplate/3.0/stringtemplate-3.0.pom
>
> launcher-1.7.0.jar<
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
>
> launcher-1.7.0.pom<
http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.pom
>
> -1.7.0.jar<
http://repo1.maven.org/maven2/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.jar
>
> -1.7.0.pom<
http://repo1.maven.org/maven2/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.pom
>
> it-1.7.0.jar<
http://repo1.maven.org/maven2/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.jar
>
> it-1.7.0.pom<
http://repo1.maven.org/maven2/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.pom
>
> ty-util-6.1.3.jar<
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.3/jetty-util-6.1.3.jar
>
> ty-util-6.1.3.pom<
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.3/jetty-util-6.1.3.pom
>
> 3/servlet-api-2.5-6.1.3.jar<
http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.3/servlet-api-2.5-6.1.3.jar
>
> 3/servlet-api-2.5-6.1.3.pom<
http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.3/servlet-api-2.5-6.1.3.pom
>
> -api-1.4.3.jar<
http://pxe.intalio.org/public/maven2/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar
>
> -api-1.4.3.pom<
http://pxe.intalio.org/public/maven2/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.pom
>
> ple-1.4.3.jar<
http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.4.3/slf4j-simple-1.4.3.jar
>
> ple-1.4.3.pom<
http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.4.3/slf4j-simple-1.4.3.pom
>
> 04-over-slf4j-1.4.3.jar<
http://repo1.maven.org/maven2/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar
>
> 04-over-slf4j-1.4.3.pom<
http://repo1.maven.org/maven2/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.pom
>
> /derby-10.1.2.1.jar<
http://pxe.intalio.org/public/maven2/org/apache/derby/derby/10.1.2.1/derby-10.1.2.1.jar
>
> /derby-10.1.2.1.pom<
http://pxe.intalio.org/public/maven2/org/apache/derby/derby/10.1.2.1/derby-10.1.2.1.pom
>
 ----------
From: *victor panizza* <victor.panizza@gmail.com>
Date: Thu, May 1, 2008 at 12:00 PM
To: dev@ode.apache.org


Thanks, Matthieu

You're right, I lose the svn entry in my path.
-- 
Saludos,
Victor Panizza



-- 
Saludos,
Victor Panizza

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message