Hi there,

I'm trying to use Cocoon CForms within a Hippo-wizard based project, but I can't figure out how to configure the project.

I guess I have to add a block like

   <!-- Cocoon Forms -->
   <dependency>
      <id>cocoon:cocoon-forms</id>
      <version>2.1.11-r20070223112521</version>
      <type>jar</type>
      <properties>
         <war.bundle>true</war.bundle>
      <cocoon.bundle>true</cocoon.bundle>
      </properties>
   </dependency>                         (from the hippo-cms project.xml)

to my project.xml and then add a bunch of patch files to the ../src/config/ directory, but blindly copying all the forms*.* files from hippo-cms/editor/src/config/ results in a non-functional site (I've included the logfiles with errors as an attachment). Any ideas?

Thanks,
Marcel



2008-02-27 16:43:56.951 WARN  fortress.system.roles.defaults           Unable to load class org.apache.avalon.excalibur.datasource.JdbcDataSource. Skipping.
2008-02-27 16:43:56.952 WARN  fortress.system.roles.defaults           Unable to load class org.apache.avalon.excalibur.datasource.J2eeDataSource. Skipping.
2008-02-27 16:43:56.953 WARN  fortress.system.roles.defaults           Unable to load class org.apache.avalon.excalibur.datasource.InformixDataSource. Skipping.
2008-02-27 16:43:56.961 WARN  fortress.system.roles.defaults           Unable to load class org.apache.excalibur.xml.xpath.XPathProcessorImpl. Skipping.
2008-02-27 16:43:56.962 WARN  fortress.system.roles.defaults           Unable to load class org.apache.excalibur.xml.xpath.JaxenProcessorImpl. Skipping.
2008-02-27 16:43:56.962 WARN  fortress.system.roles.defaults           Unable to load class org.apache.excalibur.xml.impl.JaxpParser. Skipping.
2008-02-27 16:43:56.963 WARN  fortress.system.roles.defaults           Unable to load class org.apache.excalibur.xml.impl.XercesParser. Skipping.
2008/02/27 16:43:56 | STATUS | wrapper  | --> Wrapper Started as Daemon
2008/02/27 16:43:56 | STATUS | wrapper  | Launching a JVM...
2008/02/27 16:43:56 | INFO   | jvm 1    | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org
2008/02/27 16:43:56 | INFO   | jvm 1    | 
2008/02/27 16:43:56 | INFO   | jvm 1    | Starting Fortress
2008/02/27 16:43:59 | INFO   | jvm 1    | Fortress started
<?xml version="1.0" encoding="UTF-8"?>
<!--
	Copyright 2001-2007 Hippo (www.hippo.nl)
	
	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at
	
	http://www.apache.org/licenses/LICENSE-2.0
	
	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License. 
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:noNamespaceSchemaLocation="http://maven.apache.org/maven-v3_0_0.xsd";>
    <pomVersion>3</pomVersion>
    <artifactId>skeleton</artifactId>
    <groupId>skeleton</groupId>
    <id>skeleton</id>
    <name>skeleton</name>
    <currentVersion>${maven.cocoon.site.version}</currentVersion>
    <organization>
        <name>Hippo</name>
        <url>http://www.hippo.nl/</url>
    </organization>
    <inceptionYear>2006</inceptionYear>
    <dependencies>
      <dependency>
        <groupId>hippo-cocoon</groupId>
        <artifactId>hippo-cocoon</artifactId>
        <version>2.1.11.1</version>
        <type>zip</type>
      </dependency>

      <dependency>
        <id>cocoon+xsp</id>
        <version>2.1.8</version>
        <properties>
          <cocoon.bundle>true</cocoon.bundle>
        </properties>
      </dependency>

      <dependency>
        <id>javamail</id>
        <version>1.3.2</version>
        <properties>
          <cocoon.bundle>true</cocoon.bundle>
        </properties>
      </dependency>

      <dependency>
        <id>activation</id>
        <version>1.1.1</version>
        <properties>
          <cocoon.bundle>true</cocoon.bundle>
        </properties>
      </dependency>

<!--       <dependency> -->
<!--         <id>cocoon:cocoon-forms</id> -->
<!--         <version>2.1.11-r20070223112521</version> -->
<!--         <type>jar</type> -->
<!--         <properties> -->
<!--           <war.bundle>true</war.bundle> -->
<!--           <cocoon.bundle>true</cocoon.bundle> -->
<!--         </properties> -->
<!--       </dependency> -->

      <dependency>
        <id>hippo:hippo-java</id>
        <version>1.01.00b01</version>
        <properties><cocoon.bundle>true</cocoon.bundle></properties>
      </dependency>

    </dependencies>

    <build>
      <sourceDirectory>${basedir}/src/java</sourceDirectory>
      <resources>
        <resource>
          <directory>${basedir}/src/java</directory>
          <includes>
            <include>**/*.xml</include>
            <include>**/*.xsl</include>
            <include>**/*.properties</include>
          </includes>
          <filtering>true</filtering>
        </resource>
      </resources>
    </build>

</project>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to