Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
Recursive Directory Bug in Eclipse Project Import
There exists a set of circumstances in which the Eclipse project manager will create a recursive directory structure when importing an existing project with the "Copy projects into workspace" option checked. The result is a deeply nested directory structure on your PC that Windows cannot delete because the path names are too long.
If this happens, there is a Perl script available (see link below) used to delete the directory structure.
Circumstances under which the Bug Occurs
Described below are one set of circumstances in which this bug occurs. It should be noted however that other circumstances may exist that are not known to the author of this article at this time.
- Project ---> Import Existing CCS/CCE Eclipse Project
- The 'Copy projects into workspace' option is checked
- The workspace directory is the same as the project directory
The key element here is that the project directory and the workspace directory are the same. The project directory is the one that contains the CCS project folders as shown below.
Perl Script Download
A Perl script is available that can be used to delete the recursive directory structure. This is needed because Windows is unable to delete it due to long pathnames.
NOTE: Since the Perl script permanently deletes a directory tree,
care must be taken. This script is being provided "as-is" and TI is
not responsible for any data loss as a result of running the script.
The script will ask for confirmation prior to deleting anything.
Download the Perl script here: recursiveDelete.zip
Tested with ActiveState Perl 5.8.0 and 5.8.8 on Windows XP SP2