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).
The directory /plugins
from /trunk
or from branches contains several Eclipse projects. Check them out and import into Eclipse.
Eclipse should build all projects. Run or Debug them as "Eclipse Application".
SDK is a Java library. Its sources are hosted inside org.chromium.sdk
pluging. The easies way to build them is to use Eclipse.
Check out plug-in project org.chromium.sdk
from SVN. Let Eclipse build it (usually it happens automatically). Start external tool "build_sdk_jar" (should appear in Run | External Tools
menu once you checked out the project).
A folder named build-output
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.
Checkout plugins/org.chromium.sdk
directory from the SVN (from trunk or a tagged version).
Build Java sources (using JDK 6 or later). Source directories:
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.
TBD.
TBD.
Checkout sources from trunk or a branch -- should be a directory containing plugins
, features
and builder
subdirectories.
cd builder
Update build.properties
file (Eclipse directory, JDK directory). Output directory is ../../staging
(Everything except WIP backends)
ant buildMain
Result is in ../../staging/mainResult
../../staging/mainResult
must contain main plugins.
ant buildBackends
Result is in ../../staging/backendsResult
Input must be in ../../staging/mainResult
and ../../staging/backendsResult
.
ant repack
Result is in ../../staging/result/eclipse
ant buildLibs
Result is in ../../staging/result/libs
ant sdkJavadocs
Result is in ../../staging/result/sdkJavadocs
svn:mime-type
property).
Wiki: HowToDebug
Wiki: HowToInstall
Wiki: Versioning
Wiki: WIP