cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: Connecting 2 blocks with C3.0
Date Mon, 25 Feb 2013 04:42:14 GMT
Francesco,
I know this is an old thread, but I was trying to update my pom.xml so
that I get the

<servlet:context mount-path="/mysite"
context-path="jar:classpath:lib/${project.build.finalName}.jar!/COB-INF/"/>

replaced by maven at build time.
Now the whole build is failing.
Is there another way to get this placeholder replaced without using
the pom included with your project, especially that it has many
missing dependencies:

[INFO] ------------------------------------------------------------------------
[INFO] Building contents SNAPSHOT-1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.springframework:spring-dao:jar:3.1.2.RELEASE
is missing, no dependency information available
[WARNING] The POM for commons-jexl:commons-jexl:jar:2.1.1 is missing,
no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.534s
[INFO] Finished at: Sun Feb 24 23:35:48 GMT 2013
[INFO] Final Memory: 7M/88M
[INFO] ------------------------------------------------------------------------

I have added the repositories to my pom.xml

On the side of this discussion, I am wondering if there is a release
date for C3.0. I have been prototyping a project for a client,
and really can not much done, due to the continuous changes introduced
to a "beta" phase !  If we can just stop changing the configurations,
and
make the project in a "Real Beta" state and focus on bug fixing and
documentation, I think it will help users like me getting things done.


Thank you.



On Mon, Feb 11, 2013 at 10:09 AM, Francesco Chicchiriccò
<ilgrosso@apache.org> wrote:
> On 09/02/2013 22:04, Mansour Al Akeel wrote:
>>
>> I am still looking for the way to call pipeline in another block and not
>> an xslt file.
>> For example:
>>
>> assuming I have a block called "contents" and the mounting path is
>> "/contents" in the active configuration.
>> What would be the url to call ?? Currently I have this:
>>
>>
>>         <map:generate
>> src="servlet:contents:/contents/documentId/{map:1}/{map:2}.xml"/>
>> My understanding (if like C2.2), I would be using:
>>
>> servlet:block-name:/mount-point/url-to-match
>>
>> Is this correct ??
>
>
> In this respect nothing has changed since C2.2: I have updated my sample
> application [1] to include a specific entry for invoking another block's
> pipeline.
> As you will see from [2] and [3], I have just applied the C2.2 instructions
> from [4].
>
> Regards.
>
> [1] https://github.com/ilgrosso/cocoon3EmptyProject/blob/COCOON3-105
> [2]
> https://github.com/ilgrosso/cocoon3EmptyProject/blob/COCOON3-105/mysite2/src/main/resources/META-INF/cocoon/spring/mysite2-servlet-service.xml
> [3]
> https://github.com/ilgrosso/cocoon3EmptyProject/blob/COCOON3-105/mysite2/rcl.properties
> [4] http://cocoon.apache.org/2.2/1291_1_1.html
>
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message