0 Replies Latest reply on Dec 6, 2004 12:20 AM by root cn

    install jboss4.0 occured errors when compiled jboss-4.0.0-sr

    root cn Newbie

      java version is: build 1.5.0-rc-b63

      when i exectue the command:

      D:\jboss-4.0.4-src\build>ant


      it's show some information above:

      Buildfile: build.xml
      
      _buildmagic:init:
      Trying to override old definition of task property
      
      _buildmagic:init:local-properties:
      
      _buildmagic:init:buildlog:
      
      configure:
       [echo] groups: default
       [echo] modules: common,jmx,system,naming,aop,j2ee,transaction,server,deployment,security,messaging,connector,jaxrpc,jboss.net,webservice,remoting,cluster,varia,iiop,management,cache,tomcat,console,compatibility,aspects,media,hibernate
      
      init:
      
      _buildmagic:modules:most:
      
       ======================================================================
       == Executing 'most' in module 'common'...
       ==
      
      _buildmagic:init:
      Trying to override old definition of task libraryset
      Trying to override old definition of task execmodules
      Trying to override old definition of task resolveproperties
      Trying to override old definition of task resolver
      Trying to override old definition of task require
      Trying to override old definition of task _dump
      Trying to override old definition of task _puke
      Trying to override old definition of task moduleinit
      Trying to override old definition of task moduleconfig
      Trying to override old definition of task modulelibrary
      Trying to override old definition of task projectinfo
      Trying to override old definition of task library
      Trying to override old definition of task Ant
      Trying to override old definition of task moduleinfo
      Trying to override old definition of task projecthelp
      Trying to override old definition of task propertyfilter
      Trying to override old definition of task call
      Trying to override old definition of task property
      
      configure:
      
      _default:task-init:
      
      init:
      
      _buildmagic:build-bypass-checker:
      
      _buildmagic:build-bypass-notice:
      
      _buildmagic:build-bypass-check:
      
      jars:
      
      _buildmagic:init:
      
      init:
      
      _buildmagic:mbean-bypass-checker:
      
      _default:compile-mbean-sources:
      
      _default:compile-classes:
       [javac] Compiling 244 source files to D:\jboss-4.0.0-src\common\output\classes
      [execmodules] javac: target release 1.4 conflicts with default source release 1.5


      the build.log 's content is:


      configure:
       [echo] groups: default
       [echo] modules: common,jmx,system,naming,aop,j2ee,transaction,server,deployment,security,messaging,connector,jaxrpc,jboss.net,webservice,remoting,cluster,varia,iiop,management,cache,tomcat,console,compatibility,aspects,media,hibernate
      
      init:
      
      _buildmagic:modules:most:
      
       ======================================================================
       == Executing 'most' in module 'common'...
       ==
      
      _buildmagic:init:
      Trying to override old definition of task libraryset
      Trying to override old definition of task execmodules
      Trying to override old definition of task resolveproperties
      Trying to override old definition of task resolver
      Trying to override old definition of task require
      Trying to override old definition of task _dump
      Trying to override old definition of task _puke
      Trying to override old definition of task moduleinit
      Trying to override old definition of task moduleconfig
      Trying to override old definition of task modulelibrary
      Trying to override old definition of task projectinfo
      Trying to override old definition of task library
      Trying to override old definition of task Ant
      Trying to override old definition of task moduleinfo
      Trying to override old definition of task projecthelp
      Trying to override old definition of task propertyfilter
      Trying to override old definition of task call
      Trying to override old definition of task property
      
      configure:
      
      _default:task-init:
      
      init:
      
      _buildmagic:build-bypass-checker:
      
      _buildmagic:build-bypass-notice:
      
      _buildmagic:build-bypass-check:
      
      jars:
      
      _buildmagic:init:
      
      init:
      
      _buildmagic:mbean-bypass-checker:
      
      _default:compile-mbean-sources:
      
      _default:compile-classes:
       [javac] Compiling 244 source files to D:\jboss-4.0.0-src\common\output\classes
      [execmodules] javac: target release 1.4 conflicts with default source release 1.5
      
      BUILD FAILED
      
      D:\jboss-4.0.0-src\tools\etc\buildmagic\buildmagic.ent:411: Compile failed; see the compiler error output for details.
       at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
       at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
       at org.apache.tools.ant.Task.perform(Task.java:364)
       at org.apache.tools.ant.Target.execute(Target.java:341)
       at org.apache.tools.ant.Target.performTasks(Target.java:369)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
       at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
       at org.apache.tools.ant.Task.perform(Task.java:364)
       at org.apache.tools.ant.Target.execute(Target.java:341)
       at org.apache.tools.ant.Target.performTasks(Target.java:369)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
       at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
       at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361)
       at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376)
       at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
       at org.apache.tools.ant.Task.perform(Task.java:364)
       at org.apache.tools.ant.Target.execute(Target.java:341)
       at org.apache.tools.ant.Target.performTasks(Target.java:369)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
       at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
       at org.apache.tools.ant.Main.runBuild(Main.java:673)
       at org.apache.tools.ant.Main.startAnt(Main.java:188)
       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)


      can anyone give me some ideas?