commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Kerkhoff (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Updated: (JELLY-172) util:properties locks the file forever
Date Thu, 09 Dec 2004 08:52:18 GMT
     [ http://nagoya.apache.org/jira/browse/JELLY-172?page=history ]

Matthias Kerkhoff updated JELLY-172:
------------------------------------

    Attachment: PropertiesTag.java
                suite.jelly

Proposed fix and testcase for JELLY-172.

> util:properties locks the file forever
> --------------------------------------
>
>          Key: JELLY-172
>          URL: http://nagoya.apache.org/jira/browse/JELLY-172
>      Project: jelly
>         Type: Bug
>   Components: taglib.util
>  Environment: windows, util-taglib version that comes with maven 1.0.2
>     Reporter: Matthias Kerkhoff
>  Attachments: PropertiesTag.java, suite.jelly
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message