blob: 5bacc5074bbe4a9cc8bf7b4742064eb701d2fedb [file] [log] [blame]
<!DOCTYPE html>
<html lang="en" dir="ltr" class="client-nojs">
<head>
<meta charset="UTF-8" />
<title>SMILA/Documentation/HowTo/Howto set up dev environment - Eclipsepedia</title>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="generator" content="MediaWiki 1.23.2" />
<link rel="shortcut icon" href="http://wiki.eclipse.org/eclipse.org-common/themes/solstice/public/images/favicon.ico" />
<link rel="search" type="application/opensearchdescription+xml" href="http://wiki.eclipse.org/opensearch_desc.php" title="Eclipsepedia (en)" />
<link rel="EditURI" type="application/rsd+xml" href="http://wiki.eclipse.org/api.php?action=rsd" />
<link rel="alternate" type="application/atom+xml" title="Eclipsepedia Atom feed" href="http://wiki.eclipse.org/index.php?title=Special:RecentChanges&amp;feed=atom" />
<link rel="canonical" href="../Documentation/HowTo/Howto_set_up_dev_environment.html" />
<link rel="stylesheet" href="http://wiki.eclipse.org/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.ui.button&amp;only=styles&amp;skin=solstice&amp;*" />
<link rel="stylesheet" href="http://wiki.eclipse.org/skins/solstice/public/stylesheets/styles.min.css?303" media="screen, print" /><meta name="ResourceLoaderDynamicStyles" content="" />
<style>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
/* cache key: my_wiki:resourceloader:filter:minify-css:7:14ece53a42aa314864e5fd8c57f0d98f */</style>
<script src="http://wiki.eclipse.org/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=solstice&amp;*"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"SMILA/Documentation/HowTo/Howto_set_up_dev_environment","wgTitle":"SMILA/Documentation/HowTo/Howto set up dev environment","wgCurRevisionId":381500,"wgRevisionId":381500,"wgArticleId":15446,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["SMILA"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"SMILA/Documentation/HowTo/Howto_set_up_dev_environment","wgIsProbablyEditable":false,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRedirectedFrom":"SMILA/Development_Guidelines/Howto_set_up_dev_environment","wgWikiEditorEnabledModules":{"toolbar":false,"dialogs":false,"hidesig":true,"preview":false,"previewDialog":false,"publish":false},"wgCategoryTreePageCategoryOptions":"{\"mode\":0,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}"});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function($,jQuery){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"editfont":"default","editondblclick":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":1,"extendwatchlist":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nickname":"","norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"rcdays":7,"rclimit":50,"rows":25,"showhiddencats":0,"shownumberswatching":1,"showtoolbar":1,"skin":"solstice","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":1,"watchdefault":1,"watchdeletion":0,"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,
"useeditwarning":1,"prefershttps":1,"language":"en","variant-gan":"gan","variant-iu":"iu","variant-kk":"kk","variant-ku":"ku","variant-shi":"shi","variant-sr":"sr","variant-tg":"tg","variant-uz":"uz","variant-zh":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"variant":"en"});},{},{});mw.loader.implement("user.tokens",function($,jQuery){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});},{},{});
/* cache key: my_wiki:resourceloader:filter:minify-js:7:70d74423d3fc1e1c18fa9a1ff645a84a */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script>
<style type="text/css">/*<![CDATA[*/
.source-text {line-height: normal;}
.source-text li, .source-text pre {
line-height: normal; border: 0px none white;
}
/**
* GeSHi Dynamically Generated Stylesheet
* --------------------------------------
* Dynamically generated stylesheet for text
* CSS class: source-text, CSS id:
* GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
* (http://qbnz.com/highlighter/ and http://geshi.org/)
* --------------------------------------
*/
.text.source-text .de1, .text.source-text .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.text.source-text {font-family:monospace;}
.text.source-text .imp {font-weight: bold; color: red;}
.text.source-text li, .text.source-text .li1 {font-weight: normal; vertical-align:top;}
.text.source-text .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.text.source-text .li2 {font-weight: bold; vertical-align:top;}
.text.source-text .ln-xtra, .text.source-text li.ln-xtra, .text.source-text div.ln-xtra {background-color: #ffc;}
.text.source-text span.xtra { display:block; }
/*]]>*/
</style><meta name="viewport" content="width=device-width, initial-scale=1.0"></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-SMILA_Documentation_HowTo_Howto_set_up_dev_environment skin-solstice action-view" id="solstice">
<a class="sr-only" href="Howto_set_up_dev_environment.html#content">Skip to main content</a>
<div class="thin-header">
<header role="banner" class="hidden-print noprint">
<div class="container-fluid">
<div id="row-logo-search">
<div id="header-left">
<div class="row">
<div class="hidden-xs col-sm-6 logo-container">
<a href="https://www.eclipse.org/" ><img class="logo-eclipse-default" src="http://wiki.eclipse.org/skins/solstice/public/images/logo/eclipse-800x188.png" alt="Eclipsepedia"></a>
</div>
<div class="navbar col-sm-18 yamm" id="main-menu">
<div class="navbar-collapse collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a target="_self" href="https://eclipse.org/downloads/">Download</a></li>
<li><a target="_self" href="https://eclipse.org/users/">Getting Started </a></li>
<li><a target="_self" href="https://eclipse.org/membership/">Members</a></li>
<li><a target="_self" href="https://eclipse.org/projects/">Projects</a></li>
<li class="dropdown visible-xs"><a class="dropdown-toggle" data-toggle="dropdown" href="Howto_set_up_dev_environment.html#">Community <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://marketplace.eclipse.org">Marketplace</a></li><li><a href="http://events.eclipse.org">Events</a></li><li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li><li><a href="https://eclipse.org/community/eclipse_newsletter/">Newsletter</a></li><li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li></ul></li><li class="dropdown visible-xs"><a class="dropdown-toggle" data-toggle="dropdown" href="Howto_set_up_dev_environment.html#">Participate <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li><li><a href="https://eclipse.org/forums/">Forums</a></li><li><a href="https://eclipse.org/mail/">Mailing Lists</a></li><li><a href="https://wiki.eclipse.org/">Wiki</a></li><li><a href="https://wiki.eclipse.org/IRC">IRC</a></li><li><a href="https://eclipse.org/contribute/">How to Contribute</a></li></ul></li><li class="dropdown visible-xs"><a class="dropdown-toggle" data-toggle="dropdown" href="Howto_set_up_dev_environment.html#">Working Groups <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://wiki.eclipse.org/Auto_IWG">Automotive</a></li><li><a href="http://iot.eclipse.org">Internet of Things</a></li><li><a href="http://locationtech.org">LocationTech</a></li><li><a href="http://lts.eclipse.org">Long-Term Support</a></li><li><a href="http://polarsys.org">PolarSys</a></li><li><a href="http://science.eclipse.org">Science</a></li><li><a href="http://openmdm.org">OpenMDM</a></li></ul></li><!-- More -->
<li class="dropdown hidden-xs"><a class="dropdown-toggle" data-toggle="dropdown">More<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<!-- Content container to add padding -->
<div class="yamm-content">
<div class="row">
<ul class="col-sm-8 list-unstyled"><li><p><strong>Community</strong></p></li><li><a href="http://marketplace.eclipse.org">Marketplace</a></li><li><a href="http://events.eclipse.org">Events</a></li><li><a href="http://www.planeteclipse.org/">Planet Eclipse</a></li><li><a href="https://eclipse.org/community/eclipse_newsletter/">Newsletter</a></li><li><a href="https://www.youtube.com/user/EclipseFdn">Videos</a></li></ul><ul class="col-sm-8 list-unstyled"><li><p><strong>Participate</strong></p></li><li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li><li><a href="https://eclipse.org/forums/">Forums</a></li><li><a href="https://eclipse.org/mail/">Mailing Lists</a></li><li><a href="https://wiki.eclipse.org/">Wiki</a></li><li><a href="https://wiki.eclipse.org/IRC">IRC</a></li><li><a href="https://eclipse.org/contribute/">How to Contribute</a></li></ul><ul class="col-sm-8 list-unstyled"><li><p><strong>Working Groups</strong></p></li><li><a href="http://wiki.eclipse.org/Auto_IWG">Automotive</a></li><li><a href="http://iot.eclipse.org">Internet of Things</a></li><li><a href="http://locationtech.org">LocationTech</a></li><li><a href="http://lts.eclipse.org">Long-Term Support</a></li><li><a href="http://polarsys.org">PolarSys</a></li><li><a href="http://science.eclipse.org">Science</a></li><li><a href="http://openmdm.org">OpenMDM</a></li></ul> </div>
</div>
</li>
</ul>
</li>
</ul>
</div>
<div class="navbar-header">
<button data-target="#navbar-collapse-1" data-toggle="collapse" class="navbar-toggle" type="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://www.eclipse.org/" class="visible-xs navbar-brand"><img class="logo-eclipse-default" src="http://wiki.eclipse.org/skins/solstice/public/images/logo/eclipse-800x188.png" alt="Eclipsepedia" width="174"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<section class="defaut-breadcrumbs hidden-print noprint hidden-print clearfix" id="breadcrumb">
<div>
<ol class="breadcrumb">
<li><a href="https://www.eclipse.org/">Home</a></li>
<li><a href="http://wiki.eclipse.org/Main_Page">Eclipse Wiki</a></li>
<li class="active">SMILA/Documentation/HowTo/Howto set up dev environment</li></ol>
</div>
</section>
</div>
<div class="toolbar-menu breadcrumbs-offset noprint hidden-print margin-bottom-0 clearfix">
<div class="col-md-24">
<ol class="breadcrumb" role="navigation">
<li id="pt-login">
<a href="http://wiki.eclipse.org/index.php?title=Special:UserLogin&amp;returnto=SMILA%2FDocumentation%2FHowTo%2FHowto+set+up+dev+environment">
<i class="fa fa-sign-in fa-fw orange"></i> Log in </a>
</li>
</ul>
</div>
</div>
<main role="main" class="background-grey">
<div class="container-full padding-top-25">
<!-- content -->
<section id="content" class="mw-body container-full clearfix 0">
<div id="mw-js-message" style="display:none;"></div>
<!-- bodyContent -->
<div id="bodyContent">
<!-- jumpto -->
<div id="jump-to-nav" class="mw-jump">
Jump to: <a href="Howto_set_up_dev_environment.html#mw-head">navigation</a>,
<a href="Howto_set_up_dev_environment.html#p-search">search</a>
</div>
<!-- /jumpto -->
<!-- leftcol -->
<aside class="col-md-4 noprint hidden-print" id="leftcol">
<form class="input-group" role="form" id="form-eclipse-search" action="http://wiki.eclipse.org/index.php" id="searchform">
<input id="searchInput" class="search-query form-control" type="search" accesskey="f" title="Special:Search" placeholder="Search" name="search" value="">
<span class="input-group-btn">
<button value="search" id="mw-searchButton" type="submit" class="btn btn-default" title="Search the pages for this text" name="fulltext">
<i class="fa fa-search"></i>
</button>
</span>
</form>
<select class="form-control margin-top-10 margin-bottom-10 visible-xs visible-sm" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"><option class="fw-700 "><span class="fw-700">---Navigation---</span></option><option value="/Main_Page">Main Page</option><option value="/Eclipsepedia:Community_portal">Community portal</option><option value="/Eclipsepedia:Current_events">Current events</option><option value="/Special:RecentChanges">Recent changes</option><option value="/Special:Random">Random page</option><option value="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">Help</option></select><ul class="ul-left-nav fa-ul hidden-print leftnav hidden-xs hidden-sm"><li class="separator"><span class="separator">Navigation</span></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Main_Page" id="n-mainpage" title="Visit the main page [z]" accesskey="z">Main Page</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Eclipsepedia:Community_portal" id="n-portal" title="About the project, what you can do, where to find things">Community portal</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Eclipsepedia:Current_events" id="n-currentevents" title="Find background information on current events">Current events</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Special:RecentChanges" id="n-recentchanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Special:Random" id="n-randompage" title="Load a random page [x]" accesskey="x">Random page</a></li> <li class=""><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" id="n-help" title="The place to find out">Help</a></li></ul> <select class="form-control margin-top-10 margin-bottom-10 visible-xs visible-sm" onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"><option class="fw-700 "><span class="fw-700">---Toolbox---</span></option><option value="/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;action=info">Page information</option><option value="/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;oldid=381500">Permanent link</option><option value="/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;printable=yes">Printable version</option><option value="/Special:SpecialPages">Special pages</option><option value="/Special:RecentChangesLinked/SMILA/Documentation/HowTo/Howto_set_up_dev_environment">Related changes</option><option value="/Special:WhatLinksHere/SMILA/Documentation/HowTo/Howto_set_up_dev_environment">What links here</option></select><ul class="ul-left-nav fa-ul hidden-print leftnav hidden-xs hidden-sm"><li class="separator"><span class="separator">Toolbox</span></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;action=info" id="t-info">Page information</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;oldid=381500" id="t-permalink" title="Permanent link to this revision of the page">Permanent link</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;printable=yes" id="t-print" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Special:SpecialPages" id="t-specialpages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Special:RecentChangesLinked/SMILA/Documentation/HowTo/Howto_set_up_dev_environment" id="t-recentchangeslinked" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li><li><i class="fa fa-angle-double-right orange fa-fw"></i> <a href="http://wiki.eclipse.org/Special:WhatLinksHere/SMILA/Documentation/HowTo/Howto_set_up_dev_environment" id="t-whatlinkshere" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li></ul> </aside>
<!-- /leftcol -->
<!-- mainContent -->
<div id="mainContent" class="col-md-20">
<ul class="nav nav-tabs noprint hidden-print" role="tablist">
<li id="ca-nstab-main" class="selected"><a href="../Documentation/HowTo/Howto_set_up_dev_environment.html" title="View the content page [c]" accesskey="c" tabindex="-1">Page</a></li>
<li id="ca-talk" class="new"><a href="http://wiki.eclipse.org/index.php?title=Talk:SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t" tabindex="-1">Discussion</a></li>
<li id="ca-viewsource"><a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e" tabindex="-1">View source</a></li>
<li id="ca-history" class="collapsible"><a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;action=history" title="Past revisions of this page [h]" accesskey="h" tabindex="-1">History</a></li>
</ul> <div class="tab-content background-white">
<div id="tab-pane-main-page-content" class="tab-pane active">
<h1 id="firstHeading" class="firstHeading page-header">
<span dir="auto">SMILA/Documentation/HowTo/Howto set up dev environment</span>
</h1>
<div id="main-page-content">
<!-- subtitle -->
<div id="contentSub" class="alert alert-small alert-warning"><span class="subpages">&lt; <a href="../../SMILA.html" title="SMILA">SMILA</a>&lrm; | <a href="../Documentation.1.html" title="SMILA/Documentation">Documentation</a>&lrm; | <a href="../Documentation/HowTo.html" title="SMILA/Documentation/HowTo">HowTo</a></span>(Redirected from <a href="http://wiki.eclipse.org/index.php?title=SMILA/Development_Guidelines/Howto_set_up_dev_environment&amp;redirect=no" title="SMILA/Development Guidelines/Howto set up dev environment">SMILA/Development Guidelines/Howto set up dev environment</a>)</div>
<!-- /subtitle -->
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p><br /> This HowTo describes the necessary steps for setting up a SMILA development environment.
</p>
<div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="Howto_set_up_dev_environment.html#Preconditions"><span class="tocnumber">1</span> <span class="toctext">Preconditions</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="Howto_set_up_dev_environment.html#Getting_the_source_code"><span class="tocnumber">2</span> <span class="toctext">Getting the source code</span></a>
<ul>
<li class="toclevel-2 tocsection-3"><a href="Howto_set_up_dev_environment.html#Installing_Git_Provider"><span class="tocnumber">2.1</span> <span class="toctext">Installing Git Provider</span></a></li>
<li class="toclevel-2 tocsection-4"><a href="Howto_set_up_dev_environment.html#Get_source_code_from_Git"><span class="tocnumber">2.2</span> <span class="toctext">Get source code from Git</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-5"><a href="Howto_set_up_dev_environment.html#Defining_the_target_platform"><span class="tocnumber">3</span> <span class="toctext">Defining the target platform</span></a>
<ul>
<li class="toclevel-2 tocsection-6"><a href="Howto_set_up_dev_environment.html#Using_the_target_platform_provided_by_SMILA"><span class="tocnumber">3.1</span> <span class="toctext">Using the target platform provided by SMILA</span></a></li>
<li class="toclevel-2 tocsection-7"><a href="Howto_set_up_dev_environment.html#Defining_the_target_platform_manually"><span class="tocnumber">3.2</span> <span class="toctext">Defining the target platform manually</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-8"><a href="Howto_set_up_dev_environment.html#Launching_SMILA_in_Eclipse_IDE"><span class="tocnumber">4</span> <span class="toctext">Launching SMILA in Eclipse IDE</span></a></li>
<li class="toclevel-1 tocsection-9"><a href="Howto_set_up_dev_environment.html#You.27re_done"><span class="tocnumber">5</span> <span class="toctext">You're done</span></a></li>
<li class="toclevel-1 tocsection-10"><a href="Howto_set_up_dev_environment.html#Additional_steps"><span class="tocnumber">6</span> <span class="toctext">Additional steps</span></a>
<ul>
<li class="toclevel-2 tocsection-11"><a href="Howto_set_up_dev_environment.html#Checkstyle_configuration"><span class="tocnumber">6.1</span> <span class="toctext">Checkstyle configuration</span></a></li>
<li class="toclevel-2 tocsection-12"><a href="Howto_set_up_dev_environment.html#Setting_up_the_Eclipse_build"><span class="tocnumber">6.2</span> <span class="toctext">Setting up the Eclipse build</span></a></li>
<li class="toclevel-2 tocsection-13"><a href="Howto_set_up_dev_environment.html#Add_examples_projects"><span class="tocnumber">6.3</span> <span class="toctext">Add examples projects</span></a></li>
<li class="toclevel-2 tocsection-14"><a href="Howto_set_up_dev_environment.html#Enabling_the_BPEL_Designer"><span class="tocnumber">6.4</span> <span class="toctext">Enabling the BPEL Designer</span></a></li>
</ul>
</li>
</ul>
</div>
<h3><span class="mw-headline" id="Preconditions">Preconditions</span></h3>
<p>Here is the list of things that you will definitely need for developing SMILA components:
</p>
<ul>
<li> JDK 1.7 (Java 8 is not yet supported by SMILA).
</li>
<li> Eclipse SDK - This HowTo was tested with <a rel="nofollow" class="external text" href="http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.2-201502041700/">Eclipse Classic SDK 4.4.2</a> (Luna SR2 Release) <br />
</li>
</ul>
<h3><span class="mw-headline" id="Getting_the_source_code">Getting the source code</span></h3>
<p>There is more than one way of getting the code into your Eclipse workspace. The following sections will describe how to get the source code from the Git repository (recommended!).
</p><p>As an alternative, you could download the complete source code from the <a rel="nofollow" class="external text" href="http://www.eclipse.org/smila/downloads.php">release download page</a> or the <a rel="nofollow" class="external text" href="http://build.eclipse.org/rt/smila/nightly/">nightly build downloads</a> and unpack the archive into your workspace.
</p>
<h4><span class="mw-headline" id="Installing_Git_Provider">Installing Git Provider</span></h4>
<p><i>(skip this section if Git Team Provider is already installed in your Eclipse IDE - most current Eclipse Packages do contain it)</i>
</p>
<ul>
<li> Install <i>Eclipse Git Team Provider</i> and <i>Java Implementaton of Git</i> from the Eclipse software repository.
</li>
<li> Restart Eclipse.
</li>
</ul>
<h4><span class="mw-headline" id="Get_source_code_from_Git">Get source code from Git</span></h4>
<ul>
<li> Open the "Git" perspective
</li>
<li> Select "Clone a Git repository"
</li>
<li> Enter one of the following URIs for read-only access:
<ul>
<li> <tt><a rel="nofollow" class="external free" href="git://git.eclipse.org/gitroot/smila/org.eclipse.smila.core.git">git://git.eclipse.org/gitroot/smila/org.eclipse.smila.core.git</a></tt>
</li>
<li> <tt><a rel="nofollow" class="external free" href="http://git.eclipse.org/gitroot/smila/org.eclipse.smila.core.git">http://git.eclipse.org/gitroot/smila/org.eclipse.smila.core.git</a></tt>
</li>
</ul>
</li>
</ul>
<p>(** Committers: use <tt><a rel="nofollow" class="external free" href="ssh://git.eclipse.org/gitroot/smila/org.eclipse.smila.core.git">ssh://git.eclipse.org/gitroot/smila/org.eclipse.smila.core.git</a></tt> for read-write access and enter your credentials below)
</p>
<ul>
<li> Click "Next". In the following dialog ensure that branch "master" and other branches you need are selected (there are no other branches at the time of writing&#160;;-)
</li>
<li> Enter the desired location of your clone of the Git repository. You can put this into your current workspace, but this is not necessary.
<ul>
<li> You can activate the "Import all existing projects after clone finishes" now to import ALL projects, or you can manually import them afterwards to be a bit more selective.
</li>
</ul>
</li>
<li> Click "Finish". The Git repository will be cloned now. This will probably take a few minutes.
</li>
<li> Switch to the "Plug-in Development" perspective.
</li>
<li> To import the projects into the workspace (if not done automatically):
<ul>
<li> Open "File" -&gt; "Import ..." and select "Git"/"Projects from Git". Click "Next" and select "Existing local repository". Click "Next" and select "org.eclipse.smila.core - ...". Click "Next".
</li>
<li> Select "Import existing projects" and "core" in the tree below, and click "Next". Make sure all projects are selected and click "Finish".
</li>
</ul>
</li>
<li> After a while a "Problem occurred" dialog will open and there will be lots of compile errors. This is OK, we will fix this now.
</li>
</ul>
<p><br />
</p>
<h3><span class="mw-headline" id="Defining_the_target_platform">Defining the target platform</span></h3>
<p>The target platform defines the set of bundles and features that you are developing against. SMILA ships a <i>Target Definition File</i> that you can open in your IDE to configure the target platform automatically. This file contains all the references needed for developing SMILA with Eclipse Luna SR2 (Release 4.4.2).
</p>
<h4><span class="mw-headline" id="Using_the_target_platform_provided_by_SMILA">Using the target platform provided by SMILA</span></h4>
<ul>
<li> Import project "SMILA.devenv" from the "releng" directory of your local Git repository (same procedure as for importing the other projects).
</li>
<li> Open the file <tt>SMILA.devenv/SMILA.target</tt> with the <i>Target Editor</i>. <br />Eclipse starts downloading the referenced bundles/features which it tells you by stating "Resolving Target Definition" in its status bar. Be patient, this will take a while. After it has finished, you can click the link "Set as Target Platform" on the top right of the <i>Target Definition</i> editor. Doing so will cause Eclipse to start re-compiling the sources and all error markers should be gone when finished.
<ul>
<li> If you experience problems later (e.g. unresolved bundle dependencies when running tests), you can try switching to one of the OS-specific target platform definitions (SMILA-Windows, SMILA-Linux, SMILA-MacOSX) instead. Some bundle that can cause problems because another version of the same software is contained in the workspace, have been deactivated in these definitions.
</li>
<li> If you have the Checkstyle Eclipse plugin installed in your IDE, you will still get error messages. See <a href="../Development_Guidelines.1.html#Checkstyle" title="SMILA/Development Guidelines">Checkstyle configuration</a> for instructions on how to fix this.
</li>
</ul>
</li>
</ul>
<h4><span class="mw-headline" id="Defining_the_target_platform_manually">Defining the target platform manually</span></h4>
<ul>
<li> Instead of using the target definition file provided by SMILA (see above) you can also <a href="Howto_set_up_target_platform.html" title="SMILA/Development Guidelines/Howto set up target platform" class="mw-redirect">manually set your own target platform</a>.
</li>
</ul>
<h3><span class="mw-headline" id="Launching_SMILA_in_Eclipse_IDE">Launching SMILA in Eclipse IDE</span></h3>
<p>If you've checked out SMILA's trunk correctly, you should have a project called <b>SMILA.launch</b> in your workspace. This project contains the SMILA's launch configuration for Eclipse IDE. To start SMILA directly in your Eclipse IDE, just follow the steps below:
</p>
<ul>
<li> Click <span style="font-style: italic;">Run</span>--&gt; <i>Debug Configurations</i> and expand <i><b>OSGI Framework</b></i><b>.</b>
</li>
<li> Select the <i>SMILA</i> launch file.
</li>
<li> Click <b>Debug</b>. <br /> If everything works fine, you will get an output in the <b>Console</b> view similar to the following:
</li>
</ul>
<div dir="ltr" class="mw-geshi mw-code mw-content-ltr"><div class="text source-text"><pre class="de1">osgi&gt; Persistence bundle starting...
ProviderTracker: New service detected...
ProviderTracker: Added service org.eclipse.persistence.jpa.osgi.PersistenceProviderOSGi
Persistence bundle started.
[INFO ] Context /zookeeper: Registered handler(1) ZooKeeperAdminHandler, pattern /(.*)$
[INFO ] Added worker webFetcher to WorkerManager.
...
[INFO ] HTTP server has SMILA handler RequestDispatcher for context /smila.
[INFO ] HTTP server started successfully on port 8080.</pre></div></div>
<h3><span class="mw-headline" id="You.27re_done">You're done</span></h3>
<p>Congratulations! You've just successfully checked out and configured your SMILA development environment and you can now start <a href="Create_a_bundle_(plug-in).html" title="SMILA/Development Guidelines/Create a bundle (plug-in)" class="mw-redirect">developing your own bundles</a>.
</p>
<h3><span class="mw-headline" id="Additional_steps">Additional steps</span></h3>
<p>The following steps may be needed for special purposes. If you are a SMILA user who only wants to integrate an own component you won't need them.
</p>
<h4><span class="mw-headline" id="Checkstyle_configuration">Checkstyle configuration</span></h4>
<p>If you have the <a rel="nofollow" class="external text" href="http://eclipse-cs.sourceforge.net/">Eclipse Checkstyle plugin</a> installed, you will get a lot of error messages complaining about missing check configurations when Eclipse builds the workspace.
</p>
<div dir="ltr" class="mw-geshi mw-code mw-content-ltr"><div class="text source-text"><pre class="de1">Errors running builder 'Checkstyle Builder' on project 'org.eclipse.smila.utils'.
Fileset from project &quot;org.eclipse.smila.utils&quot; has no valid check configuration.
...</pre></div></div>
<p>You can solve this by <a href="../Development_Guidelines.1.html#Checkstyle" title="SMILA/Development Guidelines">setup your Checkstyle configuration</a>.
</p>
<h4><span class="mw-headline" id="Setting_up_the_Eclipse_build">Setting up the Eclipse build</span></h4>
<p>See <a href="../Documentation/HowTo/Howto_build_a_SMILA-Distribution.html" title="SMILA/Documentation/HowTo/Howto build a SMILA-Distribution">SMILA/Documentation/HowTo/Howto_build_a_SMILA-Distribution</a> for details on how to setup a build for SMILA.
</p>
<h4><span class="mw-headline" id="Add_examples_projects">Add <tt>examples</tt> projects</span></h4>
<p>The <tt>examples</tt> directory of the repository contains three simple bundles that demonstrate how to develop SMILA pipelets and workers. You can import them to your workspace just like the other projects.
</p>
<h4><span class="mw-headline" id="Enabling_the_BPEL_Designer">Enabling the BPEL Designer</span></h4>
<p>If you want to work with the SMILA extensions for Eclipse BPEL designer, you need to clone the Git repository at <tt><a rel="nofollow" class="external free" href="http://git.eclipse.org/gitroot/smila/org.eclipse.smila.tooling.git">http://git.eclipse.org/gitroot/smila/org.eclipse.smila.tooling.git</a></tt> (or <tt><a rel="nofollow" class="external free" href="git://">git://</a>...</tt> or <tt><a rel="nofollow" class="external free" href="ssh://">ssh://</a>...</tt>). Currently, the required bundles are:
</p>
<ul>
<li><tt>org.eclipse.smila.processing.designer.model</tt>
</li>
<li><tt>org.eclipse.smila.processing.designer.ui</tt>
</li>
</ul>
<p>To compile them you need additional bundles from the <a rel="nofollow" class="external text" href="http://www.eclipse.org/bpel">Eclipse BPEL Designer</a> in your target platform. See <a href="../BPEL_Designer.html" title="SMILA/BPEL Designer">SMILA/BPEL Designer</a> for more information.
</p>
<!--
NewPP limit report
CPU time usage: 0.052 seconds
Real time usage: 0.056 seconds
Preprocessor visited node count: 74/1000000
Preprocessor generated node count: 102/1000000
Post‐expand include size: 0/2097152 bytes
Template argument size: 0/2097152 bytes
Highest expansion depth: 2/40
Expensive parser function count: 0/100
-->
<!-- Saved in parser cache with key my_wiki:pcache:idhash:15446-0!*!0!!en!*!* and timestamp 20150413181402 and revision id 381500
-->
</div>
<!-- catlinks -->
<div id='catlinks' class='catlinks'><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="http://wiki.eclipse.org/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="http://wiki.eclipse.org/Category:SMILA" title="Category:SMILA">SMILA</a></li></ul></div></div> <!-- /catlinks -->
</div>
</div>
</div>
</div>
<!-- /maincontent -->
<!-- printfooter -->
<div class="printfooter">
Retrieved from "<a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;oldid=381500">http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;oldid=381500</a>" </div>
<!-- /printfooter -->
<!-- debughtml -->
<!-- /debughtml -->
</div>
<!-- /bodyContent -->
</section>
<!-- /content -->
<!-- footer -->
</div> <section id="footer-contribution-info" style="border-top:1px solid #ccc;" class="footer-offset background-white margin-top-25"><div class="container text-center padding-top-10 padding-bottom-10"><p id="footercredit">This page was last modified 07:22, 8 April 2015 by <a href="http://wiki.eclipse.org/User:Juergen.schumacher.empolis.com" title="User:Juergen.schumacher.empolis.com">Juergen Schumacher</a>. Based on work by <a href="http://wiki.eclipse.org/User:Andreas.weber.empolis.com" title="User:Andreas.weber.empolis.com">Andreas Weber</a>, <a href="http://wiki.eclipse.org/index.php?title=User:Marco.strack.empolis.com&amp;action=edit&amp;redlink=1" class="new" title="User:Marco.strack.empolis.com (page does not exist)">Marco Strack</a> and <a href="http://wiki.eclipse.org/index.php?title=User:Daniel.stucky.attensity.com&amp;action=edit&amp;redlink=1" class="new" title="User:Daniel.stucky.attensity.com (page does not exist)">Daniel Stucky</a> and <a href="http://wiki.eclipse.org/index.php?title=SMILA/Documentation/HowTo/Howto_set_up_dev_environment&amp;action=credits" title="SMILA/Documentation/HowTo/Howto set up dev environment">others</a>.</p><p id="footerviews">This page has been accessed 16,850 times.</p></div></section> </main> <!-- /#main-content-container-row -->
<p id="back-to-top" class="noprint hidden-print">
<a class="visible-xs" href="Howto_set_up_dev_environment.html#top">Back to the top</a>
</p>
<footer role="contentinfo" class="noprint hidden-print">
<div class="container">
<div class="row">
<section id="footer-eclipse-foundation" class="col-xs-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0">
<h2 class="section-title">Eclipse Foundation</h2>
<ul class="nav">
<li><a href="https://eclipse.org/org/">About us</a></li>
<li><a href="https://eclipse.org/org/foundation/contact.php">Contact Us</a></li>
<li><a href="https://eclipse.org/donate">Donate</a></li>
<li><a href="https://eclipse.org/org/documents/">Governance</a></li>
<li><a href="https://eclipse.org/artwork/">Logo and Artwork</a></li>
<li><a href="https://eclipse.org/org/foundation/directors.php">Board of Directors</a></li>
</ul>
</section>
<section id="footer-legal" class="col-xs-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0">
<h2 class="section-title">Legal</h2>
<ul class="nav">
<li><a href="https://eclipse.org/legal/privacy.php">Privacy Policy</a></li>
<li><a href="https://eclipse.org/legal/termsofuse.php">Terms of Use</a></li>
<li><a href="https://eclipse.org/legal/copyright.php">Copyright Agent</a></li>
<li><a href="https://eclipse.org/org/documents/epl-v10.php">Eclipse Public License </a></li>
<li><a href="https://eclipse.org/legal/">Legal Resources </a></li>
</ul>
</section>
<section id="footer-useful-links" class="col-xs-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0">
<h2 class="section-title">Useful Links</h2>
<ul class="nav">
<li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
<li><a href="http://help.eclipse.org/">Documentation</a></li>
<li><a href="https://eclipse.org/contribute/">How to Contribute</a></li>
<li><a href="https://eclipse.org/mail/">Mailing Lists</a></li>
<li><a href="https://eclipse.org/forums/">Forums</a></li>
<li><a href="http://marketplace.eclipse.org/">Marketplace</a></li>
</ul>
</section>
<section id="footer-other" class="col-xs-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0">
<h2 class="section-title">Other</h2>
<ul class="nav">
<li><a href="https://eclipse.org/ide/">IDE and Tools</a></li>
<li><a href="https://eclipse.org/projects">Community of Projects</a></li>
<li><a href="https://eclipse.org/org/workinggroups/">Working Groups</a></li>
</ul>
<ul class="list-inline social-media">
<li><a href="https://twitter.com/EclipseFdn"><i class="fa fa-twitter-square"></i></a></li>
<li><a href="https://plus.google.com/+Eclipse"><i class="fa fa-google-plus-square"></i></a></li>
<li><a href="https://www.facebook.com/eclipse.org"><i class="fa fa-facebook-square"></i> </a></li>
<li><a href="https://www.youtube.com/user/EclipseFdn"><i class="fa fa-youtube-square"></i></a></li>
</ul>
</section>
<div id="copyright" class="col-xs-offset-1 col-sm-14 col-md-24 col-md-offset-0">
<div>
<span><img src="http://eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-logo-bw-800x188.png" alt="Eclipse.org black and white logo" width="166" height="39" id="logo-eclipse-white"/></span>
<p id="copyright-text">Copyright &copy; 2014 The Eclipse Foundation. All Rights Reserved.</p>
</div>
</div>
<a href="Howto_set_up_dev_environment.html#" class="scrollup">Back to the top</a>
</div>
</div>
</footer>
<script src="http://wiki.eclipse.org/skins/solstice/public/javascript/main.min.js"></script>
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-910670-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script> <!-- /footer -->
<script>/*<![CDATA[*/window.jQuery && jQuery.ready();/*]]>*/</script><script>if(window.mw){
mw.loader.state({"skins.solstice":"loading","site":"ready","user":"ready","user.groups":"ready"});
}</script>
<script src="http://wiki.eclipse.org/load.php?debug=false&amp;lang=en&amp;modules=skins.solstice&amp;only=scripts&amp;skin=solstice&amp;*"></script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.postEdit","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.searchSuggest"],null,true);
}</script>
<script>if(window.mw){
mw.config.set({"wgBackendResponseTime":408});
}</script> </body>
</html>