Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50959 invoked from network); 11 Dec 2006 14:38:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2006 14:38:23 -0000 Received: (qmail 7590 invoked by uid 500); 11 Dec 2006 14:38:29 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 7532 invoked by uid 500); 11 Dec 2006 14:38:29 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 7521 invoked by uid 99); 11 Dec 2006 14:38:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 06:38:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.96] (HELO smtp007.mail.ukl.yahoo.com) (217.12.11.96) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Dec 2006 06:38:17 -0800 Received: (qmail 64852 invoked from network); 11 Dec 2006 14:37:55 -0000 Received: from unknown (HELO ?10.4.1.249?) (reinhard_poetz@86.59.20.138 with plain) by smtp007.mail.ukl.yahoo.com with SMTP; 11 Dec 2006 14:37:55 -0000 X-YMail-OSG: FXURL44VM1luT9RjN_cXIYWBBdnkZoM9PSiQV.7qDbkkCrBj7EZQRX08ka9NiXdQwr9ebub7NTXUiCyiEjYfCzDuIWiBhSyLZVRjP8amK70U01mWN1AKZhK.Uf2dV3wAj5FTQBJl_cK2L41fuPVf_2phbo7vEmCFbbO2ZhgowCbXny3kCldMAaOlpQ-- Message-ID: <457D6D42.4060105@apache.org> Date: Mon, 11 Dec 2006 15:37:54 +0100 From: Reinhard Poetz User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Testing release artifacts from trunk (cocoon-core-2.2.0-M2 and others) References: <4572BAF3.4050001@apache.org> In-Reply-To: <4572BAF3.4050001@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org These artifacts are available at http://people.apache.org/builds/cocoon/ for your tests: - org.apache.cocoon:cocoon:2 - org.apache.cocoon:cocoon-core-modules:2 - org.apache.cocoon:cocoon-core:1.0.0-M2 - org.apache.cocoon:cocoon-blocks-modules:2 - org.apache.cocoon:cocoon-template:2 - org.apache.cocoon:cocoon-flowscript:1 - org.apache.cocoon:cocoon-template-impl:1.0.0-M2 - org.apache.cocoon:cocoon-flowscript-impl:1.0.0-M1 - org.apache.cocoon:cocoon-blocks-fw:1 - org.apache.cocoon:cocoon-blocks-fw-impl:1.0.0-M1 - org.apache.cocoon:cocoon-tools-modules:2 - org.apache.cocoon:cocoon-archetypes:2 - org.apache.cocoon:cocoon-22-archetype-block:1.0.0-M4 - org.apache.cocoon:cocoon-22-archetype-webapp:1.0.0-M1 If you wonder how you can test at all, here are some possibilities: - If you already have a project based on Cocoon 2.2 artifacts, update your dependencies by using the latest milestone releases. a) If you use Maven, you only have to add the cocoon staging repository to your pom.xml: cocoon.staging Cocoon staging repository http://people.apache.org/builds/cocoon and update the version elements of your dependencies. b) or copy them from http://people.apache.org/builds/cocoon into your project if you use some different build system. - If you want to bootstrap a Cocoon project and/or want to test the archetypes, there is no straight way to test it using the files from the staging repository. The problem is that Maven only looks into your local repository or the central repository and you have no way of adding an alternative repository. The closest thing I can offer is using the archetypes from trunk. So far they are almost unchanged compared to the released ones (except the dependency on the snapshot version of the parent and incrementing the version number) and we should find problems with them. If you haven't already, check out trunk and build it from the root directory by entering "mvn install". Then go to some directory of your choice and use the two Maven archetypes to create a Cocoon webapplication and a block: mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-M5-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myBlock Move to the 'myBlock' directory and call "mvn install" from there which will put the block into your local Maven repository. Then go back to initial directory and call mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0-M2-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myCocoonWebapp Then goto ./myCocoonWebapp, open pom.xml and add the block as dependency: com.mycompany myBlock 1.0-SNAPSHOT Then call "mvn package jetty:run" and call "http://localhost:8888/myBlock" from your browser. I will update the "Getting started" instructions at http://cocoon.zones.apache.org/daisy/cdocs-site-main/g1/1159.html ASAP. Whether it works for you or not, please send your feedback to the list. Thanks! -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de