Download MetaTrader 5

How to pack structured source code for a customer

To add comments, please log in or register
Have you developed a profitable strategy? Launch your trading signal and make profit from it!
Ex Ovo Omnia
3142
Ex Ovo Omnia 2014.08.13 10:21 

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
3142
Ex Ovo Omnia 2016.04.22 06:26  
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
1154
Doerk Hilger 2016.04.22 07:01  
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
3142
Ex Ovo Omnia 2016.04.22 07:55  
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
1154
Doerk Hilger 2016.04.22 15:15  
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
3142
Ex Ovo Omnia 2016.04.22 17:34  
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
17875
Stanislav Korotky 2016.04.22 21:38  
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
30714
Alain Verleyen 2016.04.22 21:42  
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
3142
Ex Ovo Omnia 2016.04.23 09:56  
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