Re: Cocoon 2.2 and OSGI
Hi Fawzib, There are certainly traces of such attempts, for instance: cocoon-xml 2.0.3-SNAPSHOT bundle Anyone knows more? Jos On 03/02/2012 04:20 PM, Fawzib Rojas wrote: I have been working in Glassfish and OSGI and was wondering, did Cocoon 2.2 was ever made into an OSGI bundle? I googled some info about it and all I saw was some messages from 2005-2008 talking about it and a wiki page about "experimenting" with it, last edited on 2009. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: How/where to create a sitemap in a generated Cocoon 3 web app?
Simone, The development work done on Cocoon is very much appreciated. Last summer, I did a reevaluation of Cocoon for a company project, after our using it for several years. I came close to switching to another framework, mainly because of the slow pace of development and low activity on the mailing lists over the last few years. Three things changed my mind: 1) The release of an alpha and a beta of C3 in fairly quick succession last July or so. 2) I couldn't find any other framework that did the things we needed Cocoon for, nearly as well as Cocoon! There were a couple of promising ones, but they had not matured to full release. And 3) our org was able to hire one of the Cocoon committers to port a database component that we needed from C2 to C3. He did it promptly and for a very reasonable fee. It would have taken us 10x as long to do it ourselves. So, Mark, while I identify with your disappointment at having invested in Cocoon and then feeling abandoned, I would say you do have clear options: if it's important to your work, it may be well worth hiring one of the committers to get the bugs fixed (or features implemented) that are most urgent for you. It would also give a shot of vitality into the arm of the Cocoon dev / user community. Lars On 3/2/2012 1:50 PM, Simone Tripodi wrote: Hi Mark, apologize if Cocoon doesn't satisfy your expectations, but please take in consideration that actually there is not even a single entity sponsoring Cocoon development - I mean, no one of us is dedicated 100% of paid time to Cocoon - so everybody involved here is juts a volunteer that participates in his spare time. I hope you'll understand that behind mail addresses there are human beings with feelings and families, so we cannot dedicate the our free time only on OSS projects - even if we would like to do it :P Many thanks in advance for understanding and stay tuned! Best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Fri, Mar 2, 2012 at 2:52 PM, Mark H. Wood wrote: On Fri, Mar 02, 2012 at 10:08:41AM +0100, Francesco Chicchiriccò wrote: On 02/03/2012 07:47, Jos Snellings wrote: [...] And true, the documentation on the site does not make it easy enough to step up the threshold and upgrade. [@group: shouldn't we do something about that. Cocoon is losing its user base, it will end up getting adopted only by a few old people out there. It is gaining momentum on the planet Zork but that's not going to help us on Earth, is it?] I agree: should we move to dev ML and discuss this "getting started / documentation" topic? I hope this helps you on the way. It would make me very happy to know that I am not one of the sole developers on this planet who chose cocoon 3 as a development platform, for the few times in your life that you are in the position to make this choice for your customer! I chose for cocoon 3 because I liked the new architecture. Maybe if it were RELEASED From the cocoon.apache.org homepage: Apache Cocoon 3 Corona was accepted by the Cocoon PMC to become Apache Cocoon 3. The Cocoon 3 website has more details. A first ALPHA release will follow soon. [more] submitted by Reinhard P�tz, 8/14/08 7:23:55 AM [That is the LATEST entry in the News section.] Download the latest version: Apache Cocoon Version 2.2.0 Some documentation that tells us a little more than "TBD" would also help promote Cocoon. I have what I think is still the latest book on Cocoon. It's from 2003. IIRC 2.1 entered beta while the book was being completed. It has a whole chapter about Avalon, which you can hardly even find anymore. It's still a godsend if you want to find out how Cocoon was meant to be used. For everyone outside the project, 2.2 hasn't quite finished happening yet and 3.0 is just a wild rumor. People who built their products around Cocoon feel abandoned. Nothing is happening. Bug reports seem to be immortal -- even the ones with fixes attached. Gee, why would Cocoon be losing its user base? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: How/where to create a sitemap in a generated Cocoon 3 web app?
Hi Mark, apologize if Cocoon doesn't satisfy your expectations, but please take in consideration that actually there is not even a single entity sponsoring Cocoon development - I mean, no one of us is dedicated 100% of paid time to Cocoon - so everybody involved here is juts a volunteer that participates in his spare time. I hope you'll understand that behind mail addresses there are human beings with feelings and families, so we cannot dedicate the our free time only on OSS projects - even if we would like to do it :P Many thanks in advance for understanding and stay tuned! Best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Fri, Mar 2, 2012 at 2:52 PM, Mark H. Wood wrote: > On Fri, Mar 02, 2012 at 10:08:41AM +0100, Francesco Chicchiriccò wrote: >> On 02/03/2012 07:47, Jos Snellings wrote: >> > [...] >> > >> > And true, the documentation on the site does not make it easy enough >> > to step up the threshold and upgrade. >> > [@group: shouldn't we do something about that. Cocoon is losing its >> > user base, it will end up getting adopted only by a few old people out >> > there. It is gaining momentum on the planet Zork but that's not going >> > to help us on Earth, is it?] >> >> I agree: should we move to dev ML and discuss this "getting started / >> documentation" topic? >> >> > I hope this helps you on the way. It would make me very happy to know >> > that I am not one of the sole developers >> > on this planet who chose cocoon 3 as a development platform, for the >> > few times in your life that you are in the >> > position to make this choice for your customer! I chose for cocoon 3 >> > because I liked the new architecture. > > Maybe if it were RELEASED > > From the cocoon.apache.org homepage: > > Apache Cocoon 3 > Corona was accepted by the Cocoon PMC to become Apache Cocoon > 3. The Cocoon 3 website has more details. A first ALPHA release > will follow soon. [more] > submitted by Reinhard P�tz, 8/14/08 7:23:55 AM > [That is the LATEST entry in the News section.] > > Download the latest version: Apache Cocoon Version 2.2.0 > > Some documentation that tells us a little more than "TBD" would also > help promote Cocoon. > > I have what I think is still the latest book on Cocoon. It's from > 2003. IIRC 2.1 entered beta while the book was being completed. It > has a whole chapter about Avalon, which you can hardly even find > anymore. It's still a godsend if you want to find out how Cocoon was > meant to be used. > > For everyone outside the project, 2.2 hasn't quite finished happening > yet and 3.0 is just a wild rumor. People who built their products > around Cocoon feel abandoned. Nothing is happening. Bug reports seem > to be immortal -- even the ones with fixes attached. > > Gee, why would Cocoon be losing its user base? > > -- > Mark H. Wood, Lead System Programmer mw...@iupui.edu > Asking whether markets are efficient is like asking whether people are smart. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: How/where to create a sitemap in a generated Cocoon 3 web app?
Well, that's two of us. In fact, three, as Francesco would be willing to contribute as well. The mail is a good starting point. And then I notice a **strong** suggestion to release. Put that together and we can get this thing rolling again! Let's rock! Have a nice weekend, Jos On 03/02/2012 04:30 PM, Lars Huttar wrote: Jos, thanks for these helpful instructions! I will create a sitemap at src/main/resources/COB-INF/sitemap.xmap and see how far that gets me. I agree, it would be very helpful to have a tutorial for newbies! I'll be happy to make a contribution. Lars On 3/2/2012 12:47 AM, Jos Snellings wrote: Hi Lars, The instructions on the site are obscure because they presuppose a good deal of Maven knowledge. Maven helps you to build the project: it puts all the files you need together and at first it feels metaphysical (hey, will you let me control my own build?). But here's what I do: ThingToKnow1: the elements you want to expose, and your sitemap are in the "block". Your "cocoon webapp" is going to "mount" (my word choice) the blocks on a virtual path. ThingToKnow2: You control Mavens behaviour through editing pom.xml. Add your Cocoon block as dependency means that you are going to edit the pom.xml. 1. create the webapp from the archetype. The webapp contains close to nothing. It will contain close to nothing. It should contain the "canonical structure" of a web project: pom.xml main main/resources main/webapp main/webapp/WEB-INF main/webapp/WEB-INF/applicationContext.xml main/webapp/WEB-INF/log4j.xml main/webapp/WEB-INF/web.xml Edit pom.xml, you will see the section "dependencies". Add the dependency for the block you want to add (I said "mount", but I guess that is old fashioned). org.tiaterra myCocoonBlock 1.0.0-SNAPSHOT 2. create your block from the archetype This will create a structure like: src src/test src/test/resources src/test/java src/main src/main/resources src/main/resources/COB-INF src/main/resources/COB-INF/javascript src/main/resources/COB-INF/xslt src/main/resources/COB-INF/images src/main/resources/COB-INF/style src/main/resources/COB-INF/style/images src/main/resources/COB-INF/static-content src/main/resources/META-INF src/main/resources/META-INF/cocoon src/main/resources/META-INF/cocoon/spring src/main/java src/main/java/org src/main/java/org/tanteterra Your site map is at: src/main/resources/COB-INF/sitemap.xmap And true, the documentation on the site does not make it easy enough to step up the threshold and upgrade. [@group: shouldn't we do something about that. Cocoon is losing its user base, it will end up getting adopted only by a few old people out there. It is gaining momentum on the planet Zork but that's not going to help us on Earth, is it?] I hope this helps you on the way. It would make me very happy to know that I am not one of the sole developers on this planet who chose cocoon 3 as a development platform, for the few times in your life that you are in the position to make this choice for your customer! I chose for cocoon 3 because I liked the new architecture. [@group: this can be the start for a tutorial for newbies, someone interested? I feel that the maven integration and the spring part deserve better explanation, they are way too arcane for starters. A tutorial could explain how to get things done without first studying two other frameworks.] Kind regards, Jos Snellings
Re: How/where to create a sitemap in a generated Cocoon 3 web app?
Jos, thanks for these helpful instructions! I will create a sitemap at src/main/resources/COB-INF/sitemap.xmap and see how far that gets me. I agree, it would be very helpful to have a tutorial for newbies! I'll be happy to make a contribution. Lars On 3/2/2012 12:47 AM, Jos Snellings wrote: Hi Lars, The instructions on the site are obscure because they presuppose a good deal of Maven knowledge. Maven helps you to build the project: it puts all the files you need together and at first it feels metaphysical (hey, will you let me control my own build?). But here's what I do: ThingToKnow1: the elements you want to expose, and your sitemap are in the "block". Your "cocoon webapp" is going to "mount" (my word choice) the blocks on a virtual path. ThingToKnow2: You control Mavens behaviour through editing pom.xml. Add your Cocoon block as dependency means that you are going to edit the pom.xml. 1. create the webapp from the archetype. The webapp contains close to nothing. It will contain close to nothing. It should contain the "canonical structure" of a web project: pom.xml main main/resources main/webapp main/webapp/WEB-INF main/webapp/WEB-INF/applicationContext.xml main/webapp/WEB-INF/log4j.xml main/webapp/WEB-INF/web.xml Edit pom.xml, you will see the section "dependencies". Add the dependency for the block you want to add (I said "mount", but I guess that is old fashioned). org.tiaterra myCocoonBlock 1.0.0-SNAPSHOT 2. create your block from the archetype This will create a structure like: src src/test src/test/resources src/test/java src/main src/main/resources src/main/resources/COB-INF src/main/resources/COB-INF/javascript src/main/resources/COB-INF/xslt src/main/resources/COB-INF/images src/main/resources/COB-INF/style src/main/resources/COB-INF/style/images src/main/resources/COB-INF/static-content src/main/resources/META-INF src/main/resources/META-INF/cocoon src/main/resources/META-INF/cocoon/spring src/main/java src/main/java/org src/main/java/org/tanteterra Your site map is at: src/main/resources/COB-INF/sitemap.xmap And true, the documentation on the site does not make it easy enough to step up the threshold and upgrade. [@group: shouldn't we do something about that. Cocoon is losing its user base, it will end up getting adopted only by a few old people out there. It is gaining momentum on the planet Zork but that's not going to help us on Earth, is it?] I hope this helps you on the way. It would make me very happy to know that I am not one of the sole developers on this planet who chose cocoon 3 as a development platform, for the few times in your life that you are in the position to make this choice for your customer! I chose for cocoon 3 because I liked the new architecture. [@group: this can be the start for a tutorial for newbies, someone interested? I feel that the maven integration and the spring part deserve better explanation, they are way too arcane for starters. A tutorial could explain how to get things done without first studying two other frameworks.] Kind regards, Jos Snellings
Cocoon 2.2 and OSGI
I have been working in Glassfish and OSGI and was wondering, did Cocoon 2.2 was ever made into an OSGI bundle? I googled some info about it and all I saw was some messages from 2005-2008 talking about it and a wiki page about "experimenting" with it, last edited on 2009. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: How/where to create a sitemap in a generated Cocoon 3 web app?
On Fri, Mar 02, 2012 at 10:08:41AM +0100, Francesco Chicchiriccò wrote: > On 02/03/2012 07:47, Jos Snellings wrote: > > [...] > > > > And true, the documentation on the site does not make it easy enough > > to step up the threshold and upgrade. > > [@group: shouldn't we do something about that. Cocoon is losing its > > user base, it will end up getting adopted only by a few old people out > > there. It is gaining momentum on the planet Zork but that's not going > > to help us on Earth, is it?] > > I agree: should we move to dev ML and discuss this "getting started / > documentation" topic? > > > I hope this helps you on the way. It would make me very happy to know > > that I am not one of the sole developers > > on this planet who chose cocoon 3 as a development platform, for the > > few times in your life that you are in the > > position to make this choice for your customer! I chose for cocoon 3 > > because I liked the new architecture. Maybe if it were RELEASED From the cocoon.apache.org homepage: Apache Cocoon 3 Corona was accepted by the Cocoon PMC to become Apache Cocoon 3. The Cocoon 3 website has more details. A first ALPHA release will follow soon. [more] submitted by Reinhard P�tz, 8/14/08 7:23:55 AM [That is the LATEST entry in the News section.] Download the latest version: Apache Cocoon Version 2.2.0 Some documentation that tells us a little more than "TBD" would also help promote Cocoon. I have what I think is still the latest book on Cocoon. It's from 2003. IIRC 2.1 entered beta while the book was being completed. It has a whole chapter about Avalon, which you can hardly even find anymore. It's still a godsend if you want to find out how Cocoon was meant to be used. For everyone outside the project, 2.2 hasn't quite finished happening yet and 3.0 is just a wild rumor. People who built their products around Cocoon feel abandoned. Nothing is happening. Bug reports seem to be immortal -- even the ones with fixes attached. Gee, why would Cocoon be losing its user base? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpHCCLjLymBO.pgp Description: PGP signature
Re: How/where to create a sitemap in a generated Cocoon 3 web app?
On 02/03/2012 07:47, Jos Snellings wrote: > [...] > > And true, the documentation on the site does not make it easy enough > to step up the threshold and upgrade. > [@group: shouldn't we do something about that. Cocoon is losing its > user base, it will end up getting adopted only by a few old people out > there. It is gaining momentum on the planet Zork but that's not going > to help us on Earth, is it?] I agree: should we move to dev ML and discuss this "getting started / documentation" topic? > I hope this helps you on the way. It would make me very happy to know > that I am not one of the sole developers > on this planet who chose cocoon 3 as a development platform, for the > few times in your life that you are in the > position to make this choice for your customer! I chose for cocoon 3 > because I liked the new architecture. You're not alone, Jos! We are trying to push a C3-based front-end framework for Hippo CMS [1]: we've been quiet for a while, but things should start rolling again soon... > [@group: this can be the start for a tutorial for newbies, someone > interested? I feel that the maven integration and > the spring part deserve better explanation, they are way too arcane > for starters. A tutorial could explain how to get things > done without first studying two other frameworks.] Agreed: see my comment above. I hope that Lars will keep trying with C3, and maybe discover what's new behind traditional sitemap way to pipelines! Cheers. [1] https://forge.onehippo.org/gf/project/hct/ -- Francesco Chicchiriccò Apache Cocoon PMC and Apache Syncope PPMC Member http://people.apache.org/~ilgrosso/