sr91
01-28-2008, 03:41 AM
I was happy to read that Visual Patch supports for unattended builds and was almost decided in my mind that our company would by the software, but after looking closer it seems that the unattended build features are not enough to feed our needs. Please tell me that I am wrong.
My build process is based on Nant (which can of course call any program and pass arguments). For the patching consideration, we were looking for a program that could:
- Take two directories: DirA and DirB, containing the old and the new version. Based on those 2 directories, the program could produce a diff patch that would move any DirA into a DirB.
- Control that a patch to move from v1.4 to v1.5 will not work if applied on a v1.6 (the system controls the previous version).
- Can be automated.
It seems that the two first points are ok, but as far as I have seen, the bulk of the work is done with a GUI. We'd like to do it through a command line.
Currently, VisualPatch only support building the patch, when everything is already setup. We basically would like to setup the patch using the command line or an API in order to integrate the patch creation in an automated Nant script (having our support engineers to deal manually with a GUI every time we need a patch is not an option unfortunately).
I saw that the vp2 file is in XML so in last resort we can virtually build up our own vp2 file before calling the "unattended" build of VP. However the format of this file is not trivial and I guess not documented at all.
Thanks in advance for your advises!
Sylvain
My build process is based on Nant (which can of course call any program and pass arguments). For the patching consideration, we were looking for a program that could:
- Take two directories: DirA and DirB, containing the old and the new version. Based on those 2 directories, the program could produce a diff patch that would move any DirA into a DirB.
- Control that a patch to move from v1.4 to v1.5 will not work if applied on a v1.6 (the system controls the previous version).
- Can be automated.
It seems that the two first points are ok, but as far as I have seen, the bulk of the work is done with a GUI. We'd like to do it through a command line.
Currently, VisualPatch only support building the patch, when everything is already setup. We basically would like to setup the patch using the command line or an API in order to integrate the patch creation in an automated Nant script (having our support engineers to deal manually with a GUI every time we need a patch is not an option unfortunately).
I saw that the vp2 file is in XML so in last resort we can virtually build up our own vp2 file before calling the "unattended" build of VP. However the format of this file is not trivial and I guess not documented at all.
Thanks in advance for your advises!
Sylvain