Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1269

[PATCH] Samples are compiled despite of being disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1.8
    • None
    • Blocks: (Undefined)
    • None
    • Operating System: other
      Platform: Other
    • 31296

    Description

      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;
                                                     ^
      [...]

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--diff
          2 kB
          Nikolaus Rath

        Activity

          People

            Unassigned Unassigned
            nikolaus@rath.org Nikolaus Rath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: