Skip to main content

Export analysed Source Code with extensions.

  • July 16, 2015
  • 5 replies
  • 0 views

Hi, me again :-)

as part of our deliverable to the client, we need to give over the source code that was analysed. 

The client wants the code to have the file extensions, eg, *.cob; *.cpy etc. 

Is this possible to do such an export?


#ExtensionsexportAnalyzer
#EnterpriseAnalyzer

5 replies

  • Author
  • Rocketeer
  • 19312 replies
  • July 16, 2015

Hi, me again :-)

as part of our deliverable to the client, we need to give over the source code that was analysed. 

The client wants the code to have the file extensions, eg, *.cob; *.cpy etc. 

Is this possible to do such an export?


#ExtensionsexportAnalyzer
#EnterpriseAnalyzer

Hi.  You probably have a few choices: 1) In EA, Workspace, Export Sources from Workspace, 2) Via Windows Explorer, repositories "Sources" folder.  

EA must use a default extension (e.g., cbl for COBOL).

Hope this helps

Jon


  • Author
  • Rocketeer
  • 19312 replies
  • July 20, 2015

Hi, me again :-)

as part of our deliverable to the client, we need to give over the source code that was analysed. 

The client wants the code to have the file extensions, eg, *.cob; *.cpy etc. 

Is this possible to do such an export?


#ExtensionsexportAnalyzer
#EnterpriseAnalyzer

Hi, unfortunately when exporting from the workspace, it does not include the file extension.

So we get the source code without an extension, example

And once analysed, the client wants us to return the source code WITH the correct extension, example:

From all my research, EA cannot export from workspace with the extensions - am I correct in this?


  • Author
  • Rocketeer
  • 19312 replies
  • July 20, 2015

Hi, me again :-)

as part of our deliverable to the client, we need to give over the source code that was analysed. 

The client wants the code to have the file extensions, eg, *.cob; *.cpy etc. 

Is this possible to do such an export?


#ExtensionsexportAnalyzer
#EnterpriseAnalyzer

Perhaps you are viewing the folder with settings to hide the extension of known file types? I can say with 100% confidence that if you export the source using the 'Export sources from workspace' from the Workspace menu you get the extensions included.


  • 0 replies
  • July 20, 2015

Hi, me again :-)

as part of our deliverable to the client, we need to give over the source code that was analysed. 

The client wants the code to have the file extensions, eg, *.cob; *.cpy etc. 

Is this possible to do such an export?


#ExtensionsexportAnalyzer
#EnterpriseAnalyzer

I have worked a lot with that feature lately and can confirm Neil's message. Of course, EA will not add any extensiion but will use those, that are there. I usually add extensions to my sources code and do no rely on the automatic type recognition, as it is not 100 % reliable.

from the diagrammer or from the tag manager you have an option to "include into project" where you specify a new project name. That will create an extra project from which export of sources should work.

kind regards

Joachim Blome, B B Unternehmensberatung


  • Author
  • Rocketeer
  • 19312 replies
  • December 4, 2015

Hi, me again :-)

as part of our deliverable to the client, we need to give over the source code that was analysed. 

The client wants the code to have the file extensions, eg, *.cob; *.cpy etc. 

Is this possible to do such an export?


#ExtensionsexportAnalyzer
#EnterpriseAnalyzer

Joachim, please, do you have a exemple of batch command (.bat) to include into project ?

thanks

Ailton