continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Herrmann <...@jadn.com>
Subject Re: problem building continuum
Date Fri, 03 Feb 2006 02:39:59 GMT

Progress, but not yet happiness.  I'm running Out of Memory when the 
build is running.

I hunted down (google); activation, mail, jta, connector (note connector 
is named connector-api on the maven mini guide, but is just connector in 
the build)

 mvn install:install-file -Dfile=jta-1_0_1B-classes.zip  
-DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar 
-DgroupId=javax.transaction
 # I add connector with both names...  Once using the maven's 
recommended naming, once using what Continuum requires
 mvn install:install-file -Dfile=j2ee_connector-1_0-fr-class.zip 
-DartifactId=connector-api -Dversion=1.0 -Dpackaging=jar 
-DgroupId=javax.resource
 mvn install:install-file -Dfile=j2ee_connector-1_0-fr-class.zip 
-DartifactId=connector -Dversion=1.0 -Dpackaging=jar 
-DgroupId=javax.resource
 mvn install:install-file -Dfile=/ul/javamail-1_3_3_01.zip 
-DartifactId=mail -Dversion=1.3.2 -Dpackaging=jar -DgroupId=javax.mail
 mvn install:install-file -Dfile=/ul/jaf-1_0_2-upd2.zip 
-DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar 
-DgroupId=javax.activation

I then I started again,
  $ svn co 
http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/
  $ cd continuum-1.0.x
  $ sh build.sh
...
2006-02-02 21:30:17,967 [main] INFO  RDBMS                          - 
Validated 1 unique key(s) for table PROJECTNOTIFIER
2006-02-02 21:30:21,639 [main] ERROR SCHEMA                         - An 
exception was thrown while adding/validating class(es) : Java exception: 
': java.lang.OutOfMemoryError'.
java.lang.OutOfMemoryError

2006-02-02 21:30:21,639 [main] ERROR SCHEMA                         - 
SQL Exception: Java exception: ': java.lang.OutOfMemoryError'.
2006-02-02 21:30:22,351 [main] ERROR SCHEMA                         - 
Failed initialising database. Exception : An exception was thrown while 
adding/validating class(es) : Java exception: ': 
java.lang.OutOfMemoryError'.
java.lang.OutOfMemoryError
...

I imagine I need to jam -Xmx1g somewhere, but I'm not sure how to set 
that in the right place.  Help?

Thanks
-bob


Emmanuel Venisse wrote:

> Continuum use some SUN jars that can't be redistributed. So you need 
> to download them from sun site and copy them in the correct group in 
> your repository like describe there : 
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>
> Emmanuel
>
> Bob Herrmann a écrit :
>
>> ok,
>>
>> $ svn co 
>> http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/ 
>>
>> $ cd continuum-1.0.x
>> $ sh build.sh
>> ...
>> [WARNING] Unable to get resource from repository central 
>> (http://repo1.maven.org/maven2)
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>> [ERROR] BUILD ERROR
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>> [INFO] Failed to resolve artifact.
>>
>> required artifacts missing:
>>  javax.resource:connector:jar:1.0
>>  javax.transaction:jta:jar:1.0.1B
>>
>> for the artifact:
>>  org.codehaus.mojo:maven-jpox-plugin:maven-plugin:1.0.1
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2),
>>  snapshots (http://snapshots.maven.codehaus.org/maven2)
>>
>>
>> Why am I getting these missing resources?   I'm following the 
>> building continuum instructions,
>>
>>    
>> http://maven.apache.org/continuum/guides/development/guide-build-continuum.html 
>>
>>
>> and dont see any reference to needed external stuff.  (I did already 
>> put maven-2.0.2 in my path.)
>>
>> Cheers
>> -bob
>>
>>
>>
>>
>>


Mime
View raw message