]
George Gastaldi updated FORGE-2200:
-----------------------------------
Summary: Unable to fully remove addon in Windows (was: Unable to fully remove addon)
Unable to fully remove addon in Windows
---------------------------------------
Key: FORGE-2200
URL:
https://issues.jboss.org/browse/FORGE-2200
Project: Forge
Issue Type: Bug
Components: Addon Development, Windows
Affects Versions: 2.13.0.Final
Environment: Eclipse CLI
Reporter: Michael Schwartz
Priority: Minor
Fix For: 2.x Future
as reported here:
https://developer.jboss.org/thread/251850
While developing addon's it is important to constantly redeploying the addon without
changing the version number for each deploy. Currently this is not possible without
closing/opening eclipse between each redeploy. After a while I found the following:
When executing "addon-remove" in Eclipse Luna the specified addon gets removed
in the installed.xml file in the user's .forge directory.
The corresponding class-files in .forge directory however are still there and cannot be
deleted under windows which is an indicator of an open file pointer.
When stopping forge console the directory still cannot be deleted. One have to close
eclipse in order to delete the directory.
I assume that this is the cause of not being able to update the addon without exiting
eclipse.