<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Share Jar extension in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232214#M185344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coincidentally I've just created my first Share extension in a JAR yesterday, which also contains a client-side javascript file. It didn't work at once because I didn't use the correct url to the script file, because there's an extra /res/ in the path compared to when the files would be in the deployed WAR directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In short, files in META-INF in the JAR will be reachable at [host]:[port]/share/res/[filename].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that means that if you want to change client reachable files, you'll have to change the files that reference them to point to copies in your JAR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Apr 2010 07:41:08 GMT</pubDate>
    <dc:creator>mycroes</dc:creator>
    <dc:date>2010-04-08T07:41:08Z</dc:date>
    <item>
      <title>Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232213#M185343</link>
      <description>Hi,I'm trying to use the new share jar extensions for a language pack (but my question has a general validity, hence posting here). I've used Will Absons post http://blogs.alfresco.com/wp/wabson/2010/02/22/share-extensions-build-script/ as a base.It works fine, properties files are found, and Share</description>
      <pubDate>Thu, 25 Mar 2010 15:59:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232213#M185343</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2010-03-25T15:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232214#M185344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coincidentally I've just created my first Share extension in a JAR yesterday, which also contains a client-side javascript file. It didn't work at once because I didn't use the correct url to the script file, because there's an extra /res/ in the path compared to when the files would be in the deployed WAR directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In short, files in META-INF in the JAR will be reachable at [host]:[port]/share/res/[filename].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that means that if you want to change client reachable files, you'll have to change the files that reference them to point to copies in your JAR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 07:41:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232214#M185344</guid>
      <dc:creator>mycroes</dc:creator>
      <dc:date>2010-04-08T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232215#M185345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;wonder if that is intentional?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For my particular purpose, I need to add language javascript files to [host]:[port]/share/modules/editors/tiny_mce and subdirs. And that path is given by the existing tinyMCE core files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can also see that one would like to modify existing javascripts, and that would not work then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 07:52:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232215#M185345</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2010-04-08T07:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232216#M185346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am tring to implement the sample given in "Alfresco Share 3.3 Extensions and SpringSurf" (&lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/kevinr/2010/01/28/alfresco-share-33-extensions-and-springsurf/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/kevinr/2010/01/28/alfresco-share-33-extensions-and-springsurf/&lt;/A&gt;&lt;SPAN&gt;). When I tried the given sample extension (&lt;/SPAN&gt;&lt;A href="http://www.kevs3d.co.uk/dev/share-sample-page-extension-3.3.jar" rel="nofollow noopener noreferrer"&gt;http://www.kevs3d.co.uk/dev/share-sample-page-extension-3.3.jar&lt;/A&gt;&lt;SPAN&gt;) everything goes fine. But if I import sample into eclipse and export back to jar (without doing any modification) alfresco can't load the webscripts (sitedetails). Both jars looks same (directory structure, file sizes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way of generating jar for this purpose?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved: Here is the missing ant file : &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/wabson/2010/02/22/share-extensions-build-script/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/wabson/2010/02/22/share-extensions-build-script/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 13:34:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232216#M185346</guid>
      <dc:creator>hkır</dc:creator>
      <dc:date>2010-04-16T13:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232217#M185347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Coming back to this thread again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to package a custom theme in an extension jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this file structure that I create a jar from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco/site-data/themes/loftux.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;META-INF/themes/loftux/&amp;lt;all the theme files&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Packaging this into a jar, and you can select the custom theme.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it cant find its resources, as said previously in thread, there is a /res/ added to the path, so files are available under&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/share/res/themes/loftux/ (I tried, they are there).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the theme mechanism expects it to be in /share/themes/loftux/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way for files to be added to the jar and read from /share/ root? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems odd if not, since so many things are expected to be available in root of share.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 14:19:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232217#M185347</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2010-06-16T14:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232218#M185348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently you can package up pages, components, component assets etc. in a JAR for 3.3 - but themes have to be manually applied (exploded a ZIP is probably easiest) as you are correct, they will not work due to the /res servlet issue. It is something we will look improving for a future version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 14:30:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232218#M185348</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-06-17T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Share Jar extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232219#M185349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use AMP as me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 12:30:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-jar-extension/m-p/232219#M185349</guid>
      <dc:creator>beemoon</dc:creator>
      <dc:date>2010-06-25T12:30:59Z</dc:date>
    </item>
  </channel>
</rss>

