Building on Windows

Building on Windows

Get the sources and patches just like on any other platform:

pull sources and patches
mkdir davinci
cd davinci
hg fclone http://hg.openjdk.java.net/jdk7/jdk7 sources
hg fclone http://hg.openjdk.java.net/mlvm/mlvm patches

The Junction tool can be used to create the filesystem links for the patches directories.

link patch repos into source repos
junction sources\hotspot\.hg\patches patches\hotspot
junction sources\jdk\.hg\patches patches\jdk

The patches in the patch repository are guarded so that only patches that satisfy certain conditions are applied. One of the guards is the most recent release tag from the source repository, it is the last entry in sources\.hgtags.

select patch guards
cd sources\jdk
hg qselect --reapply buildable testable jdk7-b25
cd ..\hotspot
hg qselect --reapply buildable testable jdk7-b25

You can look at the series files in the patches directories to see which guards are available.

After this is done patches can be applied like this:

cd sources\jdk
hg qpush

hg qpush -a can be used to apply all available patches.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact