cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boon Hian Tek <b...@bhtek.dyndns.org>
Subject Scratchpad no longer part of "classpath" for blocks?
Date Fri, 30 May 2003 15:59:32 GMT
Hi,

I have a small patch that resides in database block, it imports
a few classes from scratchpad/src/..../transformation.
It used to compile, now it is saying the class is not found.

<snip>
Apache Cocoon Build System
--------------------------
Buildfile: build.xml

prepare:
+-----------------------------------------------------------+
              Apache Cocoon 2.1m3-dev [1999-2003]
+-----------------------------------------------------------+
  Building with Apache Ant version 1.5.3 compiled on April 16 2003
  using build file /home/btek/app/contrib/cocoon-2.1/build.xml
  Compiling with debug on, optimize on, deprecation off
+--------------------| W A R N I N G |----------------------+
    This build is targeted for use with JVM 1.4
  Using this build on a virtual machine other than the one
    it is targeted for may result in runtime errors.
+-----------------------------------------------------------+

databases-compile:
Compiling 1 source file to 
/home/btek/app/contrib/cocoon-2.1/build/cocoon-2.1m3-dev/blocks/databases/dest
/home/btek/app/contrib/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/PagingSQLTransformer.java:50:

package org.apache.cocoon.transformation.pagination does not exist
import org.apache.cocoon.transformation.pagination.PageRules;
                                                    ^
/home/btek/app/contrib/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/PagingSQLTransformer.java:51:

package org.apache.cocoon.transformation.pagination does not exist
import org.apache.cocoon.transformation.pagination.Pagesheet;
                                                    ^
/home/btek/app/contrib/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/PagingSQLTransformer.java:52:

package org.apache.cocoon.transformation.pagination does not exist
import org.apache.cocoon.transformation.pagination.Paginator;
                                                    ^
/home/btek/app/contrib/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/PagingSQLTransformer.java:89:

cannot resolve symbol
symbol  : class Pagesheet
location: class org.apache.cocoon.transformation.PagingSQLTransformer
     private Pagesheet pagesheet = null;
             ^
/home/btek/app/contrib/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/transformation/PagingSQLTransformer.java:183:

cannot resolve symbol
symbol  : class Pagesheet
location: class org.apache.cocoon.transformation.PagingSQLTransformer
     protected Pagesheet loadPageSheet( SourceResolver resolver, String 
source )
</snip>

org.apache.cocoon.transformation.pagination.PageRules etc is in
scratchpad.

Has something changed in terms of what a normal block can "refer" to?

Thanks,

Boon


Mime
View raw message