Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360258

Summary: Ant editor keeps links to Jars open
Product: [Eclipse Project] Platform Reporter: Holger <eichelberger>
Component: AntAssignee: Pradeep Balachandran <pradeepb>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie, Olivier_Thomann, remy.suen
Version: 3.8Keywords: performance
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Holger CLA 2011-10-07 12:41:59 EDT
Build Identifier: I20110613-1736

When an ant build file links to external jars to define new tasks (aka taskdef) the Eclipse ANT file opens a the file in order to enable auto-completion of tasks but it does not close it when closing the editor tab. The file remains opened (for the operating system) until Eclipse closes. In case of tasks under development, the defining JAR file cannot be overwritten in course of a rebuild because Eclipse keeps the file open - it would be helpful that the editor closes the file upon editor close or to read out the taskdefs and watches the linked JAR files for modifications instead of keeping the file just opened.

Reproducible: Always

Steps to Reproduce:
1. Edit ANT file with taskdef to jar in same project.
2. Eclipse holds lock on file until IDE is closed. File cannot be modified from outside.
Comment 1 Olivier Thomann CLA 2011-10-07 13:11:04 EDT
Move to Platform/Ant
Comment 2 Eclipse Genie CLA 2020-06-17 11:41:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.