Skip to Content
Author's profile photo Jerry Wang

Local storage of entities in Eclipse

Recently I have developed some CDS views in Eclipse and I would like to share the source codes in github. I am reluctant to manually copy the source code of each view one by one, as a result I am checking whether there are some folders in my local laptops where the source code are cached.

I spent some time to research and here is the result.

I have created three ABAP projects in Eclipse:

/wp-content/uploads/2016/04/clipboard1_936998.png

And in this location C:\Users\i042416\workspace_adt\.metadata\.plugins\org.eclipse.core.resources.semantic\.cache

How do I find the path “C:\Users\i042416\workspace_adt“? Just right click ABAP project and choose Properties from context menu, and choose Resource->Linked Resources:

/wp-content/uploads/2016/04/clipboard2_936999.png

I could see three folders correspondingly:

/wp-content/uploads/2016/04/clipboard3_937000.png

Enter the first folder and then there are four sub folders. The folder ddic just stores the source code of CDS views which I am looking for.

/wp-content/uploads/2016/04/clipboard4_937001.png

Every CDS view in Eclipse has a corresponding folder in local file system:

/wp-content/uploads/2016/04/clipboard5_937002.png

The asddls file within that folder just contains exactly the source code of CDS view, which could be opened via any text editor.

/wp-content/uploads/2016/04/clipboard6_937003.png

Then I could just upload those folders to github very conveniently to avoid the manual ctrl + c and ctrl + v 🙂

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Jerry,

      do you know that one here:

      Git client for ABAP - alpha release

      Regards,

      Thomas.

      Author's profile photo Jerry Wang
      Jerry Wang
      Blog Post Author

      Hello Thomas,

      No, I am not aware of this tool. Looks like very useful. I will try it. Thanks a lot for you to let me know it 🙂

      Best regards,

      Jerry