On Wed, 17 Dec 2003, Upayavira wrote:Note - I'm not running Cocoon within Eclipse, just my unit tests. So the applications that I'm using Eclipse for are absolutely tiny, and thus run pretty quickly.
[EMAIL PROTECTED] wrote:i have never try eclipse .. i use to run whole cocoon servlet in netBeans .. but in a 2.4 P4 laptop .. some time i need to wait more than a half minute to reach a break point
UpayaviraFor flowscript itself, I just use a text editor and a browser, and print("xxxx") statements (that print to the servlet container console).
talking about flowscrip, what method do you use to work with flowscript and i'm talking about testin, debuging, .. etc
i think that its terrible to work without some tools just using an editor
thnx
But my flowscripts are relatively simple, calling methods on Java classes.
Those Java classes I write within Eclipse. I also write unit tests within Eclipse that call all of the methods that I use from Flow. That
Doing the same with NetBeans shouldn't be hard.
Regards, Upayavira
way, before I try to use the class from flow, I've seen the class work when running and debugging my unit tests (at which point I've got access to a full Java debugger). Also, running the test compiles the classes into the WEB-INF/classes folder, so that when I restart my servlet container, the classes are already there and waiting.
As to debugging flow, there is a flowscript debugger, but I don't really use it. See this link for more info:
http://wiki.cocoondev.org/Wiki.jsp?page=DebugFlowScripts
Hope this helps.
Upayavira
etc......
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]