cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [GUMP] Build Failure - cocoon-block-databases
Date Fri, 21 Mar 2003 13:33:05 GMT
Gump@icarus.apache.org wrote:
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://cvs.apache.org/builds/gump/2003-03-21/cocoon-block-databases.html>
> ----------------------------------------------------
> 
> Buildfile: build.xml
> 
> init:
> 
> prepare:
>      [echo] +-------------------------------------------------------------------------------+
>      [echo]                         Apache Cocoon 2.1-dev [1999-2003]
>      [echo] +-------------------------------------------------------------------------------+
>      [echo]  Building with Apache Ant version 1.6alpha compiled on March 21 2003
>      [echo]  using build file /home/rubys/jakarta/cocoon-2.1/build.xml
>      [echo]  Compiling with debug on, optimize on, deprecation off
>      [echo] +-----------------------------| W A R N I N G |---------------------------------+
>      [echo]                This build is targeted for use with JVM 1.4
>      [echo]           Using this build on a virtual machine other than the one
>      [echo]              it is targeted for may result in runtime errors.
>      [echo] +-------------------------------------------------------------------------------+
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev

This should be

  /home/rubys/jakarta/cocoon-2.1/build/cocoon-20030321

and I thought I patched it. Hmmm, I'm puzzled.

> prepare-core:
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/classes
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/mocks
> 
> compile-core:
>      [copy] Copying 30 files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/classes
>     [javac] Compiling 1 source file to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/mocks
>     [javac] Compiling 514 source files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/classes
> 
> compile-scratchpad:
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/scratchpad/src
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/scratchpad/dest
>      [copy] Copying 39 files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/scratchpad/src
>     [javac] Compiling 36 source files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/scratchpad/dest
>     [javac] Note: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/scratchpad/src/org/apache/cocoon/ant/CocoonTask.java
uses or overrides a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
> 
> init-tasks:
> 
> init-xpatch:
> 
> compile-deprecated:
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/deprecated
>    [xpatch] Processing: /home/rubys/jakarta/cocoon-2.1/src/deprecated/conf/deprecated.xroles
>    [xpatch] Writing: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/classes/org/apache/cocoon/cocoon.roles
>     [javac] Compiling 60 source files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/deprecated
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
> 
> compile:
> 
> prepare-blocks:
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks
>      [xslt] Processing /home/rubys/jakarta/cocoon-2.1/gump.xml to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/temp/blocks-build.xml
>      [xslt] Loading stylesheet /home/rubys/jakarta/cocoon-2.1/tools/src/blocks-build.xsl
> 
> block:
> 
> databases-build:
> 
> databases-mocks:
> 
> databases-prepare:
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/databases/dest
>     [mkdir] Created dir: /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/databases/conf
>      [copy] Copying 7 files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/databases/conf
> 
> databases-compile:
>      [copy] Copying 1 file to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/databases/dest
>     [javac] Compiling 40 source files to /home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/blocks/databases/dest
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:53:
package oracle.jdbc does not exist
>     [javac] import oracle.jdbc.OracleResultSet;
>     [javac]                    ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:54:
package oracle.sql does not exist
>     [javac] import oracle.sql.BLOB;
>     [javac]                   ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:55:
package oracle.sql does not exist
>     [javac] import oracle.sql.CLOB;
>     [javac]                   ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java:67:
package org.apache.commons.lang does not exist
>     [javac] import org.apache.commons.lang.StringUtils;
>     [javac]                                ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:187:
cannot resolve symbol
>     [javac] symbol  : class OracleResultSet 
>     [javac] location: class org.apache.cocoon.acting.OraAddAction
>     [javac]                 OracleResultSet set = (OracleResultSet) LOBstatement.executeQuery();
>     [javac]                 ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:187:
cannot resolve symbol
>     [javac] symbol  : class OracleResultSet 
>     [javac] location: class org.apache.cocoon.acting.OraAddAction
>     [javac]                 OracleResultSet set = (OracleResultSet) LOBstatement.executeQuery();
>     [javac]                                        ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:204:
cannot resolve symbol
>     [javac] symbol  : class CLOB 
>     [javac] location: class org.apache.cocoon.acting.OraAddAction
>     [javac]                                 CLOB ascii = set.getCLOB(index);
>     [javac]                                 ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/OraAddAction.java:217:
cannot resolve symbol
>     [javac] symbol  : class BLOB 
>     [javac] location: class org.apache.cocoon.acting.OraAddAction
>     [javac]                                 BLOB binary = set.getBLOB(index);
>     [javac]                                 ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/components/modules/database/IfxSerialAutoIncrementModule.java:78:
package com.informix.jdbc does not exist
>     [javac]         return new Integer(((com.informix.jdbc.IfxStatement) stmt).getSerial());
>     [javac]                                               ^
>     [javac] /home/rubys/jakarta/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java:1049:
cannot resolve symbol
>     [javac] symbol  : variable StringUtils 
>     [javac] location: class org.apache.cocoon.transformation.SQLTransformer.Query
>     [javac]             String query = StringUtils.replace(sb.toString().trim(), "\r",
" ", -1);
>     [javac]                            ^
>     [javac] 10 errors
> 
> BUILD FAILED
> file:///home/rubys/jakarta/cocoon-2.1/build/cocoon-2.1-dev/temp/blocks-build.xml:1230:
Compile failed; see the compiler error output for details.
> 
> Total time: 27 seconds

The build isn't picking up the mock classes but I thought I fixed it.

Sam, Nicola, any suggestion?

Stefano.



Mime
View raw message