Re: Paginator Transformer
Sure... here it is - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:38 AM Subject: Re: Paginator Transformer I'll check on this tonight. Is there any chance that you're using an older checkout? What module name are you using? xml-cocoon2 or cocoon-2.1 ? The first is supposed to invisibly mirror the second (I think), but you never know. Geoff At 11:31 AM 3/31/2003, you wrote: OK, I fixed the jar and it worked, however, sounds like the build still needs to be fixed. Also, I've noticed that cocoon-scatchpad.jar does not get copied into the WEB-INF/lib directory. Thanks for your help, Geoff. --- Alex Romayev [EMAIL PROTECTED] wrote: I'm using 2.1dev from yesterday. How would I fix the jar? --- Geoff Howard [EMAIL PROTECTED] wrote: Is this 2.1dev or 2.0.4? I seem to remember this problem from 2.1dev a month or so ago but it should now be fixed - if not, let me know. Your choices will be to update from cvs or to manually fix the jar. I'd recommend the first but I or someone else can help you with the second if need be. The classes must be in org/apache/ - dest was put in by mistake due to a misconfiguration of the build process. Geoff At 11:08 AM 3/31/2003, you wrote: Hi, I'm having problems declaring Paginator in my sitemap, I suspect this has to do with the new build system. Here is what I have in the sitemap: map:transformer name=paginate src=org.apache.cocoon.transformation.pagination.Paginator/ This gives me: ERROR (2003-03-31) 10:44.11:673 [sitemap] (/cocoon/romayev/) Thread-7/ExtendedComponentSelector: Could not load class org.apache.cocoon.transformation.pagination.Paginator for component named 'paginate' at file:/C:/dev/jakarta-tomcat-4.1.18/webapps/cocoon/romayev/sitemap.xmap:17 :101 java.lang.ClassNotFoundException: org.apache.cocoon.transformation.pagination.Paginator I noticed that in cocoon-scratchpad.jar the Paginator, as well as other classes are in: dest/org/apache/cocoon/transformation/pagination/Paginator.class -- notice the dest in the beginning. I've tried changing the sitemap to: map:transformer name=paginate src=dest.org.apache.cocoon.transformation.pagination.Paginator/ This does not produce the above error, but seems to be somehow ignoring the sitemap alltogether and displays a blank page. Any ideas? Cheers, -Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !-- === * === * | Apache Cocoon Build System | * === * CVS: $Id: build.xml,v 1.357 2003/03/08 14:16:16 sylvain Exp $: -- project default=webapp basedir=. name=Apache Cocoon !-- Initialization Targets -- target name=init echo- WARNING!!! ---/echo echoThe build system is undergoing major redesign. Parts of the system might/echo echonot work as expected. We apologize for the inconvenience but we are /echo echoworking to make things easier for you. Thank you for your patience. /echo echo/echo !-- Set the timestamps -- tstamp/ !-- Get the (constant) cocoon properties -- property file=src/java/org/apache/cocoon/cocoon.properties/ !-- Detecting the current jvm -- condition property=target.vm value=1.4 equals arg1=1.4 arg2=${ant.java.version}/ /condition condition property=target.vm value=1.2 not equals arg1=1.4
Re: Paginator Transformer
sure... here it is - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:38 AM Subject: Re: Paginator Transformer I'll check on this tonight. Is there any chance that you're using an older checkout? What module name are you using? xml-cocoon2 or cocoon-2.1 ? The first is supposed to invisibly mirror the second (I think), but you never know. Geoff At 11:31 AM 3/31/2003, you wrote: OK, I fixed the jar and it worked, however, sounds like the build still needs to be fixed. Also, I've noticed that cocoon-scatchpad.jar does not get copied into the WEB-INF/lib directory. Thanks for your help, Geoff. --- Alex Romayev [EMAIL PROTECTED] wrote: I'm using 2.1dev from yesterday. How would I fix the jar? --- Geoff Howard [EMAIL PROTECTED] wrote: Is this 2.1dev or 2.0.4? I seem to remember this problem from 2.1dev a month or so ago but it should now be fixed - if not, let me know. Your choices will be to update from cvs or to manually fix the jar. I'd recommend the first but I or someone else can help you with the second if need be. The classes must be in org/apache/ - dest was put in by mistake due to a misconfiguration of the build process. Geoff At 11:08 AM 3/31/2003, you wrote: Hi, I'm having problems declaring Paginator in my sitemap, I suspect this has to do with the new build system. Here is what I have in the sitemap: map:transformer name=paginate src=org.apache.cocoon.transformation.pagination.Paginator/ This gives me: ERROR (2003-03-31) 10:44.11:673 [sitemap] (/cocoon/romayev/) Thread-7/ExtendedComponentSelector: Could not load class org.apache.cocoon.transformation.pagination.Paginator for component named 'paginate' at file:/C:/dev/jakarta-tomcat-4.1.18/webapps/cocoon/romayev/sitemap.xmap:17 :101 java.lang.ClassNotFoundException: org.apache.cocoon.transformation.pagination.Paginator I noticed that in cocoon-scratchpad.jar the Paginator, as well as other classes are in: dest/org/apache/cocoon/transformation/pagination/Paginator.class -- notice the dest in the beginning. I've tried changing the sitemap to: map:transformer name=paginate src=dest.org.apache.cocoon.transformation.pagination.Paginator/ This does not produce the above error, but seems to be somehow ignoring the sitemap alltogether and displays a blank page. Any ideas? Cheers, -Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !-- === * === * | Apache Cocoon Build System | * === * CVS: $Id: build.xml,v 1.357 2003/03/08 14:16:16 sylvain Exp $: -- project default=webapp basedir=. name=Apache Cocoon !-- Initialization Targets -- target name=init echo- WARNING!!! ---/echo echoThe build system is undergoing major redesign. Parts of the system might/echo echonot work as expected. We apologize for the inconvenience but we are /echo echoworking to make things easier for you. Thank you for your patience. /echo echo/echo !-- Set the timestamps -- tstamp/ !-- Get the (constant) cocoon properties -- property file=src/java/org/apache/cocoon/cocoon.properties/ !-- Detecting the current jvm -- condition property=target.vm value=1.4 equals arg1=1.4 arg2=${ant.java.version}/ /condition condition property=target.vm value=1.2 not equals arg1=1.4