Hi Felix,

Felix Knecht wrote:
Hi Patrick

The easiest way (at last for the moment) is to have a look at the source
code. e.g. for cocoon-forms there exists 2 folders
- blocks/cocoon-forms/cocoon-forms-impl (/pom.xml)
- blocks/cocoon-forms/cocoon-forms-sample (/pom.xml)
I now have them on hand.

To get the correct version for the dependency have a look at the
corresponding pom.xml.

In cocoon-forms-impl/pom.xml version says:
</snip>
<artifactId>cocoon-forms-impl</artifactId>
<version>1.0.0-M2-SNAPSHOT</version>
</snip>
, so this dependency is ok:

<dependency>
  <groupId>org.apache.cocoon</groupId>
  <artifactId>cocoon-forms-impl</artifactId>
  <version>1.0.0-M2-SNAPSHOT</version>
</dependency>

In cocoon-forms-sample/pom.xml version says:
</snip>
<artifactId>cocoon-forms-sample</artifactId>
<version>1.0.0-SNAPSHOT</version>
</snip>

, so this dependency should look like:

<dependency>
  <groupId>org.apache.cocoon</groupId>
  <artifactId>cocoon-forms-sample</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</dependency>
I used the above and obtained the samples code in my block.



The documentation for cocoon-2.2 is still in development, but it can be
rechead at http://cocoon.zones.apache.org/daisy/.
Good to know

Many thanks,

Patrick


Felix

Hi,

I am doing my first steps in a Cocoon 2.2 block using:

    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-core</artifactId>
      <version>2.2.0-M2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-forms-impl</artifactId>
      <version>1.0.0-M2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-template-impl</artifactId>
      <version>1.0.0-M2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-ajax-impl</artifactId>
      <version>1.0.0-M2-SNAPSHOT</version>
    </dependency>

I am now looking for corresponding:

cocoon-template-samples
cocoon-ajax-sample

I naively try the following without success:
    <!-- Try adding samples
    <dependency>
      <groupId>org.apache.cocoon</groupId>
      <artifactId>cocoon-forms-samples</artifactId>
      <version>1.0.0-M2-SNAPSHOT</version>
    </dependency>
    -->

Any hints how I might discover this information ?

Thanks,

Patrick


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to