Can't copy/paste projects in Project Explorer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't copy/paste projects in Project Explorer

557 Views
garylynch
Contributor IV

While trying to solve another problem I decided to de-clutter
my workspace by deleting non-essential projects.  I first
made a back-up copy of workspace.kds, then shut down KDS,
and deleted the superfluous directories.  This didn't
terminate perfectly, as the directory holding the last
project I had open wouldn't go away as Windows reported it
in use by another program.  All its files disappeared, but
the directory itself remains.

 

I then re-started KDS and discovered it still thought all
the projects were still there, so I deleted them again
inside Project Explorer using the Delete command under the
context menu.

 

I then attempted to clone a project using copy/paste
commands from the context menu.  Copy seemed to work, but
Paste was dimmed out.  I tried shutting down KDS, then re-
booting Windows, but it didn't help.  I then returned to the
backed-up workspace, but it now has the same problem.

 

This happened on Kinetis 3.0.0 under Windows 7.

 

I have trawled all the forums and it appears I am the only
person to whom this has happened.  Is there a recovery path?

Labels (1)
0 Kudos
3 Replies

387 Views
randenewberry
Contributor IV

Hi Gary,

Have you been able to debug that cloned project?

I still have yet to find a way to clone that works. I followed the instructions from Derek Snell on April 26, 2016, I gave up trying to find all the necessary project rename and found a different approach from a video by ZhangJennie in Feb 2015, followed that perfect, but again compiles with no errors, but won't debug.

If you have been able to debug the clone project, please let me know what you did!!

Thanks, Rande

0 Kudos

387 Views
trytohelp
NXP Employee
NXP Employee

Hi Gary,

Sorry for the delay.

When KDS (true for Eclipse) is launched you need to select a workspace.

A folder is created to the specify path.

Inside this folder a .metadata folder is created and contains all project properties.

By default all projects created are located in this workspace folder too.

If you removed a project folder with Windows Explorer -when KDS is closed- , when you re-start KDS the project will still appear.

However the project will be empty.

Inside the .metadata folder the removed project folder is always referenced.

If you removed a project using the KDS Delete option, the project will be deleted in the project window.

An additional dialog ask you if you want to remove the physical folder too.

If you select it the project will be completely deleted.

If you want to clean your project settings, you can use another way:

      - close KDS,

    - via Windows Explorer, remove .metadata folder,

    - re-start KDS using your default workspace,

    - no project will appear,

    - you can import only the project(s) you need via the menu File + Import

Don't know if this will help.

If you need more info let me know.

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

387 Views
garylynch
Contributor IV

To anyone who lands here via a search engine:  It appears the whole issue was my failure to open the project before I attempted to copy it.  In the closed state it can be copied but not pasted.  I knew better, but it has been an extremely frustrating morning (and then some) on multiple fronts.

0 Kudos