テンプレートの追加

こちらにも書いてはありますが、一応こんな感じでよいらしい

<plugin>
   <extension
         point="jp.pizzafactory.toppers.kernels.templateOperation">
      <template>
         <projectType projectTypeId="*"/>
         <templateProvider name="cup_timer">
            <file path="cup_timer/cup_timer.c"/>
            <file path="cup_timer/cup_timer.h"/>
            <file path="common/jsp_prog.cfg"/>
            <file path="common/device.c"/>
            <file path="common/device.h"/>
            <file path="common/makefile.init"/>
            <file path="common/makefile.targets"/>
            <kernel kernelId="jp.pizzafactory.toppers.kernels.jsp"/>
         </templateProvider>
      </template>
   </extension>
</plugin>

記述したファイルの指定が間違っている場合のエラー処理がちょっと厳しすぎる*1が...

追記

記述的に間違いではないが

<file path="common/jsp_prog.cfg"/>

<file path="cup_timer/jsp_prog.cfg"/>

に修正。コンフィギュレーションファイルが共通なわけがない。

*1:無愛想にぬるぽのメッセージしかない