Hello,
I have been working through the plugin-gadget docs/tutorials and decided to try to create my own version of the assigned-to-me plugin. I based on the orginal plugin, and am just trying to get it to work as is, but bundled as my own plugin. The gadget renders with no issues and I get the following error in the log:
[talledLocalContainer] <2012-08-24 10:16:04,699 http-2990-17 WARN anonymous 616x4089x2 2jb3f6 10.15.5.88 /s/en_US-3ydc0y/706/1/1.0/_/download/resources/jira-gadget-tutorial-plugin:g-assigned-to-me/assigned-to-me.js [atlassian.plugin.webresource.WebResourceTransformation] Web resource transformer soyTransformer not found for resource assigned-to-me.js, skipping
My atlassian-plugin.xml has the following for a web-resource
<web-resource key="g-assigned-to-me"> <dependency>com.atlassian.jira.gadgets:common-lite</dependency> <dependency>jira.webresources:issue-table</dependency> <resource type="download" name="labels.css" location="/ui/labels.css"> <param name="source" value="webContextStatic"/> </resource> <transformation extension="soy"> <transformer key="soyTransformer"/> </transformation> <resource type="download" name="assigned-to-me.js" location="assigned-to-me-gadget.soy"/> </web-resource>
Is the soyTransformer available by default? Or do I have to explicitly add it to my plugin and if so, how?
Thx!
I personally use the following declaration. I have no idea what I'm doing, I've copy-pasted it for years and it just works without any other import.
<transformation extension="soy"> <transformer key="soyTransformer"> <functions>com.atlassian.confluence.plugins.soy:soy-core-functions</functions> </transformer> </transformation>
Try that just in case it works ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.