{"id":999,"date":"2018-07-02T23:10:36","date_gmt":"2018-07-02T22:10:36","guid":{"rendered":"http:\/\/hirt.se\/blog\/?p=999"},"modified":"2018-07-02T23:28:23","modified_gmt":"2018-07-02T22:28:23","slug":"update-your-third-party-dependencies","status":"publish","type":"post","link":"https:\/\/hirt.se\/blog\/?p=999","title":{"rendered":"Update Your Third Party Dependencies!"},"content":{"rendered":"<p>Now that Eclipse Photon has been released, there are a few things you need to do to keep your JMC builds happy.<\/p>\n<ol>\n<li>Get the latest changes:<br \/><font face=\"Courier New\">hg pull<br \/>hg update\n<p><\/font><\/li>\n<li>Rebuild the third-party dependencies (new terminal):<br \/><font face=\"Courier New\">cd releng\/third-party<br \/>mvn p2:site<br \/>mvn jetty:run\n<p><\/font><\/li>\n<li>Build it all (in the jmc root folder):<br \/><font face=\"Courier New\">mvn clean package<font face=\"Courier New\"><br \/><\/font><\/font><\/li>\n<\/ol>\n<p><\/p>\n<p>If you have imported JMC into Eclipse, you also need to change the target platform. Simply remove the old target platform (<font color=\"#ff0000\">Preferences | Plug-in Development \/ Target Platform<\/font>):<\/p>\n<p><a href=\"https:\/\/hirt.se\/blog\/wp-content\/uploads\/2018\/07\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"484\" title=\"image\" alt=\"image\" src=\"https:\/\/hirt.se\/blog\/wp-content\/uploads\/2018\/07\/image_thumb.png\" border=\"0\"><\/a><\/p>\n<p>Then press \u201cApply and Close\u201d. <\/p>\n<p>Next open the <font face=\"Courier New\">releng\/platform-definitions\/platform-definition-photon\/platform-definition-photon.target<\/font> file (<font color=\"#ff0000\">File | Open File\u2026<\/font>). In the upper right corner, press <font color=\"#ff0000\">Set as Active Target Platform<\/font>.<\/p>\n<p><a href=\"https:\/\/hirt.se\/blog\/wp-content\/uploads\/2018\/07\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"473\" title=\"image\" alt=\"image\" src=\"https:\/\/hirt.se\/blog\/wp-content\/uploads\/2018\/07\/image_thumb-1.png\" border=\"0\"><\/a><\/p>\n<p>JMC should now rebuild! <\/p>\n<p>Done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that Eclipse Photon has been released, there are a few things you need to do to keep your JMC builds happy. Get the latest changes:hg pullhg update Rebuild the third-party dependencies (new terminal):cd releng\/third-partymvn p2:sitemvn jetty:run Build it all (in the jmc root folder):mvn clean package If you have imported JMC into Eclipse, you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[16,18,19,15,20],"class_list":["post-999","post","type-post","status-publish","format-standard","hentry","category-java-mission-control-fair-dj","tag-java-mission-control","tag-jdk-mission-control","tag-jdk-mission-control-7","tag-jmc","tag-openjdk-mission-control"],"_links":{"self":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=999"}],"version-history":[{"count":1,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1000,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/999\/revisions\/1000"}],"wp:attachment":[{"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hirt.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}