Difference between revisions of "Talk:ADempiere Version Control"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
m (From My MacBook by Redhuan D. Oon)
m (From My MacBook by Redhuan D. Oon)
Line 3: Line 3:
 
**The vectrace update site has an older version of the plug-in 1.4, the javaforge site has the latest 1.6 version. What error did you get with the http://cbes.javaforge.com/update update site? [[User:Tspc|Tony]]
 
**The vectrace update site has an older version of the plug-in 1.4, the javaforge site has the latest 1.6 version. What error did you get with the http://cbes.javaforge.com/update update site? [[User:Tspc|Tony]]
 
::Tony, i believe it has something to do with my MacBook and Eclipse version. They don't always jive with stuff out there so you must be right on that version advice. Anyway the error (if i remember as i have to allow it to drop and find an alternative for the same space) is during the Software Update install run. It just fails half way through. I am sure it could work if i study it more but when i found this other that works, i will leave it for now :> . But heh, thanks a million Tony. It is impressive! [[User:Red1|Redhuan D. Oon]] 03:12, 7 July 2010 (UTC)
 
::Tony, i believe it has something to do with my MacBook and Eclipse version. They don't always jive with stuff out there so you must be right on that version advice. Anyway the error (if i remember as i have to allow it to drop and find an alternative for the same space) is during the Software Update install run. It just fails half way through. I am sure it could work if i study it more but when i found this other that works, i will leave it for now :> . But heh, thanks a million Tony. It is impressive! [[User:Red1|Redhuan D. Oon]] 03:12, 7 July 2010 (UTC)
*You may not find the .hgrc file in your <home-dir> so you just create it there with pico utility. If your Eclipse opens with issue in Mercurial, at your terminal box run: hg debuginstall to see what can be wrong.
+
*You may not find the .hgrc file in your <home-dir> so you just create it there with ''pico'' utility. If your Eclipse opens with issue in Mercurial, at your terminal box run: ''hg debuginstall'' to see what can be wrong.
*In Eclipse, you need to set the Hg command to your disk location such as in my case it is /usr/local/bin/hg
+
*In Eclipse, you need to set the Hg command to your disk location such as in my case it is ''/usr/local/bin/hg''
*Follow the terminal command to clone but do it as root or else it seems to deny you permission.
+
*Follow the terminal command to clone but do it as ''root'' or else it seems to deny you permission.
 
**Below is my first clone statement which is same as advised in article:
 
**Below is my first clone statement which is same as advised in article:
 
  <nowiki>hg clone -U http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere adempiere</nowiki>
 
  <nowiki>hg clone -U http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere adempiere</nowiki>

Revision as of 20:15, 6 July 2010

From My MacBook by Redhuan D. Oon

Tony, i believe it has something to do with my MacBook and Eclipse version. They don't always jive with stuff out there so you must be right on that version advice. Anyway the error (if i remember as i have to allow it to drop and find an alternative for the same space) is during the Software Update install run. It just fails half way through. I am sure it could work if i study it more but when i found this other that works, i will leave it for now :> . But heh, thanks a million Tony. It is impressive! Redhuan D. Oon 03:12, 7 July 2010 (UTC)
  • You may not find the .hgrc file in your <home-dir> so you just create it there with pico utility. If your Eclipse opens with issue in Mercurial, at your terminal box run: hg debuginstall to see what can be wrong.
  • In Eclipse, you need to set the Hg command to your disk location such as in my case it is /usr/local/bin/hg
  • Follow the terminal command to clone but do it as root or else it seems to deny you permission.
    • Below is my first clone statement which is same as advised in article:
hg clone -U http://adempiere.hg.sourceforge.net:8000/hgroot/adempiere/adempiere adempiere
EclipseMercurial.gif

Creating local working clones

  • After the above i can then do this in my Eclipse by:
    • Right-click on my left panel and select Team and Import.
    • Choosing Mercurial option
    • Then telling the dialog where my local clone and where is my workspace as shown in image here.
    • Then click Finish and it takes not long to show up in your Eclipse IDE. As seen in the image below, its folder structure appears to arrange exactly as expected even though its harddisk layout was so different during cloning. This must mean that the Mercurial app is working.

Keeping up to date

EclipseMercurialTeam.gif
  • Now, as usual, right-click on the Project
  • Select Team and see the pop right selection box as shown below.
  • Note the new options for Push, Pull besides the usual "Commit" and "Update" selection.
  • I suspect these words have improved my sex life a lot. There is now more foreplay instead of committing right away. Try it.