1 Reply Latest reply on Oct 4, 2002 3:07 PM by Michael Schneider

    build.bat,  ant build problems, CVS download

    Michael Schneider Newbie

      Hello,

      I downloaded jboss from CVS as per the source forge instructions.

      I am running on windows2000

      java 1.4.1 build 21

      ------------------- here is the output -------------

      E:\download\jboss\cvs\jboss-all\build>build
      Calling ..\tools\bin\ant.bat
      Buildfile: build.xml

      _buildmagic:init:global:
      Trying to override old definition of task property

      _buildmagic:init:

      _buildmagic:init:local-properties:

      _buildmagic:init:buildlog:

      configure:

      configure-libraries:

      configure-modules:

      configure-defaults:

      configure-tools:

      _configure:xdoclet:tasks:

      _configure:xdoclet:ejbdoclet:

      _configure:xdoclet:webdoclet:

      configure-project:
      [echo] groups: default
      [echo] modules: jmx,common,system,j2ee,naming,management,transaction,server
      ,blocks,console,security,messaging,connector,varia,cluster,jetty,jboss.net,iiop

      _default:init:

      init:

      _buildmagic:modules:most:

      BUILD FAILED
      java.lang.IllegalAccessError: tried to access field org.apache.tools.ant.Project
      Component.project from class org.jboss.tools.buildmagic.task.module.ExecuteModul
      es$MyEcho
      at org.jboss.tools.buildmagic.task.module.ExecuteModules$MyEcho.execute(
      ExecuteModules.java:417)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.printHeading(Ex
      ecuteModules.java:339)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(E
      xecuteModules.java:313)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(Execute
      Modules.java:210)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
      at org.apache.tools.ant.Task.perform(Task.java:317)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:334)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
      at org.apache.tools.ant.Main.runBuild(Main.java:610)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)

      Total time: 2 seconds
      java.lang.IllegalAccessError: tried to access field org.apache.tools.ant.Project
      Component.project from class org.jboss.tools.buildmagic.task.module.ExecuteModul
      es$MyEcho
      at org.jboss.tools.buildmagic.task.module.ExecuteModules$MyEcho.execute(
      ExecuteModules.java:417)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.printHeading(Ex
      ecuteModules.java:339)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(E
      xecuteModules.java:313)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(Execute
      Modules.java:210)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
      at org.apache.tools.ant.Task.perform(Task.java:317)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:334)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
      at org.apache.tools.ant.Main.runBuild(Main.java:610)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)
      tried to access field org.apache.tools.ant.ProjectComponent.project from class o
      rg.jboss.tools.buildmagic.task.module.ExecuteModules$MyEcho
      Press any key to continue . . .

      E:\download\jboss\cvs\jboss-all\build>java -version
      java version "1.4.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
      Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

      E:\download\jboss\cvs\jboss-all\build>