Download MetaTrader 5

How to pack structured source code for a customer

To add comments, please log in or register
Ex Ovo Omnia
3401
Ex Ovo Omnia  

Hi, I wonder how you pack the source code for delivery if it uses many #include directives with code distributed in many files.

I think that solution could be smart replacing the #include directives by files content. It is actually not a trivial task, so before I start with the tool, I wonder if some of you mastered the code distribution in a better way.

Ex Ovo Omnia
3401
Ex Ovo Omnia  
I am trying to resurrect this topic after a while. Perhaps someone has the answer, when so many freelancers must deliver their code.
Doerk Hilger
1553
Doerk Hilger  
How about an installer? (Google EA Install). It allows you to specify any subdirectory of the MetaTrader installation for multiple categories of files. 
Ex Ovo Omnia
3401
Ex Ovo Omnia  
Doerk Hilger:
How about an installer? (Google EA Install). It allows you to specify any subdirectory of the MetaTrader installation for multiple categories of files. 

Yes, I could use the installer or whatever suitable, but how do I retrieve (copy) exactly those files that were used in the particular project? There are many generic files in the project (mostly there is a single file per class), I would like to pack only those files used by the top project file (and its dependencies inc. resources).

Doerk Hilger
1553
Doerk Hilger  
It´s exactly what this installer can do for you. My EA/System includes an API with a couple of sources additionally to the EA itself. The installer does not only install the EA, it copies all files that I want to be copied to the folders I want them to become copied. I guess it´s exactly what you need. And no - it´s not my product ;) But I can really recommend it.
Ex Ovo Omnia
3401
Ex Ovo Omnia  
Doerk Hilger:
It´s exactly what this installer can do for you. My EA/System includes an API with a couple of sources additionally to the EA itself. The installer does not only install the EA, it copies all files that I want to be copied to the folders I want them to become copied. I guess it´s exactly what you need. And no - it´s not my product ;) But I can really recommend it.
Doerk, could you confirm, whether the installer can resolve the dependency of included source files? - I could not decipher it from the post.
Stanislav Korotky
23187
Stanislav Korotky  
Why can't you zip all the required stuff with subfolders, so that a customer then just unzip them into mql4/mql5 folder recreating initial hierarchy?
Alain Verleyen
Moderator
34557
Alain Verleyen  
Stanislav Korotky:
Why can't you zip all the required stuff with subfolders, so that a customer then just unzip them into mql4/mql5 folder recreating initial hierarchy?
Because the files he wants are mixed with others he doesn't want to provide.
Ex Ovo Omnia
3401
Ex Ovo Omnia  
Alain Verleyen:
Because the files he wants are mixed with others he doesn't want to provide.
Exactly, delivering redundant files only confuses the customer and may be a source of future problems.
To add comments, please log in or register