cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <>
Subject Re: Meet Cocoon CLI
Date Wed, 02 Nov 2011 09:52:20 GMT
Hi Thorsten
apologize for my ignorance but I didn't know C2 had a CLI tool :( Even
if I heard a lot about C2, I joined Cocoon community directly to the
new generation :P

Code is already available on our Cocoon SCM[1], as you can see it is
something really easy - more PoC that a working app - based on Apache

I didn't think about how many/which feature the CLI tool should
support - ATM it just takes in input IDs and prints pielines result -
so every suggestion/participation is more than welcome... there is
still a lot of work to do :P

All the best, have a nice day!


On Wed, Nov 2, 2011 at 10:16 AM, Thorsten Scherler <> wrote:
> On Tue, 2011-11-01 at 21:21 +0100, Simone Tripodi wrote:
>> Hi all guys,
>> I took advantage from today that's been a vacation day here to play
>> and experiment a little a new cocoon application I proposed time ago,
>> called cocoon-cli.
>> I had a private conversation with Cedri Beust, the author of
>> JCommander, that gave me a little suggestion how to NOT make a CLI
>> application :P
>> So, what I did today is replicating the Apache Ant/Maven behavior, I
>> mean, cocoon-cli is a console application that takes in input an XML
>> pipeline descriptor - called c3p.xml by default - that looks like very
>> similar to ant build.xml file:
>> {code}
>> <pipelines name="Cocoon Pipelines test" default="id0">
>>   <pipeline id="id0">
>>     <generator src="${user.dir}/src/test/resources/missing-elements.xml" />
>>     <serializer />
>>   </pipeline>
>>   <pipeline id="id1">
>>     <generator src="${user.dir}/src/test/resources/missing-elements.xml" />
>>     <serializer />
>>   </pipeline>
>> </pipelines>
>> {code}
> Do you create a java pipeline with that? Can you point me to the code?
> Have you plans to add matchers, actions and alike components support?
> I should finally use droids to bring back the cocoon cli crawler (c3
> droids) to crawl a c3 page.
> Not sure whether people still remember the "old" cli of cocoon, but
> basically apache forrest is using it as key feature to generate offline
> documentation in different formats crawling the documentation page.
> In Droids we have an approach that Bertli brought up on the ml where we
> use c3 pipelines to invoke business operation on a task (link). His
> usecase was to parse a html page and index it to solr.
> Florent another user was suggesting something like the above to
> configure c3 in droids, so your approach sound interesting to adopt.
> Need to find some time somewhere.
> salu2
> --
> Thorsten Scherler <>
> codeBusters S.L. - web based systems
> <consulting, training and solutions>

View raw message