Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 72467 invoked from network); 17 May 2010 02:06:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 May 2010 02:06:59 -0000 Received: (qmail 10855 invoked by uid 500); 17 May 2010 02:06:58 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 10764 invoked by uid 500); 17 May 2010 02:06:57 -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 10757 invoked by uid 99); 17 May 2010 02:06:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 May 2010 02:06:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mdiggory@gmail.com designates 209.85.222.194 as permitted sender) Received: from [209.85.222.194] (HELO mail-pz0-f194.google.com) (209.85.222.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 May 2010 02:06:50 +0000 Received: by pzk32 with SMTP id 32so1158834pzk.21 for ; Sun, 16 May 2010 19:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type:subject :date:message-id:to:mime-version:x-mailer; bh=8Egb80aySqsnXKeQ5/eJVYcwPq2CyhHtqxQZcHFgtlg=; b=KAmFzpHXdB8APfDyCWZzFXj4cRj5S6ULVAuNREvuzetBWc1Tat3gGRmHxp6pnsFwSm 8/l+n8DgQVPdmFg9aASJMU71/6w+fSiQWebV4ZE31oXzMER+4JWhsenG+ht5BybU4tHF 6pgtu//dSojuG6E/i/11qll8EeN9o1lVwDEzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; b=dXuCnHnHpUx1/vncmttjuQCp77F24d2D5cWqLkMC3IbO6n149LTRNH2zZH/ZIyS4Pg bKedDgVnoGnA0tY2rzKTCN6uEV5hB2RzelnGPpxXx9W8DvL3fe5+5xsdS4RxStLdgVAc d5A1ZpWawxdSP+Hmxhwtv12vRTmkNZoqr4S20= Received: by 10.140.248.10 with SMTP id v10mr3167513rvh.245.1274061989863; Sun, 16 May 2010 19:06:29 -0700 (PDT) Received: from [192.168.0.100] (cpe-66-74-212-9.san.res.rr.com [66.74.212.9]) by mx.google.com with ESMTPS id b12sm3755107rvn.10.2010.05.16.19.06.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 May 2010 19:06:29 -0700 (PDT) From: mdiggory@gmail.com Content-Type: multipart/alternative; boundary=Apple-Mail-1--597956516 Subject: Testing Cocoon in IDEA Date: Sun, 16 May 2010 19:06:26 -0700 Message-Id: <7ADF0552-F403-4DB3-8A43-73644E241D6D@gmail.com> To: dev@cocoon.apache.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) --Apple-Mail-1--597956516 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I am trying to run Cocoon 2.2 Block and Webapp in Intellij IDEA's = runtime debugger. I realize that Cocoon 2.2 comes with a means to deploy = and test in jetty, however, we need this solution for a project / = training we are preparing, there are a number of the IDEA dependent = things that we are doing. =20 I approached the IDEA support with questions concerning trying to have = the runtime debugger execute against the generated jar artifact, but = learned it builds to and tests directly against the = /target/classes. This seems to make it not possible to run and = test multiple cocoon blocks in that environment. I'm wondering if I = understand why and am seeking advice from those that designed the block = mechanism could provide some feedback. 1.) I assume that Cocoon block behaves much the same as OSGi bundle in = that the resources within the COB-INF are access relative to the = packaged artifact. 2.) I also assume that the way the rcl cocoon maven plugin works is to = generate or rewrite the webapps web.xml to be properly isolate the block = COB-INF and resolve the blockcontext in the absence of the MANIFEST.MF's = "Cocoon-Block-Name: ..." when deploying into Jetty. I'm wondering if anyone has ideas on how one can debug Cocoon Blocks in = an unpackages state when trying to test in IDE like IDEA and Cocoon. = I.E. I do not want to use a custom debugging environment separate from = that provided by the IDE? =20 I've tried copy the MANIFEST.MF with "Cocoon-Block-Name: ..." to = /src/main/resources/META-INF/MANIFEST.MF without much success. = I've been considering trying to repurpose the = org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServlet in my test = webapplication. Any constructive thoughts or advice would be welcome. thanks, Mark Mark= --Apple-Mail-1--597956516 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

I'm wondering = if anyone has ideas on how one can debug Cocoon Blocks in an unpackages = state when trying to test in IDE like IDEA and Cocoon.  I.E. I do = not want to use a custom debugging environment separate from that = provided by the IDE?  

I've = tried copy the MANIFEST.MF with "Cocoon-Block-Name: = ..." to <bock>/src/main/resources/META-INF/MANIFEST.MF = without much success.  I've been considering trying to repurpose = the 
Any constructive = thoughts or advice would be welcome.

thanks,
Mark


Mark= --Apple-Mail-1--597956516--