You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Nicholas Andrews <no...@jhu.edu> on 2010/01/02 18:35:38 UTC

buildr negative argument

Hi!

On two machines now, I get the following error for a "Hello World"
buildr project.  I set up the directory structure as explained in the
"Quick Start," with one source file in src/main/scala.  I also tried
adding this line:

repositories.remote << "http://repo1.maven.org/maven2/"

to the buildfile, with the same results.  Note the "negative argument"
line, which seems weird.  Am I doing something wrong? I installed
buildr following the instructions on the website for Ubuntu,
line-per-line, which fetched version 1.3.5.

Cheers,
Nick

-- output --

$ buildr
mkdir -p /home/nick/.buildr
To use Buildr you need a buildfile. Do you want me to create one?:
1. From directory structure
2. Cancel
?  1
Created /home/nick/dev/scala_test/buildfile
(in /home/nick/dev/scala_test, development)
Downloading org.apache.ant:ant:jar:1.7.1
Downloading http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
negative argument
Buildr aborted!
Failed to download org.apache.ant:ant:jar:1.7.1, tried the following
repositories:
http://www.ibiblio.org/maven2//

(See full trace by running task with --trace)

Re: buildr negative argument

Posted by Nicholas Andrews <no...@gmail.com>.
Hmm, it works fine now.  Maybe the ibiblio server was down?

Downloading org.apache.ant:ant:jar:1.7.1
Downloading org.apache.ant:ant:jar:1.7.1
Requesting http://www.ibiblio.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
Redirected to http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
Requesting http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
Downloading http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar

On Sat, Jan 2, 2010 at 1:52 PM, Antoine Toulme <an...@lunar-ocean.com> wrote:
> Can you run with --trace and paste it on a pastebin, then link it here ?
>
> Thanks,
>
> Antoine
>
> On Sat, Jan 2, 2010 at 09:35, Nicholas Andrews <no...@jhu.edu> wrote:
>
>> Hi!
>>
>> On two machines now, I get the following error for a "Hello World"
>> buildr project.  I set up the directory structure as explained in the
>> "Quick Start," with one source file in src/main/scala.  I also tried
>> adding this line:
>>
>> repositories.remote << "http://repo1.maven.org/maven2/"
>>
>> to the buildfile, with the same results.  Note the "negative argument"
>> line, which seems weird.  Am I doing something wrong? I installed
>> buildr following the instructions on the website for Ubuntu,
>> line-per-line, which fetched version 1.3.5.
>>
>> Cheers,
>> Nick
>>
>> -- output --
>>
>> $ buildr
>> mkdir -p /home/nick/.buildr
>> To use Buildr you need a buildfile. Do you want me to create one?:
>> 1. From directory structure
>> 2. Cancel
>> ?  1
>> Created /home/nick/dev/scala_test/buildfile
>> (in /home/nick/dev/scala_test, development)
>> Downloading org.apache.ant:ant:jar:1.7.1
>> Downloading
>> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
>> negative argument
>> Buildr aborted!
>> Failed to download org.apache.ant:ant:jar:1.7.1, tried the following
>> repositories:
>> http://www.ibiblio.org/maven2//
>>
>> (See full trace by running task with --trace)
>>
>

Re: buildr negative argument

Posted by Antoine Toulme <an...@lunar-ocean.com>.
Can you run with --trace and paste it on a pastebin, then link it here ?

Thanks,

Antoine

On Sat, Jan 2, 2010 at 09:35, Nicholas Andrews <no...@jhu.edu> wrote:

> Hi!
>
> On two machines now, I get the following error for a "Hello World"
> buildr project.  I set up the directory structure as explained in the
> "Quick Start," with one source file in src/main/scala.  I also tried
> adding this line:
>
> repositories.remote << "http://repo1.maven.org/maven2/"
>
> to the buildfile, with the same results.  Note the "negative argument"
> line, which seems weird.  Am I doing something wrong? I installed
> buildr following the instructions on the website for Ubuntu,
> line-per-line, which fetched version 1.3.5.
>
> Cheers,
> Nick
>
> -- output --
>
> $ buildr
> mkdir -p /home/nick/.buildr
> To use Buildr you need a buildfile. Do you want me to create one?:
> 1. From directory structure
> 2. Cancel
> ?  1
> Created /home/nick/dev/scala_test/buildfile
> (in /home/nick/dev/scala_test, development)
> Downloading org.apache.ant:ant:jar:1.7.1
> Downloading
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
> negative argument
> Buildr aborted!
> Failed to download org.apache.ant:ant:jar:1.7.1, tried the following
> repositories:
> http://www.ibiblio.org/maven2//
>
> (See full trace by running task with --trace)
>