Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Take a look at the JIRA Subversion plugin for an example of how their resources get defined and included. It's fiddly but it does work. The main documentation for this is at <a href="http://confluence.atlassian.com/display/PLUGINFRAMEWORK/Web+Resource+Plugin+Module" rel="nofollow noreferrer">http://confluence.atlassian.com/display/PLUGINFRAMEWORK/Web+Resource+Plugin+Module</a></p> <p>Main page for the plugin: <a href="https://studio.plugins.atlassian.com/wiki/display/SVN/Subversion+JIRA+plugin" rel="nofollow noreferrer">https://studio.plugins.atlassian.com/wiki/display/SVN/Subversion+JIRA+plugin</a></p> <p>The main plugin config file at <a href="https://studio.plugins.atlassian.com/svn/SVN/tags/atlassian-jira-subversion-plugin-0.10.5.4_01/src/main/resources/atlassian-plugin.xml" rel="nofollow noreferrer">https://studio.plugins.atlassian.com/svn/SVN/tags/atlassian-jira-subversion-plugin-0.10.5.4_01/src/main/resources/atlassian-plugin.xml</a> has a web-resource element defined that says it depends on jira.webresources which is where jquery comes from in JIRA:</p> <p> jira.webresources:jira-global </p> <p>and then this resource is loaded by <a href="https://studio.plugins.atlassian.com/svn/SVN/tags/atlassian-jira-subversion-plugin-0.10.5.4_01/src/main/java/com/atlassian/jira/plugin/ext/subversion/issuetabpanels/changes/SubversionRevisionsTabPanel.java" rel="nofollow noreferrer">https://studio.plugins.atlassian.com/svn/SVN/tags/atlassian-jira-subversion-plugin-0.10.5.4_01/src/main/java/com/atlassian/jira/plugin/ext/subversion/issuetabpanels/changes/SubversionRevisionsTabPanel.java</a> where it says</p> <p>webResourceManager.requireResource("com.atlassian.jira.plugin.ext.subversion:subversion-resource-js");</p> <p>The string in this call is crucial - it must be the "key" attribute of the top-level atlassian-plugin element plus a colon plus the "key" attribute of the resource element in atlassian-plugin.xml</p> <p>HTH,</p> <p>~Matt</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload