The following issue has been updated:
Updater: Chris Dolphy (mailto:[EMAIL PROTECTED] )
Date: Tue, 11 Nov 2003 8:34 PM
Changes:
Attachment changed to patch.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-706&page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-706
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-706
Summary: When an error occurs in generation the file left open
Type: Improvement
Status: Assigned
Priority: Minor
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Core
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Chris Dolphy
Created: Tue, 11 Nov 2003 8:33 PM
Updated: Tue, 11 Nov 2003 8:34 PM
Environment: WebSphere Application Developer
ant 1.5
Description:
When using WebSphere Application Developer and something goes wrong during the build,
xdoclet leaves files locked, so I must close WSAD before rebuilding.
I don't know how to submit a patch, so here it is:
Index: TemplateEngine.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/template/TemplateEngine.java,v
retrieving revision 1.36
diff -u -r1.36 TemplateEngine.java
--- TemplateEngine.java 30 Aug 2003 06:24:47 -0000 1.36
+++ TemplateEngine.java 12 Nov 2003 02:19:51 -0000
@@ -420,6 +420,9 @@
log.error(msg, ex);
throw new TemplateException(ex, msg);
}
+ finally {
+ out.close();
+ }
}
else {
String msg = Translator.getString(XDocletTemplateMessages.class,
XDocletTemplateMessages.TEMPLATE_NOT_FOUND, new String[]{getTemplateURL().toString()});
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel