Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

Local storage of entities in Eclipse

$
0
0

Recently I have developed some CDS views in Eclipse and I would like to share the source codes in github. I am relunctant 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:

clipboard1.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:


clipboard2.png

I could see three folders correspondingly:

clipboard3.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.


clipboard4.png

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

clipboard5.png

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

clipboard6.png

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


Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>