[daisy] Cocoon build errors... The Saga Continues...

Kevin hellosticky at gmail.com
Wed Jun 6 09:42:56 CDT 2007


Hi,

I went back and did a "maven cocoon.get" and noticed build errors now
(although it says build successful):

    [exec] C:\java\cocoon-2.1.9\build\cocoon\temp\blocks-build.xml:157:
IOException: java.io.FileNotFoundException:
C:\java\cocoon-2.1.9\src\blocks\ajax\xmlbeans-convertor.xconf (The
system cannot find the file specified)

Interestingly, the XConfToolTask is actually finding files in certain
cases (my debug lines start with KEVIN: and list[x] is each file
found).

Bruno, could you please send me your output of cocoon.get so I could
see all of the "Processing: " lines in the XConfToolTasks? I don't
think --debug is necessary.

Thanks!
Kevin
-------------- next part --------------
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

cocoon.init:

-cocoon.shbat:
    [echo] Building batch files for support on windows OS

-cocoon.custom-lib-core:
    [copy] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\custom-lib-core
    [delete] Deleting 1 files from C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\custom-lib-core

cocoon.get:
    [exec] Buildfile: build.xml
    [exec] 
    [exec] clean-cocoon:
    [exec] Deleting directory C:\java\cocoon-2.1.9\build\cocoon
    [exec] 
    [exec] clean-webapp:
    [exec] Deleting directory C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp
    [exec] 
    [exec] init:
    [exec] Overriding previous definition of reference to classpath
    [exec] 
    [exec] prepare:
    [exec] ====================================================================
    [exec]                  Apache Cocoon 2.1.9 [1999-2006]
    [exec] ====================================================================
    [exec]  Building with Apache Ant version 1.6.5 compiled on June 2 2005
    [exec] --------------------------------------------------------------------
    [exec]  Using build file C:\java\cocoon-2.1.9\build.xml
    [exec] --------------------------------------------------------------------
    [exec]  Compiler options:
    [exec]    - debug ......... [on]
    [exec]    - optimize ...... [on]
    [exec]    - deprecation ... [off]
    [exec] ====================================================================
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon
    [exec] 
    [exec] compile-mocks:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\mocks
    [exec] Copied 7 empty directories to 4 empty directories under C:\java\cocoon-2.1.9\build\cocoon\mocks
    [exec] Compiling 2 source files to C:\java\cocoon-2.1.9\build\cocoon\mocks
    [exec] 
    [exec] compile-core:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\classes
    [exec] Copying 20 files to C:\java\cocoon-2.1.9\build\cocoon\classes
    [exec] Copied 62 empty directories to 33 empty directories under C:\java\cocoon-2.1.9\build\cocoon\classes
    [exec] Compiling 591 source files to C:\java\cocoon-2.1.9\build\cocoon\classes
    [exec] Compiling jdk 1.4 core classes
    [exec] Compiling 1 source file to C:\java\cocoon-2.1.9\build\cocoon\classes
    [exec] 
    [exec] compile-deprecated:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\deprecated\conf,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] KEVIN: list[0]=deprecated.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\deprecated\conf\deprecated.xroles
    [exec] Writing: C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\deprecated
    [exec] Copied 21 empty directories to 16 empty directories under C:\java\cocoon-2.1.9\build\cocoon\deprecated
    [exec] Compiling 62 source files to C:\java\cocoon-2.1.9\build\cocoon\deprecated
    [exec] 
    [exec] compile-tests-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\test
    [exec] Copying 68 files to C:\java\cocoon-2.1.9\build\cocoon\test
    [exec] Copied 31 empty directories to 11 empty directories under C:\java\cocoon-2.1.9\build\cocoon\test
    [exec] 
    [exec] compile-junit-tests:
    [exec] Compiling 60 source files to C:\java\cocoon-2.1.9\build\cocoon\test
    [exec] Note: Some input files use or override a deprecated API.
    [exec] Note: Recompile with -deprecation for details.
    [exec] 
    [exec] prepare-blocks:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks
    [exec] Copying 1 file to C:\java\cocoon-2.1.9\build\cocoon\temp
    [exec] KEVIN: C:\java\cocoon-2.1.9,C:\java\cocoon-2.1.9\build\cocoon\temp\gump.xml
    [exec] Processing C:\java\cocoon-2.1.9\build\cocoon\temp\gump.xml to C:\java\cocoon-2.1.9\build\cocoon\temp\blocks-build.xml
    [exec] Loading stylesheet C:\java\cocoon-2.1.9\tools\src\blocks-build.xsl
    [exec] 
    [exec] unstable:
    [exec] ==================== WARNING =======================
    [exec]  Block 'ajax' should be considered unstable.
    [exec]  Block 'apples' should be considered unstable.
    [exec]  Block 'asciiart' should be considered unstable.
    [exec]  Block 'axis' should be considered unstable.
    [exec]  Block 'captcha' should be considered unstable.
    [exec]  Block 'cron' should be considered unstable.
    [exec]  Block 'deli' should be considered unstable.
    [exec]  Block 'eventcache' should be considered unstable.
    [exec]  Block 'faces' should be considered unstable.
    [exec]  Block 'imageop' should be considered unstable.
    [exec]  Block 'javaflow' should be considered unstable.
    [exec]  Block 'jcr' should be considered unstable.
    [exec]  Block 'jms' should be considered unstable.
    [exec]  Block 'linotype' should be considered unstable.
    [exec]  Block 'mail' should be considered unstable.
    [exec]  Block 'petstore' should be considered unstable.
    [exec]  Block 'proxy' should be considered unstable.
    [exec]  Block 'qdox' should be considered unstable.
    [exec]  Block 'querybean' should be considered unstable.
    [exec]  Block 'repository' should be considered unstable.
    [exec]  Block 'serializers' should be considered unstable.
    [exec]  Block 'slide' should be considered unstable.
    [exec]  Block 'slop' should be considered unstable.
    [exec]  Block 'stx' should be considered unstable.
    [exec]  Block 'taglib' should be considered unstable.
    [exec]  Block 'template' should be considered unstable.
    [exec]  Block 'tour' should be considered unstable.
    [exec]  Block 'validation' should be considered unstable.
    [exec]  Block 'webdav' should be considered unstable.
    [exec]  Block 'xsltal' should be considered unstable.
    [exec] ----------------------------------------------------
    [exec]          This means that its API, schemas 
    [exec]   and other contracts might change without notice.
    [exec] ====================================================
    [exec] 
    [exec] excluded:
    [exec] ==================== NOTICE ========================
    [exec]  Block 'asciiart' is excluded from the build.
    [exec]  Block 'authentication-fw' is excluded from the build.
    [exec]  Block 'axis' is excluded from the build.
    [exec]  Block 'bsf' is excluded from the build.
    [exec]  Block 'captcha' is excluded from the build.
    [exec]  Block 'chaperon' is excluded from the build.
    [exec]  Block 'cron' is excluded from the build.
    [exec]  Block 'databases' is excluded from the build.
    [exec]  Block 'deli' is excluded from the build.
    [exec]  Block 'eventcache' is excluded from the build.
    [exec]  Block 'faces' is excluded from the build.
    [exec]  Block 'hsqldb' is excluded from the build.
    [exec]  Block 'html' is excluded from the build.
    [exec]  Block 'imageop' is excluded from the build.
    [exec]  Block 'itext' is excluded from the build.
    [exec]  Block 'javaflow' is excluded from the build.
    [exec]  Block 'jcr' is excluded from the build.
    [exec]  Block 'jfor' is excluded from the build.
    [exec]  Block 'jms' is excluded from the build.
    [exec]  Block 'jsp' is excluded from the build.
    [exec]  Block 'linkrewriter' is excluded from the build.
    [exec]  Block 'linotype' is excluded from the build.
    [exec]  Block 'lucene' is excluded from the build.
    [exec]  Block 'mail' is excluded from the build.
    [exec]  Block 'midi' is excluded from the build.
    [exec]  Block 'naming' is excluded from the build.
    [exec]  Block 'ojb' is excluded from the build.
    [exec]  Block 'paranoid' is excluded from the build.
    [exec]  Block 'petstore' is excluded from the build.
    [exec]  Block 'php' is excluded from the build.
    [exec]  Block 'poi' is excluded from the build.
    [exec]  Block 'portal' is excluded from the build.
    [exec]  Block 'portal-fw' is excluded from the build.
    [exec]  Block 'profiler' is excluded from the build.
    [exec]  Block 'proxy' is excluded from the build.
    [exec]  Block 'python' is excluded from the build.
    [exec]  Block 'qdox' is excluded from the build.
    [exec]  Block 'querybean' is excluded from the build.
    [exec]  Block 'repository' is excluded from the build.
    [exec]  Block 'serializers' is excluded from the build.
    [exec]  Block 'session-fw' is excluded from the build.
    [exec]  Block 'slide' is excluded from the build.
    [exec]  Block 'slop' is excluded from the build.
    [exec]  Block 'stx' is excluded from the build.
    [exec]  Block 'swf' is excluded from the build.
    [exec]  Block 'taglib' is excluded from the build.
    [exec]  Block 'tour' is excluded from the build.
    [exec]  Block 'validation' is excluded from the build.
    [exec]  Block 'velocity' is excluded from the build.
    [exec]  Block 'web3' is excluded from the build.
    [exec]  Block 'webdav' is excluded from the build.
    [exec]  Block 'woody' is excluded from the build.
    [exec]  Block 'xmldb' is excluded from the build.
    [exec]  Block 'xsltal' is excluded from the build.
    [exec]  Block 'xsp' is excluded from the build.
    [exec] ====================================================
    [exec] 
    [exec] cocoon-block-ajax-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks\ajax\dest
    [exec] 
    [exec] cocoon-block-ajax-compile:
    [exec] Compiling 5 source files to C:\java\cocoon-2.1.9\build\cocoon\blocks\ajax\dest
    [exec] Copying 8 files to C:\java\cocoon-2.1.9\build\cocoon\blocks\ajax\dest
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\blocks\ajax-block.jar
    [exec] 
    [exec] cocoon-block-forms-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks\forms\dest
    [exec] 
    [exec] cocoon-block-apples-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks\apples\dest
    [exec] 
    [exec] cocoon-block-forms-compile:
    [exec] Compiling 340 source files to C:\java\cocoon-2.1.9\build\cocoon\blocks\forms\dest
    [exec] Copying 220 files to C:\java\cocoon-2.1.9\build\cocoon\blocks\forms\dest
    [exec] Copied 31 empty directories to 3 empty directories under C:\java\cocoon-2.1.9\build\cocoon\blocks\forms\dest
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\blocks\forms-block.jar
    [exec] 
    [exec] cocoon-block-apples-compile:
    [exec] Compiling 8 source files to C:\java\cocoon-2.1.9\build\cocoon\blocks\apples\dest
    [exec] Copied 1 empty directory to 1 empty directory under C:\java\cocoon-2.1.9\build\cocoon\blocks\apples\dest
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\blocks\apples-block.jar
    [exec] 
    [exec] cocoon-block-batik-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks\batik\dest
    [exec] 
    [exec] cocoon-block-batik-compile:
    [exec] Compiling 8 source files to C:\java\cocoon-2.1.9\build\cocoon\blocks\batik\dest
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\blocks\batik-block.jar
    [exec] 
    [exec] cocoon-block-fop-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks\fop\dest
    [exec] 
    [exec] cocoon-block-fop-compile:
    [exec] Compiling 3 source files to C:\java\cocoon-2.1.9\build\cocoon\blocks\fop\dest
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\blocks\fop-block.jar
    [exec] 
    [exec] cocoon-block-template-prepare:
    [exec] Created dir: C:\java\cocoon-2.1.9\build\cocoon\blocks\template\dest
    [exec] 
    [exec] cocoon-block-template-compile:
    [exec] Compiling 94 source files to C:\java\cocoon-2.1.9\build\cocoon\blocks\template\dest
    [exec] Copying 1 file to C:\java\cocoon-2.1.9\build\cocoon\blocks\template\dest
    [exec] Copied 2 empty directories to 2 empty directories under C:\java\cocoon-2.1.9\build\cocoon\blocks\template\dest
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\blocks\template-block.jar
    [exec] 
    [exec] cocoon-block-ajax-roles:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\blocks\ajax,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] 
    [exec] cocoon-block-forms-roles:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\blocks\forms,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] KEVIN: list[0]=conf\forms-binding.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-binding.xroles
    [exec] KEVIN: list[1]=conf\forms-cache.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-cache.xroles
    [exec] KEVIN: list[2]=conf\forms-datatype.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-datatype.xroles
    [exec] KEVIN: list[3]=conf\forms-expression.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-expression.xroles
    [exec] KEVIN: list[4]=conf\forms-form.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-form.xroles
    [exec] KEVIN: list[5]=conf\forms-selection-lists.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-selection-lists.xroles
    [exec] KEVIN: list[6]=conf\forms-validators.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-validators.xroles
    [exec] KEVIN: list[7]=conf\forms-widgetlisteners.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\forms\conf\forms-widgetlisteners.xroles
    [exec] Writing: C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] 
    [exec] cocoon-block-apples-roles:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\blocks\apples,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] 
    [exec] cocoon-block-batik-roles:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\blocks\batik,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] 
    [exec] cocoon-block-fop-roles:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\blocks\fop,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] 
    [exec] cocoon-block-template-roles:
    [exec] KEVIN: C:\java\cocoon-2.1.9\src\blocks\template,C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] KEVIN: list[0]=conf\accessor.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\template\conf\accessor.xroles
    [exec] KEVIN: list[1]=conf\expression.xroles
    [exec] Processing: C:\java\cocoon-2.1.9\src\blocks\template\conf\expression.xroles
    [exec] Writing: C:\java\cocoon-2.1.9\build\cocoon\classes\org\apache\cocoon\cocoon.roles
    [exec] 
    [exec] package-core:
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\cocoon.jar
    [exec] 
    [exec] package-deprecated:
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\cocoon-deprecated.jar
    [exec] 
    [exec] package-testcase:
    [exec] Building jar: C:\java\cocoon-2.1.9\build\cocoon\cocoon-testcase.jar
    [exec] 
    [exec] prepare-webapp:
    [exec] Created dir: C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp
    [exec] Copying 8 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\stylesheets
    [exec] Copying 16 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\resources
    [exec] Copying 55 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] Copying 40 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] Copying 6 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] 
    [exec] cocoon-block-ajax-lib:
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] 
    [exec] cocoon-block-forms-lib:
    [exec] Copying 8 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF
    [exec] 
    [exec] cocoon-block-batik-lib:
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] 
    [exec] cocoon-block-fop-lib:
    [exec] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
    [exec] 
    [exec] cocoon-block-ajax-patch:
    [exec] KEVIN: list[0]=xmlbeans-convertor.xconf
    [exec] 
    [exec] BUILD FAILED
    [exec] C:\java\cocoon-2.1.9\tools\targets\webapp-build.xml:112: The following error occurred while executing this line:
    [exec] C:\java\cocoon-2.1.9\build\cocoon\temp\blocks-build.xml:1023: The following error occurred while executing this line:
    [exec] C:\java\cocoon-2.1.9\build\cocoon\temp\blocks-build.xml:157: IOException: java.io.FileNotFoundException: C:\java\cocoon-2.1.9\src\blocks\ajax\xmlbeans-convertor.xconf (The system cannot find the file specified)
    [exec] 
    [exec] Total time: 25 seconds
    [exec] [ERROR] Result: 1
cforms-resources:
    [mkdir] Created dir: C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\daisy\resources\cforms
    [copy] Copying 1 file to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\daisy\resources\cforms
    [copy] Copying 209 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\daisy\resources\cocoon\forms
    [copy] Copying 8 files to C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\daisy\resources\cocoon\ajax

adjust-cocoon-properties:
    [propertyfile] Updating property file: C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\properties\core.properties

    [delete] Deleting 2 files from C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\lib
BUILD SUCCESSFUL
Total time: 29 seconds
Finished at: Wed Jun 06 10:38:50 EDT 2007



More information about the daisy mailing list