0 Replies Latest reply on Oct 16, 2002 8:05 AM by Ben Tompkins

    [jjtree]Warning: -OUTPUT_DIRECTORY: ... not understood

    Ben Tompkins Newbie

      I cannot compile the build from jboss-3.0.3-src.tgz. It looks like jjtree cannot understand the -OUTPUT_DIRECTORY
      command line option, which makes some sense, since that
      is an option for javacc, not jjtree; but I suspect that the source of the problem lies elsewhere. Some help would be appreciated. Here is the end of the build log:


      ======================================================================
      == Executing 'most' in module 'server'...
      ==

      _buildmagic:init:

      configure:

      _buildmagic:init:show-environment:
      [echo]
      project.root: /home/ben/source/jboss-3.0.3-src
      module.root: /home/ben/source/jboss-3.0.3-src/server
      user.home: /home/ben
      build.compiler: ${build.compiler}
      java.home: /usr/java/j2sdk1.4.0_01/jre
      java.class.path: /home/ben/source/jboss-3.0.3-src/tools/lib/xjavadoc.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/xerces.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/xdoclet.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/xalan.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/saxon.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/remote-mbeanserver.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/pretty.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/optional.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/log4j-core.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/junit.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/jaxp.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/JavaStyle.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/crimson.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/buildmagic-tasks.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/bsf.jar:/home/ben/source/jboss-3.0.3-src/tools/lib/ant.jar:/usr/java/j2sdk1.4.0_01/lib/tools.jar
      java.version: 1.4.0_01
      java.vendor: Sun Microsystems Inc.
      java.vm.version: 1.4.0_01-b03
      java.vm.name: Java HotSpot(TM) Client VM
      java.vm.info: mixed mode
      os.name: Linux
      os.arch: i386
      os.version: 2.4.18-14


      init:

      generate-parsers:
      [mkdir]Created dir: /home/ben/source/jboss-3.0.3-src/server/output/parsers/org/jboss/ejb/plugins/cmp/ejbql
      [jjtree]Warning: -OUTPUT_DIRECTORY:/home/ben/source/jboss-3.0.3-src/server/output/parsers/org/jboss/ejb/plugins/cmp/ejbql not understood. Ignoring.
      [jjtree]Java Compiler Compiler Version 2.0 (Tree Builder)
      [jjtree]Copyright (c) 1996-2000 Sun Microsystems, Inc.
      [jjtree]Copyright (c) 1997-2000 Metamata, Inc.
      [jjtree](type "jjtree" with no arguments for help)
      [jjtree]Reading from file /home/ben/source/jboss-3.0.3-src/server/src/main/org/jboss/ejb/plugins/cmp/ejbql/JBossQLParser.jjt . . .
      [jjtree]File "Node.java" does not exist. Will create one.
      [jjtree]Annotated grammar generated successfully in JBossQLParser.jj

      BUILD FAILED

      /home/ben/source/jboss-3.0.3-src/server/build.xml:352: Invalid target: /home/ben/source/jboss-3.0.3-src/server/output/parsers/org/jboss/ejb/plugins/cmp/ejbql/JBossQLParser.jj
      at org.apache.tools.ant.taskdefs.optional.javacc.JavaCC.execute(JavaCC.java:221)
      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)