Developer FAQ: Difference between revisions

Jump to navigation Jump to search
m
Line 111: Line 111:
This is the ''best method'' to work to build such a patch file:
This is the ''best method'' to work to build such a patch file:


- First, you must have a directory containing last reference version of Dolibarr (the result of a CVS update or simply the files resulting of uncompressing a Dolibarr .tgz snapshot). We will cal this directory '''old_dir'''. You can get this snapshot for current developped version on [http://www.dolibarr.org/download Dolibarr official web site in download area].
- First, you must have a directory containing last reference version of Dolibarr (the result of a CVS update or simply the files resulting of uncompressing a Dolibarr .tgz snapshot). We will cal this directory '''old_dir'''. You can get this snapshot for current developed version on [http://www.dolibarr.org/downloads/ Dolibarr official web site in download area - development version].


- Then, you must have a second directory, from same source, that will contains Dolibarr directories, in which you will make all you files. We will call this directory '''nes_dir'''.
- Then, you must have a second directory, from same source, that will contains Dolibarr directories, in which you will make all you files. We will call this directory '''new_dir'''.


To build the patch file, you must launch the '''diff''' command (available on all Linux, provided with [http://www.cygwin.org cygwin] under Windows) with the following command:
To build the patch file, you must launch the '''diff''' command (available on all Linux, provided with [http://www.cygwin.org cygwin] under Windows) with the following command:

Navigation menu