You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Francesco Chicchiriccò <il...@apache.org> on 2011/07/01 09:19:48 UTC

Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

On 30/06/2011 18:55, Andre Juffer wrote:
> Simo,
>
> how much of Cocoon 2.2's functionality is still available in Cocoon 3. 
> Using sitemaps in the 2.2 way is actually rather convenient in a 
> number of cases. I assume that this all is still possible with cocoon 3?

Hi Andre,
the "good old way" to pipelines is still there in Cocoon 3, even though 
it is - at least at the moment - provided with less components 
(generators / transformers / serializers) that 2.1 and 2.2.

To have an idea about Cocoon 3 features, I suggest you to take a quick 
look at the sources of C3 sample block [1] and C3 sample web application 
[2]: if you are familiar with 2.2, you should get easily into the code.

Moreover, consider that archetypes are also available, so you can start 
your own block with:

mvn archetype:generate \
     -DarchetypeGroupId=org.apache.cocoon.archetype-block \
     -DarchetypeArtifactId=cocoon-archetype-block \
     
-DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots 
\
     -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT

launch it with

mvn package jetty:run

and access it at http://localhost:8888/

Finally, C3 provides a native integration with Wicket in which you can 
use either the new (java) and old (XML) approach: look at this blog 
entry [3] for more details.

Cheers.

[1] https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/
[2] 
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample-webapp/
[3] 
http://chicchiricco.blogspot.com/2011/06/build-rich-xml-enabled-applications.html

> On 06/30/2011 06:52 PM, Simone Tripodi wrote:
>> Hi all guys,
>> just to let you know that Cocoon3 beta-1-SNAPSHOTs artifacts are
>> available on ASF snapshot repository, to start playing with them you
>> just need to add the ASF snapshot repository[1] in your pom.xml.
>> Enjoy and have fun, feedbacks are always appreciated!!!
>> Have a nice day,
>> Simo
>>
>> [1] https://repository.apache.org/content/groups/snapshots/
-- 
Francesco Chicchiriccò

Apache Cocoon Committer and 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


Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

Posted by Thorsten Scherler <sc...@gmail.com>.
On Fri, 2011-08-26 at 09:02 +0200, Francesco Chicchiriccò wrote:
> Il 26/08/2011 00:16, Thorsten Scherler ha scritto:
> > On Fri, 2011-07-29 at 09:36 +0200, Francesco Chicchiriccò wrote:
> > ...
> >> mvn archetype:generate \
> >>       -DarchetypeGroupId=org.apache.cocoon.archetype-block \
> >>       -DarchetypeArtifactId=cocoon-archetype-block \
> >>
> >> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
> >> \
> >>       -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
> >>       -DgroupId=com.mycompany \
> >>       -DartifactId=mysample
> > Hmm, when I do that I get
> > -----------------------------------------------------
> > this realm =
> > app0.child-container[org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT]
> > urls[0] =
> > file:/home/thorsten/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/2.1-SNAPSHOT/maven-archetype-plugin-2.1-SNAPSHOT.jar
> > urls[1] =
> ...
> > -----------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Internal error in the plugin manager executing goal
> > 'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate':
> > Unable to load the mojo
> > 'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate'
> > in the plugin 'org.apache.maven.plugins:maven-archetype-plugin'. A
> > required class is missing: org/jdom/JDOMException
> > org.jdom.JDOMException
> >
> > ---
> >   mvn --version
> > ---
> > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> > Java version: 1.6.0_25
> > Java home: /home/thorsten/opt/jdk1.6.0_25/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "linux" version: "2.6.38-11-generic" arch: "amd64" Family:
> > "unix"
> >
> > I tried as well without
> > -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
> > but the same result with latest HEAD.
> >
> > Not sure what the problem is and how to fix it. Any ideas?
> 
> Uhm, here (Maven 3.0.3 / Maven 2.2.1 - Sun JDK 1.6.0.26 - Linux) it 
> works like a charm...

Hmm, I fixed it with 
rm
-rf /home/thorsten/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin

and then it builded fine. Maven is sometimes strange. ;)

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


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


Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

Posted by Francesco Chicchiriccò <il...@apache.org>.
Il 26/08/2011 00:16, Thorsten Scherler ha scritto:
> On Fri, 2011-07-29 at 09:36 +0200, Francesco Chicchiriccò wrote:
> ...
>> mvn archetype:generate \
>>       -DarchetypeGroupId=org.apache.cocoon.archetype-block \
>>       -DarchetypeArtifactId=cocoon-archetype-block \
>>
>> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
>> \
>>       -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
>>       -DgroupId=com.mycompany \
>>       -DartifactId=mysample
> Hmm, when I do that I get
> -----------------------------------------------------
> this realm =
> app0.child-container[org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT]
> urls[0] =
> file:/home/thorsten/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/2.1-SNAPSHOT/maven-archetype-plugin-2.1-SNAPSHOT.jar
> urls[1] =
> file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-catalog/2.1-SNAPSHOT/archetype-catalog-2.1-SNAPSHOT.jar
> urls[2] =
> file:/home/thorsten/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
> urls[3] =
> file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-descriptor/2.1-SNAPSHOT/archetype-descriptor-2.1-SNAPSHOT.jar
> urls[4] =
> file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-registry/2.1-SNAPSHOT/archetype-registry-2.1-SNAPSHOT.jar
> urls[5] =
> file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-common/2.1-SNAPSHOT/archetype-common-2.1-SNAPSHOT.jar
> urls[6] =
> file:/home/thorsten/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.10/maven-invoker-2.0.10.jar
> urls[7] =
> file:/home/thorsten/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
> Number of imports: 10
> import: org.codehaus.classworlds.Entry@a6c57a42
> import: org.codehaus.classworlds.Entry@12f43f3b
> import: org.codehaus.classworlds.Entry@20025374
> import: org.codehaus.classworlds.Entry@f8e44ca4
> import: org.codehaus.classworlds.Entry@92758522
> import: org.codehaus.classworlds.Entry@ebf2705b
> import: org.codehaus.classworlds.Entry@bb25e54
> import: org.codehaus.classworlds.Entry@bece5185
> import: org.codehaus.classworlds.Entry@3fee8e37
> import: org.codehaus.classworlds.Entry@3fee19d8
>
>
> this realm = plexus.core
> urls[0] =
> file:/home/thorsten/src/apache/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
> urls[1] =
> file:/home/thorsten/src/apache/apache-maven-2.2.1/lib/._maven-2.2.1-uber.jar
> Number of imports: 10
> import: org.codehaus.classworlds.Entry@a6c57a42
> import: org.codehaus.classworlds.Entry@12f43f3b
> import: org.codehaus.classworlds.Entry@20025374
> import: org.codehaus.classworlds.Entry@f8e44ca4
> import: org.codehaus.classworlds.Entry@92758522
> import: org.codehaus.classworlds.Entry@ebf2705b
> import: org.codehaus.classworlds.Entry@bb25e54
> import: org.codehaus.classworlds.Entry@bece5185
> import: org.codehaus.classworlds.Entry@3fee8e37
> import: org.codehaus.classworlds.Entry@3fee19d8
> -----------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate':
> Unable to load the mojo
> 'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate'
> in the plugin 'org.apache.maven.plugins:maven-archetype-plugin'. A
> required class is missing: org/jdom/JDOMException
> org.jdom.JDOMException
>
> ---
>   mvn --version
> ---
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_25
> Java home: /home/thorsten/opt/jdk1.6.0_25/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.38-11-generic" arch: "amd64" Family:
> "unix"
>
> I tried as well without
> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
> but the same result with latest HEAD.
>
> Not sure what the problem is and how to fix it. Any ideas?

Uhm, here (Maven 3.0.3 / Maven 2.2.1 - Sun JDK 1.6.0.26 - Linux) it 
works like a charm...

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and 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


Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

Posted by Thorsten Scherler <sc...@gmail.com>.
On Fri, 2011-07-29 at 09:36 +0200, Francesco Chicchiriccò wrote:
...
> mvn archetype:generate \
>      -DarchetypeGroupId=org.apache.cocoon.archetype-block \
>      -DarchetypeArtifactId=cocoon-archetype-block \
>  
> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots 
> \
>      -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
>      -DgroupId=com.mycompany \
>      -DartifactId=mysample

Hmm, when I do that I get 
-----------------------------------------------------
this realm =
app0.child-container[org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT]
urls[0] =
file:/home/thorsten/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/2.1-SNAPSHOT/maven-archetype-plugin-2.1-SNAPSHOT.jar
urls[1] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-catalog/2.1-SNAPSHOT/archetype-catalog-2.1-SNAPSHOT.jar
urls[2] =
file:/home/thorsten/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
urls[3] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-descriptor/2.1-SNAPSHOT/archetype-descriptor-2.1-SNAPSHOT.jar
urls[4] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-registry/2.1-SNAPSHOT/archetype-registry-2.1-SNAPSHOT.jar
urls[5] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-common/2.1-SNAPSHOT/archetype-common-2.1-SNAPSHOT.jar
urls[6] =
file:/home/thorsten/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.10/maven-invoker-2.0.10.jar
urls[7] =
file:/home/thorsten/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8


this realm = plexus.core
urls[0] =
file:/home/thorsten/src/apache/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
urls[1] =
file:/home/thorsten/src/apache/apache-maven-2.2.1/lib/._maven-2.2.1-uber.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate':
Unable to load the mojo
'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate'
in the plugin 'org.apache.maven.plugins:maven-archetype-plugin'. A
required class is missing: org/jdom/JDOMException
org.jdom.JDOMException

---
 mvn --version
---
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_25
Java home: /home/thorsten/opt/jdk1.6.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.38-11-generic" arch: "amd64" Family:
"unix"

I tried as well without 
-DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots 
but the same result with latest HEAD.

Not sure what the problem is and how to fix it. Any ideas?

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


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


Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 28/07/2011 18:39, Lars Huttar wrote:
> On 7/1/2011 2:19 AM, Francesco Chicchiriccò wrote:
>> On 30/06/2011 18:55, Andre Juffer wrote:
>>> Simo,
>>>
>>> how much of Cocoon 2.2's functionality is still available in Cocoon
>>> 3. Using sitemaps in the 2.2 way is actually rather convenient in a
>>> number of cases. I assume that this all is still possible with
>>> cocoon 3?
>>
>> Hi Andre,
>> the "good old way" to pipelines is still there in Cocoon 3, even
>> though it is - at least at the moment - provided with less components
>> (generators / transformers / serializers) that 2.1 and 2.2.
>>
>> To have an idea about Cocoon 3 features, I suggest you to take a
>> quick look at the sources of C3 sample block [1] and C3 sample web
>> application [2]: if you are familiar with 2.2, you should get easily
>> into the code.
>>
>> Moreover, consider that archetypes are also available, so you can
>> start your own block with:
>>
>> mvn archetype:generate \
>>     -DarchetypeGroupId=org.apache.cocoon.archetype-block \
>>     -DarchetypeArtifactId=cocoon-archetype-block \
>>
>> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
>> \
>>     -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT
>>
>> launch it with
>>
>> mvn package jetty:run
>>
>> and access it at http://localhost:8888/
>>
>> Finally, C3 provides a native integration with Wicket in which you
>> can use either the new (java) and old (XML) approach: look at this
>> blog entry [3] for more details.
>>
>> Cheers.
>>
>> [1] https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/
>> [2]
>> https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample-webapp/
>> [3]
>> http://chicchiricco.blogspot.com/2011/06/build-rich-xml-enabled-applications.html
>
> Thanks for your patience as I try to wrap my head around the
> conceptual model of Cocoon blocks and Maven artifacts.
>
> To build beta-1-SNAPSHOT artifacts, do I need to first install Cocoon
> beta-1-SNAPSHOT? My guess is, no: Cocoon (beta-1-SNAPSHOT) *is* one of
> the artifacts you can generate. Right?
>
> However, when I run the above "mvn archetype:generate" command, with
> all the -D options, I get the following error:
>
> [ERROR] The goal you specified requires a project to execute but there
> is no POM
>  in this directory (C:\Program Files\Apache Software Foundation).
> Please verify
> you invoked Maven from the correct directory. -> [Help 1]

This happens because in the command above I did not specify all the 
parameters: namely, groupId and artifactId are missing. These two 
properties define YOUR project, the one that you are generating from 
that archetype, and also the name of the directory that the archetype 
will create.

In order to have something equivalent to the command specified in Cocoon 
3's download page, you should use instead

mvn archetype:generate \
     -DarchetypeGroupId=org.apache.cocoon.archetype-block \
     -DarchetypeArtifactId=cocoon-archetype-block \
 
-DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots 
\
     -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
     -DgroupId=com.mycompany \
     -DartifactId=mysample

Please also note that you are *not* building beta-1-SNAPSHOT artifacts, 
but you are building your project, generated from an archetype that 
refers to Cocoon 3 beta-1-SNAPSHOT artifacts. In fact, you can easily 
see that artifacts are available at maven repository at 
https://repository.apache.org/content/repositories/snapshots/org/apache/cocoon/.

These artifacts are automatically built and deployed via Apache's 
Jenkins CI.

Anyway, I wouldn't suggest to use SNAPSHOT artifacts (either modules and 
archetypes) for nothing but exploring, studying, testing, ...

Regards.

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and 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


Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

Posted by Lars Huttar <la...@sil.org>.
On 7/1/2011 2:19 AM, Francesco Chicchiriccò wrote:
> On 30/06/2011 18:55, Andre Juffer wrote:
>> Simo,
>>
>> how much of Cocoon 2.2's functionality is still available in Cocoon 
>> 3. Using sitemaps in the 2.2 way is actually rather convenient in a 
>> number of cases. I assume that this all is still possible with cocoon 3?
>
> Hi Andre,
> the "good old way" to pipelines is still there in Cocoon 3, even 
> though it is - at least at the moment - provided with less components 
> (generators / transformers / serializers) that 2.1 and 2.2.
>
> To have an idea about Cocoon 3 features, I suggest you to take a quick 
> look at the sources of C3 sample block [1] and C3 sample web 
> application [2]: if you are familiar with 2.2, you should get easily 
> into the code.
>
> Moreover, consider that archetypes are also available, so you can 
> start your own block with:
>
> mvn archetype:generate \
>     -DarchetypeGroupId=org.apache.cocoon.archetype-block \
>     -DarchetypeArtifactId=cocoon-archetype-block \
>     
> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots 
> \
>     -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT
>
> launch it with
>
> mvn package jetty:run
>
> and access it at http://localhost:8888/
>
> Finally, C3 provides a native integration with Wicket in which you can 
> use either the new (java) and old (XML) approach: look at this blog 
> entry [3] for more details.
>
> Cheers.
>
> [1] https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/
> [2] 
> https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample-webapp/
> [3] 
> http://chicchiricco.blogspot.com/2011/06/build-rich-xml-enabled-applications.html
>
>> On 06/30/2011 06:52 PM, Simone Tripodi wrote:
>>> Hi all guys,
>>> just to let you know that Cocoon3 beta-1-SNAPSHOTs artifacts are
>>> available on ASF snapshot repository, to start playing with them you
>>> just need to add the ASF snapshot repository[1] in your pom.xml.
>>> Enjoy and have fun, feedbacks are always appreciated!!!
>>> Have a nice day,
>>> Simo
>>>
>>> [1] https://repository.apache.org/content/groups/snapshots/

Thanks for your patience as I try to wrap my head around the conceptual 
model of Cocoon blocks and Maven artifacts.

To build beta-1-SNAPSHOT artifacts, do I need to first install Cocoon 
beta-1-SNAPSHOT? My guess is, no: Cocoon (beta-1-SNAPSHOT) *is* one of 
the artifacts you can generate. Right?

However, when I run the above "mvn archetype:generate" command, with all 
the -D options, I get the following error:

[ERROR] The goal you specified requires a project to execute but there 
is no POM
  in this directory (C:\Program Files\Apache Software Foundation). 
Please verify
you invoked Maven from the correct directory. -> [Help 1]

So generating a Cocoon block artifact requires a project / POM... what 
project is that POM supposed to come from?

Or instead of using

    mvn archetype:generate

should I use

   mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
?


I tried that, and got this error:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-archetype-plugin:1
.0-alpha-7:create (default-cli) on project standalone-pom: Error 
creating from a
rchetype: Archetype does not exist. Requested download does not exist. 
Could not
  find artifact 
org.apache.cocoon.archetype-block:cocoon-archetype-block:jar:3.0.
0-beta-1-SNAPSHOT

Unfortunately I'm stumbling in the dark.

Thanks for any help...

Lars


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


Re: [C3] Cocoon3 beta-1-SNAPSHOTs available

Posted by Andre Juffer <aj...@cc.oulu.fi>.
Hi Francesco,

thanks for the information. I did look at previous versions already. If 
most (preferable all) of the functionality of C2.2 is preserved in C3, 
that a smooth transition of an existing application to C3 is feasible, 
after which one could replacing 'older' portion by 'newer' portions in 
due course.

Best regards,
Andre



On 07/01/2011 10:19 AM, Francesco Chicchiriccò wrote:
> On 30/06/2011 18:55, Andre Juffer wrote:
>> Simo,
>>
>> how much of Cocoon 2.2's functionality is still available in Cocoon 3.
>> Using sitemaps in the 2.2 way is actually rather convenient in a
>> number of cases. I assume that this all is still possible with cocoon 3?
>
> Hi Andre,
> the "good old way" to pipelines is still there in Cocoon 3, even though
> it is - at least at the moment - provided with less components
> (generators / transformers / serializers) that 2.1 and 2.2.
>
> To have an idea about Cocoon 3 features, I suggest you to take a quick
> look at the sources of C3 sample block [1] and C3 sample web application
> [2]: if you are familiar with 2.2, you should get easily into the code.
>
> Moreover, consider that archetypes are also available, so you can start
> your own block with:
>
> mvn archetype:generate \
> -DarchetypeGroupId=org.apache.cocoon.archetype-block \
> -DarchetypeArtifactId=cocoon-archetype-block \
> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
> \
> -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT
>
> launch it with
>
> mvn package jetty:run
>
> and access it at http://localhost:8888/
>
> Finally, C3 provides a native integration with Wicket in which you can
> use either the new (java) and old (XML) approach: look at this blog
> entry [3] for more details.
>
> Cheers.
>
> [1] https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample/
> [2]
> https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sample-webapp/
> [3]
> http://chicchiricco.blogspot.com/2011/06/build-rich-xml-enabled-applications.html
>
>
>> On 06/30/2011 06:52 PM, Simone Tripodi wrote:
>>> Hi all guys,
>>> just to let you know that Cocoon3 beta-1-SNAPSHOTs artifacts are
>>> available on ASF snapshot repository, to start playing with them you
>>> just need to add the ASF snapshot repository[1] in your pom.xml.
>>> Enjoy and have fun, feedbacks are always appreciated!!!
>>> Have a nice day,
>>> Simo
>>>
>>> [1] https://repository.apache.org/content/groups/snapshots/


-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com

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