You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Michael Gentry <mg...@masslight.net> on 2009/12/29 14:49:37 UTC

Error building 3.0?

I did an update on the 3.0 branch followed by a "mvn clean; mvn"
(which worked last week), but now it errors out for me:

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 987 source files to
/Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-jdk1.5-unpublished/target/classes
Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError:
Java heap space
	at java.util.ArrayList.<init>(ArrayList.java:113)
	at java.util.ArrayList.<init>(ArrayList.java:120)
	at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:165)
	at java.lang.Thread.run(Thread.java:613)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
	at com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:324)


Is anyone else seeing this?  I haven't done anything to my environment
except let the machine sleep over the Christmas break ...

Thanks!

mrg

Re: Error building 3.0?

Posted by Michael Gentry <mg...@masslight.net>.
2.2.1 worked.  Thanks Ari!

mrg


On Fri, Jan 8, 2010 at 10:41 AM, Aristedes Maniatis <ar...@maniatis.org> wrote:
> On 9/01/10 2:38 AM, Michael Gentry wrote:
>>
>> I'm using Maven 2.0.9 currently.  There is a 2.0.10 and a 2.2.1 on the
>> Maven site.  Which of those are you using?
>
> You'll want 2.2.1 I think.
>
> Ari
>
> --
> -------------------------->
> Aristedes Maniatis
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>

Re: Error building 3.0?

Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 9/01/10 2:38 AM, Michael Gentry wrote:
> I'm using Maven 2.0.9 currently.  There is a 2.0.10 and a 2.2.1 on the
> Maven site.  Which of those are you using?

You'll want 2.2.1 I think.

Ari

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: Error building 3.0?

Posted by Michael Gentry <mg...@masslight.net>.
It appears to be installing the Cayenne JARs:

[INFO] Installing
/Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-server/target/cayenne-server-3.0-SNAPSHOT-sources.jar
to /Users/mgentry/.m2/repository/org/apache/cayenne/cayenne-server/3.0-SNAPSHOT/cayenne-server-3.0-SNAPSHOT-sources.jar


I'm using Maven 2.0.9 currently.  There is a 2.0.10 and a 2.2.1 on the
Maven site.  Which of those are you using?

Thanks,

mrg


On Fri, Jan 8, 2010 at 9:37 AM, Aristedes Maniatis <ar...@maniatis.org> wrote:
> On 9/01/10 1:13 AM, Michael Gentry wrote:
>>
>>
>> /Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[6,25]
>> cannot find symbol
>> symbol  : class CayenneDataObject
>> location: package org.apache.cayenne
>
> We were seeing similar things on Hudson. Make sure you have the latest
> version of maven. Also make sure you install the main Cayenne jars (not just
> build them) BEFORE it gets to the tutorials. Perhaps it is
> building/installing them out of order.
>
> Ari
>
> --
> -------------------------->
> Aristedes Maniatis
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>

Re: Error building 3.0?

Posted by Aristedes Maniatis <ar...@maniatis.org>.
On 9/01/10 1:13 AM, Michael Gentry wrote:
> /Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[6,25]
> cannot find symbol
> symbol  : class CayenneDataObject
> location: package org.apache.cayenne

We were seeing similar things on Hudson. Make sure you have the latest version of maven. Also make sure you install the main Cayenne jars (not just build them) BEFORE it gets to the tutorials. Perhaps it is building/installing them out of order.

Ari

-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Re: Error building 3.0?

Posted by Michael Gentry <mg...@masslight.net>.
I'm still having trouble doing a full build.  I checked out all the
code fresh from SVN then did a "mvn clean" followed by a "mvn
-Dmaven.test.skip=true install".  It looks like it built Cayenne +
Modeler, but fails on the tutorial.  Any suggestions?  Just ignore?
Error output follows...

Thanks!

mrg



[INFO] Building Cayenne Tutorial
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 9 source files to
/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[6,25]
cannot find symbol
symbol  : class CayenneDataObject
location: package org.apache.cayenne

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[15,38]
cannot find symbol
symbol: class CayenneDataObject
public abstract class _Artist extends CayenneDataObject {

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[3,25]
cannot find symbol
symbol  : class CayenneDataObject
location: package org.apache.cayenne

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[13,40]
cannot find symbol
symbol: class CayenneDataObject
public abstract class _Painting extends CayenneDataObject {

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[5,25]
cannot find symbol
symbol  : class CayenneDataObject
location: package org.apache.cayenne

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[14,39]
cannot find symbol
symbol: class CayenneDataObject
public abstract class _Gallery extends CayenneDataObject {

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[26,25]
cannot find symbol
symbol  : class DataObjectUtils
location: package org.apache.cayenne

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[27,25]
cannot find symbol
symbol  : class ObjectContext
location: package org.apache.cayenne

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[28,32]
package org.apache.cayenne.access does not exist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[29,29]
package org.apache.cayenne.exp does not exist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[30,29]
package org.apache.cayenne.exp does not exist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[31,31]
package org.apache.cayenne.query does not exist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[48,32]
cannot find symbol
symbol  : class ObjectContext
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[76,28]
cannot find symbol
symbol  : class ObjectContext
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[97,28]
cannot find symbol
symbol  : class ObjectContext
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[24,8]
cannot find symbol
symbol  : method writeProperty(java.lang.String,java.util.Date)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[27,21]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[31,8]
cannot find symbol
symbol  : method writeProperty(java.lang.String,java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[34,23]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[38,8]
cannot find symbol
symbol  : method
addToManyTarget(java.lang.String,org.apache.cayenne.tutorial.persistent.Painting,boolean)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[41,8]
cannot find symbol
symbol  : method
removeToManyTarget(java.lang.String,org.apache.cayenne.tutorial.persistent.Painting,boolean)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[44,16]
type parameter org.apache.cayenne.tutorial.persistent.Painting is not
within its bound

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Artist.java:[45,31]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Artist

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[22,8]
cannot find symbol
symbol  : method writeProperty(java.lang.String,java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Painting

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[25,23]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Painting

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[29,8]
cannot find symbol
symbol  : method
setToOneTarget(java.lang.String,org.apache.cayenne.tutorial.persistent.Artist,boolean)
location: class org.apache.cayenne.tutorial.persistent.auto._Painting

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[33,23]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Painting

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[38,8]
cannot find symbol
symbol  : method
setToOneTarget(java.lang.String,org.apache.cayenne.tutorial.persistent.Gallery,boolean)
location: class org.apache.cayenne.tutorial.persistent.auto._Painting

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Painting.java:[42,24]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Painting

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[22,8]
cannot find symbol
symbol  : method writeProperty(java.lang.String,java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Gallery

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[25,23]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Gallery

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[29,8]
cannot find symbol
symbol  : method
addToManyTarget(java.lang.String,org.apache.cayenne.tutorial.persistent.Painting,boolean)
location: class org.apache.cayenne.tutorial.persistent.auto._Gallery

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[32,8]
cannot find symbol
symbol  : method
removeToManyTarget(java.lang.String,org.apache.cayenne.tutorial.persistent.Painting,boolean)
location: class org.apache.cayenne.tutorial.persistent.auto._Gallery

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[35,16]
type parameter org.apache.cayenne.tutorial.persistent.Painting is not
within its bound

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Gallery.java:[36,31]
cannot find symbol
symbol  : method readProperty(java.lang.String)
location: class org.apache.cayenne.tutorial.persistent.auto._Gallery

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[41,2]
cannot find symbol
symbol  : class ObjectContext
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[41,26]
cannot find symbol
symbol  : variable DataContext
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[78,2]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[78,28]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[79,7]
type parameter org.apache.cayenne.tutorial.persistent.Painting is not
within its bound

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[81,2]
cannot find symbol
symbol  : class Expression
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[81,26]
cannot find symbol
symbol  : variable ExpressionFactory
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[83,2]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[83,28]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[84,7]
type parameter org.apache.cayenne.tutorial.persistent.Painting is not
within its bound

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[89,2]
cannot find symbol
symbol  : class Expression
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[89,26]
cannot find symbol
symbol  : variable Expression
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[93,2]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[93,28]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[94,7]
type parameter org.apache.cayenne.tutorial.persistent.Painting is not
within its bound

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[99,2]
cannot find symbol
symbol  : class Expression
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[99,25]
cannot find symbol
symbol  : variable ExpressionFactory
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[101,2]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[101,35]
cannot find symbol
symbol  : class SelectQuery
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[102,28]
cannot find symbol
symbol  : variable DataObjectUtils
location: class org.apache.cayenne.tutorial.Main

/Users/mgentry/Projects/Eclipse/Cayenne30/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java:[105,14]
operator != cannot be applied to
org.apache.cayenne.tutorial.persistent.Artist,<nulltype>




On Tue, Dec 29, 2009 at 9:27 AM, Andrus Adamchik <an...@objectstyle.org> wrote:
> I suggest "mvn clean install" from the checkout root. This should reset any
> stale installed modules.
>
> On Dec 29, 2009, at 4:21 PM, Michael Gentry wrote:
>
>> Made it further, but still failed for me.  Thanks for the Maven tip,
>> though.  I guess something changed over the past week that pushed it
>> just over the default settings.
>>
>> mrg
>>
>>
>> On Tue, Dec 29, 2009 at 8:56 AM, Andrus Adamchik <an...@objectstyle.org>
>> wrote:
>>>
>>> You need to have enough memory for the build:
>>>
>>> $ cat ~/.mavenrc
>>> MAVEN_OPTS="-Xmx512m
>>>
>>> Andrus
>>>
>>>
>>> On Dec 29, 2009, at 3:49 PM, Michael Gentry wrote:
>>>
>>>> I did an update on the 3.0 branch followed by a "mvn clean; mvn"
>>>> (which worked last week), but now it errors out for me:
>>>>
>>>> [INFO] [resources:resources]
>>>> [INFO] Using default encoding to copy filtered resources.
>>>> [INFO] [compiler:compile]
>>>> [INFO] Compiling 987 source files to
>>>>
>>>>
>>>> /Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-jdk1.5-unpublished/target/classes
>>>> Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError:
>>>> Java heap space
>>>>       at java.util.ArrayList.<init>(ArrayList.java:113)
>>>>       at java.util.ArrayList.<init>(ArrayList.java:120)
>>>>       at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:165)
>>>>       at java.lang.Thread.run(Thread.java:613)
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>> Failure executing javac, but could not parse the error:
>>>>
>>>>
>>>> The system is out of resources.
>>>> Consult the following stack trace for details.
>>>> java.lang.OutOfMemoryError: Java heap space
>>>>       at
>>>> com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:324)
>>>>
>>>>
>>>> Is anyone else seeing this?  I haven't done anything to my environment
>>>> except let the machine sleep over the Christmas break ...
>>>>
>>>> Thanks!
>>>>
>>>> mrg
>>>>
>>>
>>>
>>
>
>

Re: Error building 3.0?

Posted by Andrus Adamchik <an...@objectstyle.org>.
I suggest "mvn clean install" from the checkout root. This should  
reset any stale installed modules.

On Dec 29, 2009, at 4:21 PM, Michael Gentry wrote:

> Made it further, but still failed for me.  Thanks for the Maven tip,
> though.  I guess something changed over the past week that pushed it
> just over the default settings.
>
> mrg
>
>
> On Tue, Dec 29, 2009 at 8:56 AM, Andrus Adamchik <andrus@objectstyle.org 
> > wrote:
>> You need to have enough memory for the build:
>>
>> $ cat ~/.mavenrc
>> MAVEN_OPTS="-Xmx512m
>>
>> Andrus
>>
>>
>> On Dec 29, 2009, at 3:49 PM, Michael Gentry wrote:
>>
>>> I did an update on the 3.0 branch followed by a "mvn clean; mvn"
>>> (which worked last week), but now it errors out for me:
>>>
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 987 source files to
>>>
>>> /Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-jdk1.5- 
>>> unpublished/target/classes
>>> Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError:
>>> Java heap space
>>>        at java.util.ArrayList.<init>(ArrayList.java:113)
>>>        at java.util.ArrayList.<init>(ArrayList.java:120)
>>>        at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java: 
>>> 165)
>>>        at java.lang.Thread.run(Thread.java:613)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>> Failure executing javac, but could not parse the error:
>>>
>>>
>>> The system is out of resources.
>>> Consult the following stack trace for details.
>>> java.lang.OutOfMemoryError: Java heap space
>>>        at
>>> com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:324)
>>>
>>>
>>> Is anyone else seeing this?  I haven't done anything to my  
>>> environment
>>> except let the machine sleep over the Christmas break ...
>>>
>>> Thanks!
>>>
>>> mrg
>>>
>>
>>
>


Re: Error building 3.0?

Posted by Michael Gentry <mg...@masslight.net>.
Made it further, but still failed for me.  Thanks for the Maven tip,
though.  I guess something changed over the past week that pushed it
just over the default settings.

mrg


On Tue, Dec 29, 2009 at 8:56 AM, Andrus Adamchik <an...@objectstyle.org> wrote:
> You need to have enough memory for the build:
>
> $ cat ~/.mavenrc
> MAVEN_OPTS="-Xmx512m
>
> Andrus
>
>
> On Dec 29, 2009, at 3:49 PM, Michael Gentry wrote:
>
>> I did an update on the 3.0 branch followed by a "mvn clean; mvn"
>> (which worked last week), but now it errors out for me:
>>
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 987 source files to
>>
>> /Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-jdk1.5-unpublished/target/classes
>> Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError:
>> Java heap space
>>        at java.util.ArrayList.<init>(ArrayList.java:113)
>>        at java.util.ArrayList.<init>(ArrayList.java:120)
>>        at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:165)
>>        at java.lang.Thread.run(Thread.java:613)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> Failure executing javac, but could not parse the error:
>>
>>
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: Java heap space
>>        at
>> com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:324)
>>
>>
>> Is anyone else seeing this?  I haven't done anything to my environment
>> except let the machine sleep over the Christmas break ...
>>
>> Thanks!
>>
>> mrg
>>
>
>

Re: Error building 3.0?

Posted by Andrus Adamchik <an...@objectstyle.org>.
You need to have enough memory for the build:

$ cat ~/.mavenrc
MAVEN_OPTS="-Xmx512m

Andrus


On Dec 29, 2009, at 3:49 PM, Michael Gentry wrote:

> I did an update on the 3.0 branch followed by a "mvn clean; mvn"
> (which worked last week), but now it errors out for me:
>
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 987 source files to
> /Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-jdk1.5- 
> unpublished/target/classes
> Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError:
> Java heap space
> 	at java.util.ArrayList.<init>(ArrayList.java:113)
> 	at java.util.ArrayList.<init>(ArrayList.java:120)
> 	at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:165)
> 	at java.lang.Thread.run(Thread.java:613)
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: Java heap space
> 	at com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java: 
> 324)
>
>
> Is anyone else seeing this?  I haven't done anything to my environment
> except let the machine sleep over the Christmas break ...
>
> Thanks!
>
> mrg
>