3 Replies Latest reply on May 7, 2004 2:23 AM by Howard Pearlmutter

    Can't compile nukes (Crimson related error)v

    tmccrary Newbie

      Everytime I try to compile nukes, I get the following error:

      build.sh: Executing: /home/tmccrary/workspace/nukes/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger
      Buildfile: build.xml
      
      _buildmagic:init:
      Trying to override old definition of task property
      
      configure-project:
       [echo] groups: default
       [echo] modules: common,nukes,adminmessages,bb,downloads,faq,jmx,journal,list,mp3player,news,permission,polls,quotes,sections,template
      
      _buildmagic:modules:most:
      
       ==============================================================
       ==
       == Executing 'most' in module 'common'...
       ==
       ==
      
      configure-defaults:
      Overriding previous definition of reference to javac.classpath
      
      _default:compile-classes:
       [depend] Deleted 0 out of date files in 0 seconds
      
       ==
       ==
       == Finished 'most' in module 'common'.
       ==
       ==============================================================
      
      
       ==============================================================
       ==
       == Executing 'most' in module 'nukes'...
       ==
       ==
      
      generate-classes:
      [execmodules] (XDocletMain.start 47 ) Running <localinterface/>
      [execmodules] (XDocletMain.start 47 ) Running <localhomeinterface/>
      [execmodules] (XDocletMain.start 47 ) Running <entitypk/>
      [execmodules] (XDocletMain.start 47 ) Running <deploymentdescriptor/>
      [execmodules] (XDocletMain.start 47 ) Running <jboss/>
      [execmodules] INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
      [execmodules] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
      [execmodules] The referring classes do not import any fully qualified classes matching these classes.
      [execmodules] However, since no packages are imported, xjavadoc has assumed that the referred classes
      [execmodules] belong to the same package as the referring class. The classes are:
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/core/ejb/FileEJB.java --> Command qualified to org.jboss.nukes.core.ejb.Command
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/core/ejb/FileEJB.java --> Action qualified to org.jboss.nukes.core.ejb.Action
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/core/ejb/FileEJB.java --> FileCommand qualified to org.jboss.nukes.core.ejb.FileCommand
      
      _default:compile-classes:
       [depend] Deleted 0 out of date files in 0 seconds
       [javac] Compiling 188 source files to /home/tmccrary/workspace/nukes/nukes/output/classes
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/flash/io/AMFSerializer.java:23: package org.apache.crimson.tree does not exist
      [execmodules] import org.apache.crimson.tree.XmlDocument;
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/flash/io/AMFSerializer.java:227: cannot resolve symbol
      [execmodules] symbol : class XmlDocument
      [execmodules] location: class org.jboss.nukes.flash.io.AMFSerializer
      [execmodules] private void writeXML(XmlDocument value) throws IOException
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/core/modules/mail/MailModule.java:390: warning: Name(java.lang.String) in org.xbill.DNS.Name has been deprecated
      [execmodules] Name _name = new Name(name); // Name _name = Name.fromString(name); does not work, why ?
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/flash/io/AMFSerializer.java:133: cannot resolve symbol
      [execmodules] symbol : class XmlDocument
      [execmodules] location: class org.jboss.nukes.flash.io.AMFSerializer
      [execmodules] writeXML((XmlDocument) value);
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/handler/NukesImpl.java:226: warning: isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
      [execmodules] public boolean isRequestedSessionIdFromUrl()
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/handler/NukesImpl.java:353: warning: getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
      [execmodules] public String getRealPath(String s)
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/handler/NukesImpl.java:451: warning: setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public void setStatus(int sc, String sm)
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/handler/NukesImpl.java:481: warning: encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public String encodeRedirectUrl(String s)
      [execmodules] ^
      [execmodules] /home/tmccrary/workspace/nukes/nukes/src/main/org/jboss/nukes/handler/NukesImpl.java:476: warning: encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
      [execmodules] public String encodeUrl(String s)
      [execmodules] ^
      [execmodules] 3 errors
      [execmodules] 6 warnings
      
      BUILD FAILED
      file:/home/tmccrary/workspace/nukes/nukes/../tools/etc/buildfragments/targets.ent:65: Compile failed; see the compiler error output for details.
      
      Total time: 12 seconds
      


      The crimson.jar DOES exist in the nukes files however. Is there something I am missing? I've searched but I have not found anyone with a similar problem.