Re: Build problems

2007-01-04 Thread Daniel Süpke
Thank you, that did it. Should have thought of that myself, but somehow thought "conf" is a file, not a directory. Well, thanks again, until next time ;). Joerg Heinicke schrieb: > On 05.01.2007 08:17, Daniel Süpke wrote: > >> I downloaded Cocoon 2.1.10 and seem to be unable to build it. First

Re: Build problems

2007-01-04 Thread Joerg Heinicke
On 05.01.2007 08:17, Daniel Süpke wrote: I downloaded Cocoon 2.1.10 and seem to be unable to build it. First error I got was: BUILD FAILED /home/suepke/temp/cocoon-2.1.10/build/cocoon/temp/blocks-build.xml:95: srcdir "/home/suepke/temp/cocoon-2.1.10/src/blocks/stx/java" does not exist! After s

Build problems

2007-01-04 Thread Daniel Süpke
Hi, I downloaded Cocoon 2.1.10 and seem to be unable to build it. First error I got was: BUILD FAILED /home/suepke/temp/cocoon-2.1.10/tools/targets/compile-build.xml:263: The following error occurred while executing this line: /home/suepke/temp/cocoon-2.1.10/build/cocoon/temp/blocks-build.xml:369

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 8:49 PM, Lars Huttar wrote: Many thanks, Grzegorz and Mark! I've tried to get Cocoon running in Eclipse a number of times in the past, and now it's finally there. Awesome! :-) Next step is to figure out how to use this to trace data flow through the sitemap. You might t

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 4:22 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): -Run ./cocoon.sh servlet-debug -Connect to http://localhost: from browser -Connect to port 8000 from the Eclipse remote debugger -Build from scratch, directly from the release archive then yes, that's how I

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 4:22 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): -Run ./cocoon.sh servlet-debug -Connect to http://localhost: from browser -Connect to port 8000 from the Eclipse remote debugger -Build from scratch, directly from the release archive then yes, that's how I

Re: Is this a bug?

2007-01-04 Thread Kamal Bhatt
Kamal Bhatt wrote: Hi If I have a pipeline match with sub matches, if the sitemap fails to find a sub match, then the exception selector will not work. For example, Apologies, sent this prematurely. Ignore this thread. -- Kamal B

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On Jan 4, 2007, at 12:56 PM, Grzegorz Kossakowski wrote: Mark explained in detail that this is not supposed to be that way, now I will explain how to turn on debug logging in Jetty ;) So before running cocoon.bat servlet[-debug] you have to set JAVA_OPTIONS environment variable to '-DDEBUG' (d

Is this a bug?

2007-01-04 Thread Kamal Bhatt
Hi If I have a pipeline match with sub matches, if the sitemap fails to find a sub match, then the exception selector will not work. For example, -- Kamal Bhatt -

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): >> -Run ./cocoon.sh servlet-debug >> -Connect to http://localhost: from browser >> -Connect to port 8000 from the Eclipse remote debugger > -Build from scratch, directly from the release archive > then yes, that's how I've been trying it. I presume it's Windows related

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:58 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): OK, did that. That was nice and easy! Now I no longer get the message about errors in the project. So now we're just down to the problem of "Connection refused". Have you tried it with Jetty? Yes, that's the o

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): > OK, did that. That was nice and easy! > Now I no longer get the message about errors in the project. > > So now we're just down to the problem of "Connection refused". Have you tried it with Jetty? Steps described by Bertrand. -- Grzegorz Kossakowski ---

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:47 PM, Lars Huttar wrote: On 1/4/2007 3:32 PM, Grzegorz Kossakowski wrote: Doh! What these entries come from? :) Do the rest looks normally? I mean, for example do you have exactly that entry: avalon-framework-impl-4.1.5.jar - Cocoon 2.1.7/lib/core That line says av

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:32 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): When I click the "Debug" button, I get a dialog saying, "Errors exist in required project(s): Apache cocoon. Continue launch?" I click Yes, and after a moment of "Establishing connection...", I get: Exception occurred

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:28 PM, Lars Huttar wrote: On 1/4/2007 3:18 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:02 PM, Lars Huttar wrote: Anyway, I've now got Jetty/Cocoon successfully running with "cocoon servlet-debug". However, when I try connecting to them remotely with a debugger (jdb or Eclips

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): > I bow before your superior google-fu... > > OK, that helped. Now instead of " The system cannot find the file > specified", I get "Connection refused: connect". > So it would seem that jdb has caught up with Eclipse. > > Is it possible that I need to do something as a diff

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:33 PM, Grzegorz Kossakowski wrote: Mark Lundquist napisał(a): On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the "Debugging Cocoon Applications in Eclipse on Windows" document :-) +1 :-)

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Mark Lundquist napisał(a): > > On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: > >> [snipped] > > When this is all over, you will be well-qualified to write the > "Debugging Cocoon Applications in Eclipse on Windows" document > > :-) +1 :-) -- Grzegorz Kossakowski

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): >> When I click the "Debug" button, I get a dialog saying, "Errors exist >> in required project(s): Apache cocoon. Continue launch?" >> I click Yes, and after a moment of "Establishing connection...", I get: >>Exception occurred during launch >>Reason: failed to conn

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 1:28 PM, Lars Huttar wrote: [snipped] When this is all over, you will be well-qualified to write the "Debugging Cocoon Applications in Eclipse on Windows" document :-) —ml— - To unsubscribe, e-mail: [E

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 3:18 PM, Mark Lundquist wrote: On Jan 4, 2007, at 1:02 PM, Lars Huttar wrote: Anyway, I've now got Jetty/Cocoon successfully running with "cocoon servlet-debug". However, when I try connecting to them remotely with a debugger (jdb or Eclipse), it fails. (1) Trying with jdb: C:\P

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 2:56 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): Lars Huttar napisał(a): I have the first but not the second: 09:42:46.355 EVENT Started SocketListener on 0.0.0.0: 09:42:46.355 WARN!! org.mortbay.util.MultiException[org.xml.sax.SAXParseException: Document root el

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 1:02 PM, Lars Huttar wrote: Anyway, I've now got Jetty/Cocoon successfully running with "cocoon servlet-debug". However, when I try connecting to them remotely with a debugger (jdb or Eclipse), it fails. (1) Trying with jdb: C:\Program Files\Java\jdk1.5.0_09\bin>jdb -attac

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 1:02 PM, Lars Huttar wrote: I believe it *is* on the path... see previous response. D'oh, it is... not sure what I was thinking :-) —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 12:56 PM, Grzegorz Kossakowski wrote: Mark explained in detail that this is not supposed to be that way, now I will explain how to turn on debug logging in Jetty ;) So before running cocoon.bat servlet[-debug] you have to set JAVA_OPTIONS environment variable to '-DDEBUG' (d

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
Solved! Again, thanks to all who wrote in with suggestions and questions. You prodded me in the right directions. The problem causing Jetty not to start Cocoon was in web.xml. Based on a tip at http://www.servlets.com/archive/servlet/ReadMsg?msgId=534721&listName=jetty-support, I checked Coc

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): > Lars Huttar napisał(a): > I have the first but not the second: > > 09:42:46.355 EVENT Started SocketListener on 0.0.0.0: > 09:42:46.355 WARN!! > org.mortbay.util.MultiException[org.xml.sax.SAXParseException: > Document root element "web-app", must match DOCTYPE root "

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 12:08 PM, Lars Huttar wrote: However, Cocoon 2.1.7 runs fine with Tomcat. Right, but since your error is at the Jetty level... So I must have done something to the Jetty bundled with Cocoon 2.1.7. Apparently so... However the Jetty config files (tools\jetty\**) are th

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 11:35 AM, Lars Huttar wrote: 09:42:46.355 WARN!! org.mortbay.util.MultiException[org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".] at org.mortbay.http.HttpServer.start(HttpServer.java:640) at org.mortbay.jetty.Ser

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
P.S... On 1/4/2007 12:03 PM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): On 1/4/2007 8:19 AM, Grzegorz Kossakowski wrote: Thanks for your quick reply. You are right of course about the port number. However the :8000 was just an email typo. When browsing to http://localhost:/, the

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 12:26 PM, Mark Lundquist wrote: On Jan 4, 2007, at 7:49 AM, Lars Huttar wrote: If I don't find a solution for debugging with Jetty, I may try Eclipse as you suggest. NB we are actually talking about Eclipse either way... the distinction IIUC is just between two different types o

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 10:47 AM, Bertrand Delacretaz wrote: On 1/4/07, Lars Huttar <[EMAIL PROTECTED]> wrote: ...Method (1): using Jetty The first method, "cocoon.bat servlet-debug" (as recommended in [1]), appears to start OK. But when you try to browse to http://localhost:8000/, the browser gives the er

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 7:49 AM, Lars Huttar wrote: If I don't find a solution for debugging with Jetty, I may try Eclipse as you suggest. NB we are actually talking about Eclipse either way... the distinction IIUC is just between two different types of debugging setup in Eclipse. The remote de

Re: Running Cocoon in debugger

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 7:49 AM, Lars Huttar wrote: If I don't find a solution for debugging with Jetty, I may try Eclipse as you suggest. The headache there is that if I really do have to maintain a SVN working copy of Cocoon for debugging, huh, why do you have to have Cocoon sources in Subversi

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): > On 1/4/2007 8:19 AM, Grzegorz Kossakowski wrote: > Thanks for your quick reply. You are right of course about the port > number. > However the :8000 was just an email typo. When browsing to > http://localhost:/, the browser gives the above error ("No context > on this

Re: CocoonForm mettre le focus sur un widget avec dans le flowScript.

2007-01-04 Thread Mark Lundquist
On Jan 4, 2007, at 3:23 AM, CHARLIER Cyril wrote: I want to focus on a widget in the flowScript but i don't find a setFocus() function or anything else to do it. Browser focus is client-side. Flowscript is server-side. When/why are you wanting to set the focus? Do you just want to initial

Re: Running Cocoon in debugger

2007-01-04 Thread Bertrand Delacretaz
On 1/4/07, Lars Huttar <[EMAIL PROTECTED]> wrote: ...Method (1): using Jetty The first method, "cocoon.bat servlet-debug" (as recommended in [1]), appears to start OK. But when you try to browse to http://localhost:8000/, the browser gives the error:... FWIW, the following works with the curre

Re: Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
On 1/4/2007 8:19 AM, Grzegorz Kossakowski wrote: Lars Huttar napisał(a): Hello, I'm trying to run Cocoon in a debugger, as is often suggested in answers to queries on this list. The instructions I've found are at [1] and [2]. Nothing I've tried works. I'd appreciate any help. (FYI: I'm using

Re: Running Cocoon in debugger

2007-01-04 Thread Grzegorz Kossakowski
Lars Huttar napisał(a): > Hello, > I'm trying to run Cocoon in a debugger, as is often suggested in > answers to queries on this list. > The instructions I've found are at [1] and [2]. Nothing I've tried > works. I'd appreciate any help. > > (FYI: I'm using Windows XP, Cocoon 2.1.7, and Tomcat 5.5.

Running Cocoon in debugger

2007-01-04 Thread Lars Huttar
Hello, I'm trying to run Cocoon in a debugger, as is often suggested in answers to queries on this list. The instructions I've found are at [1] and [2]. Nothing I've tried works. I'd appreciate any help. (FYI: I'm using Windows XP, Cocoon 2.1.7, and Tomcat 5.5.9.) Method (1): using Jetty The

Re: CocoonForm mettre le focus sur un widget avec dans le flowScript.

2007-01-04 Thread Mounir Boulanouar
Thanks a lot : CHARLIER Cyril ;-) 2007/1/4, CHARLIER Cyril <[EMAIL PROTECTED]>: Hi, is there a small translation of his problem : I want to focus on a widget in the flowScript but i don't find a setFocus() function or anything else to do it. Is there any ideas ? Thanks -- Mounir On 1/4/07

Re: CocoonForm mettre le focus sur un widget avec dans le flowScript.

2007-01-04 Thread CHARLIER Cyril
Hi, is there a small translation of his problem : I want to focus on a widget in the flowScript but i don't find a setFocus() function or anything else to do it. Is there any ideas ? Thanks -- Mounir On 1/4/07, Ard Schrijvers <[EMAIL PROTECTED]> wrote: Bonjour, je parle francais un tres pe

RE: CocoonForm mettre le focus sur un widget avec dans le flowScript.

2007-01-04 Thread Ard Schrijvers
Bonjour, je parle francais un tres petit peut Last time I was learning French is about 14 years ago, so can't help you out here :-) Ard Bonjour, J'essaie de mettre le focus sur un widget dans le flowScript, mais je ne trouve pas de methode setFocus() ou un truc du genre... Est ce que quel

cforms: tabs in an aggregated page

2007-01-04 Thread ZongoZongo
Hi My page is aggregated of an aggregator. Now I wont to place a Form with tabs. Could somebody give me some hints how this might work? The probelm is, that I cant use the tag in my template, because this is done finally by an xsl-file after the aggregation. I also tried to copy the script, tha

CocoonForm mettre le focus sur un widget avec dans le flowScript.

2007-01-04 Thread Mounir Boulanouar
Bonjour, J'essaie de mettre le focus sur un widget dans le flowScript, mais je ne trouve pas de methode setFocus() ou un truc du genre... Est ce que quelqu'un a une idée ? Merci -- Mounir