You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Matthias Kerkhoff (JIRA)" <co...@jakarta.apache.org> on 2004/12/09 09:52:18 UTC

[jira] Updated: (JELLY-172) util:properties locks the file forever

     [ 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