dev@grizzly.java.net

Re: getting build error while building grizzly

From: Harsha Godugu <Harsha.Godugu_at_Sun.COM>
Date: Thu, 06 Sep 2007 11:28:06 -0700

Jeanfrancois Arcand wrote On 09/06/07 11:17,:

>Hi Harsha,
>
>Harsha Godugu wrote:
>
>
>>Hi Jeanfrancois,
>>
>>I think what I wanted to do is, do just build grizzly alone (the
>>submodule grizzly). May be thats the problem?
>>
>>
>
>yes this is the problem.
>
>
>
>
>>Can I do incremental build to JUST get the grizzly.jar and also, I do
>>not want to run tests everytime I make
>>
>>
>
>You need to checkout everything and build at least once. After you can
>build the submodules.
>
>
Yes that resolved it. Is there a way we can change the sequence of
getting the jar ( ./target/framework-1.6-SNAPSHOT.jar) first and then go
for tests ? later in grizzly submodule? as
choice to the user!

thanks..

>Thanks
>
>-- Jeanfrancois
>
>
>
>>a small change in my workspace. Is there a way I can do that too?
>>
>>thanks..
>>
>>Harsha Godugu wrote On 09/06/07 11:11,:
>>
>>
>>
>>>Jeanfrancois Arcand wrote On 09/06/07 11:03,:
>>>
>>>
>>>
>>>
>>>
>>>>Harsha Godugu wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>I'm seeing the following error while building after doing a fresh check out.
>>>>>Any clue what's missing and how to get that http-utils:jar:1.6-SNAPSHOT?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>I don't get that problem. Have you done:
>>>>
>>>>% grizzly/trunk
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>The above... I did not.
>>>
>>>I'm doing a fresh checkout. In fact, the checkout was smooth.
>>>I used the exact instructions as said:
>>> |svn checkout https://grizzly.dev.java.net/svn/grizzly/trunk
>>>grizzly --username username
>>>
>>>
>>>and then mvn install.
>>>
>>>then i see the error.
>>>
>>>What does |
>>>
>>>grizzly/trunk do? is that a command?
>>>
>>>thanks..
>>>
>>>
>>>
>>>
>>>
>>>>% mvn clean install ?
>>>>
>>>>Make sure all module are updated as I suspect http-utils is still based
>>>>on 1.5
>>>>
>>>>Let us know :-)
>>>>
>>>>-- Jeanfrancois
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Thanks,
>>>>>Harsha
>>>>>
>>>>>[INFO] Using default encoding to copy filtered resources.
>>>>>[INFO]
>>>>>------------------------------------------------------------------------
>>>>>[ERROR] BUILD ERROR
>>>>>[INFO]
>>>>>------------------------------------------------------------------------
>>>>>[INFO] Failed to resolve artifact.
>>>>>
>>>>>Missing:
>>>>>----------
>>>>>1) com.sun.grizzly:http-utils:jar:1.6-SNAPSHOT
>>>>>
>>>>>Try downloading the file manually from the project website.
>>>>>
>>>>>Then, install it using the command:
>>>>> mvn install:install-file -DgroupId=com.sun.grizzly
>>>>>-DartifactId=http-utils \
>>>>> -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>>>>
>>>>>Path to dependency:
>>>>> 1) com.sun.grizzly:framework:jar:1.6-SNAPSHOT
>>>>> 2) com.sun.grizzly:http-utils:jar:1.6-SNAPSHOT
>>>>>
>>>>>----------
>>>>>1 required artifact is missing.
>>>>>
>>>>>for artifact:
>>>>>com.sun.grizzly:framework:jar:1.6-SNAPSHOT
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>from the specified remote repositories:
>>>>
>>>>
>>>>
>>>>