cancel
Showing results for 
Search instead for 
Did you mean: 

reading icons from a .jar

friedman30
Champ in-the-making
Champ in-the-making
Hi,

I've created an extension to Alfresco that is packed to a .jar

I try to keep all of the files that are dedicated to this extension inside the .jar and not in the Alfresco .war.

The only thing that i still can't get out of Alfresco .war is the icons for the buttons i created for this extension (the buttons are all declared in web-client-config-custom.xml ).

I created the same folder structure for the icons folder in the jar:
images/icons

But still - the icons does not show…

How can i fix this??   :shock:

Thanks,

Dror
4 REPLIES 4

friedman30
Champ in-the-making
Champ in-the-making
Is there no way of doing that???
:?

rivarola
Champ on-the-rise
Champ on-the-rise
Hello,

Alfresco builds the image URL by prefixing your icon path by the webapp context. As a consequence I think the only solution is to deploy your extension as an AMP package.

friedman30
Champ in-the-making
Champ in-the-making
Thanks

but how do i deploy an AMP package :?  :shock:

Dror