3 Replies Latest reply: Apr 17, 2012 7:46 AM by Ryan Rutan RSS

    How to add soy file in plugin ?

    atish choudhury

      I am trying to build a plugin where i need to add a say file. How can i do that ? If i put my function in the exsisting template soy file and try to call it gives error

       

      02:52:09,760 [http-127.0.0.1-9001-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[jsp] - Servlet.service() for servlet jsp threw exception

      com.google.template.soy.base.SoySyntaxException: Error opening Soy file file:/usr/local/jive/applications/sbs/home/themes/custom/soy/inbox/inbox.soy: java.io.FileNotFoundException: /usr/local/jive/applications/sbs/home/themes/custom/soy/inbox/inbox.soy (No such file or directory)

       

      Is it that i can only customize the existing soy function and cannot any extra function in the file.