You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ken Starks <ke...@lampsacos.demon.co.uk> on 2008/06/02 14:11:04 UTC

Problems or Misconceptions ? on Cocoon 2.2

was 'Re: Cocoon 2.2 resources outside of a Block'  in which
Grzegorz Kossakowski wrote:
> Dominic Tootell wrote:
>   
>> Hi Grzegorz,
>>
>> <snip>
>>     

> Dominic, you would better have watched my video before posting anything
> here. ;-)
> Actually, what you described above is what our RCL (Maven plug-in) does
> but it does it in much convenient way with more features and multi-block
> support...
>
> The video shows how you can modify Java classes and Spring configuration
> and see changes immediately but (obviously) the same applies to other
> block resources like XML files, sitemaps, CSS etc.
>
>
> After seeing all these e-mails complaining about some non-existing
> problems of C2.2 I think it's right time to prepare "Top 10
> misconceptions on Cocoon 2.2".
> Something to worth consideration...
>
>   

If people have these misconceptions, it can only be because the 
documentation is
misleading or otherwise flawed. Don't try to push the blame onto the 
users for
not understanding it just because they are not so immersed in Java and the
whole gamut of Apache projects as you are.

To me the intr

So don't use: 
  Existing documentation + Top 10 misconceptions

Do use:
  Rewritten documentation

-------------------------------------------------

In my opinion, it is very off-putting that the FIRST example
includes a 'Spring Bean'. Any use whatever of Java
should be in the 'advanced' examples.

No. 1)  should serve a static page
No. 2)  should have a single XML->(XSLT)->HTML  pipeline
No. 3)  should have  XML  inputs and a few outputs
No. 4)  should be similar in functionality to the 'Hello World' samples


+++++++++++++++++++++++++++++++++

I liked the video, as I said before, but so far I have not been able to 
get my
system to behave the same way.  Firstly, I don't (yet) have the RCL plug-in.
Actually, I was looking for an eclipse plug-in.

+++++++++++++++++++++++++++++++++

Secondly, neither the modified Spring Bean nor the original one seem
to work. (Maven is compiling the new version, which I confirmed by
deleting its class file and seeing it reappear ). But the output  of

http://localhost:8888/myBlock1/spring-bean

remains the same:

<demo>
<module>com.mycompany:myBlock1</module>
<spring>#message</spring>
</demo>

Do I need to install the Spring Framework, or what ?

++++++++++++++++++++++++++++++++++++

Thirdly, will I be able to get a modified Cocoon project
to auto-run under Tomcat rather than jetty?
(XML-modified, not Java-modified so it does
not need a compile stage)

I am not used to having a separate 'deploy to Tomcat'
stage once I have the basics working, and just want to
make minor adjustments. In fact, I have NEVER used
jetty since I first installed Cocoon several years ago.
And I don't normally have two versions of a project,
I just modify things in place, in the Tomcat webapps
directories. I don't need to stop and restart Cocoon.

+++++++++++++++++++++++++++++++++++++






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Problems or Misconceptions ? on Cocoon 2.2

Posted by Vyacheslav Sedov <vy...@gmail.com>.
by the way - where i can find sample where xml transformed by xslt
generated by other xslt from some xml
(it is Schematron workflow)

with best wishes,
Slav

On Mon, Jun 2, 2008 at 4:11 PM, Ken Starks <ke...@lampsacos.demon.co.uk> wrote:
> was 'Re: Cocoon 2.2 resources outside of a Block'  in which
> Grzegorz Kossakowski wrote:
>>
>> Dominic Tootell wrote:
>>
>>>
>>> Hi Grzegorz,
>>>
>>> <snip>
>>>
>
>> Dominic, you would better have watched my video before posting anything
>> here. ;-)
>> Actually, what you described above is what our RCL (Maven plug-in) does
>> but it does it in much convenient way with more features and multi-block
>> support...
>>
>> The video shows how you can modify Java classes and Spring configuration
>> and see changes immediately but (obviously) the same applies to other
>> block resources like XML files, sitemaps, CSS etc.
>>
>>
>> After seeing all these e-mails complaining about some non-existing
>> problems of C2.2 I think it's right time to prepare "Top 10
>> misconceptions on Cocoon 2.2".
>> Something to worth consideration...
>>
>>
>
> If people have these misconceptions, it can only be because the
> documentation is
> misleading or otherwise flawed. Don't try to push the blame onto the users
> for
> not understanding it just because they are not so immersed in Java and the
> whole gamut of Apache projects as you are.
>
> To me the intr
>
> So don't use:  Existing documentation + Top 10 misconceptions
>
> Do use:
>  Rewritten documentation
>
> -------------------------------------------------
>
> In my opinion, it is very off-putting that the FIRST example
> includes a 'Spring Bean'. Any use whatever of Java
> should be in the 'advanced' examples.
>
> No. 1)  should serve a static page
> No. 2)  should have a single XML->(XSLT)->HTML  pipeline
> No. 3)  should have  XML  inputs and a few outputs
> No. 4)  should be similar in functionality to the 'Hello World' samples
>
>
> +++++++++++++++++++++++++++++++++
>
> I liked the video, as I said before, but so far I have not been able to get
> my
> system to behave the same way.  Firstly, I don't (yet) have the RCL plug-in.
> Actually, I was looking for an eclipse plug-in.
>
> +++++++++++++++++++++++++++++++++
>
> Secondly, neither the modified Spring Bean nor the original one seem
> to work. (Maven is compiling the new version, which I confirmed by
> deleting its class file and seeing it reappear ). But the output  of
>
> http://localhost:8888/myBlock1/spring-bean
>
> remains the same:
>
> <demo>
> <module>com.mycompany:myBlock1</module>
> <spring>#message</spring>
> </demo>
>
> Do I need to install the Spring Framework, or what ?
>
> ++++++++++++++++++++++++++++++++++++
>
> Thirdly, will I be able to get a modified Cocoon project
> to auto-run under Tomcat rather than jetty?
> (XML-modified, not Java-modified so it does
> not need a compile stage)
>
> I am not used to having a separate 'deploy to Tomcat'
> stage once I have the basics working, and just want to
> make minor adjustments. In fact, I have NEVER used
> jetty since I first installed Cocoon several years ago.
> And I don't normally have two versions of a project,
> I just modify things in place, in the Tomcat webapps
> directories. I don't need to stop and restart Cocoon.
>
> +++++++++++++++++++++++++++++++++++++
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org