For Mercurial I can highly recommend bitbucket. The default-pull and default-push properties is the central location to where you synchronize your mercurial repository. Then right-click on the project again and select Mercurial -> Properties. Select Maven in the Categories List and then in the Project List Select the Type of the desired Project and follow the further instructions which will differ depending on your selection.Īfter the project is created, right click on it in and then select Versioning -> Initialize Mercurial Project. In Netbeans go to File -> New Project… A new Dialog opens. Setting up a new Maven Project tracked by Mercurial Leave the other settings on default then click OK. the name used for commits, and the path to mercurial executable. Select Mercurial from the versioning systems list and set the user name, eg. To configure Mercurial switch from the Maven tab to the Versioning tab. There is no need to change anything here for it to work properly however for anyone working with Windows roaming profiles I highly suggest to manually set the folder for the local repository because per default it will be created somewhere in the user profile. Then click on miscellaneous and select the Maven tab. To configure maven start netbeans and go to Tools -> Options. After you finished downloading please install Netbeans and Mercurial. Hg is the element symbol of mercury in the periodic table. If you are wondering why “hg” I guess you slept a little too often during chemistry classes. You issue mercurial commands on the command line with “hg” like hg commit. For Mercurial on Windows I highly recommend TortoiseHg else you can download Mercurial from here. Netbeans can be downloaded here and maven is already bundled with it. I’m also rather a newbie in using maven and mercurial and I would appreciate comments that would indicate errors or misconceptions in this post. For new maven and/or mercurial users I suggest to read some tutorials about them first as I’m not going into any details or what these tools are meant for. Hence this post is intended for readers that are fairly new to developing and maintaining applications as example for someone who is starting their first open-source project or for developers who have recently switched to Java and never used these tools before or in combination. However I’ve never worked professionally in Programming or developed in a Team. I do write the occasional script to simplify and speed up certain repetitive tasks at work or create a simple PHP web page for data entry. If you are like me, you can now use your beloved TortoiseHg while still collaborating with the rest of the development world on GitHub.For me Programming/developing is mainly a hobby. Git+ssh://gh_batman/gotham/vigilante-erp/ Conclusion Then you could have, on the same machine, the following remote paths: git+ssh://gh_bruce_wayne/wayne-ent/orphanage-crm/ If you had multiple GitHub profiles, each one could be created with their own set of keys and corresponding PuTTY saved session. Note that "github" in the connection path above refers to the saved PuTTY session with the same name that we created earlier. We use the following path in TortoiseHg to connect to it: git+ssh://github/gb-inc/access-modules/ Support for Multiple GitHub Profiles
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |