BuildInstructions

Hg Instructions to work with UML Team repository (http://hg.netbeans.org/uml-main/summary)

Setup: (Install / Add fetch extension / Merge tool)

For Windows / Mac OS X:
1.Get the binary package (Mercurial 1.0.1) from http://mercurial.berkwood.com/ and install
2. Edit Mercurial.ini on windows or .hgrc on unix and add the following under "extensions"
fetch =
3. Get a Merge-tool: http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram
I use TortoiseMerge : http://tortoisesvn.net/downloads and install (don't forget hgmerge.cmd)

Working with Hg:

To clone:
1. hg clone http://hg.netbeans.org/uml-main

To build:
2. cd uml-main
3. ant
4. Now you have all modules except UML. To add UML modules, Create a new file named "user.build.properties" under <clone-dir>/uml-main/nbbuild/.
Edit the file, and add the following one line:

cluster.config=uml

5. cd uml-main
6. ant
The above will build UML modules. You can open the IDE, and work with UML like any other Netbeans modules.

Modify your files...

To commit and push:
4. hg ci -- to commit your files to the local repository
5. hg out -- to see your changesets
6. hg fetch -- to update / merge / commit
7. <Fix the conflicts if any> Merge tool will open in case of conflicts.
8. hg push -- to push your changes to the global repository
Then go to http://hg.netbeans.org/uml-main/ to see if you see your changes.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo