You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/09/19 15:51:20 UTC

DO NOT REPLY [Bug 31296] New: - Samples are compiled despite of being disabled

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31296>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31296

Samples are compiled despite of being disabled

           Summary: Samples are compiled despite of being disabled
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: Nikolaus@rath.org


I've disabled all samples:

[0] nikratio:~/Work/jakarta-tomcat-5.0.27/cocoon-2.1$ grep samples
local.build.properties 
exclude.webapp.samples=true
[..]

but cocoon still want's to compile them:

[0] nikratio:~/Work/jakarta-tomcat-5.0.27/cocoon-2.1$ ./build.sh war
[...]
Building jar:
/home/nikratio/Work/jakarta-tomcat-5.0.27/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/javaflow-block.jar
Created dir:
/home/nikratio/Work/jakarta-tomcat-5.0.27/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/javaflow/samples
Compiling 3 source files to
/home/nikratio/Work/jakarta-tomcat-5.0.27/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/javaflow/samples
/home/nikratio/Work/jakarta-tomcat-5.0.27/cocoon-2.1/src/blocks/javaflow/java/org/apache/cocoon/samples/flow/java/PersistenceFlow.java:28:
package org.apache.cocoon.ojb.broker.components does not exist
import org.apache.cocoon.ojb.broker.components.PBFactory;
                                               ^
[...]