<html><head><meta http-equiv="Content-Type" content="text/html charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, All.<div class=""><br class=""></div><div class="">I read the document here:</div><div class=""><a href="https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/" class="">https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/</a></div><div class=""><br class=""></div><div class="">it tell me how to build my first snappy app there.</div><div class=""><br class=""></div><div class="">but I got some question for stage-package and the snap craft plugin does.</div><div class=""><br class=""></div><div class="">according the document. the snap craft kind of like a ant (or maven or make ) tool, it will manage a snappy project.</div><div class=""><br class=""></div><div class="">I understood snapcraft use plugin do some tasks (just like ant did, ant also use plugin for some task, like upload war to tomcat etc).</div><div class=""><br class=""></div><div class="">it is make sense to me. but when I read the section for add the ubuntu dependency to a part. </div><div class="">we add one stage-packages into a parts. snapcraft will download a couple ubuntu package there, in this example, which is ftwebcam. and it¡¯s dependency . and when we add the plugin ¡°go¡±, it did same thing too.</div><div class=""><br class=""></div><div class="">so, the question is: when i try to move the plugin ¡°go¡± out, and add it into stage-packages section. it totally doesn¡¯t work.</div><div class="">just tell me no plugin section. from here, kind of I have a little sense of it, it will be for build. and I confuse them still.</div><div class=""><br class=""></div><div class="">if I understood like this: what¡¯s plugin does is a build base thing, like idk, python itself, perlself. and the states-package will be include other things: like if we try to make a php snap, the stage-package will be like lib-png, lib-jpeg, or libgd etc which those package were provided by ubuntu . am I right?</div><div class=""><br class=""></div><div class="">another example which I working on it, I plan to make a demo for myself, use sqlite source code, make sqlite snappy app. but which plugin I should used? it is base on C or C++</div><div class=""><br class=""></div><div class="">thanks everyone</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Mike</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>