# How to import a SMILE component?
enter sbt console & run command
add-componentwith the component release name.For example:
[Lottery] $ add-component bread-release-0.5 [info] bread-release-0.5 is added to the project [info] refresh eclipse project [info] add the import 'import-component bread-release-0.5(BreadData,BreadDomain,NotifierProcess)' to .../training/lottery/k/Lottery.ksmile and smile.define the import as follows in ksmile file (after library import definitions).
import-component bread-release-0.5(BreadData,BreadDomain,NotifierProcess)Note: Optionally choose only those modules that are needed for the project for example only NotifierProcess can be mentioned in the dependency list above.
Inside sbt, run command
smile