Using GIT for Dataflex Development: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m
Added to Tutorials category
m (Typo)
m (Added to Tutorials category)
(4 intermediate revisions by 2 users not shown)
Line 194: Line 194:
I inserted ‘Use for_all.pkg’ at the top of the SalesP.vw  code and the code below just before the End_object of the oContainer1;
I inserted ‘Use for_all.pkg’ at the top of the SalesP.vw  code and the code below just before the End_object of the oContainer1;


  <nowiki>
  <source lang="dataflex">
         // This only works from VDF 17.0 where Refresh is also send to containers
         // This only works from VDF 17.0 where Refresh is also send to containers
         Procedure Refresh Integer eMode
         Procedure Refresh Integer eMode
Line 221: Line 221:
             End_Procedure
             End_Procedure
         End_Object
         End_Object
  </nowiki>
  </source>


Switch back to Git Gui and do a rescan (F5). You see that SalesP.vw and probably order.cfg are changed.
Switch back to Git Gui and do a rescan (F5). You see that SalesP.vw and probably order.cfg are changed.
Line 298: Line 298:
Switch back to VDF Studio and the SalesP.vw file. Change the Refresh procedure to the following code:
Switch back to VDF Studio and the SalesP.vw file. Change the Refresh procedure to the following code:


  <nowiki>
  <source lang="dataflex">
         // This only works from VDF 17.0 where Refresh is also send to containers
         // This only works from VDF 17.0 where Refresh is also send to containers
         Procedure Refresh Integer eMode
         Procedure Refresh Integer eMode
Line 311: Line 311:
             Forward Send Refresh eMode
             Forward Send Refresh eMode
         End_Procedure
         End_Procedure
  </nowiki>
  </source>


Compile and confirm the code.
Compile and confirm the code.
Line 625: Line 625:
|http://support.dataaccess.com/Forums/entry.php?92-Source-Control-and-Visual-DataFlex-101-The-Basics
|http://support.dataaccess.com/Forums/entry.php?92-Source-Control-and-Visual-DataFlex-101-The-Basics
|}
|}
== Third party Git utilities ==
* [https://www.syntevo.com/smartgit/ SmartGit]
* [https://github.com/nvie/gitflow Gitflow]
* [https://gitforwindows.org/ Git for Windows]


----
----
Line 630: Line 636:
If you like this article, find issues or need more explanation on any of this, please send me an email.
If you like this article, find issues or need more explanation on any of this, please send me an email.
My email is m dot kuipers at internode dot on dot net
My email is m dot kuipers at internode dot on dot net
[[Category:How To]]
[[Category:Tutorials]]

Navigation menu