0 Replies Latest reply on Aug 18, 2002 1:30 PM by brian

    build nightly jboss3.0.1 on Linux RH7.3

    brian Newbie

      (1) I tried to build jboss3.0.1 from the source codes. However, I got a fatal error:


      BUILD FAILED

      /home/jboss3.0/application/jboss-all/server/build.xml:356: Failed to launch JJTree: java.io.IOException: java: not found
      at org.apache.tools.ant.taskdefs.optional.javacc.JJTree.execute(JJTree.java:224)
      at org.apache.tools.ant.Task.perform(Task.java:217)
      at org.apache.tools.ant.Target.execute(Target.java:164)
      at org.apache.tools.ant.Target.performTasks(Target.java:182)
      at org.apache.tools.ant.Project.executeTarget(Project.java:601)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:269)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:184)
      at org.apache.tools.ant.Task.perform(Task.java:217)
      at org.apache.tools.ant.Target.execute(Target.java:164)
      at org.apache.tools.ant.Target.performTasks(Target.java:182)
      at org.apache.tools.ant.Project.executeTarget(Project.java:601)
      at org.apache.tools.ant.Project.executeTargets(Project.java:560)
      at org.apache.tools.ant.Main.runBuild(Main.java:454)
      at org.apache.tools.ant.Main.start(Main.java:153)
      at org.apache.tools.ant.Main.main(Main.java:176)


      What is this? Please help.

      (2)BTW, I just couldn't do sh build.sh and sit back. The ANT_SEARCH_PATH="\
      tools \
      tools/ant \
      tools/apache/ant \
      ant"
      never works on Linux. Why? I had to specify the real ant path and comment out

      # if [ ! -x "$ANT" ]; then
      # die "Ant file is not executable: $ANT"
      # fi

      (3) When downloading nightly source code, why there is no shell script file build.sh in the gz format download but only batch file?

      Brian

      Best Regards,

      Brian