Re: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs doc]

2012-03-23 Thread Simone Tripodi
Hi Francesco,

thanks a lot once again for the HARD work!

I agree that this is not the nicer solution, we can do a little step
better: IMHO the root parent pom has to become the parent. It allows
listing all the modules just once and we can simplify the structure,
see Apache Any23 or Apache Amber or Apache DirectMemory.

thoughts?
many thanks in advance and have a nice weekend!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



2012/3/23 Francesco Chicchiriccò :
> Hi all,
> I have just finished merging cocoon-docs into parent; I've also updated
> RELEASE_HOWTO.txt and cocoon-all assembly.
>
> Generating site & docs is now available via
>
> mvn -P reports site-deploy -Ddocs.deploymentBaseUrl=file://[path-to-site]
>
> from the 'parent' module.
>
> Updated website and javadocs have been published.
>
> Unfortunately, I had to list modules inside reports profile (otherwise
> javadoc reports would have not been generated), leading to a situation
> in which modules are listed either in root POM and in parent POM.
>
> I am not satisfied of this, but I wasn't able to find a better solution:
> any idea?
> Maybe it's time to give a little refactor to our POM structure...
>
> Regards.
>
> On 23/03/2012 14:57, Robby Pelssers wrote:
>> Amen !!
>>
>> -Original Message-
>> From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf 
>> Of Simone Tripodi
>> Sent: Friday, March 23, 2012 2:56 PM
>> To: dev@cocoon.apache.org
>> Subject: Re: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online 
>> APIs doc]
>>
>> thanks a lot for the hard work Francesco, you're the Cocoon Champion
>> of the month!!!
>>
>> +1 for your proposal, it makes a lot of sense. no reason to wait IMHO,
>> you could safety go ahead :)
>>
>> all the best and thanks once again,
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>>
>> 2012/3/23 Francesco Chicchiriccò :
>>> On 23/03/2012 10:39, Simone Tripodi wrote:
>>>
>>> You can update the whole site - dind't have the chance unfortunately
>>> to link produced javadocs, so feel free to push them if you have time!
>>>
>>>
>>> Javadocs for C2.1 and C2.2 are online.
>>>
>>> About C3, I have a little issue.
>>>
>>> Currently, site generation is handled by cocoon-docs: this is causing me
>>> troubles when I try to add javadoc reporting, since aggregation [1] seems to
>>> work for submodules.
>>>
>>> Hence my proposal: why don't we simply merge cocoon-docs into parent so site
>>> generation (including javadoc reporting) takes place there?
>>>
>>> WDYT?
>>>
>>> Regards.
>>>
>>> [1]
>>> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>>>
>>> 2012/3/23 Francesco Chicchiriccò :
>>>
>>> On 20/03/2012 08:46, Simone Tripodi wrote:
>>>
>>> Hi all guys,
>>>
>>> after many users request - last just received on user@ - I would
>>> suggest to deploy APIs doc on SVN to make them available online.
>>> If no objections will be shown in the next 72h, I'll proceed on
>>> deploying the C3 - guess I'll need help on deploying the C2.X
>>> versions.
>>>
>>> WDYT?
>>>
>>> No objects were found and more than 72 hours passed, hence I am about to
>>> publish C2.1 and C2.2 javadocs.
>>>
>>> Simone, how is the situation for C3's?
>>>
>>> Cheers.
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/
>


[jira] [Commented] (COCOON3-94) Extend Action to allow to use @src and parameter from within the sitemap

2012-03-23 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236791#comment-13236791
 ] 

Hudson commented on COCOON3-94:
---

Integrated in Cocoon-trunk #160 (See 
[https://builds.apache.org/job/Cocoon-trunk/160/])
COCOON3-94
Bring back old school way of actions back to c3. Although it is not 100% like 
we had in c2.x since the body of an action ATM is ignore. (Revision 1304459)

 Result = FAILURE
thorsten : http://svn.apache.org/viewvc/?view=rev&rev=1304459
Files : 
* 
/cocoon/cocoon3/trunk/cocoon-sample/src/main/java/org/apache/cocoon/sample/action/ErrorThrowingAction.java
* 
/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/Invocation.java
* 
/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
* 
/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/action/Action.java
* 
/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/ActNode.java


> Extend Action to allow to use @src and parameter from within the sitemap
> 
>
> Key: COCOON3-94
> URL: https://issues.apache.org/jira/browse/COCOON3-94
> Project: Cocoon 3
>  Issue Type: Improvement
>  Components: cocoon-sitemap
>Affects Versions: 3.0.0-beta-1
>Reporter: Thorsten Scherler
>Priority: Critical
> Fix For: 3.0.0-beta-1
>
>
> In cocoon 2.x you can use the src attribute and further use map:parameter to 
> configure an action. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs doc]

2012-03-23 Thread Francesco Chicchiriccò
Hi all,
I have just finished merging cocoon-docs into parent; I've also updated
RELEASE_HOWTO.txt and cocoon-all assembly.

Generating site & docs is now available via

mvn -P reports site-deploy -Ddocs.deploymentBaseUrl=file://[path-to-site]

from the 'parent' module.

Updated website and javadocs have been published.

Unfortunately, I had to list modules inside reports profile (otherwise
javadoc reports would have not been generated), leading to a situation
in which modules are listed either in root POM and in parent POM.

I am not satisfied of this, but I wasn't able to find a better solution:
any idea?
Maybe it's time to give a little refactor to our POM structure...

Regards.

On 23/03/2012 14:57, Robby Pelssers wrote:
> Amen !!
>
> -Original Message-
> From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf Of 
> Simone Tripodi
> Sent: Friday, March 23, 2012 2:56 PM
> To: dev@cocoon.apache.org
> Subject: Re: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs 
> doc]
>
> thanks a lot for the hard work Francesco, you're the Cocoon Champion
> of the month!!!
>
> +1 for your proposal, it makes a lot of sense. no reason to wait IMHO,
> you could safety go ahead :)
>
> all the best and thanks once again,
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> 2012/3/23 Francesco Chicchiriccò :
>> On 23/03/2012 10:39, Simone Tripodi wrote:
>>
>> You can update the whole site - dind't have the chance unfortunately
>> to link produced javadocs, so feel free to push them if you have time!
>>
>>
>> Javadocs for C2.1 and C2.2 are online.
>>
>> About C3, I have a little issue.
>>
>> Currently, site generation is handled by cocoon-docs: this is causing me
>> troubles when I try to add javadoc reporting, since aggregation [1] seems to
>> work for submodules.
>>
>> Hence my proposal: why don't we simply merge cocoon-docs into parent so site
>> generation (including javadoc reporting) takes place there?
>>
>> WDYT?
>>
>> Regards.
>>
>> [1]
>> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>>
>> 2012/3/23 Francesco Chicchiriccò :
>>
>> On 20/03/2012 08:46, Simone Tripodi wrote:
>>
>> Hi all guys,
>>
>> after many users request - last just received on user@ - I would
>> suggest to deploy APIs doc on SVN to make them available online.
>> If no objections will be shown in the next 72h, I'll proceed on
>> deploying the C3 - guess I'll need help on deploying the C2.X
>> versions.
>>
>> WDYT?
>>
>> No objects were found and more than 72 hours passed, hence I am about to
>> publish C2.1 and C2.2 javadocs.
>>
>> Simone, how is the situation for C3's?
>>
>> Cheers.
-- 
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/



[jira] [Closed] (COCOON3-94) Extend Action to allow to use @src and parameter from within the sitemap

2012-03-23 Thread Thorsten Scherler (Closed) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler closed COCOON3-94.


Resolution: Fixed

Committed revision 1304459.

> Extend Action to allow to use @src and parameter from within the sitemap
> 
>
> Key: COCOON3-94
> URL: https://issues.apache.org/jira/browse/COCOON3-94
> Project: Cocoon 3
>  Issue Type: Improvement
>  Components: cocoon-sitemap
>Affects Versions: 3.0.0-beta-1
>Reporter: Thorsten Scherler
>Priority: Critical
> Fix For: 3.0.0-beta-1
>
>
> In cocoon 2.x you can use the src attribute and further use map:parameter to 
> configure an action. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (COCOON3-94) Extend Action to allow to use @src and parameter from within the sitemap

2012-03-23 Thread Thorsten Scherler (Created) (JIRA)
Extend Action to allow to use @src and parameter from within the sitemap


 Key: COCOON3-94
 URL: https://issues.apache.org/jira/browse/COCOON3-94
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-sitemap
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
Priority: Critical
 Fix For: 3.0.0-beta-1


In cocoon 2.x you can use the src attribute and further use map:parameter to 
configure an action. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




RE: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs doc]

2012-03-23 Thread Robby Pelssers
Amen !!

-Original Message-
From: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] On Behalf Of 
Simone Tripodi
Sent: Friday, March 23, 2012 2:56 PM
To: dev@cocoon.apache.org
Subject: Re: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs 
doc]

thanks a lot for the hard work Francesco, you're the Cocoon Champion
of the month!!!

+1 for your proposal, it makes a lot of sense. no reason to wait IMHO,
you could safety go ahead :)

all the best and thanks once again,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



2012/3/23 Francesco Chicchiriccò :
> On 23/03/2012 10:39, Simone Tripodi wrote:
>
> You can update the whole site - dind't have the chance unfortunately
> to link produced javadocs, so feel free to push them if you have time!
>
>
> Javadocs for C2.1 and C2.2 are online.
>
> About C3, I have a little issue.
>
> Currently, site generation is handled by cocoon-docs: this is causing me
> troubles when I try to add javadoc reporting, since aggregation [1] seems to
> work for submodules.
>
> Hence my proposal: why don't we simply merge cocoon-docs into parent so site
> generation (including javadoc reporting) takes place there?
>
> WDYT?
>
> Regards.
>
> [1]
> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>
> 2012/3/23 Francesco Chicchiriccò :
>
> On 20/03/2012 08:46, Simone Tripodi wrote:
>
> Hi all guys,
>
> after many users request - last just received on user@ - I would
> suggest to deploy APIs doc on SVN to make them available online.
> If no objections will be shown in the next 72h, I'll proceed on
> deploying the C3 - guess I'll need help on deploying the C2.X
> versions.
>
> WDYT?
>
> No objects were found and more than 72 hours passed, hence I am about to
> publish C2.1 and C2.2 javadocs.
>
> Simone, how is the situation for C3's?
>
> Cheers.
>
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/


Re: [C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs doc]

2012-03-23 Thread Simone Tripodi
thanks a lot for the hard work Francesco, you're the Cocoon Champion
of the month!!!

+1 for your proposal, it makes a lot of sense. no reason to wait IMHO,
you could safety go ahead :)

all the best and thanks once again,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



2012/3/23 Francesco Chicchiriccò :
> On 23/03/2012 10:39, Simone Tripodi wrote:
>
> You can update the whole site - dind't have the chance unfortunately
> to link produced javadocs, so feel free to push them if you have time!
>
>
> Javadocs for C2.1 and C2.2 are online.
>
> About C3, I have a little issue.
>
> Currently, site generation is handled by cocoon-docs: this is causing me
> troubles when I try to add javadoc reporting, since aggregation [1] seems to
> work for submodules.
>
> Hence my proposal: why don't we simply merge cocoon-docs into parent so site
> generation (including javadoc reporting) takes place there?
>
> WDYT?
>
> Regards.
>
> [1]
> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>
> 2012/3/23 Francesco Chicchiriccò :
>
> On 20/03/2012 08:46, Simone Tripodi wrote:
>
> Hi all guys,
>
> after many users request - last just received on user@ - I would
> suggest to deploy APIs doc on SVN to make them available online.
> If no objections will be shown in the next 72h, I'll proceed on
> deploying the C3 - guess I'll need help on deploying the C2.X
> versions.
>
> WDYT?
>
> No objects were found and more than 72 hours passed, hence I am about to
> publish C2.1 and C2.2 javadocs.
>
> Simone, how is the situation for C3's?
>
> Cheers.
>
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/


[C3] Merge parent and cocoon-docs [WAS Re: [DISCUSS] online APIs doc]

2012-03-23 Thread Francesco Chicchiriccò
On 23/03/2012 10:39, Simone Tripodi wrote:
> You can update the whole site - dind't have the chance unfortunately
> to link produced javadocs, so feel free to push them if you have time!

Javadocs for C2.1 and C2.2 are online.

About C3, I have a little issue.

Currently, site generation is handled by cocoon-docs: this is causing me
troubles when I try to add javadoc reporting, since aggregation [1]
seems to work for submodules.

Hence my proposal: why don't we simply merge cocoon-docs into parent so
site generation (including javadoc reporting) takes place there?

WDYT?

Regards.

[1]
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html

> 2012/3/23 Francesco Chicchiriccò :
>> On 20/03/2012 08:46, Simone Tripodi wrote:
>>> Hi all guys,
>>>
>>> after many users request - last just received on user@ - I would
>>> suggest to deploy APIs doc on SVN to make them available online.
>>> If no objections will be shown in the next 72h, I'll proceed on
>>> deploying the C3 - guess I'll need help on deploying the C2.X
>>> versions.
>>>
>>> WDYT?
>> No objects were found and more than 72 hours passed, hence I am about to
>> publish C2.1 and C2.2 javadocs.
>>
>> Simone, how is the situation for C3's?
>>
>> Cheers.
-- 
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/



[c3] Action how to configure them from the sitemap

2012-03-23 Thread Thorsten Scherler

Hi all,

I was trying to use an action instead of a selector, but now I find that 
actions are not providing setConfiguration. Meaning I cannot do







The first @src is ignored and the map:parameter approach is neither 
working since setConfiguration are not called on actions.


So now my question is how am I suppossed to pass parameters from the 
sitemap to the action?


salu2

--
Thorsten Scherler
codeBusters S.L. - web based systems


http://www.codebusters.es/



Re: [DISCUSS] online APIs doc

2012-03-23 Thread Simone Tripodi
You can update the whole site - dind't have the chance unfortunately
to link produced javadocs, so feel free to push them if you have time!

best and thanks,
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



2012/3/23 Francesco Chicchiriccò :
> On 20/03/2012 08:46, Simone Tripodi wrote:
>> Hi all guys,
>>
>> after many users request - last just received on user@ - I would
>> suggest to deploy APIs doc on SVN to make them available online.
>> If no objections will be shown in the next 72h, I'll proceed on
>> deploying the C3 - guess I'll need help on deploying the C2.X
>> versions.
>>
>> WDYT?
>
> No objects were found and more than 72 hours passed, hence I am about to
> publish C2.1 and C2.2 javadocs.
>
> Simone, how is the situation for C3's?
>
> Cheers.
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/
>


[c3] sitemap SelectNode has no SELECT_CATEGORY, why?

2012-03-23 Thread Thorsten Scherler

Hi all,

I need the exist selector [1] in our project to use it in one general 
match. However I found out that SelectNode has no SELECT_CATEGORY so 
making it impossible to have different types of select.


Is this a design decission or is just TBD?

salu2

[1] http://cocoon.apache.org/2.1/userdocs/resourceexists-selector.html

--
Thorsten Scherler
codeBusters S.L. - web based systems


http://www.codebusters.es/



Re: [DISCUSS] online APIs doc

2012-03-23 Thread Francesco Chicchiriccò
On 20/03/2012 08:46, Simone Tripodi wrote:
> Hi all guys,
>
> after many users request - last just received on user@ - I would
> suggest to deploy APIs doc on SVN to make them available online.
> If no objections will be shown in the next 72h, I'll proceed on
> deploying the C3 - guess I'll need help on deploying the C2.X
> versions.
>
> WDYT?

No objects were found and more than 72 hours passed, hence I am about to
publish C2.1 and C2.2 javadocs.

Simone, how is the situation for C3's?

Cheers.
-- 
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/