You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Henry Hwang <HH...@azulsystems.com> on 2005/12/30 11:47:53 UTC
Latest attempt to build failed when failed to download activecluster jar
I followed the build instruction given by Sachin and Nicholas (please see the
copied email below), but the last command:
>maven new
Failed with this error: Is the server down?
...
+----------------------------------------
| geronimo and geronimo-plugins Geronimo :: Jetty
| Memory: 21M/28M
+----------------------------------------
Attempting to download activecluster-1.2-20051115174934.jar.
WARNING: Failed to download activecluster-1.2-20051115174934.jar.
BUILD FAILED
File...... C:\myworkspace\geronimo\src\1.0\maven.xml
Element... maven:reactor
Line...... 43
Column.... 154
The build cannot continue because of the following unsatisfied dependency:
activecluster-1.2-20051115174934.jar
Total time: 37 seconds
Finished at: Thu Dec 29 02:37:55 PST 2005
-----Original Message-----
From: Nicholas Irving [mailto:nirving@darkedges.com]
Sent: Saturday, December 24, 2005 2:43 PM
To: user@geronimo.apache.org
Subject: RE: Geronimo build process
Merry Christmas (well down under it is)
Yes the documentation can be a little confusing.
Here is the way I am building (assuming you have all the preq tools, Maven,
subversion, cvs)
I have a build.properties file in my user root E:\Documents and
Settings\NIrving\ as follows
maven.repo.remote=http://ibiblio.org/maven,http://cvs.apache.org/repository
That file may not be necessary, but I have it due to unresolved dependencies
not being at ibiblio.org I also have an environmental variable MAVEN_OPTS
with the following value, which seems to resolve some memory issues I was
having. This setting is for a machine with 1gig of ram.
-XX:PermSize=256m -XX:MaxPermSize=512m -Xmx640m
This is because some of the jars required do not appear to be in ibiblio.
svn checkout http://svn.apache.org/repos/asf/geronimo/branches/1.0/ geronimo
cd geronimo
svn update
maven -o m:fresh-checkout
maven new
if you get an error like
java.lang.NoClassDefFoundError: javax/mail/Authenticator
Then take a look @
http://comments.gmane.org/gmane.comp.java.geronimo.devel/21312 which
mentions that you have to delete the org.apache.geronimo.specs directory
from your maven local repository.
Have to rush off to Christmas breakfast, so I hope this helps out.
Re: Latest attempt to build failed when failed to download activecluster
jar
Posted by Matt Hogstrom <ma...@hogstrom.org>.
Henry,
If you receive an error about not being able to download the jar simply retry
the command. the Internet is a wonderful thing but 100% accuracy is not one of
them :)
Let us know if you still cannot get past this error.
Matt
Henry Hwang wrote:
>
>
> I followed the build instruction given by Sachin and Nicholas (please see the
> copied email below), but the last command:
>
>
>
>
>>maven new
>
>
>
>
>
>
> Failed with this error: Is the server down?
>
>
>
> ...
>
> +----------------------------------------
>
> | geronimo and geronimo-plugins Geronimo :: Jetty
>
> | Memory: 21M/28M
>
> +----------------------------------------
>
> Attempting to download activecluster-1.2-20051115174934.jar.
>
> WARNING: Failed to download activecluster-1.2-20051115174934.jar.
>
>
>
> BUILD FAILED
>
> File...... C:\myworkspace\geronimo\src\1.0\maven.xml
>
> Element... maven:reactor
>
> Line...... 43
>
> Column.... 154
>
> The build cannot continue because of the following unsatisfied dependency:
>
>
>
> activecluster-1.2-20051115174934.jar
>
>
>
> Total time: 37 seconds
>
> Finished at: Thu Dec 29 02:37:55 PST 2005
>
>
>
>
>
> -----Original Message-----
> From: Nicholas Irving [mailto:nirving@darkedges.com]
> Sent: Saturday, December 24, 2005 2:43 PM
> To: user@geronimo.apache.org
> Subject: RE: Geronimo build process
>
>
>
> Merry Christmas (well down under it is)
>
>
>
> Yes the documentation can be a little confusing.
>
>
>
> Here is the way I am building (assuming you have all the preq tools, Maven,
>
> subversion, cvs)
>
>
>
> I have a build.properties file in my user root E:\Documents and
>
> Settings\NIrving\ as follows
>
>
>
> maven.repo.remote=http://ibiblio.org/maven,http://cvs.apache.org/repository
>
>
>
> That file may not be necessary, but I have it due to unresolved dependencies
>
> not being at ibiblio.org I also have an environmental variable MAVEN_OPTS
>
> with the following value, which seems to resolve some memory issues I was
>
> having. This setting is for a machine with 1gig of ram.
>
>
>
> -XX:PermSize=256m -XX:MaxPermSize=512m -Xmx640m
>
>
>
> This is because some of the jars required do not appear to be in ibiblio.
>
>
>
> svn checkout http://svn.apache.org/repos/asf/geronimo/branches/1.0/ geronimo
>
> cd geronimo
>
> svn update
>
> maven -o m:fresh-checkout
>
> maven new
>
>
>
> if you get an error like
>
> java.lang.NoClassDefFoundError: javax/mail/Authenticator
>
>
>
> Then take a look @
>
> http://comments.gmane.org/gmane.comp.java.geronimo.devel/21312 which
>
> mentions that you have to delete the org.apache.geronimo.specs directory
>
> from your maven local repository.
>
>
>
> Have to rush off to Christmas breakfast, so I hope this helps out.
>
>
>
>