Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58841 invoked from network); 30 Aug 2004 09:08:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Aug 2004 09:08:10 -0000 Received: (qmail 9770 invoked by uid 500); 30 Aug 2004 09:07:36 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 9561 invoked by uid 500); 30 Aug 2004 09:07:34 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 9548 invoked by uid 99); 30 Aug 2004 09:07:34 -0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_20_30,HTML_MESSAGE,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [206.190.38.126] (HELO web50906.mail.yahoo.com) (206.190.38.126) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 30 Aug 2004 02:07:34 -0700 Message-ID: <20040830090732.16094.qmail@web50906.mail.yahoo.com> Received: from [202.152.34.173] by web50906.mail.yahoo.com via HTTP; Mon, 30 Aug 2004 02:07:32 PDT Date: Mon, 30 Aug 2004 02:07:32 -0700 (PDT) From: ANDI KUSNADI Subject: Re: Developing and debugging CForms To: users@cocoon.apache.org In-Reply-To: <41328B4A.4010901@anu.edu.au> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-961863550-1093856852=:15983" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-961863550-1093856852=:15983 Content-Type: text/plain; charset=us-ascii but if i use jboss as my application server is it can be debugged ? thank you Scott Yeadon wrote: Derek, I've tended to just use debugging statements in my code (since it's mostly been me causing the problems!) but if you use Eclipse, below is an extract from a previous post that may help you (I haven't tried it yet). Scott. ======== start ===================== More people here use Eclipse, as far as I can see. Run: build eclipse-project That'll create an Eclipse project file. Then, fire up Eclipse. Create a new project, pointing its workspace to the Cocoon folder (not the webapp, the one containing build.bat). Create another project that relates to your application, including the source for your actions, etc. Make that project dependent upon the Cocoon one. For this new project, point the Eclipse compilation output to WEB-INF/classes, so that your changes will show after a JVM restart. Run Cocoon with: cocoon servlet-debug In eclipse, start a remote debugging session, connecting to localhost on the default port, for your project. Once connected, you'll be able to set breakpoints in your code. Then, using a browser, request a page with http://localhost:8888/blah If Cocoon hits a breakpoint in your code, Eclipse will catch it. The rest is up to you. Regards, Upayavira ============ end ============== Derek Hohls wrote: >Does anyone have a useful approach for >developing and debugging CForms - the >reason I ask is that I have just adapted a >set of forms from my first CForms project >(which *is* working) and now, to my >surprise, the new forms display OK but do >not pick up any data from the XML files to >which they are binding... > >Thanks! >Derek > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------- Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. --0-961863550-1093856852=:15983 Content-Type: text/html; charset=us-ascii
but if i use jboss as my application server is it can be debugged ?
thank you

Scott Yeadon <scott.yeadon@anu.edu.au> wrote:
Derek,

I've tended to just use debugging statements in my code (since it's
mostly been me causing the problems!) but if you use Eclipse, below is
an extract from a previous post that may help you (I haven't tried it yet).

Scott.

======== start =====================

More people here use Eclipse, as far as I can see.

Run:
build eclipse-project
That'll create an Eclipse project file.

Then, fire up Eclipse. Create a new project, pointing its workspace to
the Cocoon folder (not the webapp, the one containing build.bat).
Create another project that relates to your application, including the
source for your actions, etc. Make that project dependent upon the
Cocoon one.

For this new project, point the Eclipse compilation output to
WEB-INF/classes, so that your changes will show after a JVM restart.

Run Cocoon with:
cocoon servlet-debug

In eclipse, start a remote debugging session, connecting to localhost on
the default port, for your project. Once connected, you'll be able to
set breakpoints in your code.

Then, using a browser, request a page with http://localhost:8888/blah

If Cocoon hits a breakpoint in your code, Eclipse will catch it.

The rest is up to you.

Regards, Upayavira

============ end ==============

Derek Hohls wrote:

>Does anyone have a useful approach for
>developing and debugging CForms - the
>reason I ask is that I have just adapted a
>set of forms from my first CForms project
>(which *is* working) and now, to my
>surprise, the new forms display OK but do
>not pick up any data from the XML files to
>which they are binding...
>
>Thanks!
>Derek
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now. --0-961863550-1093856852=:15983--