Re: Build failed on new 2.0-beta branch
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Re: Build failed on new 2.0-beta branch




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Build failed on new 2.0-beta branch  
Michael Bouschen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-20-06 12:46 PM

Hi Craig,

it works for me. Your error message includes "Java heap space", so maybe
the JVM heap size needs to be increased. I have an environment variable
MAVEN_OPTS set to -Xmx512m, so I'm always running maven with an
increased heap size.

BTW, calling 'maven -Dgoal=dist multiproject:goal' will fail in case
this is the call you are doing in the new branch. In tck20 maven cannot
resolve the dependencies to api20, core20 and enhancer20, because your
local maven repository does not provide a beta version for the dependent
projects. First you need to do a build before you can do maven dist.

Regards Michael

> Hi,
>
> Building the distribution for the new branch I get failure.
>
> Any ideas?
>
> Craig
>
> [Bruiser:jdo/branches/2.0-beta] clr% maven -Dgoal=dist multiproject:go
al
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
> build:start:
>
> multiproject:projects-init:
>     [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> JDO2 API
> JDO2 Implementation (Core)
> JDO2 Implementation (Enhancer)
> JDO2 Technology Compatibility Kit
> +----------------------------------------
> | Gathering project list JDO2 API
> | Memory: 3M/6M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list JDO2 Implementation (Core)
> | Memory: 3M/6M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list JDO2 Implementation (Enhancer)
> | Memory: 3M/6M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list JDO2 Technology Compatibility Kit
> | Memory: 3M/6M
> +----------------------------------------
> Starting the reactor...
> Our processing order:
> JDO2 API
> JDO2 Implementation (Core)
> JDO2 Implementation (Enhancer)
> JDO2 Technology Compatibility Kit
> +----------------------------------------
> | Executing dist JDO2 API
> | Memory: 3M/6M
> +----------------------------------------
>
> multiproject:goal:
> build:start:
>
> dist:build-setup:
>     [mkdir] Created dir:
> /Users/clr/apachejdo/jdo/branches/2.0-beta/api20/target/distributions
>
> xdoc:init:
>
> java:prepare-filesystem:
>
> java:compile:
>     [echo] Compiling to
> /Users/clr/apachejdo/jdo/branches/2.0-beta/api20/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>     [junit] Running javax.jdo.identity.ByteIdentityTest
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.213
 sec
>     [junit] Running javax.jdo.identity.CharIdentityTest
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.149
 sec
>     [junit] Running javax.jdo.identity.IntIdentityTest
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.116
 sec
>     [junit] Running javax.jdo.identity.LongIdentityTest
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.27 
sec
>     [junit] Running javax.jdo.identity.ObjectIdentityTest
>     [junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 0.32 
sec
>     [junit] Running javax.jdo.identity.ShortIdentityTest
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.144
 sec
>     [junit] Running javax.jdo.identity.SingleFieldIdentityTest
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.222 
sec
>     [junit] Running javax.jdo.identity.StringIdentityTest
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.229 
sec
>     [junit] Running javax.jdo.JDOHelperTest
>     [junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 0.473
 sec
>     [junit] Running javax.jdo.listener.InstanceLifecycleEventTest
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.353
 sec
>     [junit] Running javax.jdo.spi.JDOImplHelperTest
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.14 s
ec
>     [junit] Running javax.jdo.spi.StateInterrogationTest
>     [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0.042
 sec
>
> jar:jar:
>
> site:
> xdoc:register-reports:
> maven-jdepend-plugin:register:
>
> ...
>
> lidating xref/org/apache/jdo/tck/util/ConversionHelper.html
> Validating xref/org/apache/jdo/tck/util/DeepEquality.html
> Validating xref/org/apache/jdo/tck/util/EqualityHelper.html
> Validating xref/org/apache/jdo/tck/util/GetSupportedOptions.html
> Validating xref/org/apache/jdo/tck/util/JDOJdk14Logger.html
> Validating xref/org/apache/jdo/tck/util/package-frame.html
> Validating xref/org/apache/jdo/tck/util/package-summary.html
> Validating xref/org/apache/jdo/tck/util/ResultSummary.html
> Validating xref/org/apache/jdo/tck/util/TCKFileAppender.html
> Validating xref/org/apache/jdo/tck/util/TCKFileHandler.html
> Validating xref/org/apache/jdo/tck/util/TestSelector.html
> Validating xref/org/apache/jdo/tck/util/ThreadExceptionHandler.html
> Validating xref/overview-frame.html
> Validating xref/overview-summary.html
>
> BUILD FAILED
> File......
> /Users/clr/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [site] --
> /Users/clr/.maven/cache/maven-linkcheck-plugin-1.3.4/plugin.jelly:91:9:
> <linkcheck:linkcheck> Java heap space
> Total time: 22 minutes 36 seconds
> Finished at: Thu Jan 19 21:06:13 PST 2006
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com
>
> P.S. A good JDO? O, Gasp!
>
>


--
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66
Fax.:++49/30/2175 2012		D-10783 Berlin








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:22 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register