#!/bin/sh # This script is the result of a loong trial an error, cleanup exercise on the CCS V. 10.1 # It reduced the size of the instalation from 1.8 Gb down to 0.5 Gb (where the compiler itself takes 0.2 Gb) # So still after this cleanup we use 0.3 Gb just to convert the .project files into a makefile to run the compiler. ## As far as I can tell the folowing tree plugins is required # This is base eclipse req. # - org.eclipse.platform.ide # Apears to contain the com.ti.ccstudio.apps.* # - com.ti.ccstudio.idemain.feature.group \ # The build complaints of missing Compiler def if this is missing # - com.ti.ccstudio.c2000.feature.group # # then there are some plugins that will not uninstall, like the debugServer # there seams to be some circular dependencies to/from org.eclipse.platform.ide # I will leave those sticky plugins on the uninstall list, maybe in the future # TI cleans up this dependency mess :-) (you are alowed to hope) /ti/ccs1000/ccs/eclipse/eclipse -application org.eclipse.equinox.p2.director \ -uninstallIU com.ti.arm.18.1.help.feature.group \ -uninstallIU com.ti.c2000.18.1.help.feature.group \ -uninstallIU com.ti.c2000.18.1.help.feature.group \ -uninstallIU org.eclipse.help.feature.group \ -uninstallIU com.ti.ccstudio.c5500.feature.group \ -uninstallIU com.ti.ccstudio.c6000.feature.group \ -uninstallIU com.ti.ccstudio.c7000.feature.group \ -uninstallIU com.ti.ccstudio.cloudagent.linux.feature.group \ -uninstallIU com.ti.ccstudio.debugserver.linux.feature.group \ -uninstallIU com.ti.ccstudio.doc.linux.feature.group \ -uninstallIU com.ti.ccstudio.msp430.feature.group \ -uninstallIU com.ti.ccstudio.nodejs.linux.feature.group \ -uninstallIU com.ti.ccstudio.tms470.feature.group \ -uninstallIU com.ti.ccstudio.usersguide.feature.group \ -uninstallIU com.ti.cgt.c2000.20.linux.feature.group \ -uninstallIU com.ti.cgt.tms470.20.linux.feature.group \ -uninstallIU com.ti.chromium.browser.feature.group \ -uninstallIU com.ti.dvt.energytrace.feature.group \ -uninstallIU com.ti.dvt2.analysis.suite.feature.group \ -uninstallIU com.ti.dvt2.graph.visualization.feature.group \ -uninstallIU com.ti.dvt2.profileanalysismanager.feature.group \ -uninstallIU com.ti.dvt2.resource.explorer.feature.group \ -uninstallIU com.ti.dvt2.rov.feature.group \ -uninstallIU com.ti.dvt2.trace.ccs.feature.group \ -uninstallIU com.ti.dvt2.trace.control.feature.group \ -uninstallIU com.ti.dvt2.uia.feature.group \ -uninstallIU com.ti.dvt2.via.ccs.feature.group \ -uninstallIU com.ti.emulation.pack.linux.feature.group \ -uninstallIU com.ti.tirex.feature.group \ -uninstallIU com.ti.tirex4.feature.group \ -uninstallIU gnu.io.rxtx.feature.group \ -uninstallIU org.eclipse.cdt.debug.ui.memory.feature.group \ -uninstallIU org.eclipse.egit.feature.group \ -uninstallIU org.eclipse.equinox.p2.user.ui.feature.group \ -uninstallIU org.eclipse.help.feature.group \ -uninstallIU org.eclipse.help.feature.group \ -uninstallIU org.eclipse.help.feature.group \ -uninstallIU org.eclipse.rtsc.xdctools.product.ui.feature.group \ -uninstallIU org.eclipse.rtsc.xdctools.product_3.61.2.27.feature.group \ -uninstallIU org.eclipse.tm.terminal.connector.cdtserial.feature.feature.group \ -uninstallIU com.ti.c2800.flash.feature.group \ -uninstallIU com.ti.c2000.support.linux.feature.group \ -uninstallIU com.ti.ccstudio.installer.linux64.feature.group \ -uninstallIU com.ti.cgt.dmed.linux.feature.group \ -uninstallIU com.ti.dbgtrc.webapp \ -uninstallIU com.ti.dsflash.linux.feature.group \ -uninstallIU com.ti.ccstudio.base.feature.group \ -uninstallIU com.ti.ccstudio.launcher.linux.feature.group \ -uninstallIU com.ti.ccstudio.p2tool.feature.group \ -uninstallIU com.ti.ccstudio.sysconfig.feature.group \ -uninstallIU com.ti.ccstudio.targetdb.props.default.linux.feature.group \ -uninstallIU com.ti.ccstudio.utils.cli.linux.feature.group \ -uninstallIU com.ti.ccstudio.workflow.feature.group \ -uninstallIU com.ti.ccstudio.p2appf.feature.group \ -uninstallIU org.eclipse.cdt.feature.group \ -uninstallIU org.eclipse.cdt.launch.remote.feature.group \ -uninstallIU org.eclipse.epp.mpc.feature.group \ -uninstallIU org.eclipse.equinox.p2.discovery.feature.feature.group \ -uninstallIU org.eclipse.equinox.p2.user.ui.feature.group \ -uninstallIU org.eclipse.gef.feature.group \ -uninstallIU org.eclipse.gmf.runtime.thirdparty.feature.group \ -uninstallIU org.eclipse.help.feature.group \ -uninstallIU org.eclipse.rse.feature.group \ -uninstallIU org.eclipse.tm.terminal.feature.feature.group \ -uninstallIU org.eclipse.cdt.build.crossgcc.feature.group \ -uninstallIU com.ti.targetcontent.feature.group \ -uninstallIU org.eclipse.help.feature.group \ -uninstallIU org.eclipse.equinox.p2.user.ui.feature.group \ -uninstallIU com.ti.gc.backplane.feature.group \ -uninstallIU com.ti.gc.pm.feature.group \ -uninstallIU com.ti.debug.server.feature.group \ -uninstallIU com.ti.tools.common.feature.group \ /ti/ccs1000/ccs/eclipse/eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile epp.package.cpp #/ti/ccs1000/ccs/eclipse/eclipse -application org.eclipse.equinox.p2.director -listInstalledRoots #then some brutal file deletion, there is a lot of cruft to get rid of here rm /ti/ccs1000/ccs/eclipse/ccstudio rm -rf /ti/ccs1000/xdctools* rm -rf /ti/ccs1000/ccs/uninstal* rm -rf /ti/ccs1000/ccs/tirex* rm -rf /ti/ccs1000/ccs/install_* rm -rf /ti/ccs1000/ccs/.install* rm -rf /ti/ccs1000/ccs/doc rm -rf /ti/ccs1000/ccs/utils/sysconfig* rm -rf /ti/ccs1000/ccs/utils/bin/make-4.1.tar.bz2 rm -rf /ti/ccs1000/ccs/utils/tiobj2bin rm -rf /ti/ccs1000/ccs/tools/node rm -rf /ti/ccs1000/ccs/ccs_base/emulation rm -rf /ti/ccs1000/ccs/ccs_base/cloudagent # Keep 3 out of a bunch so move-copy-delete mv /ti/ccs1000/ccs/ccs_base/DebugServer/bin /ti/ccs1000/ccs/ccs_base/DebugServer/bin2 mkdir /ti/ccs1000/ccs/ccs_base/DebugServer/bin cp /ti/ccs1000/ccs/ccs_base/DebugServer/bin2/libti_xpcom.so /ti/ccs1000/ccs/ccs_base/DebugServer/bin cp /ti/ccs1000/ccs/ccs_base/DebugServer/bin2/libXPCOMUtility.so /ti/ccs1000/ccs/ccs_base/DebugServer/bin cp /ti/ccs1000/ccs/ccs_base/DebugServer/bin2/libDirectoryService.so /ti/ccs1000/ccs/ccs_base/DebugServer/bin rm -rf /ti/ccs1000/ccs/ccs_base/DebugServer/bin2 rm -rf /ti/ccs1000/ccs/ccs_base/DebugServer/propertyDB rm -rf /ti/ccs1000/ccs/ccs_base/DebugServer/drivers rm -rf /ti/ccs1000/ccs/ccs_base/DebugServer/CacheInfo rm -rf /ti/ccs1000/ccs/ccs_base/DebugServer/scripts rm -rf /ti/ccs1000/ccs/ccs_base/DebugServer/schemas rm -rf /ti/ccs1000/ccs/ccs_base/common/uscif rm -rf /ti/ccs1000/ccs/ccs_base/common/targetdb/Modules/ihwa rm /ti/ccs1000/ccs/ccs_base/common/bin/*.tar.gz rm /ti/ccs1000/ccs/ccs_base/common/bin/libxerces-c* rm /ti/ccs1000/ccs/ccs_base/common/bin/libsetup_parser.so rm -rf /ti/ccs1000/ccs/ccs_base/common/install rm -rf /ti/ccs1000/ccs/ccs_base/common/analysis rm -rf /ti/ccs1000/ccs/ccs_base/common/IDE rm -rf /ti/ccs1000/ccs/ccs_base/dvt* rm -rf /ti/ccs1000/ccs/ccs_base/scripting rm -rf /ti/ccs1000/ccs/ccs_base/c2000 rm -rf /ti/ccs1000/ccs/ccs_base/tiva rm -rf /ti/ccs1000/ccs/ccs_base/eclipse rm -rf /ti/ccs1000/ccs/ccs_base/doc rm -rf /ti/ccs1000/ccs/ccs_base/arm # this one does not take any significant space it is more the irony of a .desktop file in this CLI optomized world rm "ccs1000/Code Composer Studio 10.1.0.desktop"