cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Hargreaves <pe...@pdh-online.info>
Subject Re: Samples for Cocoon 2.2
Date Tue, 24 Nov 2009 11:26:19 GMT
Hi Job,

Thanks for the feedbacks.

I've now found the README.txt so am trying to:

./build.sh clean install

but keep getting:

"The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space"

I've tried:

MAVEN_OPTS="-Xmx2048m"

But still out of heap space. Surely this should be enough?

Ideas anybody?????

Peter.

On Tuesday 24 Nov 2009, Job van Ommen wrote:
> It looks like in one of the POM files there is a dependency of to a
> block that is not available viz. the pom file of the cocoon-core
> block.
> You should check the file and try another version of the required
> block or download it manually as the error message you get is
> describing.
>
> Im not entirly sure tho, its been a while since ive used cocoon but I
> can remember getting a similar error.
> I then changed the POM file for the form implementation to change the
> dependency to another version. For example you could try 1.1.1 instead
> of 1.1.0-SNAPSHOT if it's available!
>
> Good luck
>
> Job
>
> On Mon, Nov 23, 2009 at 1:00 PM, Peter Hargreaves <peter@pdh-online.info> 
wrote:
> > Thanks for the feedback folks - nearly there.
> >
> >>On this blog:
> >>http://mrhaki.blogspot.com/2008/09/running-cocoon-22-samples.html you can
> >>see step-by-step how to get the samples running.
> >>
> >>Regards,
> >>
> >>Job
> >
> > I followed your advice, Job, but when I try:
> >
> > mvn -P allblocks install -Dmaven.test.skip=true
> >
> > I get error message as below. So, please advise best way to fix.
> >
> > Many thanks,
> > Peter.
> >
> > Missing:
> > ----------
> > 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn
> > install:install-file -DgroupId=org.apache.cocoon
> > -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT
> > -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file
> >
> >  Alternatively, if you host your own repository you can deploy the file
> > there:
> >      mvn
> > deploy:deploy-file -DgroupId=org.apache.cocoon
> > -DartifactId=cocoon-sitemap-impl -Dversion=1.1.0-SNAPSHOT
> > -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
> > -DrepositoryId=[id]
> >
> >  Path to dependency:
> >        1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT
> >        2)
> > org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> >  org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT
> >
> > from the specified remote repositories:
> >  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> >  central (http://repo1.maven.org/maven2),
> >  gkossakowski-maven2
> > (http://people.apache.org/~gkossakowski/maven2/repository)
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message