Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 10891 invoked from network); 23 Sep 2009 18:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Sep 2009 18:51:06 -0000 Received: (qmail 23761 invoked by uid 500); 23 Sep 2009 18:51:06 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 23687 invoked by uid 500); 23 Sep 2009 18:51:05 -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 23679 invoked by uid 99); 23 Sep 2009 18:51:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 18:51:05 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.221.183] (HELO mail-qy0-f183.google.com) (209.85.221.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 18:50:55 +0000 Received: by qyk13 with SMTP id 13so854755qyk.18 for ; Wed, 23 Sep 2009 11:50:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.73.79 with SMTP id p15mr2314549qaj.228.1253731833072; Wed, 23 Sep 2009 11:50:33 -0700 (PDT) X-Originating-IP: [87.194.129.225] In-Reply-To: <1EE847E8-FC4A-4952-A2AB-D769B26ADBAF@virginia.edu> References: <4AAE212C020000D400015961@pta-emo.csir.co.za> <45c308810909230022l1b4cb714na4471afc200883f4@mail.gmail.com> <45c308810909230113nd9e7c28te6661d6bc8c1f08a@mail.gmail.com> <45c308810909231045p2f6b4127tc6fbbe0a240eb8d7@mail.gmail.com> <74644865-EF9D-43D4-88E8-1ECB73FA0470@virginia.edu> <29D51C1C-3BEA-47A4-A645-B6E3A0C6EFDE@virginia.edu> <7C655C04B6F59643A1EF66056C0E095E02BCD4AF@eusex01.sweden.ecsoft> <1EE847E8-FC4A-4952-A2AB-D769B26ADBAF@virginia.edu> Date: Wed, 23 Sep 2009 19:50:33 +0100 Message-ID: <45c308810909231150j18f38c04y790c10997d5e59f3@mail.gmail.com> Subject: Re: problems with "Getting Started" 2.2 [was: Starting out with Cocoon 2.2] From: Dominic Mitchell To: users@cocoon.apache.org Content-Type: multipart/alternative; boundary=00c09f88cfc38dce220474433056 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f88cfc38dce220474433056 Content-Type: text/plain; charset=UTF-8 On Wed, Sep 23, 2009 at 7:44 PM, Steven D. Majewski wrote: > On Sep 23, 2009, at 2:36 PM, Robby Pelssers wrote: > > So if I understand you correctly you have one block depending on the >> other? >> >> Did you also add the dependency of myblock2 in the pom.xml of myblock1? >> > > Yes. ( And if I take that dependency out, it runs without complaint. ) I'm guessing that is happening by accident. If you run "mvn clean" it'll stop working. The reason is that Cocoon extracts blocks into a "work" directory when it starts up. When you run through maven with "jetty:run", that's in target/work. "mvn clean" removes the target/ directory, so it'll probably stop it from working. -Dom --00c09f88cfc38dce220474433056 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Sep 23, 2009 at 7:44 PM, Steven D. Majew= ski <sdm7g@virgi= nia.edu> wrote:
On Sep 23, 2009, at 2:36 PM, Robby Pelssers wrote:

So if I understand you correctly you have one block depending on the
other?

Did you also add the dependency of myblock2 in the pom.xml of myblock1?

Yes. ( And if I take that dependency out, it runs without complaint. )

I'm guessing that is happening by accident.= =C2=A0If you run "mvn clean" it'll stop working.
<= br>
The reason is that Cocoon extracts blocks into a "work"= ; directory when it starts up. =C2=A0When you run through maven with "= jetty:run", that's in target/work. =C2=A0"mvn clean" rem= oves the target/ directory, so it'll probably stop it from working.

-Dom=C2=A0
--00c09f88cfc38dce220474433056--