Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5125

Derby 10.7.1.1 : Build fails with javacc 5 (for Debian packaging)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 10.7.1.1
    • 10.7.1.1, 10.7.1.4, 10.8.2.2, 11.0.0.0
    • Build tools
    • Urgent
    • Repro attached

    Description

      I try to and Apache derby into Debian, so I begin to compile derby
      sources [1], derby sources provide each own libs and javacc is one of
      them. In Debian, javacc version is 5.0 [2].

      After some tries, I'm in a this situation : compilation success with the
      official [3] javacc 4.0 and fail with the 5.0 official one.

      I think that is related with javacc options passed in .jj files
      (ex. java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj lines 2-14)

      I don't know much about javacc, so I can't resolve unless modifying
      options blindly and I'm afraid that isn't enough ...

      Best regards,
      Zied

      [1] http://svn.apache.org/repos/asf/db/derby/code/tags/10.7.1.1/
      [2] http://packages.debian.org/squeeze/javacc
      [3] http://java.net/projects/javacc/downloads

      Attachments

        1. ParseGen.diff
          2 kB
          Dag H. Wanvik
        2. javacc6.diff
          22 kB
          Knut Anders Hatlen
        3. javacc5.diff
          4 kB
          Knut Anders Hatlen
        4. derby-5125-sqlParser.diff
          0.6 kB
          Dag H. Wanvik
        5. derby-5125-parseException.diff
          1 kB
          Dag H. Wanvik
        6. d5125-javacc5-and-tests-2.diff
          6 kB
          Dag H. Wanvik
        7. d5125-javacc5-and-tests.diff
          43 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zied Zied ABID
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: