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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4846

Cocoon 2rc2 Build script fails at several points

           Summary: Cocoon 2rc2 Build script fails at several points
           Product: Cocoon 2
           Version: 2.0rc2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The build script (batch file) fails "out of the box". From the binary
distibution. This has been a problem since RC1. Upon following the install
directions exactly the current script does not even start to colpile. Probably
because the file is incomplete, except for: 
##### build.bat ###################################################
if not "%ANT_HOME%" == "" goto gotAntHome
set ANT_HOME=.
:gotAntHome
call %ANT_HOME%\bin\ant %1 %2 %3 %4 %5 %6 %7 %8 %9
###################################################################

I use the Cocoon 2b batch file to build Cocoon RC1 successfully.  It now fails
in RC2. (get to that in a sec)

Also the build.xml file contains several failure points as follows: 
274-277 This is Weblogic referance breaks the build (comment out to succeed)
Line 365-372: line 371 needs to be changed to succeed. 
  <target name="generate-java-code" depends="generate-java-code-check"
          unless="generate-java-code.notrequired">
    <style basedir="${src.dir}/org/apache/cocoon/components/browser"
           destdir="${build.src}/org/apache/cocoon/components/browser"
           includes="BrowserImpl.xml"
           extension=".java"
LINE 371 change to: ==> style="BrowserImpl.xsl"/>
  </target>

Now finally the build fires up and almost makes it through. Here is the output
form the build:
compile:
    [javac] Compiling 1 source file to D:\Apache\cocoon2rc2\build\cocoon\classes
    [javac]
D:\Apache\cocoon2rc2\build\cocoon\src\org\apache\cocoon\components\parser\XercesParser.java:100:
class org.apache.xerces.dom.DocumentImpl is an abstract class. It can't be
instantiated.
    [javac]         DocumentImpl doc=new DocumentImpl();
    [javac]                          ^
    [javac]
D:\Apache\cocoon2rc2\build\cocoon\src\org\apache\cocoon\components\parser\XercesParser.java:102:
class org.apache.xerces.dom.DocumentTypeImpl is an abstract class. It can't be
instantiated.
    [javac]             DocumentTypeImpl dtd=new DocumentTypeImpl(doc,name,pub,sys);
    [javac]                                  ^
    [javac]
D:\Apache\cocoon2rc2\build\cocoon\src\org\apache\cocoon\components\parser\XercesParser.java:105:
class org.apache.xerces.dom.DocumentTypeImpl is an abstract class. It can't be
instantiated.
    [javac]             DocumentTypeImpl dtd=new DocumentTypeImpl(doc,name);
    [javac]                                  ^
    [javac] 3 errors

BUILD FAILED


Otherwise ROCK-On Cocoon2 is awsome!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to