Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: taglib.util
    • Labels:
      None
    • Environment:

      windows, util-taglib version that comes with maven 1.0.2

      Description

      The following code (taken from a maven script) will always fail:

      <ant:echoproperties destfile="$

      {basedir}/test.properties"/>
      <util:properties file="${basedir}

      /test.properties" var="foo"/>
      <ant:delete file="$

      {basedir}

      /test.properties"/>

      From looking tinto the source, I would guess that the problem is an InputStream which is opened, but never closed.

      The problem definitly appears on windows, can't test on other platforms.

      1. PropertiesTag.java
        4 kB
        Matthias Kerkhoff
      2. suite.jelly
        8 kB
        Matthias Kerkhoff

        Activity

        Matthias Kerkhoff created issue -
        Hide
        Matthias Kerkhoff added a comment -

        Proposed fix and testcase for JELLY-172.

        Show
        Matthias Kerkhoff added a comment - Proposed fix and testcase for JELLY-172 .
        Matthias Kerkhoff made changes -
        Field Original Value New Value
        Attachment suite.jelly [ 18341 ]
        Attachment PropertiesTag.java [ 18340 ]
        Hide
        dion gillard added a comment -

        Committed

        Show
        dion gillard added a comment - Committed
        dion gillard made changes -
        Fix Version/s 1.0 [ 10216 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 13h 5m 1 dion gillard 10/Dec/04 06:25

          People

          • Assignee:
            Unassigned
            Reporter:
            Matthias Kerkhoff
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development