Skip to main content
Jump to: navigation, search

Difference between revisions of "OM2M/Download"

(Get OM2M binaries)
(Build OM2M)
Line 11: Line 11:
  
 
== Build OM2M ==
 
== Build OM2M ==
Build OM2M using the following command:
+
* Got to the "org.eclipse.om2m" directory.
 +
* Specific target architectures and operating systems can be specified on the "pom.xml" file.
 +
* Build OM2M using the following command: (An internet connection is required to download dependencies)
 
<pre>
 
<pre>
 
mvn clean install
 
mvn clean install
 
</pre>
 
</pre>
 +
* This command will automatically:
 +
** Download required OM2M dependencies
 +
** Build each OM2M plugin separately
 +
** Generate an NSCL eclipse product with its corresponding plugins and configuration file.
 +
** Generate a GSCL eclipse product  with its corresponding plugins and its configuration file
 +
 +
* You can also import the “org.eclipse.om2m” project as maven project in the Eclipse RPC IDE, and use Eclipse maven tools to build the NSCL and GSCL products.
 +
 +
* Check generated NSCL and GSCL products
 +
** The NSCL product can be found on this directory: “om2m/org.eclipse.om2m/org.eclipse.om2m.site.nscl/target/products”
 +
** The GSCL product can be found on this directory: “om2m/org.eclipse.om2m/org.eclipse.om2m.site.gscl/target/products”

Revision as of 12:57, 20 April 2014

Get OM2M binaries

  • You can download a zip file containing OM2M binaries from this link: (Link will be added)

Get OM2M source code

git clone http://git.eclipse.org/gitroot/www.eclipse.org/om2m.git

Build OM2M

  • Got to the "org.eclipse.om2m" directory.
  • Specific target architectures and operating systems can be specified on the "pom.xml" file.
  • Build OM2M using the following command: (An internet connection is required to download dependencies)
mvn clean install
  • This command will automatically:
    • Download required OM2M dependencies
    • Build each OM2M plugin separately
    • Generate an NSCL eclipse product with its corresponding plugins and configuration file.
    • Generate a GSCL eclipse product with its corresponding plugins and its configuration file
  • You can also import the “org.eclipse.om2m” project as maven project in the Eclipse RPC IDE, and use Eclipse maven tools to build the NSCL and GSCL products.
  • Check generated NSCL and GSCL products
    • The NSCL product can be found on this directory: “om2m/org.eclipse.om2m/org.eclipse.om2m.site.nscl/target/products”
    • The GSCL product can be found on this directory: “om2m/org.eclipse.om2m/org.eclipse.om2m.site.gscl/target/products”

Back to the top