[jbosstools-issues] [JBoss JIRA] (JBDS-2458) JBDS uninstaller doesn't actually remove JBDS

Nick Boldt (JIRA) jira-events at lists.jboss.org
Sat Apr 13 16:25:53 EDT 2013


    [ https://issues.jboss.org/browse/JBDS-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767019#comment-12767019 ] 

Nick Boldt edited comment on JBDS-2458 at 4/13/13 4:25 PM:
-----------------------------------------------------------

Uninstaller (in trunk - 7.0.0.Beta1) will now remove these additional files:
{code}
	protected String[] additionalUninstallableFiles = {
		/* files/folders in studio folder */
		"studio" + System.getProperty("file.separator") + "readme",
		"studio" + System.getProperty("file.separator") + "features",
		"studio" + System.getProperty("file.separator") + "plugins",
		"studio" + System.getProperty("file.separator") + "p2",
		"studio" + System.getProperty("file.separator") + "artifacts.xml",
		"studio" + System.getProperty("file.separator") + ".eclipseproduct",
		"studio" + System.getProperty("file.separator") + "epl-v10.html",
		"studio" + System.getProperty("file.separator") + "icon.xpm",
		"studio" + System.getProperty("file.separator") + "jbdevstudio",
		"studio" + System.getProperty("file.separator") + "notice.html",
		"studio" + System.getProperty("file.separator") + "runtime_locations.properties",
		"studio" + System.getProperty("file.separator") + "48-jbds_icon.png",
		"studio" + System.getProperty("file.separator") + "48-jbds_uninstall_icon.png",
		"studio" + System.getProperty("file.separator") + "jbds.ico",
		"studio" + System.getProperty("file.separator") + "jbds_uninstall.ico",

		/* files/folders in root folder */
		"Uninstaller",
		".installationinformation",
		"InstallConfigRecord.xml",
		"jbdevstudio",
		"jbdevstudio-unity",
		"JBoss-EULA.html",
		"readme.txt"
	};
{code}

Assume we want to retain studio/jbdevstudio.ini and studio/configuration/, just in case user modified them post-install.

Should we also keep runtimes/ folder? If so will need a way to REMOVE files in uninstallData as it currently only supports add()

                
      was (Author: nickboldt):
    Uninstaller will now remove these additional files:
{code}
	protected String[] additionalUninstallableFiles = {
		/* files/folders in studio folder */
		"studio" + System.getProperty("file.separator") + "readme",
		"studio" + System.getProperty("file.separator") + "features",
		"studio" + System.getProperty("file.separator") + "plugins",
		"studio" + System.getProperty("file.separator") + "p2",
		"studio" + System.getProperty("file.separator") + "artifacts.xml",
		"studio" + System.getProperty("file.separator") + ".eclipseproduct",
		"studio" + System.getProperty("file.separator") + "epl-v10.html",
		"studio" + System.getProperty("file.separator") + "icon.xpm",
		"studio" + System.getProperty("file.separator") + "jbdevstudio",
		"studio" + System.getProperty("file.separator") + "notice.html",
		"studio" + System.getProperty("file.separator") + "runtime_locations.properties",
		"studio" + System.getProperty("file.separator") + "48-jbds_icon.png",
		"studio" + System.getProperty("file.separator") + "48-jbds_uninstall_icon.png",
		"studio" + System.getProperty("file.separator") + "jbds.ico",
		"studio" + System.getProperty("file.separator") + "jbds_uninstall.ico",

		/* files/folders in root folder */
		"Uninstaller",
		".installationinformation",
		"InstallConfigRecord.xml",
		"jbdevstudio",
		"jbdevstudio-unity",
		"JBoss-EULA.html",
		"readme.txt"
	};
{code}

Assume we want to retain studio/jbdevstudio.ini and studio/configuration/, just in case user modified them post-install.

Should we also keep runtimes/ folder? If so will need a way to REMOVE files in uninstallData as it currently only supports add()

                  
> JBDS uninstaller doesn't actually remove JBDS
> ---------------------------------------------
>
>                 Key: JBDS-2458
>                 URL: https://issues.jboss.org/browse/JBDS-2458
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: installer, Upstream
>    Affects Versions: 6.0.0.GA
>         Environment: Fedora 17
>            Reporter: Michelle Murray
>            Assignee: Denis Golovin
>             Fix For: 7.0.0.Beta1
>
>
> The uninstaller has two options:
> 1. force deletion of installation folder (select check box)
> 2 don't force the deletion of the installation folder (don't select check box)
> I would expect option 1 to delete the whole installation folder including any files I might have added in there. It does. :)
> I would expect option 2 to delete anything to do with JBDS but leave the folder and any files I have created in it. It doesn't. It leaves a studio folder full of JBDS files and a shortcut by which I can still launch what appears to be a working JBDS. As a user I would assume that the uninstaller would remove JBDS at the very least and I shouldn't still be able to launch it. :(

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list