<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to HowToBuild</title><link>https://sourceforge.net/p/chromedevtools/wiki/HowToBuild/</link><description>Recent changes to HowToBuild</description><atom:link href="https://sourceforge.net/p/chromedevtools/wiki/HowToBuild/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 25 Apr 2015 13:43:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/chromedevtools/wiki/HowToBuild/feed" rel="self" type="application/rss+xml"/><item><title>HowToBuild modified by Anonymous</title><link>https://sourceforge.net/p/chromedevtools/wiki/HowToBuild/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="how-to-build-debugger-from-sources"&gt;How to Build Debugger From Sources&lt;/h1&gt;
&lt;p&gt;You will need developer Eclipse (with JDT and PDE) and you will need target Eclipse (those 2 may be a single instance of Eclipse though). &lt;/p&gt;
&lt;p&gt;The directory &lt;code&gt;/plugins&lt;/code&gt; from &lt;code&gt;/trunk&lt;/code&gt; or from branches contains several Eclipse projects. Check them out and import into Eclipse. &lt;/p&gt;
&lt;p&gt;Eclipse should build all projects. Run or Debug them as "Eclipse Application". &lt;/p&gt;
&lt;h1 id="how-to-build-sdk-alone"&gt;How to Build SDK alone&lt;/h1&gt;
&lt;p&gt;SDK is a Java library. Its sources are hosted inside &lt;code&gt;org.chromium.sdk&lt;/code&gt; pluging. The easies way to build them is to use Eclipse. &lt;/p&gt;
&lt;h2 id="building-in-eclipse"&gt;Building in Eclipse&lt;/h2&gt;
&lt;p&gt;Check out plug-in project &lt;code&gt;org.chromium.sdk&lt;/code&gt; from SVN. Let Eclipse build it (usually it happens automatically). Start external tool "build_sdk_jar" (should appear in &lt;code&gt;Run | External Tools&lt;/code&gt; menu once you checked out the project). &lt;/p&gt;
&lt;p&gt;A folder named &lt;code&gt;build-output&lt;/code&gt; should appear under the project folder (you may need to manually refresh project folder to see it). Several .jar files should appear in the directory. These files comprise the SDK library. &lt;/p&gt;
&lt;h2 id="building-without-eclipse"&gt;Building without Eclipse&lt;/h2&gt;
&lt;p&gt;Checkout &lt;code&gt;plugins/org.chromium.sdk&lt;/code&gt; directory from the SVN (from trunk or a tagged version). &lt;/p&gt;
&lt;p&gt;Build Java sources (using JDK 6 or later). Source directories: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;src &lt;/li&gt;
&lt;li&gt;src-dynamic-impl/bridge &lt;/li&gt;
&lt;li&gt;src-dynamc-impl/parser &lt;/li&gt;
&lt;li&gt;src-wip &lt;/li&gt;
&lt;li&gt;src-wip-generated &lt;br /&gt;
libraries: &lt;/li&gt;
&lt;li&gt;lib/json_simple/json_simple-1.1.jar &lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="build-with-parsers-static-implementation"&gt;Build with parser's static implementation&lt;/h1&gt;
&lt;p&gt;In the project JSON messages get parsed by a dedicated parser. The parser has a domain-specific interfaces, that are normally implemented on the fly (using Java reflection). Alternatively a static (faster) implementation can be generated. &lt;/p&gt;
&lt;p&gt;TBD. &lt;/p&gt;
&lt;h1 id="build-with-wip-backends"&gt;Build with &lt;a class="" href="../WIP"&gt;WIP&lt;/a&gt; backends&lt;/h1&gt;
&lt;p&gt;TBD. &lt;/p&gt;
&lt;h1 id="building-release"&gt;Building release&lt;/h1&gt;
&lt;p&gt;Checkout sources from trunk or a branch -- should be a directory containing &lt;code&gt;plugins&lt;/code&gt;, &lt;code&gt;features&lt;/code&gt; and &lt;code&gt;builder&lt;/code&gt; subdirectories. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;cd builder
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Update &lt;code&gt;build.properties&lt;/code&gt; file (Eclipse directory, JDK directory). Output directory is &lt;code&gt;../../staging&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="build-main-plugins"&gt;Build main plugins&lt;/h2&gt;
&lt;p&gt;(Everything except WIP backends) &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;ant buildMain
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Result is in &lt;code&gt;../../staging/mainResult&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="build-wip-backend-plugins"&gt;Build WIP backend plugins&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;../../staging/mainResult&lt;/code&gt; must contain main plugins. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;ant buildBackends
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Result is in &lt;code&gt;../../staging/backendsResult&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="combining-plugins"&gt;Combining plugins&lt;/h2&gt;
&lt;p&gt;Input must be in &lt;code&gt;../../staging/mainResult&lt;/code&gt; and &lt;code&gt;../../staging/backendsResult&lt;/code&gt;. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;ant repack
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Result is in &lt;code&gt;../../staging/result/eclipse&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="building-archive-files"&gt;Building archive files&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;ant buildLibs
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Result is in &lt;code&gt;../../staging/result/libs&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="building-javadocs"&gt;Building Javadocs&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;ant sdkJavadocs
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Result is in &lt;code&gt;../../staging/result/sdkJavadocs&lt;/code&gt;&lt;/p&gt;
&lt;h1 id="release-checklist"&gt;Release Checklist&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Validate MethodIsBlockingException consistency. &lt;/li&gt;
&lt;li&gt;Bump up &lt;a class="" href="../Versioning"&gt;version&lt;/a&gt; to even &lt;em&gt;"release"&lt;/em&gt; number. &lt;/li&gt;
&lt;li&gt;Update license year numbers. &lt;/li&gt;
&lt;li&gt;Build plugins and libraries. &lt;/li&gt;
&lt;li&gt;Upload build to update repository. &lt;/li&gt;
&lt;li&gt;Upload archives to Downloads. &lt;/li&gt;
&lt;li&gt;Build and upload Javadocs (html and css needs &lt;code&gt;svn:mime-type&lt;/code&gt; property). &lt;/li&gt;
&lt;li&gt;Prepare SVN tag for release. &lt;/li&gt;
&lt;li&gt;Write up Release notes. &lt;/li&gt;
&lt;li&gt;Send a message to mail group. &lt;/li&gt;
&lt;li&gt;Update first page. &lt;/li&gt;
&lt;li&gt;Bump up &lt;a class="" href="../Versioning"&gt;version&lt;/a&gt; to odd &lt;em&gt;"development"&lt;/em&gt; number. &lt;/li&gt;
&lt;li&gt;Go over still open issues. &lt;/li&gt;
&lt;li&gt;Revise feature descriptions on wiki. &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 25 Apr 2015 13:43:41 -0000</pubDate><guid>https://sourceforge.net5eac124f15b826efded81053bbaf2a61e043174a</guid></item></channel></rss>