You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (Created) (JIRA)" <ji...@apache.org> on 2012/02/13 05:04:59 UTC
[jira] [Created] (GERONIMODEVTOOLS-783) Could not replace with temp
file error prevents class hot swap
Could not replace with temp file error prevents class hot swap
---------------------------------------------------------------
Key: GERONIMODEVTOOLS-783
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-783
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 3.0-beta-1
Reporter: Jarek Gawor
Class hot swap is not performed because there is an error creating a jar file that contains the changed classes. GEP calls PublishHelper Eclipse API to generate the jar file and that fails with the "Could not replace with temp file". From https://bugs.eclipse.org/bugs/show_bug.cgi?id=206858 looks like the problem is related to File.renameTo() issue where the source and destination are on different file systems.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (GERONIMODEVTOOLS-783) Could not replace with
temp file error prevents class hot swap
Posted by "Jarek Gawor (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMODEVTOOLS-783.
------------------------------------------
Resolution: Fixed
Fix Version/s: 3.0-beta-2
Assignee: Jarek Gawor
Committed a work-around for this problem in revision 1243411. The work-around ensures that the same temporary directory is used by PublishHelper and the input file name.
> Could not replace with temp file error prevents class hot swap
> ---------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-783
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-783
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 3.0-beta-1
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 3.0-beta-2
>
>
> Class hot swap is not performed because there is an error creating a jar file that contains the changed classes. GEP calls PublishHelper Eclipse API to generate the jar file and that fails with the "Could not replace with temp file". From https://bugs.eclipse.org/bugs/show_bug.cgi?id=206858 looks like the problem is related to File.renameTo() issue where the source and destination are on different file systems.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira