cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Refondini <patrick.refond...@pobox.com>
Subject Re: Testing release artifacts from trunk (cocoon-core-2.2.0-M2 and others)
Date Thu, 14 Dec 2006 16:40:42 GMT

Positive experience with cocoon-core-2.2.0-M2 and others:

Rebuilt trunk and used the different artifacts to do basic tests:

Plateform:
SuSE Linux 9.1

JDK
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)

Maven version: 2.0.4


Following procedure completed successfully after rebuilding trunk:

mvn archetype:create \
     -DarchetypeGroupId=org.apache.cocoon \
     -DarchetypeArtifactId=cocoon-22-archetype-block \
     -DarchetypeVersion=1.0.0-M5-SNAPSHOT \
     -DgroupId=ch.smartgene \
     -DartifactId=testblock

cd testblock
mvn install
cd ..

mvn archetype:create \
     -DarchetypeGroupId=org.apache.cocoon \
     -DarchetypeArtifactId=cocoon-22-archetype-block \
     -DarchetypeVersion=1.0.0-M5-SNAPSHOT \
     -DgroupId=ch.smartgene \
     -DartifactId=testroot


Modify:

src/main/resources/META-INF/cocoon/spring/block.xml

From:
     <property name="mountPath" value="/testroot" />

To:
     <property name="mountPath" value="/" />

cd testroot
mvn install
cd ..


mvn archetype:create \
     -DarchetypeGroupId=org.apache.cocoon \
     -DarchetypeArtifactId=cocoon-22-archetype-webapp \
     -DarchetypeVersion=1.0.0-M2-SNAPSHOT \
     -DgroupId=ch.smartgene \
     -DartifactId=testwebapp


Modify pom.xml to add dependencies on testblock, testroot

cd testwebapp
mvn package jetty:run

And than could have:
testroot block answering to http://localhost:8888/
testblock answering to http://localhost:8888/testblock/


Patrick


Mime
View raw message