You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by stefan mousa <mo...@yahoo.com> on 2007/01/17 06:03:34 UTC

Errors with beehive

Hi,
  I just downloaded beehive from your site and found out  I get a circular reference error which incapacitates my attempt to build the controls.
   
  The operating system is w2000. I tried both latest versions of beehive:
  apache-beehive-1.0.1 and apache-beehive-1.0.2. The same issue.
   
  Below you can see how the build is running (I put several echos). Also you
  can se the classpath. The echos show you among others the parameters
  passed to <apt ... in ant/beehive-tools.xml (the place where the code
  breaks and complaints of a circular reference error).
   
  I appreciate any help. 
   
  ===================================================
  D:\apache-beehive-1.0.1\fooWeb>ant clean build
Buildfile: build.xml
  clean:
   [delete] Deleting directory D:\apache-beehive-1.0.1\fooWeb\build
  deploy-beehive:
    [mkdir] Created dir: D:\apache-beehive-1.0.1\fooWeb\build
     [echo] Deploy NetUI to webapp D:\apache-beehive-1.0.1\fooWeb\build
  deploy.beehive.webapp.runtime:
     [echo] Deploy NetUI to webapp rooted at: D:\apache-beehive-1.0.1\fooWeb\build
     [copy] Copying 17 files to D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\lib
     [copy] Copying 18 files to D:\apache-beehive-1.0.1\fooWeb\build\resources
     [copy] Copying 2 files to D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF
  build:
     [copy] Copying 6 files to D:\apache-beehive-1.0.1\fooWeb\build
     [copy] Copying 1 file to D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\classes
     [echo] Building Controls
Trying to override old definition of task apt
     [echo]     srcdir: D:\apache-beehive-1.0.1\fooWeb/src/
     [echo]     destdir: D:\apache-beehive-1.0.1\fooWeb\build/WEB-INF/classes
     [echo]     tempdir: D:\apache-beehive-1.0.1\fooWeb\build/WEB-INF/.tmpbeansrc
     [echo]     classpath:
 D:\apache-tomcat-6.0.2\lib\servlet-api.jar;D:\apache-tomcat-6.0.\lib\jsp-api.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\classes;D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\lib\beehive-controls.jar;D:\apache-beehive-1.0.\fooWeb\build\WEB-INF\lib\beehive-netui-core.jar;D:\apache-beehive-1.0.\fooWeb\build\WEB-INF\lib\beehive-netui-tags.jar;D:\apache-beehive-1.0.\fooWeb\build\WEB-INF\lib\commons-beanutils.jar;D:\apache-beehive-1.0.\fooWeb\build\WEB-INF\lib\commons-codec-1.3.jar;D:\apache-beehive-1.0.\fooWeb\build\WEBINF\lib\commonsdigester.jar;D:\apachebeehive1.0.\fooWeb\build\WEB-INF\lib\commons-discovery-0.2.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\lib\commons-el.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEBINF\lib\commons-fileupload.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\lib\commons-logging-1.0.4.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\lib\commons-validator.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEB-INF\lib\jakarta-oro.jar;D:\apache-beehiv
e-1.0.1\fooWeb\build\WEBINF\lib\jstl.jar;D:\apache-beehive-1.0.1\fooWeb\build\WEBINF\lib\log4j1.2.8.jar;D:\apachebeehive-1.0.1\fooWeb\build\WEBINF\lib\standard.jar;D:\apache-beehive1.0.1\fooWeb\build\WEBINF\lib\struts.jar;D:\apache-beehive-1.0.1\lib\common\velocity-dep1.4.jar
     [echo]     nocompile: false
   
  BUILD FAILED
D:\apache-beehive-1.0.1\fooWeb\build.xml:82: The following error occurred while executing this line:
D:\apache-beehive-1.0.1\ant\beehive-tools.xml:85: This data type contains a circular reference.
  Total time: 7 seconds
D:\apache-beehive-1.0.1\fooWeb>
   
  ===============================================================
   
  in build.xml <build-controls ... the attribute classpathref is written : casspathRef (this capital R creates a problem because no classpath is passed).
  In ant/beehive-tools.xml <macrodef name="build-controls"> has several errors due to
  which the classpath is not instantiated.
   
  I had to introduce this line
   <property name="_controls.build.classpath" refid="_controls.build.classpath"/>
  before the <apt ... invocation.
   
  Please help,
   
  Mousa Stefan

 
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.