Hi, I got this resolved by using buildr version 1.3.2 instead of 1.3.4
----------------------------------------------------- Regards, Waruna Ranasinghe MOB: 0724318285 BLOG: http://warunapw.blogspot.com 2009/5/28 Waruna Ranasinghe <waruna...@gmail.com> > Hi, > I installed buildr 1.3.4 using jruby 1.2.0 to the /opt directory. I also > changed the directory ownership of the /opt to my current user account > When I tried to build apache ode, using the command: jruby -S buildr clean > install TEST=no > > it gave the following error > > 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 > stty: standard input: Invalid argument > ant-trax-1.7.0..: 100% |........................| 6.7KB/6.7KB Time: > 00:00:00 > mkdir -p /home/waruna/.m2/repository/org/apache/ant/ant-trax/1.7.0 > mv /tmp/ant-trax-1.7.0.jar.8700.62098 > /home/waruna/.m2/repository/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.jar > Permission denied - Permission denied - /tmp/ant-trax-1.7.0.jar.8700.62098 > or > /home/waruna/.m2/repository/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.jar > Buildr aborted! > Failed to download org.apache.ant:ant-trax:jar:1.7.0, tried the following > repositories: > http://pxe.intalio.org/public/maven2/ > http://people.apache.org/repo/m2-incubating-repository/ > http://repo1.maven.org/maven2/ > http://people.apache.org/repo/m2-snapshot-repository/ > http://download.java.net/maven/2/ > http://ws.zones.apache.org/repository2/ > > (See full trace by running task with --trace) > > I checked the permissions for the /tmp and /home/waruna/.m2 directory, > both have full permission to the current user > Also the error is not there when I run the build command in the supper user > mode. > What can be the error here? > > thanx > --waruna > > ----------------------------------------------------- > Regards, > Waruna Ranasinghe > BLOG: http://warunapw.blogspot.com >