Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 51227 invoked from network); 8 Jul 2008 12:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 12:22:02 -0000 Received: (qmail 24234 invoked by uid 500); 8 Jul 2008 12:22:00 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 24023 invoked by uid 500); 8 Jul 2008 12:21:59 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 24012 invoked by uid 99); 8 Jul 2008 12:21:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 05:21:58 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 12:21:03 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KGCCC-0005L7-OH for users@cocoon.apache.org; Tue, 08 Jul 2008 05:21:24 -0700 Message-ID: <18337884.post@talk.nabble.com> Date: Tue, 8 Jul 2008 05:21:24 -0700 (PDT) From: jantje To: users@cocoon.apache.org Subject: Re: Cocoon installation howto? In-Reply-To: <093BE428-1E9B-48C9-8C31-E99FD332D980@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: janvanoppen@skynet.be References: <18321699.post@talk.nabble.com> <18323968.post@talk.nabble.com> <3D7D39C7-19AA-43B4-B477-B238972E9983@ntlworld.com> <18333754.post@talk.nabble.com> <093BE428-1E9B-48C9-8C31-E99FD332D980@ntlworld.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks, this works! I have added batik and fop ajax to pom.xml It is really great, nearly everything works! Except, I have (from a svn repository installation from cocoon2.2) copied some source from the cocoon 2.2 examples. This was a working application, but the next line in my sitemap fails. Beceause this has something to do with cocoon examples: It is this wat fails: servlet:style-default:/service/common/simple-samples2html I don't know what is it, and I can't find this sourcefile or the source of this sevice in the cocoon2.2 examples.. I like this styling (simple-samples2html), so how can I use this in my maven block? Thanks for your help, jantje from belgium.. Barbara Slupik-3 wrote: > > I don't use SVGSerializer, but I see that it is in Batik block now. > > Go to cocoon website, Blocks 2.2/Batik/Project Documentation/Project > Reports/JavaDocs to see java docs. > > I think that you have to add Batik into your pom file. > > > org.apache.cocoon > cocoon-batik-impl > 1.0.0 > > > Group/version info can be found in Blocks 2.2/Batik/Project > Documentation/Project Information/Project Summary > > Barbara > > On 8 Jul, 2008, at 8:47 am, jantje wrote: > >> >> So I do exactly like you say, Barbara: >> >> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon >> -DarchetypeArtifactId=cocoon-22-archetype-block - >> DarchetypeVersion=1.0.0 >> -DgroupId=my.domain -DartifactId=myBlock >> cd myBlock >> mvn jetty:run >> konqueror http://localhost:8888/myBlock/ >> >> I get this error: >> >> Caused by: >> org.springframework.beans.factory.BeanDefinitionStoreException: >> Unable to read Avalon configuration from 'sitemap.xmap'.; nested >> exception >> is >> org.apache.avalon.framework.configuration.ConfigurationException: >> Unable >> to create class for component with role >> org.apache.cocoon.serialization.Serializer/svg2png with class: >> org.apache.cocoon.serialization.SVGSerializer >> >> And this is my sitemap (I have adde the definition for the >> serializer, on >> your advise.. Normally I don't do this..): >> >> http://users.skynet.be/sb015553/sitemap.xmap >> >> Thanks, this is not easy :-) >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Barbara Slupik-3 wrote: >>> >>> I create my blocks with: >>> >>> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon - >>> DarchetypeArtifactId=cocoon-22-archetype-block - >>> DarchetypeVersion=1.0.0 -DgroupId=my.domain -DartifactId=myBlock >>> >>> This creates all folders and files necessary to run it in jetty, >>> including pom. >>> >>> Put your files and sitemap in COB-INF. Go to myBlock folder in your >>> terminal and run >>> >>> mvn jetty:run >>> >>> Then test your block with url similar to this: >>> >>> http://localhost:8888/myBlock/ >>> >>> I suppose that you did all this and now you have some errors? Do you >>> have svg2png serializer defined in your sitemap? >>> >>> Barbara >>> >>> >>> On 7 Jul, 2008, at 7:53 pm, jantje wrote: >>> >>>> >>>> Ok, so I do this: >>>> mvn archetype:generate -DarchetypeCatalog=http:// >>>> cocoon.apache.org >>>> mvn jetty:run >>>> >>>> Then I copy some little cocoon application (sitemap, and three or >>>> fore >>>> files) to: >>>> myBlock1/src/main/resources/COB-INF/ >>>> >>>> And then? How do I know what I should write in pom? f.i. when I use: >>>> >>>> >>>> Thanks.. >>>> >>>> >>>> >>>> >>>> >>>> Barbara Slupik-3 wrote: >>>>> >>>>> I am using cocoon with maven and jetty in my development >>>>> environment. >>>>> I develop and test individual blocks. Then I build my block jar >>>>> files >>>>> and my cocoon application. Once everything works in maven/jetty >>>>> development environment I build application war file and put it >>>>> in my >>>>> test environment which runs with tomcat. Test/production >>>>> environment >>>>> does not need maven or jetty and does not need to download >>>>> anything, >>>>> everything is already included in jar files. >>>>> >>>>> Barbara >>>>> >>>>> On 7 Jul, 2008, at 6:11 pm, jantje wrote: >>>>> >>>>>> >>>>>> Hi there, I have used older versions of cocoon for over years.. >>>>>> Now >>>>>> I want to >>>>>> go to cocoon 2.2. >>>>>> >>>>>> But now I have to use Maven, and on the cocoon website there is >>>>>> not >>>>>> a lot of >>>>>> information about maven and cocoon. >>>>>> >>>>>> Therefore I have downloaded this: cocoon-2.2.0.tar.gz >>>>>> >>>>>> When I open the file, there is no information about installing >>>>>> cocoon? I >>>>>> have tryed "java -jar cocoon-core-2.2.0.jar" Nothing works.. >>>>>> >>>>>> Following the tutorials on the cocoon website, with maven I have >>>>>> made >>>>>> blocks.. running cocoon.. But this is very basic.. And I want to >>>>>> add cocoon >>>>>> to a live cd, so maven using the internet to download files does >>>>>> not satisfy >>>>>> me :-( >>>>>> >>>>>> Maybe there is documentation I am missing, but can't find it. >>>>>> Anyhow, does >>>>>> someone know how to install cocoon-2.2.0.tar.gz??? >>>>>> >>>>>> Thanks.. >>>>>> -- >>>>>> View this message in context: http://www.nabble.com/Cocoon- >>>>>> installation-howto--tp18321699p18321699.html >>>>>> Sent from the Cocoon - Users mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------ >>>>>> -- >>>>>> - >>>>>> 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 >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: http://www.nabble.com/Cocoon- >>>> installation-howto--tp18321699p18323968.html >>>> Sent from the Cocoon - Users mailing list archive at Nabble.com. >>>> >>>> >>>> -------------------------------------------------------------------- >>>> - >>>> 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 >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Cocoon- >> installation-howto--tp18321699p18333754.html >> Sent from the Cocoon - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> > > -- View this message in context: http://www.nabble.com/Cocoon-installation-howto--tp18321699p18337884.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org