Hi Daniel,
I have change the buildr version to 1.3.2, now it's working fine. Therefore
I won,t be able to reproduce the error with --trace.
I think this is a bug in the buildr version 1.3.4, because, if it is working
smoothly with jRuby 1.2 and buildr *1.3.2*, then it should work for jRuby
1.2 and buildr* 1.3.4*

thank you.
-----------------------------------------------------
Regards,
Waruna Ranasinghe
BLOG: http://warunapw.blogspot.com


2009/5/28 Daniel Spiewak <djspie...@gmail.com>

> This doesn't make any sense to me.  What are the permissions on the
> ~/.m2/repository dir?  What happens if you run this with --trace?  I've been
> using Buildr with JRuby for a while now without any serious issues; but
> then, I haven't been using the gem.
>
> Daniel
>
>
> On May 28, 2009, at 4:13 AM, Waruna Ranasinghe <waruna...@gmail.com>
> wrote:
>
>  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
>>
>

Reply via email to