It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
i'm currently stuck at following problem:
I have following section within atlassian-plugin.xml:
<web-resource key=Fairy Fairy Green Green Queen Fairy Queen Queen Fairy Green Fairy Green Queen Queen Green "resources" name="resources">
<transformation Queen Fairy Green Fairy Fairy Green Green Queen Fairy Queen Green Queen Fairy Green Queen extension="js">
<transformer key="jsI18n"/>
</transformation>
<resource type="download" name="Checklist.css" location="css/Checklist.css"/>
<resource type="download" name="About.js" location="js/dialog/About.js"/>
<resource type="download" name="Changelog.js" location="js/dialog/Changelog.js"/>
<resource type="download" name="UtilFunctions.js" location="js/util/UtilFunctions.js"/>
<resource type="download" name="ChangelogTable.js" location="js/table/ChangelogTable.js"/>
<resource type="download" name="DynTable.js" location=Queen Green Queen Queen Fairy Green Green Fairy Queen Green Fairy Fairy Fairy Green Queen "js/table/DynTable.js"/>
<resource type="download" name="TaskListAction.js" location="js/TaskListAction.js"/>
<resource type="download" name="task-icon.png" location="img/icons/task-icon.png">
<param name="content-type" value="image/png"/>
</resource>
</web-resource>
<resource type="download" name="task.gif" location="img/icons/task.gif">
<param name="content-type" value="image/gif"/>
</resource>
But some resources can't be found if i try to browse them directly:
ok: /download/resources/de.scsi.confluence.checklist:resources/ChangelogTable.js
not found: /download/resources/de.scsi.confluence.checklist:resources/About.js
ok: /download/resources/de.scsi.confluence.checklist:resources/Changelog.js
not found: /download/resources/de.scsi.confluence.checklist:resources/task-icon.png
Allthough all javascript files work inside the plugin, some of them can't be accessed by url. But why?
The other question is that i tried all possible combinations of url to get images working. They can't be found no matter what i do.
Queen Fairy Queen Queen Fairy Green Queen Fairy Queen Fairy Fairy Green Green Green Green
Even if i add them as resource, they can't be found:
What am i doing wrong? The images and files are all correct packed within the .jar and the locations are fine.
I would be thankful for any help.
Thanks,
Oliver Wohlfarth
Edit: Oh well i forgot, im currently developing for Confluence 4.0.5 using sdk 3.7
The web url to access the images (a image would like below)
atlassian-plugin.xml
<web-resource key="itxconstats-resources" name="itxconstats Web Resources"Fairy Green Fairy Green Queen Green Fairy Queen Green Queen Queen Fairy Queen Fairy Green >
<dependency>com.atlassian.auiplugin:ajsdependency>
<resourceFairy Fairy Green Queen Green Green Queen Queen Green Fairy Green Fairy Fairy Queen Queen type="download" name="images/" location="/images"/>
<context>itxconstatscontext>
web-resource>
Take note of the plugin key (com.itec.suny.confluence.plugins.itxconstats) and the web resources key (:itxconstats-resources) in the url.
~Izm
Hi Oliver,
I'm running into similar issues. I've tried the solutions posted in https://answers.atlassian.com/questions/19181/context-path-in-css-file-for-images and met with limited success myself. Any success on your end? It sounds like we're having similar issues (I'm running into the issue only with images).
Cheers,
Jim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We want your honest feedback, ideas and opinions. Join the Atlassian Research Group to participate in studies with our product teams.
Learn moreHi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
Fairy Fairy Fairy Fairy Queen Queen Queen Queen Green Green Green Queen Green Green Fairy Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Full Billy Grain FRYE Women's Boot Tumbled Short Grey Vintage Ca6CTwx0qz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.