Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-118

javac.debug proprety is not used during java compilation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.4
    • Fix Version/s: 1.1.0
    • Component/s: Build
    • Labels:
      None

      Description

      Seems that the flag on whether or not to compile with debugging turned on is set incorrectly in core/build.xml file

      The current value for the javac.debug property is "yes", but it should actually be set to "true" according to ant javac task:

      • <property name="javac.debug" value="yes" />
        + <property name="javac.debug" value="true" />

      Subsequently, when it's used later in the do_compile macro it's referenced incorrectly:

      • <javac destdir="@ {output}" debug="@{javac.debug}" memoryMaximumSize="128m" fork="yes">
        + <javac destdir="@{output}

        " debug="$

        {javac.debug}

        " memoryMaximumSize="128m" fork="yes">

      Since it's not passed as parameter, shouldn't the property just be accessed directly?

      patch file attached.

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              toli Toli Kuznets
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: